explainers icon indicating copy to clipboard operation
explainers copied to clipboard

[TrackConfiguration] Why not reuse WebCodec's configuration dictionaries?

Open dalecurtis opened this issue 1 year ago • 5 comments

Instead of implementing new AudioTrackConfiguration and VideoTrackConfiguration dictionaries, can the corresponding AudioDecoderConfig and VideoDecoderConfig dictionaries from WebCodecs be reused?

The top requests we've gotten from developers are:

  • What the heck is a codec string?
  • How do I fill in AVC/HEVC description fields?

As a stop gap to providing a containers API, having this information available via tracks seems helpful.

Thanks for suggesting the API!

dalecurtis avatar Jun 06 '23 18:06 dalecurtis