# Starting video for user on iOS

**URL:** <https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781>\
**Category:** Video SDK\
**Created:** [December 5, 2022, 8:04pm UTC](https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781 "2022-12-05T20:04:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.roper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.roper/32/38058_2.png) [@tom.roper](https://devforum.zoom.us/u/tom.roper)\
**Post date:** [December 5, 2022, 8:04pm UTC](https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781/1 "2022-12-05T20:04:04Z")

</div>

### Format Your New Topic as Follows:

Web Video SDK v1.5.5

**Description**  
In our Preview / Waiting Room, we give the users the option to turn on their camera to check its working. If a user turns on their camera in the Preview / Waiting room, we want to then turn it on for them once the join the Zoom Session to keep the experience streamlined.  
In Chrome, and other desktop browsers, we are able to do this by setting state in the waiting room, checking that when the session starts, and then using `stream.startVideo(options)` to turn on the users camera if they had it on in the waiting room.

However, this is not working for us on iOS or iPadOS. My question is, do we need to do something differently, or is this a limitation of the SDK/iOS security?

Thanks  
Tom

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 7, 2022, 11:33pm UTC](https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781/2 "2022-12-07T23:33:43Z")

</div>

Hi @tom.roper ,

I don’t see waiting room available in the iOS version of the Video SDK. What documentation were you referring to?

Instead do you mean when they [start video preview?](https://marketplacefront.zoom.us/sdk/custom/ios/interface_zoom_video_s_d_k_video_helper.html#a75446cb5d532b336dfd9ee26124f37a1)

You can get their [video status](https://marketplacefront.zoom.us/sdk/custom/ios/interface_zoom_video_s_d_k_raw_data_pipe.html#aa50aeb6166718c33cd1101d2419ac825) and try using this [video helper](https://marketplacefront.zoom.us/sdk/custom/ios/interface_zoom_video_s_d_k_video_helper.html#a75446cb5d532b336dfd9ee26124f37a1) to have their camera persist when they are accepted into the session.

Here’s the full reference for iOS: [https://marketplace.zoom.us/docs/sdk/video/ios/reference/](https://marketplace.zoom.us/docs/sdk/video/ios/reference/)

Looking forward to your response.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 7, 2022, 11:49pm UTC](https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781/3 "2022-12-07T23:49:23Z")

</div>

Hey @tom.roper ,

Just sharing the current status of this issue.

On iPadOS and iOS browsers with [SharedArrayBuffer](https://marketplace.zoom.us/docs/sdk/overview/websdk-gallery-view/) enabled, there is a confirmed bug that does not allow the [self video to be started/rendered](https://marketplace.zoom.us/docs/sdk/video/web/essential/video/#to-render-your-own-video-on-the-page-as-a-self-view).

We are working on a fix with high priority.

In the meantime, if you disable SharedArrayBuffer, for iPadOS and iOS the self view video will work.

Best,

---

<div class="post-metadata">

**Author:** ![tom.roper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.roper/32/38058_2.png) [@tom.roper](https://devforum.zoom.us/u/tom.roper)\
**Post date:** [December 13, 2022, 2:29pm UTC](https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781/4 "2022-12-13T14:29:32Z")

</div>

> [@tommy](#):
>
> In the meantime, if you disable SharedArrayBuffer, for iPadOS and iOS the self view video will work.

Hi @tommy , thanks for the update.  
Do you have a code example of how to disable SharedArrayBuffer? We were considering setting it to undefined if we’re on iOS and its available, would that be correct?

```auto
if (iOS/iPad etc && typeof SharedArrayBuffer === "function") {
  SharedArrayBuffer = undefined
}

```

Thanks,  
Tom

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [December 14, 2022, 8:04am UTC](https://devforum.zoom.us/t/starting-video-for-user-on-ios/79781/5 "2022-12-14T08:04:09Z")

</div>

Hey @tom.roper

It’s configured on the web server side, disable Cross-Origin Isolation will disable SharedArrayBuffer.  
[https://marketplace.zoom.us/docs/sdk/overview/websdk-gallery-view/#implementing-cross-origin-isolation](https://marketplace.zoom.us/docs/sdk/overview/websdk-gallery-view/#implementing-cross-origin-isolation)  
For example on Nginx web server:

```auto
if ($http_user_agent !~* "^((?!chrome|android).)*safari") {
  add_header Cross-Origin-Embedder-Policy "require-corp";
  add_header Cross-Origin-Opener-Policy "same-origin";
}

```

Thanks  
Vic
