`OpusEncoderConfig.signal` and `OpusEncoderConfig.application` were recently added to the WebCodecs spec [1]. Both parameters are mapped directly to implementation specific encoder knobs. These allow web authors to provide hints as to what type of data is being encoded, and in which context the data is being used. `signal` can be one of {"auto", "music", "voice"}. It configures the encoder for the best performance in encoding the specified type of data. `application` can be one of {"voip", "audio", "lowdelay"}. It configures the encoder to favor speech intelligibility, faithful reproduction of the original input, or minimal latency. [1] : https://github.com/w3c/webcodecs/pull/777
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Existing WPTs will be modified to cover this feature: https://wpt.fyi/results/webcodecs/audio-encoder-config.https.any.html
Simple parameter changes.
Shipping on desktop | 125 |
Shipping on Android | 125 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneI've flipped all the reviews and will update this thread when they are all completed.Thanks!On Wed, Mar 27, 2024 at 8:25 AM Yoav Weiss (@Shopify) <yoav...@chromium.org> wrote:Hey! Can you flip on the various reviews (privacy, enterprise, etc) in the chromestatus entry?On Tuesday, March 26, 2024 at 11:29:53 PM UTC+1 Thomas Guilbert wrote:Contact emails
tgui...@chromium.org
Explainer
None
Specification
https://w3c.github.io/webcodecs/opus_codec_registration.html#dom-opusencoderconfig-signal
Summary
`OpusEncoderConfig.signal` and `OpusEncoderConfig.application` were recently added to the WebCodecs spec [1]. Both parameters are mapped directly to implementation specific encoder knobs. These allow web authors to provide hints as to what type of data is being encoded, and in which context the data is being used. `signal` can be one of {"auto", "music", "voice"}. It configures the encoder for the best performance in encoding the specified type of data. `application` can be one of {"voip", "audio", "lowdelay"}. It configures the encoder to favor speech intelligibility, faithful reproduction of the original input, or minimal latency. [1] : https://github.com/w3c/webcodecs/pull/777
Blink component
Blink>Media>WebCodecs
TAG review
None
TAG review status
Not applicable
Risks
Interoperability and Compatibility
None
Gecko: Positive (https://github.com/w3c/webcodecs/pull/777) Spec change approved by Mozilla representative. For an almost identical feature, Mozilla said the "request for standards position" was not warranted, as they were active spec participants: https://github.com/mozilla/standards-positions/issues/837#issuecomment-1614666364
WebKit: No signal. Review from WebKit was requested on the spec change.
This may be a bit of a tangent, but we had a discussion about
AV1-only encoder configuration a while back[1][2]. In the end they
elected to have a top level dictionary where some encoding
configuration ended up. I wonder if there is anything to learn
from that process and their choices or if you consider that
orthogonal to this.
/Daniel
[2] ContentHint:
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY9K9_YmJRFn%3DQBKb0GsETsSFex0DPprMRRpWUWgcvAtbA%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.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSKLbhC60_zVAt46RVhhSGxMfRcnSkdqfcevytScrXuTmg%40mail.gmail.com.
LGTM1
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABrVPoZamSAMNegqkOKVa8J2w4pBd-1T9eMNaUze_jtQ8p5LOA%40mail.gmail.com.
LGTM2
/Daniel
LGTM2
/Daniel
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/CAOmohSKLbhC60_zVAt46RVhhSGxMfRcnSkdqfcevytScrXuTmg%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.