Postby lav.agrawal » 04 Nov 2009 05:36
Hi,
Thanks for Reply, actually I want to make some changes in VLC code because there are some bugs are there and also I want to make some changes according to my requirements.
Please help me in details to configure Netbeans and MSys with VLC.
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
With Regards
Lav Agrawal