Commit 02049fa6 authored by Martin Finkel's avatar Martin Finkel

Video working on android device

parent e72a5acb
......@@ -125,6 +125,8 @@ namespace LibVLCSharp.Android.Sample
static readonly object _locker = new object();
readonly MediaPlayer _mp;
public SurfaceCallback() {}
public SurfaceCallback(MediaPlayer mp)
{
_mp = mp;
......
......@@ -1583,12 +1583,6 @@ namespace VideoLAN.LibVLC
/// <param name="aWindow">See LibVLCSharp.Android</param>
public void SetAndroidContext(IntPtr aWindow) => Native.LibVLCMediaPlayerSetAndroidContext(NativeReference, aWindow);
/// <summary>
/// Set the android context.
/// </summary>
/// <param name="aWindow">See LibVLCSharp.Android</param>
public void SetAndroidContext(IntPtr aWindow) => Native.LibVLCMediaPlayerSetAndroidContext(NativeReference, aWindow);
/// <summary>
/// Add a slave to the current media player.
/// note If the player is playing, the slave will be added directly. This call
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment