Valid `AudioEncoderConfig` algorithm for unsupported codecs with codec-specific steps
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- html
调研方向
先从有效的 AudioEncoderConfig 算法和 configure() 处理步骤开始,然后审查 codec registry 的要求以及相关 issue #861 和 #826。确定规范应如何处理对不支持的 codec 进行的特定于 codec 的验证;当规范性行为得到解决并清晰地反映在 WebCodecs 规范中时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
描述
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:
- 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 aTypeErrorif the configuration is invalid. How can the user agent know anything about a codec it does not (want to) know anything about? - 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)
- 主要语言
- HTML
- 星标
- 1.3k
- 派生
- 192
- 平均合并
- 21 小时 7 分钟
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
w3c/webcodecs 的其他 Issue
-
privacy-needs-resolution
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 1 天内回复
-
editorial
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复
-
Automatic publishing for vp9 codec registration doesn't work可能已有人在做 @Djuffin 今天认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
[BUG] File transcription skips audio chunks shorter than one second可能已有人在做 @sabbah13 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
altic-dev/FluidVoice#1161 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
KoljaB/RealtimeSTT#333 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
KoljaB/RealtimeTTS#386 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
google-research/perch-hoplite#183 ·
-
难度 2/5 1-3 小时 新手友好度 68/100