Skip to main content

Query Transcoding Duration

Query total accumulated transcoding hours per interval during the selected period. Each running process contributes 1 hour per actual hour of execution.

Request

Request-Line

Get /lls/v1.0/analytics/transcoding/queryTranscodingHours

Request Parameters

Query Parameters

ParameterTypeRequiredDescription
domainStringMandatoryIngest domain name
appStringOptionalApplication name
streamStringOptionalStream name
regionStringOptionalcountry code of the ingest node. refer to ISO 3166-1 Alpha-2.
startedTimestampOptionalTimestamp of started time in UTC timezone.
endedTimestampOptionalTimestamp of ended time in UTC timezone.

Response

Response Body

ParameterTypeRequiredDescription
domainStringMandatoryIngest domain name
appStringOptionalApplication name
streamStringOptionalStream name
startedTimestampOptionalTimestamp of started time in UTC timezone.
endedTimestampOptionalTimestamp of ended time in UTC timezone.
dataArrayMandatoryArray of Data Object

Object: Data

ParameterTypeRequiredDescription
timestampTimestampMandatoryExampling timestamp in UTC timezone.
transcodingHoursFloatMandatorytotal number of transcoding duration. Unit is Hour

Status Codes, Error Codes and Error Messages

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

Examples

Query real-time transcoding duration

Request

Get /lls/v1.0/analytics/transcoding/queryTranscodingHours?domain=ingest.example.com&app=demoapp HTTP/1.1

Successful Response Body

{
"domain": "ingest.example.com",
"app": "demoapp",
"data": [
{
"timestamp": "20250518T173000Z",
"transcodingHours": 4.8
}
]
}

Query transcoding duration in specified time range

Request

Get /lls/v1.0/analytics/transcoding/queryTranscodingHours?domain=ingest.example.com&app=demoapp&started=20250518T173000Z&ended=20250518T180000Z HTTP/1.1 

Successful Response Body

{
"domain": "ingest.example.com",
"app": "demoapp",
"started": "20250518T173000Z",
"ended": "20250518T180000Z",
"data": [
{
"timestamp": "20250518T173000Z",
"transcodingHours": 4.8
},
{
"timestamp": "20250518T173500Z",
"transcodingHours": 5.2
},
{
"timestamp": "20250518T174000Z",
"transcodingHours": 7.2
},
{
"timestamp": "20250518T174500Z",
"transcodingHours": 8.0
},
{
"timestamp": "20250518T175000Z",
"transcodingHours": 7.6
},
{
"timestamp": "20250518T175500Z",
"transcodingHours": 8.4
},
{
"timestamp": "20250518T18000Z",
"transcodingHours": 8.8
}
]
}

Best Practices

Rate Limiting

Rate Limits

Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:

  • 100 requests per minute
  • 1000 requests per hour