irtlab / rtptools

RTP Tools
http://www.cs.columbia.edu/irt/software/rtptools/
Other
166 stars 64 forks source link

allow any port number #88

Closed janstary closed 6 years ago

janstary commented 6 years ago

Why does the remote port need to be an even number?

janstary commented 6 years ago

See also https://github.com/columbia-irt/rtptools/commit/6468c25209d1499dc005b1730621bb929f915de3#diff-1cf2d5b2678d669fba7d4a8ac8ae75cb

njh commented 6 years ago

I think by convention the RTP port number is even and the RTCP port number is odd. But it has confused me a few times.

janstary commented 6 years ago

Indeed, Henning and RFC 3550 says. RTP relies on the underlying protocol(s) to provide demultiplexing of
RTP data and RTCP control streams. For UDP and similar protocols,
RTP SHOULD use an even destination port number and the corresponding
RTCP stream SHOULD use the next higher (odd) destination port number.

I will take back this and https://github.com/columbia-irt/rtptools/commit/6468c25209d1499dc005b1730621bb929f915de3#diff-1cf2d5b2678d669fba7d4a8ac8ae75cb and reword the manpage accordingly.

janstary commented 6 years ago

https://github.com/columbia-irt/rtptools/pull/97