Table of Contents
getVideo
wrtc.getVideo is a boolean property controlling access to local camera.
If wrtc.getVideo is false local camera will not be used (calls will not transmit video). As this property affects camera usage it will affect all calls. To stop sending video in one single call set call.sendVideo=false instead.
Value
Boolean controlling access to local camera:
- true: use local camera
- false: do not use local camera (calls will not transmit video)
Default value
true
Usage
wrtc.getVideo is usually set in wrtc.init(). If you for some reason want to change it later you need to call wrtc.changeMedia() after.