How do I disable the video enabling by default with the UIKit, I tried enableVideo = false
in the rtcProps for AgoraUIKit but it did not work.
<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),
}}
/>
New contributor
Winson Zheng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.