Creating a Flow
Flows are centrally managed on the Flows page. Multiple channels can reference the same flow at a time, which improves channel O&M efficiency.
Notes
- By default, the Flows menu is not displayed. To use it, you need to submit a service ticket.
- For SRT ingest scenarios, you are advised to enable encryption on the encoder for push streaming. For SRT streaming scenarios, when relaying to third parties, you are advised to enable encryption by default.
Procedure
- Log in to the Live console.
- In the navigation pane on the left, choose Flows.
- Click Create Flow. The Create Flow dialog box appears on the right, as shown in Figure 1.
See Table 1.
Table 1 Parameters Parameter
Description
Flow Name
Name of the flow.
Start with a letter and use up to 64 characters of letters, digits, hyphens (-), and underscores (_).
Region
Select the region of the flow from the drop-down list.
Details:
- AP-Singapore, ME-Riyadh, CN-Hong Kong, and AF-Johannesburg are available on Huawei Cloud (International).
ME-Riyadh and AF-Johannesburg are not displayed by default. To use Live in these two regions, submit a service ticket for Huawei Cloud technical support.
Source Input Name
Name of the source input.
Start with a letter and use up to 64 characters of letters, digits, hyphens (-), and underscores (_).
Protocol
Protocol used by the flow.
Options:
- SRT listener: Stream push is required. After the flow is created, go to the Details page to view the Source IP and Source Port, and assemble them into an ingest URL, for example, srt://{Source IP}:{Source Port}.
- SRT caller: Stream push is not required. Media Live uses the SRT streaming URL that you provide to pull streams.
NOTICE:Streams can be pushed only after the flow is started.
SRT listener protocol parameters
- Description (Optional): Description of the flow.
- CIDR IP Whitelist: Enter the IP address of a stream push client. You can click Add to add up to 19 more IP addresses.
SRT caller protocol parameters
- Description (Optional): Description of the flow.
- Source IP: IP address of the source input. You can enter an IP address or a domain name.
- Source Port: Source input port. The value ranges from 1024 to 65535, excluding 2077 and 2088.
- Minimum Latency (Optional): Stream pull latency. The value ranges from 10 to 15,000, in milliseconds.
- Stream ID (Optional): Stream ID of the streaming URL.
Decryption
Enable this function if the source stream is encrypted. Disable it if the source stream is not encrypted. If this function is enabled, provide the decryption algorithm and key.
- Algorithm: Decryption algorithm.
- Passphrase: Decryption key.
Decryption is enabled by default. You are advised to use encrypted input streams. Unencrypted streams have security risks.
- AP-Singapore, ME-Riyadh, CN-Hong Kong, and AF-Johannesburg are available on Huawei Cloud (International).
- Click OK. A line of flow-related content is added on the Flows page.
- Click Start in the Operation column to start the flow.
You can also perform the following operations on a selected flow:
- Click Manage in the Operation column. On the Details page displayed, view details about the flow. You can modify the source stream and output information. You can click Refresh in the upper right corner of the page to refresh the source stream and output status.
- Click Stop in the Operation column to stop the flow. If the flow is in use by a channel, stopping it will cause the channel to malfunction.
- Click Delete in the Operation column to delete the flow.
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
