Closed aboba closed 2 years ago
Closed by PR 69
Reopening for discussion at March 15 meeting.
March 15 meeting discussion about re-negotiation:
RTCRtpSender.getParameters()
should return the current configuration. getParameters()
returns 'L1T2'. After re-negotiation is completed, 'L1T1' is returned.getParameters()
and setParameters()
in Section 5.2 RTCRtpSender Interface. @jan-ivar Can you provide a reference to the text on [[SendEncodings]] that concerns you?
False alarm, sorry. The anomaly I recalled was receiver-side in https://github.com/w3c/webrtc-pc/issues/2710:
- sender getParameters gets encodings from [[SendCodecs]] which is set in the answer or pranswer.
- receiver getParameters gets encodings from [[ReceiveCodecs]] which is set in SLD.
IOW the set a session description algorithm ensures that:
"have-local-offer"
, whereasMarch 15 meeting discussion about re-negotiation:
- Until re-negotiation is complete, RTCRtpSender.getParameters() should return the current configuration.
Since scalabilityMode
is in sender-side encodings, this decision is congruent with the current spec (and already specified).
OK. Am going to close this issue. If there are other concerns relating to setParameters()
or getParameters()
behavior, please reopen.
There is a need for additional clarifications on the behavior of getParameters() before and after initial negotiation, as well as during a re-negotiation. Specifically:
scalabilityMode
was not set.scalabilityMode
, but the attempt failed.setCodecPreferences()
is used to change the preferred codec.