# Screenshare is not working when went to background in iPAD

**URL:** <https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845>\
**Category:** iOS\
**Created:** [November 5, 2021, 11:56am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845 "2021-11-05T11:56:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lokeshkumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lokeshkumar/32/21205_2.png) [@lokeshkumar](https://devforum.zoom.us/u/lokeshkumar)\
**Post date:** [November 5, 2021, 11:56am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/1 "2021-11-05T11:56:04Z")

</div>

**Description**  
Hi,  
In ipad if teacher start broadcast and go to background, the screenshare video is getting struck for student.  
Same scenario working fine in iphone device.

Background modes are enabled as mentioned in the documentation.  
i tried to debug the issue in the SampleHandler “processSampleBuffer” method is getting called even in background but video is not going to the student side.  
Can u help me to troubleshoot this issue further ?

SDK version: 5.7.1.644

=Not working device

- Device: iPAD Air 2
- OS: iOS 13.6  
=Working device
- Device: iPhone 8
- OS: iOS 14.4.1

---

<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:** [November 9, 2021, 6:13pm UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/2 "2021-11-09T18:13:13Z")

</div>

Hey @lokeshkumar,

Thanks for using the dev forum!

Did you add the appDelegate method calls in your appDelegate like MobileRTC.shared.appWillTerminate?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lokeshkumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lokeshkumar/32/21205_2.png) [@lokeshkumar](https://devforum.zoom.us/u/lokeshkumar)\
**Post date:** [November 10, 2021, 5:15am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/3 "2021-11-10T05:15:49Z")

</div>

Hi thanks for response  
yes, added all the methods in appDelegate, working as expected in iphone but the problem is with the ipad.  
Earlier we only have support for iPhone and now we added support for ipad and this issue emerged.  
We are struck on this for making the release, Need help with this issue at the earliest.

Will RequiresFullscreen flag has any side effects ?

More observations:-

1. Replay kit is working fine, since we are getting callback **processSampleBuffer** even in the background.
2. In our POC app **UIRequiresFullscreen** flag true screenshare working fine, if we make it false its not working.
3. **UIRequiresFullscreen** flag case we are not able to reproduce in our original app.
4. Checked in one more iPAD Air 2 iOS=14.7, there also issue is coming.

Thank you.

---

<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:** [November 11, 2021, 11:50pm UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/4 "2021-11-11T23:50:17Z")

</div>

Hey @lokeshkumar,

Using the same code for iPhone works but not iPad?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lokeshkumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lokeshkumar/32/21205_2.png) [@lokeshkumar](https://devforum.zoom.us/u/lokeshkumar)\
**Post date:** [November 12, 2021, 5:05am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/5 "2021-11-12T05:05:58Z")

</div>

yes, not a single line change

---

<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:** [November 15, 2021, 11:23pm UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/6 "2021-11-15T23:23:20Z")

</div>

Hey @lokeshkumar,

Can you reproduce the issue one more time and then obtain the SDK logs and send them to me at [DeveloperSupport@zoom.us](mailto:DeveloperSupport@zoom.us)? Please include a link to this post and mention my name in the email.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lokeshkumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lokeshkumar/32/21205_2.png) [@lokeshkumar](https://devforum.zoom.us/u/lokeshkumar)\
**Post date:** [November 18, 2021, 3:05pm UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/7 "2021-11-18T15:05:36Z")

</div>

Hi,  
Sent the logs.

Thanks.

---

<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:** [November 18, 2021, 9:37pm UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/8 "2021-11-18T21:37:22Z")

</div>

Hey Lokeshkumar,

Thanks! Will follow up with you there.

Michael

---

<div class="post-metadata">

**Author:** ![lokeshkumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lokeshkumar/32/21205_2.png) [@lokeshkumar](https://devforum.zoom.us/u/lokeshkumar)\
**Post date:** [December 1, 2021, 5:27am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/9 "2021-12-01T05:27:13Z")

</div>

Hi,  
Still waiting for your replay in the mail for past 2 weeks.

---

<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:** [December 2, 2021, 12:14am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/10 "2021-12-02T00:14:56Z")

</div>

Hey @lokeshkumar,

We do not have any updates yet, will let you know when we do.  
Stay tuned.

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:** [January 1, 2022, 10:15am UTC](https://devforum.zoom.us/t/screenshare-is-not-working-when-went-to-background-in-ipad/59845/11 "2022-01-01T10:15:47Z")

</div>

Closed on January 1, 2022, 10:15am UTC

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