-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate host candidates with component 1 only when a=rtcp-mux is present #2731
Comments
I don't think this will be that hard either @enobufs! You interested in taking it? |
Make sure you do not break backward compatibility with agents who do not support multiplexing. Next paragraph of mentioned RFC's section clearly states this:
|
My plan is to remove the RTCP candidate in the answer only when a=rtcp-mux is present in the offer as mentioned in the title (my project uses pion as an answerer always). For the offer, we will need to take RTCPMuxPolicy into consideration. W3C's RTCPMuxPolicy only has |
Sounds good to me. I was a bit worried to disable 2nd component completely, but presence of BTW, it would be good to also send |
I am a bit worried about it... Both Chrome and FireFox, though |
You need to generate both attributes in offer. This may not be clear in section 5.2 of JSEP, but is in section 5.8.3 of that document:
Answer can contain |
Your environment.
What did you do?
Try to connect from Chrome browser to a Pion application.
What did you expect?
I see two
a=candidate
lines for the same transport address even though it usesa=rtcp-mux
(RTP/RTCP multiplexing)According to RFC 8445 Section 5.1.1.1:
I believe we could drop the component 2. In fact, Chrome generates one candidate for a transport with component set to 1.
What happened?
Pion generates SDP with the following candidates:
The text was updated successfully, but these errors were encountered: