Skip to content

Commit 3e5b8dd

Browse files
author
xianing
committed
fix screensharing issue
1 parent 7999f38 commit 3e5b8dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

iOS/Agora-ScreenShare-Extension/AgoraUploader.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class AgoraUploader {
4848
mode: .readWrite,
4949
samplesPerCall: 1024)
5050
kit.setParameters("{\"che.audio.external_device\":true}")
51+
kit.setParameters("{\"che.hardware_encoding\":1}")
52+
kit.setParameters("{\"che.video.enc_auto_adjust\":0}")
5153

5254
kit.muteAllRemoteVideoStreams(true)
5355
kit.muteAllRemoteAudioStreams(true)

0 commit comments

Comments
 (0)