# I am facing delegate not calling issue Zoom video sdk 1.14.0 and later

**URL:** <https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455>\
**Category:** Video SDK\
**Tags:** video-sdk, ios\
**Created:** [January 13, 2025, 1:16pm UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455 "2025-01-13T13:16:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashant.isavvy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/prashant.isavvy/32/66207_2.png) [@prashant.isavvy](https://devforum.zoom.us/u/prashant.isavvy)\
**Post date:** [January 13, 2025, 1:16pm UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/1 "2025-01-13T13:16:22Z")

</div>

I am facing an issue after updating to version 1.14.0 where I am not receiving callbacks in the delegate. I have checked the calls using an older SDK version and can successfully receive callbacks for events like user join, user leave, etc.

Could you please help me resolve this issue? Am I possibly missing any new changes or configurations introduced in this version that need to be included in the current code:

ZoomVideoSDK.shareInstance()?.delegate = self

let sessionContext = ZoomVideoSDKSessionContext()  
sessionContext.token = zoomSessionDetail?.jwtToken  
sessionContext.sessionName = zoomSessionDetail?.sessionName  
sessionContext.userName = zoomSessionDetail?.userName.count ?? 0 \> 0 ? zoomSessionDetail?.userName : “My Name”  
sessionContext.sessionPassword = zoomSessionDetail?.sessionPassword  
let audioOption = ZoomVideoSDKAudioOptions()  
audioOption.connect = true  
audioOption.mute = !(zoomSessionDetail?.isProvider ?? false)  
audioOption.isMyVoiceInMix = true  
let videoOption = ZoomVideoSDKVideoOptions()  
videoOption.localVideoOn = true  
// ZoomVideoSDK.shareInstance()?.delegate = self  
sessionContext.audioOption = audioOption  
sessionContext.videoOption = videoOption  
ZoomVideoSDK.shareInstance()?.joinSession(sessionContext)

CC: @rehema.zoom @chunsiong.zoom @Tommy

---

<div class="post-metadata">

**Author:** ![prashant.isavvy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/prashant.isavvy/32/66207_2.png) [@prashant.isavvy](https://devforum.zoom.us/u/prashant.isavvy)\
**Post date:** [January 14, 2025, 7:06am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/2 "2025-01-14T07:06:04Z")

</div>

Session object is not nil, means user is able to join session only issue with delegate, session callbacks are not being called.

---

<div class="post-metadata">

**Author:** ![dattatray.deokar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dattatray.deokar/32/66359_2.png) [@dattatray.deokar](https://devforum.zoom.us/u/dattatray.deokar)\
**Post date:** [January 14, 2025, 7:11am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/3 "2025-01-14T07:11:20Z")

</div>

I’m also facing same issue. Session returned is non nil but onSesionJoin delegate callback is not coming. I have just replaced SDK from 1.13.11 to 2.1.0

---

<div class="post-metadata">

**Author:** ![dattatray.deokar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dattatray.deokar/32/66359_2.png) [@dattatray.deokar](https://devforum.zoom.us/u/dattatray.deokar)\
**Post date:** [January 14, 2025, 7:24am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/4 "2025-01-14T07:24:41Z")

</div>

```auto
    fileprivate func joinMeeting(token: String, sessionName: String, userName:String) {
        self.showMessage(message: "Connecting to room", showDots: true, autohide: false)
        let audioOption = ZoomVideoSDKAudioOptions()
        audioOption.connect = true
        audioOption.mute = false
        
        let videoOption = ZoomVideoSDKVideoOptions()
        videoOption.localVideoOn = true
        
        let sessionContext = ZoomVideoSDKSessionContext()
        // Ensure that you do not hard code JWT or any other confidential credentials in your production app.
        sessionContext.token = token
        sessionContext.sessionName = sessionName
        sessionContext.userName = userName
        sessionContext.videoOption = videoOption
        sessionContext.audioOption = audioOption
        ZoomVideoSDK.shareInstance()?.delegate = self

        guard let session = ZoomVideoSDK.shareInstance()?.joinSession(sessionContext) else {
            self.logMessage(messageText: "Failed to join session")
            return
        }
        
        // Session joined successfully.
        // Sometimes a Participant might not interact with their device for a long time in a conference.
        self.logMessage(messageText: session.getMySelf()?.getName() ?? "Myself not found in session")
        self.logMessage(messageText: "Session Id:- \(session.getID() ?? "")")
        self.logMessage(messageText: "Session Name:- \(session.getName() ?? "")")
        self.logMessage(messageText: "Session Number:- \(session.getNumber())")
        self.logMessage(messageText: "isInSession:- \(ZoomVideoSDK.shareInstance()?.isInSession() ?? false)")
    }

```

---

<div class="post-metadata">

**Author:** ![prashant.isavvy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/prashant.isavvy/32/66207_2.png) [@prashant.isavvy](https://devforum.zoom.us/u/prashant.isavvy)\
**Post date:** [January 14, 2025, 8:20am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/5 "2025-01-14T08:20:42Z")

</div>

We tried various hacks and workarounds, and finally, we resolved the issue by adding all five SDKs provided in the `lib` folder, even though we are not using them into our project. After adding those, the callbacks started working on my side. Please try the same to see if it resolves the issue for you as well.

---

<div class="post-metadata">

**Author:** ![dattatray.deokar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dattatray.deokar/32/66359_2.png) [@dattatray.deokar](https://devforum.zoom.us/u/dattatray.deokar)\
**Post date:** [January 14, 2025, 8:28am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/6 "2025-01-14T08:28:56Z")

</div>

we already have all the SDK in project folder, you embeded all of them?

---

<div class="post-metadata">

**Author:** ![prashant.isavvy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/prashant.isavvy/32/66207_2.png) [@prashant.isavvy](https://devforum.zoom.us/u/prashant.isavvy)\
**Post date:** [January 14, 2025, 8:32am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/7 "2025-01-14T08:32:28Z")

</div>

After adding those at side its automatically started working. Have you checked in Framework/Library embedded section?

 ![Screenshot 2025-01-14 at 2.01.07 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/8/c8f6cc556c93ee22bb17950ed79246a41646c595.jpeg)

---

<div class="post-metadata">

**Author:** ![dattatray.deokar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dattatray.deokar/32/66359_2.png) [@dattatray.deokar](https://devforum.zoom.us/u/dattatray.deokar)\
**Post date:** [January 14, 2025, 8:33am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/8 "2025-01-14T08:33:19Z")

</div>

We have only ZoomVideoSDK embeded, will embeded all of them.

---

<div class="post-metadata">

**Author:** ![prashant.isavvy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/prashant.isavvy/32/66207_2.png) [@prashant.isavvy](https://devforum.zoom.us/u/prashant.isavvy)\
**Post date:** [January 14, 2025, 8:34am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/9 "2025-01-14T08:34:38Z")

</div>

Please try with all embedded.

---

<div class="post-metadata">

**Author:** ![dattatray.deokar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dattatray.deokar/32/66359_2.png) [@dattatray.deokar](https://devforum.zoom.us/u/dattatray.deokar)\
**Post date:** [January 14, 2025, 9:23am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/10 "2025-01-14T09:23:29Z")

</div>

Thanks buddy, it worked.

---

<div class="post-metadata">

**Author:** ![dattatray.deokar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dattatray.deokar/32/66359_2.png) [@dattatray.deokar](https://devforum.zoom.us/u/dattatray.deokar)\
**Post date:** [January 16, 2025, 6:02am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/11 "2025-01-16T06:02:43Z")

</div>

@prashant.isavvy did you face issue like this - [Video Stops Rendering randomly](https://devforum.zoom.us/t/video-stops-rendering-randomly/124630)

---

<div class="post-metadata">

**Author:** ![prashant.isavvy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/prashant.isavvy/32/66207_2.png) [@prashant.isavvy](https://devforum.zoom.us/u/prashant.isavvy)\
**Post date:** [January 16, 2025, 10:03am UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/12 "2025-01-16T10:03:31Z")

</div>

@dattatray.deokar Please review your topic/thread, I have suggested a solution that might work for you as well.

---

<div class="post-metadata">

**Author:** ![richardpiazza](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richardpiazza/32/58829_2.png) [@richardpiazza](https://devforum.zoom.us/u/richardpiazza)\
**Post date:** [March 13, 2025, 3:44pm UTC](https://devforum.zoom.us/t/i-am-facing-delegate-not-calling-issue-zoom-video-sdk-1-14-0-and-later/124455/13 "2025-03-13T15:44:32Z")

</div>

For anyone finding this thread using the Swift Package Manager sdks, you may need to switch from using branch `swift-package-manager-main` to `swift-package-manager`. Seems to be an issue in the core functionality branch.
