优化文字显示
This commit is contained in:
parent
e063a825b5
commit
0bd4cb5840
|
|
@ -117,6 +117,7 @@ const agora = {
|
||||||
},
|
},
|
||||||
// 加入频道
|
// 加入频道
|
||||||
joinChannel: (bool: boolean) => {
|
joinChannel: (bool: boolean) => {
|
||||||
|
// false 摄像头 true 共享屏幕
|
||||||
if (bool) {
|
if (bool) {
|
||||||
rtcEngine.joinChannel(option.token, option.channelId, option.userid, {
|
rtcEngine.joinChannel(option.token, option.channelId, option.userid, {
|
||||||
channelProfile: ChannelProfileType.ChannelProfileLiveBroadcasting, //设置频道场景为直播场景
|
channelProfile: ChannelProfileType.ChannelProfileLiveBroadcasting, //设置频道场景为直播场景
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue