# Drop of Screen Sharing after AVAudioSession manipulation

**URL:** <https://devforum.zoom.us/t/drop-of-screen-sharing-after-avaudiosession-manipulation/141477>\
**Category:** iOS\
**Created:** [January 23, 2026, 5:45pm UTC](https://devforum.zoom.us/t/drop-of-screen-sharing-after-avaudiosession-manipulation/141477 "2026-01-23T17:45:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BZone](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@BZone](https://devforum.zoom.us/u/BZone)\
**Post date:** [January 23, 2026, 5:45pm UTC](https://devforum.zoom.us/t/drop-of-screen-sharing-after-avaudiosession-manipulation/141477/1 "2026-01-23T17:45:20Z")

</div>

**Description**  
In our iOS application that uses **Zoom iOS Meeting SDK** , we experience **unexpected screen sharing interruptions**.

The application uses a **custom meeting UI** and performs **device screen broadcasting** via `MobileRTCScreenShareService`.  
Additionally, the app actively uses **Speech Recognition** (`SFSpeechRecognizer`).

When screen sharing is active, and the app periodically reconfigures the `AVAudioSession` for speech recognition, **screen sharing may stop unexpectedly**.

**Which iOS Meeting SDK version?**  
v6.1.10.17500

**To Reproduce(If applicable)**

- Join a Zoom meeting using the custom UI.
- Start **screen sharing** (device screen) via `MobileRTCScreenShareService`.
- Start using `SFSpeechRecognizer`.
- Periodically change the `AVAudioSession` configuration using the following code:

```auto
let audioSession = AVAudioSession.sharedInstance()
        do {
            try audioSession.setCategory(.record, mode: .measurement)
            try audioSession.setActive(true, options: .notifyOthersOnDeactivation)
        } catch {}

```

Screen sharing may stop unexpectedly with one of the following errors:

```auto
Live Broadcast to SAFE-T Screen Sharing
has stopped due to: Attempted to start an invalid broadcast session

```

or

```auto
Screen Broadcasting: Live Broadcast to SAFE-T Screen Sharing has stopped
due to: You have stopped screen sharing

```

### **Expected Result**

Screen sharing should continue uninterrupted while using speech recognition and updating `AVAudioSession`, or the SDK should provide a documented restriction or recommended audio session configuration to avoid this issue.

**Smartphone (please complete the following information):**  
Looks like it can be reproduced with all devices.  
We used: iPhone 16, iPhone 12 with iOS versions 18.6.2, 18.5, 18.7 17.5
