Audio/Video Bridge
Establish peer-to-peer audio and video calls between users. NEW AUDIO BRIDGE and NEW VIDEO BRIDGE create rooms with join tokens. Participants connect using the returned token URL.
| Verb | Description |
|---|---|
NEW AUDIO BRIDGE SET ?room | Create an audio bridge room |
NEW VIDEO BRIDGE SET ?room | Create a video bridge room |
PEERS ?room SET ?list | List connected peers in a room — returns array |
| Room object field | Description |
|---|---|
room_id | Unique room identifier |
join_url_caller | URL for the first participant to open in their browser |
join_url_receiver | URL for the second participant |
kind | "audio" or "video" |
Create an audio call
NEW AUDIO BRIDGE SET ?room
AFTER EMIT ?room(join_url_caller)
AFTER EMIT ?room(join_url_receiver)
Try it ›
Create a video call
NEW VIDEO BRIDGE SET ?room
AFTER EMIT ?room
One-click call flow (Site Mode)
NEW VIDEO BRIDGE SET ?room
AFTER EMAIL "Join here: " & ?room(join_url_receiver)
TO !REQUEST(form:guest_email)
WITH "Video call invite"
AFTER REDIRECT ?room(join_url_caller) AS "302"
[agenda] — NEW AUDIO BRIDGE and NEW VIDEO BRIDGE example syntax is being corrected. Current examples may not match the runtime exactly.
NEW TUNNEL
Peer-to-peer data/file transfer room. For files, binary data, and streams — not for media streaming. See TUNNEL → for full documentation.
NEW TUNNEL SET ?room
AFTER EMIT ?room(room_id)
| Verb | Description |
|---|---|
NEW TUNNEL SET ?room | Allocate a peer-to-peer data transfer room. → {room_id, sender_url, receiver_url, expires} |
TUNNEL SEND "path" TO ?room | Join room as sender. Accepts file paths and RTSP URLs. |
TUNNEL RECEIVE ?room INTO "/mounted/path" SET ?path | Join room as receiver. Writes to OQL virtual storage. |
TUNNEL CLOSE ?room | Explicitly close the tunnel room. |