RealtimeKit Add Participant API
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- api, backend-api-design
Research direction
Start by reproducing the POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants request without name, then use the returned token with the client SDK. Compare the documented optional field with the observed error 0002 and determine whether the fix belongs in the TypeScript library or the RealtimeKit media server. Done means participants without a name can join successfully, or the API documentation matches the required behavior.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 835
- Forks
- 201
- Avg merge
- 41m
- Merged PRs (30d)
- 1
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudflare/cloudflare-typescript
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloudflare/cloudflare-typescript#2821 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
cloudflare/cloudflare-typescript#2811 ·
-
workers.scripts.deployments.list() paginates the wrong field in v7.2.0Possibly taken @airshakur88 claimed this 15 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cloudflare/cloudflare-typescript#2805 · 1 comment · 1 reaction ·
-
Release CalendarOpen
Difficulty 1/5 Under an hour Newbie friendliness 68/100
cloudflare/cloudflare-typescript#2755 · 7 comments · 1 reaction ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 15/100
cloudflare/cloudflare-typescript#2812 ·
All issues in cloudflare/cloudflare-typescript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
siyuan-note/siyuan#21692 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GetStream/stream-chat-react#3467 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
resend/resend-node#1206 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vercel-labs/ui#1139 ·
Maintainers usually reply within 1 day