Skip to main content

Live Stream - Fetch List of Live Stream

This guide will provide an overview of how to list all live streams that you created by passing userId as query parameter.

Query Params

Property NameTypeDescription
userIdstringUnique id of user.
curl --request GET \
--url 'https://api.videosdk.live/v1/livestreams?userId=<Your unique id>' \
--header 'Authorization: `jwt token goes here`'
  • Response Body
      parameters
    • userIdstring

      Unique identifier of user.
    • namestring

      Provided name of the live stream.
    • recordboolean

      Flag for live stream recording, which you have provided while creating live stream.
    • streamKeystring

      Stream keys are like your live stream’s password and address
    • streamUrlstring

      It's URL, without streamKey.
    • upstreamUrlstring

      where a RTMP stream is used to send video between an encoder and server.
    • downstreamUrlstring

      It's URL, Where you can play live stream in video player (Support HLS format).
    • recordingUrlstring

      It's URL, Where live stream recording is stored.
    • restreamarray

      This property contains object of RTMP url and streamKey, which you have provided in body params.

Dashboard

You can find list of live stream on Your Dashboard.

Video SDK Home Dashboard