@videosdk.live/server-sdk
    Preparing search index...

    Class RtmpResource

    RTMP-out API — vsdk.rtmp (push a room to RTMP destinations).

    start(roomId, { streams }) begins the livestream and returns an EgressHandle; stop(roomId) ends it.

    Index
    • Fetch a livestream by id.

      Parameters

      • id: string

      Returns Promise<Livestream>

    • Stop an RTMP livestream. Pass a bare roomId or the start EgressHandle.

      Parameters

      Returns Promise<string>