Skip to main content

Query Stream Metadata

Queries the medata, including bit rate and frame rate, of a stream between the specified time range. The maximum query time span is one hour. You can query data over the past seven days.

Request

Request-Line

GET /lls/v1.0/analytics/stream/queryStreamMetadata

Request Parameters

Query Parameters

ParameterTypeRequiredDescription
domainStringMandatoryIngest domain name.
appStringMandatoryApplication name.
streamStringMandatoryStream name.
startedTimestampMandatoryTimestamp of started time in UTC timezone.
endedTimestampMandatoryTimestamp of ended time in UTC timezone.

Response

Response Body

ParameterTypeRequiredDescription
--ArrayMandatoryArray of Streaming Object.

Object: Streaming

ParameterTypeRequiredDescription
domainStringMandatoryIngest domain name.
appStringMandatoryApplication name.
streamStringMandatoryStream name.
startedTimestampMandatoryStarted time of streaming in UTC timezone.
endedTimestampMandatoryEnded time of streaming in UTC timezone.
bitrateFpsArrayMandatoryArray of Bitrate And FPS Object.
Object: Bitrate FPS
ParameterTypeRequiredDescription
timestampTimestampMandatoryExampling timestamp in UTC timezone.
bitRateIntegerMandatoryAverage Bit rate. Unit is kbps.
frameRateIntegerMandatoryAverage frame rate per second.

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400LLS.Analytics.InvalidTimestampTimestamp is empty or invalid.

Examples

Query stream metadata

Request

GET /lls/v1.0/analytics/transcoding/queryStreamMetadata?domain=ingest.example.com&app=demoapp&stream=demostream01&started=20250518T173000Z&ended=20250518T184030Z HTTP/1.1

Successful Response Body

[
{
"domain": "ingest.example.com",
"app": "demoapp",
"stream": "demostream01",
"started": "20250518T173000Z",
"ended": "20250518T173010Z",
"bitrateFps": [
{
"timestamp": "20250518T173000Z",
"bitRate": 3030,
"frameRate": 28
},
{
"timestamp": "20250518T173005Z",
"bitRate": 2850,
"frameRate": 31
},
{
"timestamp": "20250518T173010Z",
"bitRate": 2905,
"frameRate": 31
}
]
},
{
"domain": "ingest.example.com",
"app": "demoapp",
"stream": "demostream01",
"started": "20250518T183010Z",
"ended": "20250518T183030Z",
"bitrateFps": [
{
"timestamp": "20250518T183015Z",
"bitRate": 2950,
"frameRate": 30
},
{
"timestamp": "20250518T183020Z",
"bitRate": 2880,
"frameRate": 29
},
{
"timestamp": "20250518T183025Z",
"bitRate": 2990,
"frameRate": 31
},
{
"timestamp": "20250518T183030Z",
"bitRate": 3025,
"frameRate": 30
}
]
}
]

Best Practices

Rate Limiting

Rate Limits

Rate limiting is posed upon the API, check API calls to comply with the rate limit below:

  • 100 requests per minute
  • 1000 requests per hour