-
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
-
r=roomName
specify room name. -
hd=true||false
toggles HD (1280x720||640x480). Enabled by default on Chrome. -
tt=time
sets channel timeout. Default is 30 and max is 1440 minutes.
-
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/samplerate
sets the specified codec and sample rate as send audio codec. (e.g. ISAC/16000) -
arc=codecname/samplerate
sets the specified codec and sample rate as receive audio codec. (e.g. OPUS/48000) -
asbr=bitrate
limits the send bitrate to the specified value. -
arbr=bitrate
limits the receive bitrate to the specified value
-
vsbr=bitrate
limits the send bitrate. -
vrbr=bitrate
limits the receive bitrate. -
vsibr=bitrate
sets the initial send bitrate.
-
dtls=true||false
toggles DTLS. Enabled by default. -
dscp=true||false
toggles dscp -
ipv6=true||false
toggles ipv6 candidates -
ss=stunserver
sets specified stun server. -
ts=turnserver
sets specified turn server. -
tp=password
password for turn server
-
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.
Constraints can also be passed directly as URL parameters simply by adding audio/video=<constraint1>,<constraint2>
.
Examples:
-
https://apprtc.appspot.com/?audio=echoCancellation=false
disables audio processing which allows stereo input (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=true
param.