RealtimeKit Add Participant API

オープン
#2,737 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudflare/cloudflare-typescript のほかの issue

cloudflare/cloudflare-typescript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。