Hi. I'm using libvlc to develop some streaming application.
This is the issue what i have:
When i'm streaming some live source (dshow webcam), everything is perfect.
But as the webcam disconnect by some reason(eq. unplug...), the vlc instance got freeze.
I try to use Windows Message "WM_DEVICECHANGE" and "DBT_DEVICEREMOVECOMPLETE" to stop the media player when i detect the device remove, but vlc still hang...
Is there any solution to fix this?
By the way. I had try the same action to the VLC Player, the result was same as libvlc.
Thanks for any help...