Server SDKs
Build AI agents, control calls, send messages, and more
Create a new stream for a conference, enabling external streaming output (e.g., RTMP to a streaming platform).
format: "uuid"
1{2 "id": "c22d24f6-5a47-4597-9a23-c7d01e696b92",3 "url": "rtmp://broadcaster",4 "stream_type": "rtmp",5 "width": 1920,6 "height": 1080,7 "fps": 20,8 "created_at": "2022-01-01T10:00:00Z",9 "updated_at": "2022-01-01T11:00:00Z"10}
1import { RestClient } from "@signalwire/sdk";23const client = new RestClient({4 project: "your-project-id",5 token: "your-api-token",6 host: "your-space.signalwire.com",7});89const stream = await client.video.conferences.createStream("conference-id", {10 url: "rtmp://live.example.com/key",11});