Domain name for API request: mdc.tencentcloudapi.com.
This API is used to query the configuration information of a StreamLink flow.
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: DescribeStreamLinkFlow. |
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. |
FlowId | Yes | String | Flow ID |
Parameter Name | Type | Description |
---|---|---|
Info | DescribeFlow | Configuration information of a flow |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mdc.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeStreamLinkFlow
<Common request parameters>
{
"FlowId": "aaa"
}
{
"Response": {
"Info": {
"FlowName": "sacdsad",
"InputGroup": [
{
"AllowIpList": [
"0.0.0.0/0"
],
"Protocol": "SRT",
"Description": "description",
"RTPSettings": {
"IdleTimeout": 1000,
"FEC": "none"
},
"InputName": "sadsa",
"SRTSettings": {
"Latency": 1000,
"PeerLatency": 1000,
"PbKeyLen": 1000,
"RecvLatency": 1000,
"Passphrase": "aaaa",
"StreamId": "",
"PeerIdleTimeout": 1000
},
"RTMPSettings": {
"StreamKey": "stream?a=b",
"AppName": "live"
},
"InputRegion": "ap-hongkong",
"InputId": "id",
"InputAddressList": [
{
"Ip": "2.2.2.2",
"Port": 2
}
]
}
],
"FlowId": "",
"State": "IDLE",
"OutputGroup": [
{
"OutputName": "sad231edqsq",
"OutputAddressList": [
{
"Ip": "1.1.1.1"
}
],
"Protocol": "RTP",
"Description": "description",
"RTPSettings": {
"IdleTimeout": 1000,
"FEC": "none",
"Destinations": [
{
"Ip": "3.3.3.3",
"Port": 3
}
]
},
"OutputType": "Internet",
"SRTSettings": {
"Latency": 1000,
"PeerLatency": 1000,
"PbKeyLen": 1000,
"RecvLatency": 1000,
"Passphrase": "aaaa",
"StreamId": "aaaa",
"PeerIdleTimeout": 1000,
"Destinations": [
{
"Ip": "4.4.4.4",
"Port": 4
}
]
},
"OutputId": "asd21dsa",
"RTMPSettings": {
"IdleTimeout": 1000,
"ChunkSize": 4096,
"Destinations": [
{
"Url": "rtmp://domain/live",
"StreamKey": "streamid?a=b"
}
]
},
"OutputRegion": "ap-mumbai"
}
],
"MaxBandwidth": 10000000
},
"RequestId": "fsaasd"
}
}
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. |
この記事はお役に立ちましたか?