Option is work for init method
string appid Sets the appid
number channelProfile Sets the channel mode. 0 is communication mode, 1 is broadcasting mode
VideoEncoderConfig sets video encoding config
mode is optional sets only enable video / audio, 0 is audio mode, 1 is video mode
clientRole is only work in live mode, 1 is host, 2 is audience
dualStream is optional parameter only for enable for detail see https://docs.agora.io/en/Video/API%20Reference/oc/Classes/AgoraRtcEngineKit.html#//api/name/enableDualStreamMode:
audioProfile https://docs.agora.io/en/Video/API%20Reference/oc/Constants/AgoraAudioProfile.html
audioScenario https://docs.agora.io/en/Video/API%20Reference/oc/Constants/AgoraAudioScenario.html
Generated using TypeDoc
Option is work for init method
string appid Sets the appid
number channelProfile Sets the channel mode. 0 is communication mode, 1 is broadcasting mode
VideoEncoderConfig sets video encoding config
mode is optional sets only enable video / audio, 0 is audio mode, 1 is video mode
clientRole is only work in live mode, 1 is host, 2 is audience
dualStream is optional parameter only for enable for detail see https://docs.agora.io/en/Video/API%20Reference/oc/Classes/AgoraRtcEngineKit.html#//api/name/enableDualStreamMode:
audioProfile https://docs.agora.io/en/Video/API%20Reference/oc/Constants/AgoraAudioProfile.html
audioScenario https://docs.agora.io/en/Video/API%20Reference/oc/Constants/AgoraAudioScenario.html