Skip to main content

Create a Stream for a Room

POST 

/rooms/:id/streams

Permissions

The API token must include the following scopes: Video.

Request

Path Parameters

    id uuidrequired

    Unique id of a video room

    Example: fe4093d9-58c2-4931-b4b9-5679f82652c6

Body

required

    url string

    RTMP or RTMPS url. This must be the address of a server accepting incoming RTMP/RTMPS streams.

Responses

OK

Schema

    id uuid

    A unique identifier for the stream

    url string

    RTMP or RTMPS url. This must be the address of a server accepting incoming RTMP/RTMPS streams.

    stream_type string

    The type of stream.

    width integer

    The stream's width.

    height integer

    The stream's height.

    fps integer

    The stream's fps

    created_at date-time
    updated_at date-time
Loading...