Hello
I'm currently working on a little C# application whose objective is simple: play a main video in loop and launch a specific video if an event occurs (a pressed key for exemple). I got a surveillance thread that trigger asynchronous calls to libVlcNet (using BeginInvoke method).
This API provides a winform "videoWindow" and when I want to play a video I simply call the method Play(MediaInput) of the videoWindow member "VlcPlayerControl".
Once the soft is launched I call this method in two different ways:
-> In a callback who suscribed to the "EndReached" event. This event is triggered by libVlcNet as soon as the current video ends.
In it I just launch the default video.
-> In a callback who suscribed to the "Event(string videoPath)". This event is triggered asynchronously in the surveillance thread with BeginInvoke method.
So now that you have the context now come the problems
The first way works when vlc is in window mode but doesn't in fullscreen (by fullscreen i mean the mode obtained by double clicking the video not the maximised window mode). And the second way works in fullscreen but not in window mode.
If anybody already got this problem or know a different libVlc .net binding compatible with my needs (mainly fullscreen video rendering) please post.