Domain name for API request: mdl.tencentcloudapi.com.
This API is used to query StreamLive channels in batches.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeStreamLiveChannels. |
Version | Yes | String | Common Params. The value used for this API: 2020-03-26. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Parameter Name | Type | Description |
---|---|---|
Infos | Array of StreamLiveChannelInfo | List of channel information Note: this field may return null , indicating that no valid value was found. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
https://mdl.tencentcloudapi.com/?Action=DescribeStreamLiveChannels
&<Common request parameters>
{
"Response": {
"Infos": [
{
"Id": "5E95AB6430E630731B8B",
"Name": "555",
"State": "IDLE",
"AttachedInputs": [
{
"Id": "5E8EEA7B30E6131D85CB",
"AudioSelectors": [
{
"Name": "7777",
"AudioPidSelection": {
"Pid": 888
}
}
]
}
],
"AudioTemplates": [
{
"Name": "test1",
"Acodec": "AAC",
"AudioBitrate": 6000,
"AudioSelectorName": "7777",
"LanguageCode": "eng"
}
],
"VideoTemplates": [
{
"Name": "test2",
"Vcodec": "H264",
"VideoBitrate": 1000000,
"Width": 1024,
"Height": 1024,
"Fps": 30
}
],
"OutputGroups": [
{
"Name": "9999",
"HlsRemuxSettings": {
"SegmentDuration": 0,
"SegmentNumber": 0,
"PdtInsertion": "CLOSE",
"PdtDuration": 0
},
"DashRemuxSettings": {
"SegmentDuration": 2000,
"SegmentNumber": 3,
"PeriodTriggers": "OPEN"
},
"DrmSettings": {
"State": "OPEN",
"ContentId": "f28d75a5-d386-4c5c-acce-779b4896cf0d"
},
"Outputs": [
{
"Name": "11111122222",
"AudioTemplateNames": [
"test1"
],
"VideoTemplateNames": [
"test2"
],
"Scte35Settings": {
"Behavior": "PASSTHROUGH"
}
}
],
"Destinations": [
{
"OutputUrl": "http://domain/live/1233",
"AuthKey": "2323",
"Username": "24343",
"Password": ""
},
{
"OutputUrl": "http://domain/live/222",
"AuthKey": "dsds",
"Username": "443",
"Password": "666"
}
]
}
]
}
],
"RequestId": "11-222-333"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error. |
Was this page helpful?