Hi;
I'm running VLC 0.9.0-git on linux which transcodes and properly streams via RTP to another machine. The problem is that I am not able to change the destination port. For some odd reason, it appears that only destination ports 50000-50004 are working. Defining other ports does not seem to take effect and therefore we cannot separate streams as they overwrite each other on the same destination ports when streaming multiple RTP streams.
Below is the syntax I'm using... I'm defining non-default ports here:
./vlc --no-stats -vvv udp://@67.11.9.6:1330 --sout
'#transcode{vcodec=h264,acodec=mp4a,scale=1,vb=600,ab=48,channels=2,samplerate=22100}:rtp{port=50014,port-video=50012,port-audio=50010,dst=67.11.9.4,proto=udp,ttl=12,name="channel1",sdp=http://67.11.9.6:8080/channel1.sdp}'
When I define other ports (like above), only a few packets make it and then I get this error: "removing socket N". After looking through source (rtp.c), it appears that VLC determines this socket to be dead, and then it removes it. This does not happen if I define ports within 50000-500004 or allow VLC to use the defaults (don't define anything).
Using the "port" parameter alone does nothing, "port-video" and "port-audio" are the parameters that actually seem to matter and make a difference... however, whenever we set these to something other than 50000 and 50002, the socket dies and is removed from VLC. Is this a bug?
How can I define a port or setup separate streams with RTP?
Any help would be greatly appreciated!
Rafael