Get information about Network Disconnection/Reconnection

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.
babitha
Blank Cone
Blank Cone
Posts: 25
Joined: 15 Jan 2008 08:01

Get information about Network Disconnection/Reconnection

Postby babitha » 03 Jun 2010 13:32

HI all,
How can i get information about network loss in a stream?I need to log the network connection and disconnection status.I'm using command line option of vlc
cvlc rtsp://IP/mpeg4/media.amp --loop.
This will work continuously.When the network is lost it will stop and try to reconnect when the stream comes back.I need to get the information about network disconnection and log it to a file.Similarly I need to get the reconnection report too.Since I'm not using activex i cannot check the vlc.input.state.Can somebody suggest a suitable solution.

Thanks in Advance,
Babitha

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Get information about Network Disconnection/Reconnection

Postby VLC_help » 03 Jun 2010 20:41

Since file logging doesn't work in Windows builds, only solution I can offer is to capture text via telnet interface to file.

babitha
Blank Cone
Blank Cone
Posts: 25
Joined: 15 Jan 2008 08:01

Re: Get information about Network Disconnection/Reconnection

Postby babitha » 04 Jun 2010 07:21

HI,
I can log the messages from vlc using the command --logfile /opt/log.txt --file-logging.But this will log all the messages from vlc.I need to log only the network disconnection and reconnection.ie, I need an option to check the input.state of vlc and if it is stopped, then log that message.Similarly when it reconnects, log that message.Is there any method to accomplish this??

Thanks in advance,
Babitha


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 79 guests