# getMeetingService returns null

**URL:** <https://devforum.zoom.us/t/getmeetingservice-returns-null/681>\
**Category:** iOS\
**Created:** [August 8, 2017, 8:38pm UTC](https://devforum.zoom.us/t/getmeetingservice-returns-null/681 "2017-08-08T20:38:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyler\_Alves](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tyler\_Alves](https://devforum.zoom.us/u/Tyler_Alves)\
**Post date:** [August 8, 2017, 8:38pm UTC](https://devforum.zoom.us/t/getmeetingservice-returns-null/681/1 "2017-08-08T20:38:24Z")

</div>

getMeetingService is returning null in the below code:

```
- (void)startMeeting:(BOOL)appShare
{
 MobileRTCMeetingService \*ms = [[MobileRTC sharedRTC] getMeetingService];
 if (ms)
 {
 NSLog(@"ms Exists");

```

If I remove the if-statement I get a success code, but the meeting still doesn’t start:

```
NSLog(@"onMeetNow ret:%d", ret);
// Logs "onMeetNow ret: 0"

```

&nbsp;

Here is my View Controller code:

[https://gist.github.com/tyleralves/ce0ed47d46655b68e9539a4324bfe76d](https://gist.github.com/tyleralves/ce0ed47d46655b68e9539a4324bfe76d)

---

<div class="post-metadata">

**Author:** ![Robust\_Hu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robust_hu/32/59_2.png) [@Robust\_Hu](https://devforum.zoom.us/u/Robust_Hu)\
**Post date:** [August 9, 2017, 2:06am UTC](https://devforum.zoom.us/t/getmeetingservice-returns-null/681/2 "2017-08-09T02:06:34Z")

</div>

Our MobileRTC should be authorized before you are trying to start/join a meeting. That means that you should wait for the SDKAuth response successfully, then you can start a meeting. Or the instance of meeting service will return nil.

Please refer to&nbsp;our MobileRTCSample.

Thanks,

Robust

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:17pm UTC](https://devforum.zoom.us/t/getmeetingservice-returns-null/681/3 "2020-08-21T17:17:24Z")

</div>

Closed on August 21, 2020, 5:17pm UTC


