|
|
|
@ -92,6 +92,9 @@ class RTCManager { |
|
|
|
RtcEngineContext(appId: appId, channelProfile: channelProfile), |
|
|
|
); |
|
|
|
await _engine?.setClientRole(role: _clientRole); |
|
|
|
await _engine?.setVideoEncoderConfiguration(VideoEncoderConfiguration( |
|
|
|
mirrorMode: VideoMirrorModeType.videoMirrorModeDisabled |
|
|
|
)); |
|
|
|
await _engine?.enableVideo(); |
|
|
|
// await _engine?.startPreview(); |
|
|
|
// 注册事件处理器 |
|
|
|
|