# Is Video SDK app type is the same as the SDK option on Build App page?

**URL:** <https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790>\
**Category:** Web\
**Created:** [June 1, 2022, 6:20am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790 "2022-06-01T06:20:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashan.asim](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kashan.asim](https://devforum.zoom.us/u/kashan.asim)\
**Post date:** [June 1, 2022, 6:20am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/1 "2022-06-01T06:20:10Z")

</div>

I am a little Confused, i want to create a Video SDK app for web and for that i have to create a “Video SDK” app from the build page. But there i only see SDK option. Are they both the same ?

---

<div class="post-metadata">

**Author:** ![hoan.dovan1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hoan.dovan1/32/34295_2.png) [@hoan.dovan1](https://devforum.zoom.us/u/hoan.dovan1)\
**Post date:** [June 2, 2022, 10:18am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/2 "2022-06-02T10:18:23Z")

</div>

@kashan.asim

Yes, it’ same. We used it for both mobile and web

---

<div class="post-metadata">

**Author:** ![kashan.asim](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kashan.asim](https://devforum.zoom.us/u/kashan.asim)\
**Post date:** [June 2, 2022, 10:35am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/3 "2022-06-02T10:35:14Z")

</div>

Then it gives me an error “This account does not exist or does not belong to you” with error code 200, when joining a session using the Web Video SDK.  
i am using a JWT Signature!

---

<div class="post-metadata">

**Author:** ![hoan.dovan1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hoan.dovan1/32/34295_2.png) [@hoan.dovan1](https://devforum.zoom.us/u/hoan.dovan1)\
**Post date:** [June 2, 2022, 10:56am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/4 "2022-06-02T10:56:44Z")

</div>

I used Sdk key & Secret key to generate a JWT token.  
I used this method to generate JWT. Please note:

- iat: in second
- tpc: must same with `join function`

> **[SDK Authorization](https://marketplace.zoom.us/docs/sdk/video/auth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

You can use this website to generate the JWT to test:

> **[JWT.IO](https://jwt.io/)**
>
> JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.

---

<div class="post-metadata">

**Author:** ![kashan.asim](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kashan.asim](https://devforum.zoom.us/u/kashan.asim)\
**Post date:** [June 2, 2022, 11:14am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/5 "2022-06-02T11:14:07Z")

</div>

I used this to generate the JWT:

```auto
generateSignature( sdkKey, sdkSecret, sessionName, role, sessionKey, userIdentity ) {
    const iat = Math.round((new Date().getTime() - 30000) / 1000);
    const exp = iat + 60 * 60 * 2;
    const oHeader = { alg: "HS256", typ: "JWT" };

    const oPayload = {
      app_key: sdkKey,
      tpc: sessionName,
      role_type: role,
      session_key: sessionKey,
      user_identity: userIdentity,
      iat: iat,
      exp: exp,
    };

    const sHeader = JSON.stringify(oHeader);
    const sPayload = JSON.stringify(oPayload);
    const sdkJWT = KJUR.jws.JWS.sign("HS256", sHeader, sPayload, sdkSecret);
    return sdkJWT;
  }

```

And then i used the client.join() function to join the session:

```auto
try {
      const data = await this.videoClient.join(
        "Cool Cars",
        this.generateSignature(
          "2EfANX7gRQmoLywtQLDjnA",
          "kMFq0o8zJxWf4JPZGneRneLsRCpfKpqrWzln",
          "Cool Cars",
          1,
          "testmeet123",
          "Kashan Asim"
        ),
        "Kashan Asim",
        "testmeet123"
      );
      this.stream = this.videoClient.getMediaStream();
      console.log(data);
    } catch (error) {
      console.log(error);
    }

```

But it gave me error code 200

and i tried these ways to initialize the client object

```auto
this.videoClient.init(
      "en-US",
      // 'CDN'
      // `https://bbb0-58-65-212-5.in.ngrok.io/node_modules/@zoom/videosdk/dist/lib`
      // `http://localhost:4200/node_modules/@zoom/videosdk/dist/lib/`
      `E:\\Projects/video-signing-app/node_modules/@zoom/videosdk/dist/lib`
    );

```

---

<div class="post-metadata">

**Author:** ![kashan.asim](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@kashan.asim](https://devforum.zoom.us/u/kashan.asim)\
**Post date:** [June 2, 2022, 11:14am UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/6 "2022-06-02T11:14:48Z")

</div>

I would really appreciate if you help me find the problem!

---

<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 2, 2022, 9:14pm UTC](https://devforum.zoom.us/t/is-video-sdk-app-type-is-the-same-as-the-sdk-option-on-build-app-page/69790/7 "2022-07-02T21:14:48Z")

</div>

Closed on July 2, 2022, 9:14pm UTC

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