WebRTC samples Breakout Box crop

This sample shows how to perform cropping on a video stream using the experimental mediacapture-transform API in a Worker.

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

View source on GitHub