Getting Tunneled RTSP from IP camera behind a Proxy

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.
zahidmadeel
New Cone
New Cone
Posts: 4
Joined: 30 Jun 2012 07:11

Getting Tunneled RTSP from IP camera behind a Proxy

Postby zahidmadeel » 30 Jun 2012 07:29

Hello all,
When I set IE's proxy to (212.78.237.156:3128) and open axrtsphttp://10.00408CBEA493/axis-media/media.amp in windows media player, It gets through the proxy and runs the h264 stream (tunneled over HTTP) after authentication. 212.78.237.156:3128 is the proxy that in fact does the address translation of host name like 10.00408CBE493. Now, I want a way to run tunneled RTSP stream for same camera in VLC player. I have tried setting http proxy to 212.78.237.156:3128 and enabling RTP over RTSP (over TCP) and Tunnel RTP and RTSP over HTTP in vlc settings: prefrence=>Input/Codecs=>RTP/RTSP section. Even with these settings I failed to run the tunneled RTSP stream from the camera. I am using lvc 2.0.1 Twoflower. Please guide me how can I do this task in VLC medai palyer.

Thanks
Adeel

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

Re: Getting Tunneled RTSP from IP camera behind a Proxy

Postby VLC_help » 30 Jun 2012 23:00

Tools -> Messages (set Verbosity to 2), then open the URL. When the opening fails, the message log will complain.

zahidmadeel
New Cone
New Cone
Posts: 4
Joined: 30 Jun 2012 07:11

Re: Getting Tunneled RTSP from IP camera behind a Proxy

Postby zahidmadeel » 02 Jul 2012 09:53

Ok, I have set the verbosity to 2 and tried to open rtsp://23.00408CBEA493/axis-media/media.amp. The proxy was set to 212.78.237.156:3128 and User RTP over RTSP (TCP) and Tunnel RTP and RTSP over HTTP options were ticked in RTP/RTSP/SDP demuxer settings. This is what I get in messages with verbosity set to 2

main debug: adding item `URL skipped because forum complains' ( rtsp://23.00408CBEA493/axis-media/media.amp )
qt4 debug: Adding a new MRL to recent ones: rtsp://23.00408CBEA493/axis-media/media.amp
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item: URL skipped because forum complains, node: null, skip: 0
main debug: resyncing on rtsp://23.00408CBEA493/axis-media/media.amp
main debug: URL skipped because forum complains is at 0
main debug: starting playback of the new playlist item
main debug: creating new input thread
main debug: Creating an input for 'URL skipped because forum complains'
main debug: no fetch required for (null) (art currently (null))
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\SARFRA~1\AppData\Local\Temp'
main debug: `URL skipped because forum complains' gives access `rtsp' demux `' path `23.00408CBEA493/axis-media/media.amp'
main debug: creating demux: access='rtsp' demux='' location='23.00408CBEA493/axis-media/media.amp' file='\\23.00408CBEA493\axis-media\media.amp'
main debug: looking for access_demux module: 1 candidate
live555 debug: version 2011.12.23
qt4 debug: IM: Setting an input
live555 debug: connection timeout
live555 error: Failed to connect with URL skipped because forum complains
main debug: no access_demux module matching "rtsp" could be loaded
main debug: TIMER module_need() : 8392.919 ms - Total 8392.919 ms / 1 intvls (Avg 8392.919 ms)
main debug: creating access 'rtsp' location='23.00408CBEA493/axis-media/media.amp', path='\\23.00408CBEA493\axis-media\media.amp'
main debug: looking for access module: 1 candidate
main debug: net: connecting to 23.00408CBEA493 port 554
main error: cannot resolve 23.00408CBEA493 port 554 : No such host is known.
access_realrtsp error: cannot connect to 23.00408CBEA493:554
access_realrtsp debug: could not connect to: 23.00408CBEA493/axis-media/media.amp
main debug: no access module matching "rtsp" could be loaded
main debug: TIMER module_need() : 3387.393 ms - Total 3387.393 ms / 1 intvls (Avg 3387.393 ms)
main error: open of `URL skipped because forum complains' failed
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'URL skipped because forum complains' : 11805.989 ms - Total 11805.989 ms / 1 intvls (Avg 11805.988 ms)

User avatar
Serena-S
New Cone
New Cone
Posts: 9
Joined: 11 May 2012 18:13

Re: Getting Tunneled RTSP from IP camera behind a Proxy

Postby Serena-S » 02 Jul 2012 10:18

I would guess that the http proxy settings are not used by live555 rtsp. So the address translation doesn't work.

zahidmadeel
New Cone
New Cone
Posts: 4
Joined: 30 Jun 2012 07:11

Re: Getting Tunneled RTSP from IP camera behind a Proxy

Postby zahidmadeel » 02 Jul 2012 10:20

How can we solve this problem then?

User avatar
Serena-S
New Cone
New Cone
Posts: 9
Joined: 11 May 2012 18:13

Re: Getting Tunneled RTSP from IP camera behind a Proxy

Postby Serena-S » 02 Jul 2012 13:01

With your network topology you could use the mjpg stream from the AXIS. This will need more bandwidth, but you will be able to access the stream from the camera. I don't see an other way.

zahidmadeel
New Cone
New Cone
Posts: 4
Joined: 30 Jun 2012 07:11

Re: Getting Tunneled RTSP from IP camera behind a Proxy

Postby zahidmadeel » 02 Jul 2012 13:09

Thanks Serena-s. Yes, you are right about Motion Jpegs. We are already doing that. But, I would still doubt that getting RTSP from camera in this topology is impossible. I have been able to get H264 stream tunneled over http through windows media player. But for that, I had to set IE proxy to 212.78.237.156:3128. Please note that there is an option in WMP of setting proxy different from browser but setting proxy withing WMP does not work. I believe RTSP over HTTP is the answer to our problem but question is how it would work with VLC.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests