I have a rather unusual technical question relating to the RTSP and RTP protocols.
We're using an Ethernet-based video camera that supports the RTSP protocol. (Trendnet TV-IP522P) If I use VLC to initiate the RTSP connection, then everything works fine: I get audio and video, and everything looks great.
The problem is that this is going to be part of an wireless system, which will only be able to forward UDP packets over a one-way link. The original design called for a PC on the camera side to initiate the RTSP connection (TCP/IP), then forward the resulting RTP video stream (UDP) over the one-way link.
I used WireShark to sniff the RTSP packets that VLC sends out to negotiate the connection (I'll post them in a moment). If I send out the same packets using Telnet, then I can see that the camera starts sending out RTP/UDP packets at the expected data rate. The video and audio streams are on two separate UDP ports (it changes every time, but always N and N+2). However, when I try to open the stream in VLC, I can get audio to work but never video. Looking at the Messages window, it's like the video stream doesn't exist at all.
(Quick note: The camera is 192.168.10.30 and the PC running VLC is 192.168.10.31. They are alone on the subnet.)
I've tried a couple cases:
1) Open port N using rtp://@192.168.10.31:1846 --> Nothing
2) Open port N+2 using rtp://@192.168.10.31:1848 --> Audio works, no video
3) Open both MRLs using the "Play another media synchronously" option --> Audio works, no video
Symptoms are the same for VLC 1.1.0 and 1.1.4. In case it's relevant, I'm using WinXP32-SP2.
Any idea why it works with RTSP but not with RTP, given that I send out the same RTSP packets? I can see the UDP packets coming in, but just can't get VLC to display the video stream.