min...@chromium.org, jak...@google.com, elad...@chromium.org, hb...@chromium.org
https://w3c.github.io/webrtc-extensions/#dom-rtcrtpencodingparameters-adaptiveptime
Adds the adaptivePtime property to RTCRtpEncodingParameters (https://w3c.github.io/webrtc-pc/#rtcrtpencodingparameters). This new flag sets a sender in a real-time communication (RTC) system to enable/disable adaptive packet rate.
The feature has been tested under an origin trial to verify that enabling the adaptive packet rate by using this API can benefit some RTC systems to achieve higher audio quality in low bandwidth networks. From testing of this API in Google Meet, we learned that such a goal can be achieved.
The trade-off is higher latency which is a reason to add this API since some applications might have strict latency requirements.
congestion control, real-time communication, packet rate, bitrate
https://github.com/w3ctag/design-reviews/issues/517
Issues addressed
Preventing potential interoperability issues with its underlying feature of adaptive packet time was a main reason for introducing this flag. Some implementations MAY have taken a fixed packet rate as an assumption, and thus may fail or perform sub-optimally with an adaptive packet rate.
As far as we know, all major browsers use the same audio receiver (NetEq) that handles variable packet rate well. The Opus spec also requires the decoder to handle this. This was validated during the origin trial where various browsers received the variable packet rate and no interoperability issues were found.
Regarding the implementation of the flag itself, Mozilla has been involved in the discussions of technical details of adaptive packet rate, and has said that the feature seemed fine, although they have not expressed a signal to implement it. Other vendors have not been contacted.
There is no compatibility risk. Setting the flag does NOT mean that the sender must change its frame rate dynamically, since the sender may decide to stay on the same packet rate, due to, for example, a stable network. Thus there is no behavioral difference between the case that the feature is not implemented, and the case that the feature is implemented but packet rate adaptation logic actively decides to keep the packet rate.
Gecko: Neutral (https://github.com/w3c/webrtc-pc/pull/2309#issuecomment-538463368) Mozilla has said that the feature seemed fine, although have not expressed a signal to implement it.
WebKit: No signal
Web developers: Positive
No
https://chromestatus.com/feature/5752004691361792
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/lOi5XonBstA/m/sabhJM2jAwAJ
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/Mt9GmmF-Vwc
Intent to Extend Origin Trial: https://groups.google.com/a/chromium.org/g/blink-dev/c/T1ad0wJQ9qQ
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABi2VuCnQsGvyXarxBKMZrr2ASyT4t0Zm02-fcYb8iJYtGkj0Q%40mail.gmail.com.
jakobi, this seems like a straight forward change, but can you comment on Philipp's question/suggestion in case there is something that needs to change before shipping?
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKi%2Bw4Vsgcrd0HZYqMx2BdRDQzAKrJE9gk3edHkum78HPxg%40mail.gmail.com.
As far as we know, all major browsers use the same audio receiver (NetEq) that handles variable packet rate well. The Opus spec also requires the decoder to handle this. This was validated during the origin trial where various browsers received the variable packet rate and no interoperability issues were found.
Regarding the implementation of the flag itself, Mozilla has been involved in the discussions of technical details of adaptive packet rate, and has said that the feature seemed fine, although they have not expressed a signal to implement it. Other vendors have not been contacted.
There is no compatibility risk. Setting the flag does NOT mean that the sender must change its frame rate dynamically, since the sender may decide to stay on the same packet rate, due to, for example, a stable network. Thus there is no behavioral difference between the case that the feature is not implemented, and the case that the feature is implemented but packet rate adaptation logic actively decides to keep the packet rate.
Gecko: Neutral (https://github.com/w3c/webrtc-pc/pull/2309#issuecomment-538463368) Mozilla has said that the feature seemed fine, although have not expressed a signal to implement it.
WebKit: No signal
Web developers: Positive
--
Is this feature fully tested by web-platform-tests?
No
Tracking bug
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5752004691361792
Links to previous Intent discussions
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/lOi5XonBstA/m/sabhJM2jAwAJ
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/Mt9GmmF-Vwc
Intent to Extend Origin Trial: https://groups.google.com/a/chromium.org/g/blink-dev/c/T1ad0wJQ9qQ
This intent message was generated by Chrome Platform Status.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABi2VuCnQsGvyXarxBKMZrr2ASyT4t0Zm02-fcYb8iJYtGkj0Q%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
The explainer is not explicit on that front, but I'm assuming that the feature is off without an explicit opt-in. Is that correct?
Can you please file for signals according to bit.ly/blink-signals?
Any links?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABi2VuCnQsGvyXarxBKMZrr2ASyT4t0Zm02-fcYb8iJYtGkj0Q%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
The explainer is not explicit on that front, but I'm assuming that the feature is off without an explicit opt-in. Is that correct?Correct, the spec states that the flag is default false.Can you please file for signals according to bit.ly/blink-signals?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABi2VuDjFVjEwdJyKZis6K1-fkQ0MpEfGqzys0%3Dm8jn%3DtszGMQ%40mail.gmail.com.
Thanks. For Mozilla you'll also need to file an issue to request an official signal.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABi2VuDWB%2B844-BpH43AoBhuKP%3DjX2w4_ydnaKPs6AJyAHByAA%40mail.gmail.com.
Update from WebKit (https://lists.webkit.org/pipermail/webkit-dev/2021-March/031763.html): "This looks ok to me. I think it was discussed within WebRTC WG and reached consensus there as well."Regarding the version to ship in: The origin trial ends in M89 so, even though we were very late with creating this intent, M90 would be the ideal version to ship in. M91 should be fine to ship in as well but in that case we would want another extension of the origin trial to also cover M90.
Are you hoping to merge back to M90? Or are you planning to enable it using server side config?