Table of Contents
acceptVideo
wrtc.acceptVideo is a boolean property controlling if we want to receive video in calls or not. It controls if we should ask other end of call to send us video media stream or not. Please note that this is just a request - other end might decide to not send video even though we asked for it.
wrtc.acceptVideo affects all calls created by the wrtc object.
Value
Boolean controlling video reception:
- true: request reception of video
- false: do not request reception of video
Default value
true
Usage
wrtc.acceptVideo is usually set in wrtc.init(). If you for some reason want to change it later you need to call wrtc.changeMedia() after.