Querying Outputs of Pushing Streams to a Third Party Through SRT
Function
Queries outputs of pushing streams to a third party through SRT.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
live:ott:showFlowOutput |
List |
- |
- |
- |
- |
URI
GET /v1/{project_id}/flows/outputs
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see "Obtaining a Project ID". |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
data_display |
No |
String |
true |
|
flow_id |
Yes |
String |
Flow ID |
|
output_name |
Yes |
String |
Output name |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
No |
String |
User token. This parameter is mandatory when token authentication is used. The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
|
Authorization |
No |
String |
Authentication information. This parameter is mandatory for AK/SK authentication. |
|
X-Sdk-Date |
No |
String |
Request time. This parameter is mandatory for AK/SK authentication. |
|
X-Project-Id |
No |
String |
Project ID. This parameter is mandatory for AK/SK authentication. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
cidr_whitelist |
Array of strings |
IP address whitelist. A maximum of 20 IP address whitelists are supported. |
|
destination |
String |
Ingest URL. The value can be an IP address or domain name. The maximum length is 64 characters. |
|
name |
String |
Output name. The value can contain only letters, digits, hyphens (-), and underscores (_), and must start with a letter. |
|
encryption |
FlowSourceDecryption object |
Flow decryption information in StreamConnect. |
|
output_status |
String |
Output status. The value can be ENABLED or DISABLED. |
|
listener_address |
String |
A listening address in srt-listener mode cannot be changed. |
|
port |
Integer |
Port. If ssrt-listener is the listening port, srt-caller is the peer port. |
|
protocol |
String |
Protocol. The value can be srt-caller or srt-listener. |
|
stream_id |
String |
If srt-caller is used, streamid can be set. |
|
description |
String |
Output description |
|
min_latency |
Integer |
Minimum latency, in milliseconds. The value ranges from 10 to 15,000 and defaults to 2,000. |
|
health_status |
String |
Status of stream push to a third party through SRT. The options are CONNECTED (stream push ongoing) and DISCONNECTED (stream push interrupted). |
|
type |
String |
Output type |
|
Parameter |
Type |
Description |
|---|---|---|
|
algorithm |
String |
Encryption algorithm. The value can be aes128 (AES-128), aes192 (AES-192), or aes256 (AES-256). |
|
key_type |
String |
Key type. The value can be speke (obtaining keys using the SPEKE protocol), static-key (static key), or srt-password (SRT key). Currently, only srt-password is supported. |
|
passphrase |
String |
SRT decryption key, which is used by a flow to decrypt SRT streams. |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code |
|
error_msg |
String |
Error message |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
|
|
400 |
Response indicating failed output query |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot