Skip to content

AppRTC URL parameter guide

KaptenJansson edited this page Dec 19, 2014 · 19 revisions

This page contains URL parameters that control certain features in WebRTC and AppRTC.

How to

Use a query string to apply the parameters.
Example: https://apprtc.appspot.com/?r=123133&hd=true

Parameters

General

  • r=roomName specify room name.
  • hd=true/false toggles HD (1280x720).

Audio

  • stereo=true/false "" toggles stereo audio input. (currently only sets the SDP, see issue x)
  • opusfec=true/false toggles forward error correction for the OPUS codec.
  • opusmaxpbr=bitrate sets the max send bitrate for audio.
  • asc=codecname sets the specified codec as send audio codec.
  • arc=codecname sets the specified codec as receive audio codec.
  • asbr=bitrate limits the send bitrate to the specified value.
  • arbr=bitrate limits the receive bitrate to the specified value

Video

  • vsbr=bitrate limits the send bitrate.
  • vrbr=bitrate limits the receive bitrate.
  • vsibr=bitrate sets the initial send bitrate.

Network

  • dtls=true/false toggles DTLS
  • dscp=true/false toggles dscp
  • ipv6=true/false toggles ipv6 candidates

Rendering

  • ssr=true/false toggles stereoscopic rendering. Expects remote video to be a side-by-side view of two cameras' captures, which will each be fed to one eye.

GetUserMedia constraints

Constraints can also be passed directly as URL parameters simply by adding audio/video=<constraint1>,<constraint2>.
Examples:

  • https://apprtc.appspot.com/?audio=echoCancellation=false
  • https://apprtc.appspot.com/?video=maxWidth=1280, maxHeight=720
Clone this wiki locally