====== acceptAudio ====== wrtc.acceptAudio is a boolean property controlling if we want to receive audio in calls or not. It controls if we should ask other end of calls to send us audio media stream or not. Please note that this is just a request - other end might decide to not send audio even though we asked for it. wrtc.acceptAudio affects //all// calls created by the wrtc object. ===== Value ===== Boolean controlling audio reception: * true: request reception of audio * false: do not request reception of audio ===== Default value ===== true ===== Usage ===== wrtc.acceptAudio is usually set in [[ixnx:wrtc:js:api:wrtc:init|wrtc.init()]]. If you for some reason want to change it later you need to call [[ixnx:wrtc:js:api:wrtc:changemedia|wrtc.changeMedia()]] after. ===== See also ===== [[ixnx:wrtc:js:api:wrtc:getaudio|wrtc.getAudio]]