# Meeting SDK を使用して Webinar の視聴画面を作成 ( Create a webinar viewing screen using the Meeting SDK)

**URL:** <https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595>\
**Category:** Web\
**Created:** [September 22, 2023, 6:10am UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595 "2023-09-22T06:10:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hidemune](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hidemune/32/52173_2.png) [@hidemune](https://devforum.zoom.us/u/hidemune)\
**Post date:** [September 22, 2023, 6:10am UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/1 "2023-09-22T06:10:49Z")

</div>

* * *

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
_Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context._

**Description**  
_Details on your question, workflow or the problem you’re trying to solve._

Meeting SDK を使用して Webinar の視聴画面を作成しようとしています。  
すでに以前、JWTでシグネチャを生成する処理はあったのですが、  
JWTが非推奨になり、対応を迫られています。

現状、

> **[Zoom WebSDK CDN](https://gakujyutsusha.jp/zoom/meeting.html?name=5a2m6KGT44CA5aSq6YOOX2dhazk5OQ%3D%3D&mn=83686072160&email=aW5mb0B0YW5ha2EtY3MuY28uanA%3D&pwd=774989&role=0&lang=jp-JP&signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiIwb3NVWmswdlp6WDlmbE5QSnBkVkVZUXFSVDY0THhpZW5lVjkiLCJtbiI6ODM2ODYwNzIxNjAsInJvbGUiOjAsImlhdCI6MTY5NTM2MDU5MiwiZXhwIjoxNjk1MzY3NzkyLCJhcHBLZXkiOiJxeU1BRmgyeW44R2ZQTzQzS0ZKSG5FNjlBdXVhVGhSdFlLblIiLCJ0b2tlbkV4cCI6MTY5NTM2Nzc5Mn0.1sJxUVAtCIPSGZo3a2rCoLWQXjE0Kk4IckgZ1ZR7yyM&china=0&sdkKey=0osUZk0vZzX9flNPJpdVEYQqRT64LxieneV9)**

上記URLの処理がエラー発生します。

> ミーティングの参加がタイムアウトしました。  
> 会議に参加するために失敗します。

現在、Draft状態の Meeting SDK でテストをしようとしています。

Q1.  
Zoom Authorization URL にアクセスして得たコードを、どのように利用したら良いか。  
大量のドキュメントを読み込めていません。読むべきドキュメントを教えて下さい。

Q2.  
→ Zoom Integration OAuth App Part 1 [https://youtu.be/LY7jXL9FSqA](https://youtu.be/LY7jXL9FSqA)  
→ Zoom Integration OAuth App Part 2 [https://youtu.be/ytkNxMyZ8\_E](https://youtu.be/ytkNxMyZ8_E)  
これは見ました。  
Meeting SDK には、どのように応用するのでしょうか？

**Error?**  
_The full error message or issue you are running into, where applicable._

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** / Body_  
_2. Authentication method or app type_  
_3. Any errors_

Translation ❤

* * *

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
_Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context._

**Description**  
_Details on your question, workflow or the problem you’re trying to solve._

I’m trying to create a webinar viewing screen using the Meeting SDK.  
There was already a process to generate a signature with JWT, but  
JWT has been deprecated and we need to take action.

current situation,

An error occurs when processing the above URL.

> Meeting participation timed out.  
> Fail to join the meeting.

I’m currently trying to test the Meeting SDK in Draft state.

Q1.  
How can I use the code obtained by accessing the Zoom Authorization URL?  
Unable to load large number of documents. Please tell me which documents I should read.

Q2.  
→ Zoom Integration OAuth App Part 1 [https://youtu.be/LY7jXL9FSqA](https://youtu.be/LY7jXL9FSqA)  
→ Zoom Integration OAuth App Part 2 [https://youtu.be/ytkNxMyZ8\_E](https://youtu.be/ytkNxMyZ8_E)  
I saw this.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [September 22, 2023, 7:48pm UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/2 "2023-09-22T19:48:12Z")

</div>

Thank you for posting in the Zoom Developer Fourm – I am happy to help @hidemune ! It seems like you are trying to understand the steps to authorize the Meeting SDK. Is that correct? If so, you will need to create Zoom Marketplace SDK app and use the App credentials to generate a JWT to authorize the Meeting SDK. Here is our document on how to authorize the Zoom Meeting SDK :

> **[Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/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.

We also have a helpful article on troubleshooting meeting SDK signatures, you can check it out here :

> **[Troubleshooting Zoom Meeting SDK signature validation](https://dev.to/zoom/troubleshooting-zoom-meeting-sdk-signature-validation-1hln)**
>
> In this guide, we’ll cover common issues you may run into when generating a signature for the Zoom...

Additionally, here is our support documentation on starting a webinar via SDK:

> **[Meeting SDK - web - component view - Webinars](https://developers.zoom.us/docs/meeting-sdk/web/component-view/webinars/)**
>
> 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.

> **[Meeting SDK - web - client view - Webinars](https://developers.zoom.us/docs/meeting-sdk/web/client-view/webinars/)**
>
> 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.

Please let me know if this helps or if you have further questions.

---

<div class="post-metadata">

**Author:** ![hidemune](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hidemune/32/52173_2.png) [@hidemune](https://devforum.zoom.us/u/hidemune)\
**Post date:** [September 22, 2023, 9:38pm UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/3 "2023-09-22T21:38:54Z")

</div>

ありがとうございます。頭の中が整理できました。

ドキュメントを見る限り、ウェビナーを視聴するだけなら  
tk, zak は必要ないように思えます。これは、Role:0の場合は実装する必要は無いですよね？  
しかし、

[https://gakujyutsusha.jp/zoom/test.html](https://gakujyutsusha.jp/zoom/test.html)

で視聴しようとすると、以下のエラーが発生します。

> ミーティングの参加がタイムアウトしました。  
> 会議に参加するために失敗します。

現在のスコープは以下のとおりです。  
Share within your account  
Active  
となっています。

Scope Name / ID  
View your meetings /meeting:read  
ミーティング参加  
View live streaming meeting token information /meeting\_token:read:live\_streaming  
ミーティング参加  
View user’s zak token /user\_zak:read  
トークン取得  
View your webinars /webinar:read  
ウェビナー視聴  
View live streaming webinar token information /webinar\_token:read:live\_streaming  
ウェビナー視聴

動作しない理由の、考えられる原因には、何が有りますか？

---

<div class="post-metadata">

**Author:** ![hidemune](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hidemune/32/52173_2.png) [@hidemune](https://devforum.zoom.us/u/hidemune)\
**Post date:** [September 25, 2023, 2:27am UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/4 "2023-09-25T02:27:23Z")

</div>

## Join webinar

To join a Zoom webinar, you must use a `role` value of `0` in your SDK signature, and include the `userEmail` property. This enables your Meeting SDK for Web to join any webinar.

```auto
ZoomMtg.init({
  leaveUrl: leaveUrl, // https://example.com/thanks-for-joining
  success: (success) => {
    ZoomMtg.join({
      sdkKey: sdkKey,
      signature: signature, // role in SDK signature needs to be 0
      meetingNumber: meetingNumber,
      passWord: passWord,
      userName: userName,
      userEmail: userEmail, // userEmail property required
      success: (success) => {
        console.log(success)
      },
      error: (error) => {
        console.log(error)
      }
    })
  },
  error: (error) => {
    console.log(error)
  }
})

```

> **[Meeting SDK - web - client view - Webinars](https://developers.zoom.us/docs/meeting-sdk/web/client-view/webinars/)**
>
> 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.

上記の部分には、特段のトークンなどの必要性が記述されていません。この部分の実装は済んでいるので、以下のメッセージが出る理由がわからないのです。

[https://gakujyutsusha.jp/zoom/test.html](https://gakujyutsusha.jp/zoom/test.html)

エラーメッセージ：

> ## ミーティングの参加がタイムアウトしました。
> 
> 会議に参加するために失敗します。

# **Translated Text :**

The above part does not mention the need for any special tokens. I have already implemented this part, so I don’t know why the following message appears.

[https://gakujyutsusha.jp/zoom/test.html](https://gakujyutsusha.jp/zoom/test.html)

Error message:

Your participation in the meeting has timed out.  
Fail to join the meeting.

---

<div class="post-metadata">

**Author:** ![hidemune](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hidemune/32/52173_2.png) [@hidemune](https://devforum.zoom.us/u/hidemune)\
**Post date:** [September 25, 2023, 3:37am UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/5 "2023-09-25T03:37:24Z")

</div>

ありがとうございます！  
以下のトラブルシュートで、原因が判明しました！

解決しました！

> ```
> Verify with JWT.io
> 
> ```
> 
> [JWT.io](http://JWT.io) provides an excellent tool to decode and debug a JSON Web Token. You can use this tool to verify your token’s structure or build a token using a header and payload.
> 
> The header includes the signing algorithm and the token type. The payload section describes the authorization granted. It contains the token’s claims, the information passed about the user, and any metadata required.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [September 25, 2023, 12:57pm UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/6 "2023-09-25T12:57:38Z")

</div>

Awesome @hidemune, I’m glad those troubleshooting steps helped you resolve the issue you were facing, please feel free to ask any additional questions you may have.

---

<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:** [October 25, 2023, 10:58pm UTC](https://devforum.zoom.us/t/meeting-sdk-webinar-create-a-webinar-viewing-screen-using-the-meeting-sdk/95595/7 "2023-10-25T22:58:00Z")

</div>

Closed on October 25, 2023, 10:58pm UTC

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