Domain name for API request: mdc.tencentcloudapi.com.
This API is used to query the configuration information of multiple StreamLink flows 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: DescribeStreamLinkFlows. |
Version | Yes | String | Common Params. The value used for this API: 2020-08-28. |
Region | No | String | Common Params. This parameter is not required for this API. |
PageNum | No | Integer | Number of the current page. Default value: 1 |
PageSize | No | Integer | Number of entries per page. Default value: 10 |
Parameter Name | Type | Description |
---|---|---|
Infos | Array of DescribeFlow | List of the configuration information of the flows |
PageNum | Integer | Number of the current page |
PageSize | Integer | Number of entries per page |
TotalNum | Integer | Total number of entries |
TotalPage | Integer | Total number of pages |
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. |
POST / HTTP/1.1
Host: mdc.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeStreamLinkFlows
<Common request parameters>
{
"PageNum": 1,
"PageSize": 10
}
{
"Response": {
"TotalPage": 1,
"PageNum": 1,
"PageSize": 10,
"RequestId": "aaaaa",
"Infos": [
{
"FlowName": "sacdsad",
"InputGroup": [
{
"AllowIpList": [
"0.0.0.0/0"
],
"Protocol": "SRT",
"Description": "asda",
"RTPSettings": {
"IdleTimeout": 1000,
"FEC": "none"
},
"InputName": "123sadsasada2",
"SRTSettings": {
"Latency": 1000,
"PeerLatency": 1000,
"PbKeyLen": 1000,
"RecvLatency": 1000,
"Passphrase": "aaaa",
"StreamId": "1111",
"PeerIdleTimeout": 1000
},
"RTMPSettings": {
"StreamKey": "streamid?a=b",
"AppName": "live_appid"
},
"InputRegion": "ap-mumbai",
"InputId": "1213",
"InputAddressList": [
{
"Ip": "0.0.0.0",
"Port": 0
}
]
}
],
"FlowId": "123ds12",
"State": "IDLE",
"OutputGroup": [
{
"OutputName": "sad231edqsq",
"OutputAddressList": [
{
"Ip": "2.2.2.2"
}
],
"Protocol": "RTP",
"Description": "aaaaasss",
"RTPSettings": {
"IdleTimeout": 1000,
"FEC": "none",
"Destinations": [
{
"Ip": "3.3.3.3",
"Port": 0
}
]
},
"OutputType": "Internet",
"SRTSettings": {
"Latency": 10000,
"PeerLatency": 20000,
"PbKeyLen": 10000,
"RecvLatency": 30000,
"Passphrase": "aaaa",
"StreamId": "aaaa",
"PeerIdleTimeout": 40000,
"Destinations": [
{
"Ip": "4.4.4.4",
"Port": 0
}
]
},
"OutputId": "asd21dsa",
"RTMPSettings": {
"IdleTimeout": 1000,
"ChunkSize": 4096,
"Destinations": [
{
"Url": "rtmp://domain/live",
"StreamKey": "streamid?a=b"
}
]
},
"OutputRegion": "xx"
}
],
"MaxBandwidth": 10000000
}
],
"TotalNum": 1
}
}
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. |
InvalidParameter.Id | Invalid ID. |
InvalidParameter.PageNum | Invalid PageNum . |
InvalidParameter.PageSize | Invalid PageSize . |
Was this page helpful?