Hi,
I am using VLC in my application for IP Cameras, If any camera is disconnected while playing, there is no reconnection strategy in VLC. So that I was trying to reconnect by stop and play in a while loop with some delay of 10 sec. but the major problem is that my system's http service blocked totally with this stop & play frequently.
(the problem becomes more sensitive when the camera is connected but streams are not available to play.)
http service block means when I am browsing any website or accessing any web page; my IE(Internet Explorer ) displays network disconnect and on diagnosis it says WinSock corrupted and need to reset.
I'm not sure why VLC is corrupting Winsock on frequent start-stop in a loop.
I'm using .Net Interop wrapper and here is sample code
while{
obj_VlcMediaPlayer.Play();
Thread.sleep(10000);
obj_VlcMediaPlayer.Stop();
}
Kindly help me out from this problem.
Thanks
Regards
Lav Agrawal