# Video sharing does not work on some iPhones

**URL:** <https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375>\
**Category:** iOS\
**Created:** [April 11, 2022, 12:18pm UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375 "2022-04-11T12:18:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasyl/32/34303_2.png) [@Vasyl](https://devforum.zoom.us/u/Vasyl)\
**Post date:** [April 11, 2022, 12:18pm UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/1 "2022-04-11T12:18:37Z")

</div>

First I use zoom-sdk-ios-5.7.6.1080 and in all devices I can see share video(in all device).

But when I upgraded zoom sdk to zoom-sdk-ios-5.10.1.3038 - on some device share video does not work.

I use custom UI and this method to show share video -

func onSinkMeetingActiveShare(\_ userID: UInt) {  
shareView.showActiveShare(withUserID: userID)  
}

For example on iPhone 11 Pro - everything is good - but on iPhone Xr I don’t see share video(but I use same code for in both device and both sdk version)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 12, 2022, 4:56pm UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/2 "2022-04-12T16:56:28Z")

</div>

Hi @Vasyl,

Can you try updating your implementation to setup the share view after receiving the [`onSinkSharingStatus`](https://marketplacefront.zoom.us/sdk/meeting/ios/protocol_mobile_r_t_c_share_service_delegate-p.html#a7c3f55220a5384122d6bee1e6477e952) callback with a value of `MobileRTCSharingStatus_View_Other_Sharing`?

Thanks!

---

<div class="post-metadata">

**Author:** ![Vasyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasyl/32/34303_2.png) [@Vasyl](https://devforum.zoom.us/u/Vasyl)\
**Post date:** [April 13, 2022, 6:40am UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/3 "2022-04-13T06:40:47Z")

</div>

This onSinkSharingStatus callback work the same as onSinkMeetingActiveShare - they are called and the statuses come correct.  
But the problem is that on some devices(ex: iPhone 11 Pro) everything works properly - share view is displayed, and on some device(ex: iPhone Xr) share view look just a black screen

---

<div class="post-metadata">

**Author:** ![Vasyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasyl/32/34303_2.png) [@Vasyl](https://devforum.zoom.us/u/Vasyl)\
**Post date:** [April 13, 2022, 8:12am UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/4 "2022-04-13T08:12:21Z")

</div>

Addition:

on devices on which everything works(about share view):  
user is in meeting - host start share view

1. we receive onSinkSharingStatus with status “MobileRTCSharingStatus\_Other\_Share\_Begin”
2. and in this callback call “shareView.showActiveShare(withUserID: userID)”
3. then we receive onSinkSharingStatus with status “MobileRTCSharingStatus\_View\_Other\_Sharing”  
everything works well - share view is displayed

on devices on which share view doesn’t work:  
user is in meeting - host start share view

1. we receive onSinkSharingStatus with status “MobileRTCSharingStatus\_Other\_Share\_Begin”
2. and in this callback call “shareView.showActiveShare(withUserID: userID)”
3. we don’t get any more callbacks - share view is displayed as a black screen

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 13, 2022, 11:16pm UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/5 "2022-04-13T23:16:56Z")

</div>

Hi @Vasyl,

Thanks for the additional testing. The fact that you aren’t receiving the `MobileRTCSharingStatus_View_Other_Sharing` status is pointing us in the right direction, now we just need to figure out why you aren’t receiving that on certain devices. Let’s take a few steps to narrow down what exactly is going wrong:

1. When this issue is present on the iPhone XR, are you able to view the shared content on other devices in the same meeting (not counting the user who is currently sharing)?
2. Can you reproduce this behavior using the SDK sample app?
3. Can you provide two SDK logs from the same meeting & screen share attempt - one from a device where the issue is present and one where the shared content displays properly? In case you aren’t aware, instructions for how to get the logs can be found [here](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/sdk-initialization/#log-feature).

Thanks!

---

<div class="post-metadata">

**Author:** ![Vasyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasyl/32/34303_2.png) [@Vasyl](https://devforum.zoom.us/u/Vasyl)\
**Post date:** [April 15, 2022, 7:48am UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/6 "2022-04-15T07:48:52Z")

</div>

1. I not able to view the shared content on different devices in the same meeting  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/b/ebf3055316e5dc7e9fa91e82134dd5c72fbe3967.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/a/4a528335cc58cb52af410730224ea894f9654ddf.jpeg)
2. for a simple app I use this - **[Quickstart with sample app](https://marketplace.zoom.us/docs/sdk/video/ios/getting-started/sample-app/)** - and it work (share view property) on all devices.

Any ideas?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 15, 2022, 8:04pm UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/7 "2022-04-15T20:04:42Z")

</div>

Hi @Vasyl,

1. Thanks for confirming.
2. Apologies, but this is not the SDK sample app. The SDK sample app is the `MobileRTCSample` project included with the SDK download. Can you please try to reproduce using that one?

Thanks!

---

<div class="post-metadata">

**Author:** ![Vasyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vasyl/32/34303_2.png) [@Vasyl](https://devforum.zoom.us/u/Vasyl)\
**Post date:** [April 18, 2022, 6:34am UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/8 "2022-04-18T06:34:00Z")

</div>

I have problem to run simple app in real device -

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/e/fedd05a14e857bc834c60370fec57f9908e4d7a9.jpeg)  
can you help?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 19, 2022, 9:11pm UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/9 "2022-04-19T21:11:45Z")

</div>

Hi @Vasyl,

Can you pleas elaborate on what steps have been taken to run the sample app? The screenshot provided does not give any information on what the actual error is.

Thanks!

---

<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:** [May 20, 2022, 7:12am UTC](https://devforum.zoom.us/t/video-sharing-does-not-work-on-some-iphones/67375/10 "2022-05-20T07:12:28Z")

</div>

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