Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How are ports assigned for bidirectional unicast RTP sessions?

0
Posted

How are ports assigned for bidirectional unicast RTP sessions?

0

Each side in a bidirectional RTP connection assigns their source ports independently, i.e., there is no assumption that if Alice sends audio to Bob on port 5000 (and RTCP on 5001), Alice also has to receive audio on port 5000. (Imposing such a restriction on ports would make it difficult for a host to participate in several independent RTP sessions using different tools.) Each side in a unicast session simply indicates to the other side where it wants to receive RTP packets, e.g., using SDP. Note that the SSRC values used for each source are always different.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.