# Video freezes when minimizing app, but audio still works

**URL:** <https://devforum.zoom.us/t/video-freezes-when-minimizing-app-but-audio-still-works/45589>\
**Category:** iOS\
**Created:** [March 12, 2021, 7:59pm UTC](https://devforum.zoom.us/t/video-freezes-when-minimizing-app-but-audio-still-works/45589 "2021-03-12T19:59:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisnocd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chrisnocd/32/17742_2.png) [@chrisnocd](https://devforum.zoom.us/u/chrisnocd)\
**Post date:** [March 12, 2021, 7:59pm UTC](https://devforum.zoom.us/t/video-freezes-when-minimizing-app-but-audio-still-works/45589/1 "2021-03-12T19:59:30Z")

</div>

**Description**  
I’ve integrated Zoom Meetings functionality into our iOS app via Zoom iOS Client SDK. When joining a meeting from inside our iOS app, I notice that minimizing our app causes the video sent from our device that appears to other people on the call to freeze, even though our audio still can be heard by others. Is this expected behavior?

**Which Client iOS SDK version?**  
zoom-sdk-ios-5.4.54802.0124

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Integrate Zoom iOS Client SDK into your custom app
2. Using Device A, Join a zoom meeting hosted by another person on Device B via your custom app
3. On Device A, minimize the custom app while your video and audio are enabled and while you’re in the meeting
4. On Device B, notice that Device A’s video has frozen in the zoom meeting, but you can still hear audio from Device A.

**Smartphone (please complete the following information):**

- Device: iPhone 11
- OS: iOS 14.4

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 13, 2021, 12:54am UTC](https://devforum.zoom.us/t/video-freezes-when-minimizing-app-but-audio-still-works/45589/2 "2021-03-13T00:54:24Z")

</div>

Hey @chrisnocd,

Thanks for using the dev forum!

The video should continue even while the meeting UI is minimized. You need to enable background modes in your application to support this however. You also need to call the MobileRTC AppDelegate functions in your AppDelegate:

```
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        return true
    }

    func applicationWillTerminate(_ application: UIApplication) {
        MobileRTC.shared().appWillTerminate()
    }

    func applicationDidBecomeActive(_ application: UIApplication) {
        MobileRTC.shared().appDidBecomeActive()
    }

    func applicationWillResignActive(_ application: UIApplication) {
        MobileRTC.shared().appWillResignActive()
    }

    func applicationDidEnterBackground(_ application: UIApplication) {
        MobileRTC.shared().appDidEnterBackgroud()
    }
}

```

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 12, 2021, 10:54am UTC](https://devforum.zoom.us/t/video-freezes-when-minimizing-app-but-audio-still-works/45589/3 "2021-04-12T10:54:48Z")

</div>

Closed on April 12, 2021, 10:54am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
