-
Notifications
You must be signed in to change notification settings - Fork 115
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
should RTCRtpSender.setParameters invalidate LastReturnedParameters? #1857
Comments
I concur, and believe that the current procedure was a drafting error. |
Related question: does |
@taylor-b In general, Does that argument make sense? In looking through the RTCRtpSenderParameters, the only potential gray area about writeable attributes being changed by SLD/SRD appears to be For example, consider the sender side: dictionary RTCRtpSendParameters : RTCRtpParameters { Neither SRD nor SLD change dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters { The rid attribute (read-only) can be changed by SLD/SRD. For the receiver, situation is somewhat more unclear, since I'm not sure why we need the rid attribute in RTCRtpDecodingParameters, or whether a codecPayloadType attribute is needed there. I think I've convinced myself that neither attribute is needed. |
This prevents sequences of getParameters() and then multiple setParameters() call. Fixes w3c#1857
This prevents sequences of getParameters() and then multiple setParameters() call. Fixes w3c#1857
from discussion between me and @Orphis:
I assume we want getParameters/setParameters to be used like this:
but in Chrome's current implementation (very new; still behind flag) one can use those parameters multiple times which afaics matches the spec.
I assume we do not want this:
as we would have to determine whether the modification conflicts.
The easiest way to achieve this seems to have setParameters clear LastReturnedParameters.
Test-as-you-commit:
needs a test showing that the second bad example fails.
The text was updated successfully, but these errors were encountered: