This commit is contained in:
parent
3abeb759c4
commit
d25a6f7d88
|
|
@ -186,6 +186,7 @@ const agora = {
|
|||
},
|
||||
// 加入频道
|
||||
joinChannel: () => {
|
||||
rtcEngine.enableAudioVolumeIndication(100, 1, true)
|
||||
rtcEngine.joinChannel(option.token, option.channelId, option.uid, {
|
||||
autoSubscribeAudio: true,//设置是否自动订阅所有音频流
|
||||
autoSubscribeVideo: true,//设置是否自动订阅所有视频流
|
||||
|
|
|
|||
Loading…
Reference in New Issue