WebRTC samples Video processing with insertable streams

This sample shows how to perform processing on a video stream using the experimental insertable streams API. There are options for the source of the input stream, the destination of the output stream, and the API used to transform the stream. There is also the option to duplicate the source stream to a video element on the page, which may affect the source FPS.

Source: Add to page:

View the console to see logging.

Note: This sample is using an experimental API that has not yet been standardized. As of 2020-11-16, this API is available in Chrome M88 if the experimental code is enabled on the command line with --enable-blink-features=WebCodecs,MediaStreamInsertableStreams.

View source on GitHub