Page 1 of 1

two rtp servers... read on one computer

Posted: 01 Mar 2007 21:24
by pjwhite
hi everyone. I am having a fairly annoying problem that I can't get around, without going to udp streaming, which then makes it annoying cause udp doesn't do exactly what I want...

First off: i am using FC6, and I installed live555 and vlc and the like all from scratch and everything works nicely except this (that i have found).

So, a simple version of what I am trying to do is this: I have two streams, one from each computer, streaming a live camera on my LAN. Both streams would ideally be rtp streams, accessed with the sdp file. The problem is that no matter what i set in the server line (i'll show later), the port it sends the video stream on is always 1232, and the computer I view the streams on, gets confused and the video streams get mixed up (a few frames of one feed, to a few frames of the other).

my command to stream is:

vlc <input codes> --sout '#transcode{mp4v...}:rtp{port=1234,sdp=rtsp://192.168.100.170:8080/stream.sdp}'

on one computer and:

vlc <input codes> --sout '#transcode{mp4v...}:rtp{port=2200,sdp=rtsp://192.168.100.180:8080/stream.sdp}'


I start viewing the stream in vlc or mplayer fine, but when I start the 2nd stream, the first one stalls, and the second one plays about half a second of each camera alternating back and forth...

I set up a packet sniffer on the recieving computer and the UDP packets I get have a destination port of 1232 regardless of which computer it is coming from (170 or 180, both send on 1232, even though i thought i set the port to 2200 on one of them)

anyways, This is really buggin me, and I thought someone here might have a good idea of what i could do...

Thanks!

Patrick