最終更新:2020-03-26 (木) 11:42:08 (1454d)
OpenTok Basics
Top / OpenTok Basics
https://tokbox.com/developer/guides/basics/
ステップ
Step 1: The session is created by your app server
- OpenTok Server SDKを使ってセッションを作成 (裏でOpenTok REST APIを叩く)
Step 2: A client loads the app and server creates a token
- クライアントがアプリをロード(OpenTok Client SDKを使用)
- サーバからセッションIDとトークンを取得
Step 3: The client connects and begins streaming to the session
- セッションに接続
- ストリームを開始
- イベントをリッスン
Step 4: A new client connects to the session
- サーバからセッションIDとトークンを取得
- セッションに接続
Step 5: The clients subscribe to each other’s streams
- クライアントがお互いのストリームをサブスクライブ