Hi,
Our team is using the iOS version of the Zoom Video SDK. For our current implementation, we need the audio played on one device to be shared with another device in the meeting when the first device is screen sharing. We tried setting enableShareDeviceAudio(true)
before screen sharing begins, but we are still unable to hear the shared device audio. However, we do not have any issues with users being able to talk with each other during that time. Documentation on enableShareDeviceAudio states “@brief Enable or disable the device audio shared together when screen sharing. @param enable share audio out or not. @return The result of it.*/”. However in our Custom UI, we do not hear the audio shared from the device.
What we want is for users to be able to talk with each other and share the device audio of the screen-sharing user simultaneously. We are currently using the ‘Share a single UIView
’ method and not broadcasting. We were able to achieve our results by setting:
AVAudioSession.sharedInstance().setCategory(.playAndRecord, options: .defaultToSpeaker)
AVAudioSession.sharedInstance().overrideOutputAudioPort(.speaker)
Although this works sometimes, it is not consistent. After researching, we found a closely related post (Unable to send video content audio while screen broadcasting with Broadcast upload extension - #2 by carson.zoom) stating that the feature might not be available. Is this actually the case? Is there any way for us to achieve our use case?
@richard.zoom, could you please provide your input on how to proceed?
Thanks for your help.