We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4650051 commit d37e1ffCopy full SHA for d37e1ff
1 file changed
iOS/APIExample/APIExample/Examples/Advanced/ScreenShare/ScreenShare.swift
@@ -194,12 +194,14 @@ class ScreenShareMain: BaseViewController {
194
@IBAction func stopScreenCapture(_ sender: Any) {
195
agoraKit.stopScreenCapture()
196
option.publishScreenCaptureVideo = false
197
+ option.publishScreenCaptureAudio = false
198
option.publishCameraTrack = true
199
agoraKit.updateChannel(with: option)
200
}
201
@IBAction func startScreenCapture(_ sender: Any) {
202
agoraKit.startScreenCapture(screenParams)
203
option.publishScreenCaptureVideo = true
204
+ option.publishScreenCaptureAudio = true
205
option.publishCameraTrack = false
206
207
prepareSystemBroadcaster()
0 commit comments