Re: CfC: Should WebCodecs be exposed in Window environments?

This is in response to the Call for Consensus (CfC) on the question: Should WebCodecs be exposed in Window environments?

The WebKit team supports exposing VideoEncoder, AudioEncoder, VideoDecoder, and AudioDecoder in Worker contexts, and supports deferring any decision on whether or not to expose them in Window contexts to a later date.

As demonstrated by WebAudio, realtime media processing is best done in isolated execution contexts. This model allows consistent support across the whole range of devices that User Agents support, which is key to a successful Web. The question of consistent support of the WebCodec API in Window contexts is not answered yet and deserves careful evaluation.

We also believe there is agreement within the WG that delaying the decision does not severely reduce the usefulness of the API. In particular, exposing this API in Worker contexts is sufficient by itself to support all identified WebCodec use cases. 

Thanks,
	Y

Received on Friday, 2 July 2021 16:30:54 UTC