windows http service blocked through VLC

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
lav.agrawal
New Cone
New Cone
Posts: 4
Joined: 29 Oct 2009 12:08

windows http service blocked through VLC

Postby lav.agrawal » 02 Nov 2009 07:28

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

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: windows http service blocked through VLC

Postby thannoy » 09 Nov 2009 14:02

What happened if you ask VLC to render the stream in a loop?

Code: Select all

vlc streamURL --loop
or

Code: Select all

vlc sreamURL vlc://pause:1 --loop
If it works, VLC will at least not reconnect when everything is going fine, which will lower the number of connexions/disconnexions.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests