# Zoom SDK For iOS Meeting Service delegate not working

**URL:** <https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180>\
**Category:** iOS\
**Created:** [July 25, 2019, 11:21am UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180 "2019-07-25T11:21:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhiraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhiraj/32/1371_2.png) [@dhiraj](https://devforum.zoom.us/u/dhiraj)\
**Post date:** [July 25, 2019, 11:21am UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/1 "2019-07-25T11:21:45Z")

</div>

**Description**  
I want to do save the start date\_time and call end date\_time, but it’s delegate is not called , i am setting the

`meetingSesrvice.delegate = self`

here is the code :

```
  if let meetingSesrvice = MobileRTC.shared()?.getMeetingService()
        {
            print("Connecting to : \(viewModel.currentMeeting?.meeting_id ?? "NO Meeting id ")")
           
 meetingSesrvice.delegate = self
            
            let dicParams = [kMeetingParam_Username:viewModel.userInfo?.fname ?? "Unknown",
                             kMeetingParam_MeetingNumber:viewModel.currentMeeting?.meeting_id ?? "",
                             kMeetingParam_MeetingPassword:""]
            meetingSesrvice.joinMeeting(with: dicParams)
        }

```

Please help

**Which version?**  
Vers : 4.3.1

**To Reproduce(If applicable)**

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

- Device: [e.g. iPhone6]
- OS: [e.g. iOS12.0]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 26, 2019, 2:05am UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/3 "2019-07-26T02:05:15Z")

</div>

Hi dhiraj,

Thanks for using Zoom SDK. You code looks good, which delegate are you referring to? There are a lot of callbacks in the MeetingService delegate. Could you have a try to see if the `onMeetingStateChanged` callback is being triggered? Could you share more information on which particular callback is not trigger under what circumstance?

Thanks!

---

<div class="post-metadata">

**Author:** ![dhiraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhiraj/32/1371_2.png) [@dhiraj](https://devforum.zoom.us/u/dhiraj)\
**Post date:** [July 26, 2019, 6:24am UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/4 "2019-07-26T06:24:22Z")

</div>

I have specific task to perform ,

When every user join the video call then i have i call our API to record start and once user left meeting or host ended the call then i have to record end time , what is the way to understand when user has started call and when ended the call

---

<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:** [July 26, 2019, 4:00pm UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/5 "2019-07-26T16:00:09Z")

</div>

Hey @dhiraj,

One solution could be to use the [Meeting Participant Joined](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-participant-joined) and [Meeting Participant Left](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-participant-left) / [Meeting Ended](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-ending) Webhook.

You can [learn more about Zoom webhooks here](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-webhook-only-app).

Let me know if this helps,  
-Tommy

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 3, 2021, 9:33am UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/7 "2021-01-03T09:33:05Z")

</div>

please i need help  
with my zoom sdk implementation  
i need to catch meeting no and password  
when user open new meeting (startMeeting)  
i tried different ways but with no hope  
i need a simple explanation i know there is a mobileRTCInviteHelper  
but i don’t know how to use it  
i tried to print some string is MobileRTCMeetingServiceDelegate  
as a extension to my viewcontroller but it doesn’t work

---

<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:** [January 4, 2021, 11:37pm UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/8 "2021-01-04T23:37:02Z")

</div>

Hey @mohammed.adel.sorour,

Thanks for using the dev forum!  
To make sure I am understanding correctly, you are trying to obtain the meeting number and password of a meeting the user is currently in?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mohammed.adel.sorour](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mohammed.adel.sorour](https://devforum.zoom.us/u/mohammed.adel.sorour)\
**Post date:** [January 5, 2021, 10:00am UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/9 "2021-01-05T10:00:26Z")

</div>

@Michael_Condon  
thanks michael , i managed to find the answer for my problem  
but i am still waiting for an answer for my question in a separate ticket opened by me , thanks

```
https://devforum.zoom.us/t/cannot-even-run-the-project/35105/40
```

---

<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:** [January 6, 2021, 10:41pm UTC](https://devforum.zoom.us/t/zoom-sdk-for-ios-meeting-service-delegate-not-working/5180/10 "2021-01-06T22:41:15Z")

</div>

Hey @mohammed.adel.sorour,

I am glad your issue is now resolved. I will respond to your other thread.

Thanks!  
Michael
