mfkl
mfkl
So I tried to call media_release repeatedly and it seems that libvlc is fine with it... no crash. 2 solutions that I have so far. Aiming for something _simple_... 1....
This seems to work quite well so far. Tried to stress the implementation a bit with various tests on the netcore sample. Still not fully convinced this is the way...
Added a failing test. While this approach may seem like a good idea, for now there is a still a few undiscovered gotchas. And the retain/dispose routine is different if...
There needs to be a solution for this problem for libvlcsharp 4.
Gotta merge this one soon.
maybe related https://code.videolan.org/videolan/LibVLCSharp/issues/214
> Use two media player controls?
there is no easy way to sync 2 mediaplayers.
I don't think so. You could use the `SetAudioCallbacks` from LVS, and do some processing on the raw buffers to find that out though it doesn't seem ideal.
https://code.videolan.org/mfkl/libvlcsharp-samples/tree/master/AudioCallbacks