Page 1 of 1

Streaming UDP audio/video

Posted: 11 Nov 2008 09:59
by Beginner1
How many ports do I have to allocate to a UDP video/audio stream?
Regards
Naty

Re: Streaming UDP audio/video

Posted: 11 Nov 2008 17:48
by Rémi Denis-Courmont
2 ports per elementary stream, or 2 ports as a whole if using TS.

Re: Streaming UDP audio/video

Posted: 12 Nov 2008 09:22
by Beginner1
Thanks for the rapid reply.
Can you please refer to some documentation where I can read alittle on that?
Regards
Nati

Re: Streaming UDP audio/video

Posted: 12 Nov 2008 17:15
by Rémi Denis-Courmont
The RTP AVP profile is defined in RFC3550.

Re: Streaming UDP audio/video

Posted: 12 Nov 2008 20:07
by Beginner1
Thanks,
Following your advise I could see the answer to my question and more...
On the other hand I made some experiments myself to trace it.
I streamed (VLC ver. 0.8.2) video and audio from one PC to another in my private LAn and ran a sniffer (Wireshark, if you know, without any filtering) and tried to trace the packets.
The packets were all with just one source port and one target port(though the packets type were MPEG PES, MPEG-1, represinting VIDEO and AUDIO respectively)
Can you please explain where does the other port hide?
Regards
Naty

Re: Streaming UDP audio/video

Posted: 12 Nov 2008 21:06
by Rémi Denis-Courmont
VLC 0.8.2 is antiquated. I don't even remember how it works.