Skip to content

Add janus-room-allow-ws-participants for AudioBridge WS media - #5

Closed
mirkobrankovic82 wants to merge 1 commit into
masterfrom
feat/janus-room-allow-ws-participants
Closed

Add janus-room-allow-ws-participants for AudioBridge WS media#5
mirkobrankovic82 wants to merge 1 commit into
masterfrom
feat/janus-room-allow-ws-participants

Conversation

@mirkobrankovic82

Copy link
Copy Markdown
Owner

Summary

  • Add channel variable janus-room-allow-ws-participants (per-call, dialplan-controlled).
  • When set, mod_janus includes allow_ws_participants: true in the Janus AudioBridge create request.
  • Required so BFF POST /v2/webrtc/ws-media-session can attach a WebSocket RTP leg to an existing call (room already created by mod_janus).

Context

Janus only allows media: websocket joins when the room was created with allow_ws_participants=true. The flag cannot be changed via edit after creation.

Pairs with:

Test plan

  • Originate a Janus leg with {janus-room-allow-ws-participants=true}janus/...
  • Confirm Janus room create payload includes allow_ws_participants: true
  • BFF POST /v2/webrtc/ws-media-session for same roomId returns wsMediaUrl (not error 489)
  • Without the variable, behavior unchanged (Janus default false)

Made with Cursor

… create

Rooms created by mod_janus must set allow_ws_participants at create time so
BFF can attach a WebSocket RTP leg to an existing call via rtpws.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mirkobrankovic82
mirkobrankovic82 deleted the feat/janus-room-allow-ws-participants branch July 2, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant