Create a Stream for a Room
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Video.
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing
the word Basic followed by a space and a base64-encoded string of project_id:token.
The project ID will be used as the username and the API token as the password.
Example:
```
Authorization: Basic base64(project_id:token)
```
Path parameters
id
Unique ID of the video room.
Request
This endpoint expects an object.
url
RTMP or RTMPS URL. This must be the address of a server accepting incoming RTMP/RTMPS streams.
Response
Stream created response.
id
Unique identifier for the stream.
url
RTMP or RTMPS URL. This must be the address of a server accepting incoming RTMP/RTMPS streams.
stream_type
The type of stream.
width
The stream's width in pixels.
height
The stream's height in pixels.
fps
The stream's frames per second.
created_at
Timestamp when the stream was created.
updated_at
Timestamp when the stream was last updated.