Test application for video capture and related WebRTC APIs.
- Allow the page to access your capture devices.
- Configure the encoders.
- Press the Start button.
The application supports the following options:
- Default or specific device usage (getUserMedia only)
- Capture resolution (getUserMedia / getDisplayMedia)
- Capture framerate
- Content Hint
- Transceiver: Codec will be placed first using setCodecPrerences.
- Simulcast
- Add / Remove layer: Add or remove a simulcast layer.
- Layers
- Merged: SDP offers and answers are not modified.
- Split: simulcast layers split into multiple video streams (achieved by swapping MID and RID RTP header extension and recreating the SDP offer and answers).
- Degradation Preference
- Codec: Which codec to use for the stream. The codec list is derived from the encoder capabilities.
- maxBitrate: Maximum bitrate to use for the stream, unit is bit per second.
- scaleResolutionDownBy: Scaling factor
- maxFramerate: Maximum framerate for the stream.
- scalabilityMode: Scalability mode used by the stream. No checks are made to ensure that only relevant modes are listed. Requires support of the
webrtc-svc
specification. - active: Enable the stream.
- priority: Bandwidth allocation priority for the stream.
Statistics reported for each stream are available by expanding the Encoder stats
details in each layer configuration box.
A red button to start recording is available with each received stream video element. The video is recorded using the MediaRecoder API.
A list of recordings appears at the bottom of the page with download links for each. Recordings are local and will be lost when refreshing the page.