# ZoomVideoSDKDelegate not being called

**URL:** <https://devforum.zoom.us/t/zoomvideosdkdelegate-not-being-called/112241>\
**Category:** iOS\
**Created:** [June 19, 2024, 7:50pm UTC](https://devforum.zoom.us/t/zoomvideosdkdelegate-not-being-called/112241 "2024-06-19T19:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cs.couto](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@cs.couto](https://devforum.zoom.us/u/cs.couto)\
**Post date:** [June 19, 2024, 7:50pm UTC](https://devforum.zoom.us/t/zoomvideosdkdelegate-not-being-called/112241/1 "2024-06-19T19:50:45Z")

</div>

**Description**  
I have a custom zoom call integration in swift. I’m trying to join a session by calling `joinSession()` the returned value is always `nil`. Neither `ZoomVideoSDKDelegate`’s callback - `onSessionJoin()` nor `onError` is getting invoked.

Not sure what is going wrong here.

**Which iOS Video SDK version?**  
v1.11.10

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘Download Video SDK for iOS v1.11.10’
2. Setup the SDK in your app
3. Initialize the SDK
4. Join session:

```auto
  let sessionContext = ZoomVideoSDKSessionContext()
    sessionContext.token = token
    sessionContext.sessionName = name
    sessionContext.userName = userName
    let session = ZoomVideoSDK.shareInstance()?.joinSession(sessionContext)
    if session != nil {
      print("Joined seession")
    } else {
      print("Error in joining session")
    }
.
.
.
  func onSessionJoin() {
    print("onSession join triggered")
  }

```

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

- Device: iPhone 14
- OS: iOS 17.2

**Additional context**  
This is my payload to generate the JWT token:

```auto
{
  "app_key": "#####",
  "tpc": "GUbQCnJUBm9PsCnpzZej_TIAGO_1718730335",
  "role_type": 0,
  "version": 1,
  "iat": 1718825106,
  "exp": 1718832306,
  "user_identity": "member#9390e7ec9114e13656104ffb7435bcf9_TiagoCouto"
}

```

---

<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:** [July 20, 2024, 5:51am UTC](https://devforum.zoom.us/t/zoomvideosdkdelegate-not-being-called/112241/2 "2024-07-20T05:51:43Z")

</div>

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