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.
View the console to see logging.
Note: This sample is using an experimental API that has not yet been standardized. This API is available in Chrome 94 or later.View source on GitHub