RealtimeKit Add Participant API

Aperta
#2,737 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Inizia riproducendo la richiesta POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants senza nome, quindi usa il token restituito con il client SDK. Confronta il campo facoltativo documentato con l’errore osservato 0002 e determina se la correzione appartiene alla TypeScript library o al RealtimeKit media server. Il lavoro è completato quando i partecipanti senza nome possono partecipare correttamente oppure la documentazione dell’API corrisponde al comportamento richiesto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
835
Fork
201
Merge medio
41m
PR unite (30g)
1

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudflare/cloudflare-typescript

Tutte le issue di cloudflare/cloudflare-typescript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.