# SDK always shows 'InWaitingRoom' as meeting's state

**URL:** <https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340>\
**Category:** iOS\
**Created:** [February 15, 2022, 2:16pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340 "2022-02-15T14:16:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [February 15, 2022, 2:16pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/1 "2022-02-15T14:16:24Z")

</div>

**Description**  
A user from web SDK is already present in the meeting but the other use cannot join the meeting from iOS Zoom Meeting SDK. ‘onMeetingStateChange’ returns ‘.connecting’ state for the first time and then constantly returns .inWaitingRoom meeting state.

**Which iOS Meeting SDK version?**  
zoom-sdk-ios-5.7.6.1080

**To Reproduce(If applicable)**  
Just try to join a meeting.

**Screenshots**  
NA

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

- Device: iPad (8th generation)
- OS: iOS 15.1

**Additional context**  
iOS meeting SDK has been working fine for two months in our production app. But the users are unable to join the meetings via our app for a week. When we inspected the app, it turns out that SDK keeps the user in ‘inWaitingRoom’ state.

---

<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:** [February 22, 2022, 8:31pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/2 "2022-02-22T20:31:44Z")

</div>

Hi @theclassroomdoor,

If the user joining through the SDK is in the waiting room, that SDK instance has no control over whether or not they can join the meeting. In order for that SDK instance to join the meeting, the host must admit them from the waiting room.

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [February 25, 2022, 7:31am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/3 "2022-02-25T07:31:03Z")

</div>

I am using WebSDK from Video SDKs on the web side and iOS Meeting SDK for my mobile app.  
1- Is it possible to create some settings that anyone can join the meeting without approval?  
2- I am unable to share screen too from my iOS Meeting SDK as well as it shows me error that ‘only hosts can share screens’.  
3- **I want every user in the meeting to have all the options.**

---

<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:** [February 25, 2022, 7:44pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/4 "2022-02-25T19:44:20Z")

</div>

Hi @theclassroomdoor,

> 1- Is it possible to create some settings that anyone can join the meeting without approval?

You can modify the meeting settings to remove the waiting room beforehand as outlined [here](https://support.zoom.us/hc/en-us/articles/115000332726-Waiting-Room). It is also possible to disable the waiting room through the SDK via [`enableWaitingRoomOnEntry`](https://marketplacefront.zoom.us/sdk/meeting/ios/interface_mobile_r_t_c_waiting_room_service.html#a1de92259626f103a2e02e73d28f978db).

> 2- I am unable to share screen too from my iOS Meeting SDK as well as it shows me error that ‘only hosts can share screens’.

This means that the meeting was configured to only allow the host to share their screen. If you are a participant in a meeting with this setting, the only way around it is to have the host of the meeting update the setting.

> 3- **I want every user in the meeting to have all the options.**

Meeting hosts will always have a wider set of capabilities than a regular participant. The host of a meeting can change the meeting settings to enable/disable various capabilities, but ultimately the meeting settings cannot be changed by the SDK in-meeting unless the SDK user is the host. If there are any specific settings you’re unsure of how to configure through the web portal, the [Help Center](https://support.zoom.us/) is always a great resource.

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 9, 2022, 7:20am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/5 "2022-03-09T07:20:40Z")

</div>

I have already modified the settings. The issue is that zoom iOS SDK is not joining the meeting when I download my app via AppStore. But it is working fine and joins successfully when I install a build directly from Xcode or .ipa file via Diawi. Can you please guide what could be the reason?

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 9, 2022, 9:53am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/6 "2022-03-09T09:53:30Z")

</div>

One more question. I implemented my app 4 months ago using Zoom iOS SDK version 5.7.6.1080 which was the latest version at that time. I just found that minimum iOS SDK version available for use is 5.7.6.1082 and latest version available is 5.9.6.2769 till date. My query is how long would it take for my version to be deprecated. As I am worried that it just takes 4 months for the latest version to be out of the list.  
PS: I have implemented custom UI in my app

---

<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:** [March 9, 2022, 8:14pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/7 "2022-03-09T20:14:12Z")

</div>

Hi @theclassroomdoor,

> I have already modified the settings. The issue is that zoom iOS SDK is not joining the meeting when I download my app via AppStore. But it is working fine and joins successfully when I install a build directly from Xcode or .ipa file via Diawi. Can you please guide what could be the reason?

It is impossible to say without concrete information. How are you ensuring that you have authenticated with the correct account to join a meeting? Are you seeing any specific errors returned by the SDK? How exactly is joining the meeting not working?

> My query is how long would it take for my version to be deprecated. As I am worried that it just takes 4 months for the latest version to be out of the list.

Currently there is not an exact end of life date for the version you are using, but there may be one in the future once the Zoom platform starts rolling out the [9 month release window](https://support.zoom.us/hc/en-us/articles/360059429231-9-month-release-window-). The email associated with your developer account will be notified when this goes into effect (currently TBD), so it’s always a good idea to ensure that that inbox is monitored.

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 17, 2022, 10:27am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/9 "2022-03-17T10:27:14Z")

</div>

I have made the settings that all participants can share their screen. But most of the times, my iOS meeting SDK tells me that ‘Only the host can share in this meeting’ while broadcasting. I am using extension to share screen. Here are the screenshots

 ![IMG_0345](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/1/d1ad336d99bf9a5e2e1897bf41900c709fd13d70.jpeg)  
 ![IMG_0346](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/a/aa15da58fa84e9890a4e923e6e077f390f6a017d.jpeg)  
 ![Screenshot 2022-03-17 at 2.03.33 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/1/81bb72a9cb9de9c9ed7f9c6f80bde3295c3d65c5.png)

---

<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:** [March 17, 2022, 9:09pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/10 "2022-03-17T21:09:42Z")

</div>

Hi @theclassroomdoor,

The settings that you have linked to would only apply if the meeting owner is the same account under which those settings have been configured. Can you please confirm whether or not this is the case?

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 18, 2022, 5:06am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/11 "2022-03-18T05:06:20Z")

</div>

Yes, I confirm that we are using the same account.

---

<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:** [March 18, 2022, 8:21pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/12 "2022-03-18T20:21:03Z")

</div>

Hi @theclassroomdoor,

Apologies if it was not clear, but using the same account alone is not enough to guarantee the settings will be applied. The account with these settings must be the meeting owner for the meeting you are testing this in. Is that same account the meeting owner?

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 21, 2022, 6:42am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/13 "2022-03-21T06:42:11Z")

</div>

In our system, the owner creates meeting for other users. but never joins himself. What can we do for this use case?  
If I am getting you right, what would be the purpose of Zoom’s meeting settings to allow all participants share their screen if the meeting owner ‘has to be present’ in the meeting?

 ![Screenshot 2022-03-21 at 10.51.17 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/6/26da643a594b62ebe345fa1c831cc1577bc44945.png)

---

<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:** [March 22, 2022, 4:48pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/14 "2022-03-22T16:48:59Z")

</div>

Hi @theclassroomdoor,

The owner of the meeting does not need to be present, but that account needs to be the same account that created the meeting. Can you please confirm whether or not this is the case?

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 30, 2022, 1:13pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/15 "2022-03-30T13:13:06Z")

</div>

Thank you for your help. One of the purchased licenses had different settings than the others, which created this issue.

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 30, 2022, 1:21pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/16 "2022-03-30T13:21:49Z")

</div>

I have updated my Zoom SDK to zoom-SDK-ios-5.9.6.2769. The issue that I am facing now is that when I am in a meeting where both the users are using iOS SDK, showActiveShare(withUserID: userID) shows a black screen. An iOS SDK user can see the screen shared from the zoom app running on Mac OS/web SDK but the screen shared by iOS SDK appears black. My code is as follows:

var sharedScreenView = MobileRTCActiveShareView.init()  
sharedScreenView.backgroundColor = .white  
sharedScreenView.setVideoAspect(MobileRTCVideoAspect\_PanAndScan)  
sharedScreenView.frame = remoteSharedView.bounds  
sharedScreenView.autoresizingMask = [.flexibleWidth, .flexibleHeight]  
remoteSharedView.addSubview(sharedScreenView)  
sharedScreenView.showActiveShare(withUserID: userID)

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [March 31, 2022, 6:04am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/17 "2022-03-31T06:04:36Z")

</div>

Update: iOS SDK is showing a black screen when a screen is shared from any platform (iOS, android, [zoom.us](http://zoom.us) mac app, web SDK). But the screen shared from my app is visible on all of these platforms/SDKs.

---

<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 1, 2022, 12:00am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/18 "2022-04-01T00:00:53Z")

</div>

Hi @theclassroomdoor,

At what point are you setting up the share view? It is possible that the subscription is starting too soon, but it is hard to tell with the amount of information available right now.

Thanks!

---

<div class="post-metadata">

**Author:** ![theclassroomdoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/theclassroomdoor/32/17386_2.png) [@theclassroomdoor](https://devforum.zoom.us/u/theclassroomdoor)\
**Post date:** [April 1, 2022, 6:50am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/19 "2022-04-01T06:50:04Z")

</div>

Apologies. I am setting up the share view in onSinkSharingStatus as follows:

func onSinkSharingStatus(\_ status: MobileRTCSharingStatus, userID: UInt) {

```
    if let activeShareUser = MobileRTC.shared().getMeetingService()?.activeShareUserID() {
        
        switch status{
            
        case MobileRTCSharingStatus.other_Share_Begin:
            
            var sharedScreenView = MobileRTCActiveShareView.init()
           sharedScreenView.backgroundColor = .white
           sharedScreenView.setVideoAspect(MobileRTCVideoAspect_PanAndScan)
           sharedScreenView.frame = remoteSharedView.bounds
           sharedScreenView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
           remoteSharedView.addSubview(sharedScreenView)
           sharedScreenView.showActiveShare(withUserID: userID)
           return
            
        default:
            return
        }
    }
}
```

---

<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 1, 2022, 8:38pm UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/20 "2022-04-01T20:38:06Z")

</div>

Hi @theclassroomdoor,

Can you try starting the share view after receiving the `MobileRTCSharingStatus_View_Other_Sharing` status?

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 2, 2022, 6:38am UTC](https://devforum.zoom.us/t/sdk-always-shows-inwaitingroom-as-meetings-state/64340/21 "2022-05-02T06:38:44Z")

</div>

Closed on May 2, 2022, 6:38am UTC

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