AgoraIO UIKit 默认禁用视频

问题描述 投票:0回答:1

如何使用 UIKit 禁用默认启用的视频?我在 AgoraUIKit 的 rtcProps 中尝试了

enableVideo = false
,但没有成功。

<AgoraUIKit
    rtcProps={{
         appId: appId,
         channel: "test",
         token: null, // add your token if using app in secured mode
         layout: layout.pin,
         enableVideo: false,
         enableScreensharing: true,
         customRtcClient: rtcClient as IAgoraRTCClient | undefined,
    }}
    rtmProps={{
         username: username || "user",
         displayUsername: true,
    }}
    callbacks={{
         EndCall: () => setVideocall(false),
    }}
/>
reactjs agora.io
1个回答
0
投票

您是否获得了此enableVideo道具的解决方案,请告诉我

© www.soinside.com 2019 - 2024. All rights reserved.