[Live-devel] RTSP Server Even Port

Ross Finlayson finlayson at live555.com
Mon Mar 14 14:54:51 PDT 2016


> I wanted to ask about the limitation in openRTSP lib na playCommon.cpp file about -p parameter.
> Why there is a check that port should be even?

Because of the way that RTP/RTCP is defined (in the relevant IETF standards).  The even-numbered port is used for RTP; the next port number (i.e., odd) is used for RTCP.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list