RealtimeKit Add Participant API
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
まず、名前なしで POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants リクエストを再現し、次に返されたトークンを client SDK で使用します。ドキュメントに記載されたオプションフィールドと観測されたエラー 0002 を比較し、修正が TypeScript library に属するのか、RealtimeKit media server に属するのかを判断します。参加者が名前なしで正常に参加できるようになるか、API ドキュメントが必要な動作と一致すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Confirm this is a TypeScript library issue and not an underlying Cloudflare API issue
- This is an issue with the TypeScript library
Describe the bug
Maybe this is not the place to report, but as a user i already got tired trying to find a way of report you guys the error, everything drive me to the community forum and there nobody reply, discord doesn't have no channel for bugs, then i leave it here you guys can sort it out.
API Endpoint: POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants
Issue: The name field is documented as optional (nullable: true, not in the required array). However, when name is omitted from the request, the participant token returned by the API causes error 0002 ("Failed to join room. could not connect to media servers") when the client SDK attempts to connect to the media server. When name is provided (even as an empty string or placeholder), the connection succeeds.
Category: Bug — Server-side (RealtimeKit media server)
To Reproduce
Call the Add Participant API without the name field
Use the returned token to join a meeting via the client SDK
Observe error 0002 / "Failed to join room"
Expected behavior: The media server should accept connections from participants without a name, since the REST API documents it as optional.
Workaround: Always pass a name value (e.g. "Anonymous") when adding a participant.
Code snippets
OS
macOS
Runtime version
REST API
Library version
- 主要言語
- TypeScript
- スター
- 835
- フォーク
- 201
- 平均マージ
- 41分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudflare/cloudflare-typescript のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/cloudflare-typescript#2821 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
cloudflare/cloudflare-typescript#2811 ·
-
workers.scripts.deployments.list() paginates the wrong field in v7.2.0対応中かも @airshakur88 が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cloudflare/cloudflare-typescript#2805 · コメント 1 件 · リアクション 1 件 ·
-
Release Calendarオープン
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
cloudflare/cloudflare-typescript#2755 · コメント 7 件 · リアクション 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 15/100
cloudflare/cloudflare-typescript#2812 ·
cloudflare/cloudflare-typescript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
siyuan-note/siyuan#21692 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
GetStream/stream-chat-react#3467 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
resend/resend-node#1206 ·
メンテナーはふだん 1 日以内に返信
-
Autocomplete: the element's api leaves out highlight() and getHighlighted()対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
vercel-labs/ui#1139 ·
メンテナーはふだん 1 日以内に返信