Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Valid `AudioEncoderConfig` algorithm for unsupported codecs with codec-specific steps

Aperta
#927 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
html

Direzione di ricerca

Iniziare con l’algoritmo valido di AudioEncoderConfig e i passaggi di elaborazione di configure(), quindi esaminare i requisiti del registro dei codec e le issue correlate #861 e #826. Determinare come la specifica dovrebbe gestire la convalida specifica del codec per i codec non supportati; l’issue è completata quando il comportamento normativo è risolto e chiaramente riflesso nella specifica WebCodecs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The algorithm that checks whether an object is a valid AudioEncoderConfig asks user agents to run possible codec-specific validation steps defined in the registrations listed in the registry. That seems wrong:

  1. User agents can choose the codecs they support, it seems strange to ask them to implement validation steps for codecs they chose not to support. For example, when an application calls configure() with an invalid config for a codec that is not supported by a user agent (either because the user agent decided not to support it or because the codec was added to the registry recently), the spec still requires that the user agent know about any codec-specific extension, run possible validation steps defined in the underlying registration document, and throw a TypeError if the configuration is invalid. How can the user agent know anything about a codec it does not (want to) know anything about?
  2. A registry is meant to be completed over time, even when it's stable. That's its purpose. Normative algorithms cannot set requirements over such a moving target (also see Specifications that reference registries in the W3C Process). If we expect user agents to implement extra validation steps, they should be integrated into the WebCodecs specification itself.

(Noting #861 and #826 as open issues somewhat related to this)

Lingua principale
HTML
Stelle
1.3k
Fork
192
Merge medio
3h 36m
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di w3c/webcodecs

Tutte le issue di w3c/webcodecs

Issue simili

Altre issue su Audio/Video & RTC

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.