Table of Contents
adv.getMedia
wrtc.adv.getMedia is a boolean property affecting when local microphone and camera will be accessed.
wrtc can either access local mic and cam at once wrtc object is started (page is loaded), or first when user makes or receives the first call.
Value
boolean controlling when local mic and cam will be accessed:
- true: at once wrtc object is started (page has been loaded)
- false: when making or receiving first call
Default value
true
Usage
wrtc.adv.getMedia should be set in wrtc.init().