- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.7k
 
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.
Use a query string to apply the parameters.
Example: https://apprtc.appspot.com/?r=123133&hd=true
- 
debug=loopbacksets up a loopback call with yourself. - 
r=roomNamespecify room name. - 
hd=true||falsetoggles HD (1280x720||640x480). Enabled by default on Chrome. - 
tt=timesets channel timeout. Default is 30 and max is 1440 minutes. - 
audio=true||falsetoggles audio. - 
video=true||falsetoggles video. 
- 
stereo=true||falsetoggles stereo audio input. Does not enable real stereo due to issue 220). - 
opusfec=true||falsetoggles forward error correction for the OPUS codec. Enabled by default. - 
opusmaxpbr=bitratesets the max send bitrate for audio (e.g. 100). - 
asc=codecname/sampleratesets the specified codec and sample rate as send audio codec (e.g. ISAC/16000). - 
arc=codecname/sampleratesets the specified codec and sample rate as receive audio codec (e.g. OPUS/48000). - 
asbr=bitratelimits the send bitrate to the specified value (e.g. 100). - 
arbr=bitratelimits the receive bitrate to the specified value (e.g. 100). 
- 
vsbr=bitratelimits the send bitrate (e.g. 1200). - 
vrbr=bitratelimits the receive bitrate (e.g. 1200). - 
vsibr=bitratesets the initial send bitrate (e.g. 600). 
- 
dtls=true||falsetoggles DTLS. Enabled by default. - 
dscp=true||falsetoggles DSCP (QoS). - 
ipv6=true||falsetoggles IPv6 candidates - 
ss=stunserversets specified stun server. - 
ts=turnserversets specified turn server. - 
tp=passwordpassword for turn server. 
- 
ssr=true||falsetoggles stereoscopic rendering. Expects remote video to be a side-by-side view of two cameras' captures, which will each be fed to one eye. 
Constraints can also be passed directly as URL parameters simply by adding audio/video=<constraint1>,<constraint2> as a URL parameter. More getUserMedia constraints can be found here.
- 
https://apprtc.appspot.com/?audio=echoCancellation=falsedisables audio processing which allows stereo input to passed through (APM only supports mono at the moment). - 
https://apprtc.appspot.com/?video=maxWidth=1280, maxHeight=720, minWidth=1280, minHeight=720
forces the camera to open in HD else it will fail. Same ashd=trueparam.