Skip to content

webrtc/simulcast-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Simulcast Sandbox

Test application for video capture and related WebRTC APIs.

How to use

  1. Allow the page to access your capture devices.
  2. Configure the encoders.
  3. Press the Start button.

Capture configuration

The application supports the following options:

  • Default or specific device usage (getUserMedia only)
  • Capture resolution (getUserMedia / getDisplayMedia)
  • Capture framerate
  • Content Hint

Encoder configuration

Global configuration

  • 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

Per-encoder configuration

  • 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

Statistics reported for each stream are available by expanding the Encoder stats details in each layer configuration box.

Recording

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages