How Do I Disable a Live Stream?
Only a live stream that is being pushed can be disabled. After a live stream is disabled, the ingest URL cannot be used to push live streams. You can perform the following operations to disable a live stream:
- Disable a live stream on the Live console.
- Log in to the Live console.
- In the navigation pane, choose Streaming Management > Streams.
- Locate the domain name for which stream push is to be disabled.
- Click Disable in the Operation column.
Figure 1 Disabling a live stream
- In the displayed Disable Stream dialog box, select Permanently Disabled or Temporary.
Then you can view the disabled stream on the Disabled Streams tab page.
Figure 2 Disable Stream dialog box
If you select Permanently Disabled, the live stream cannot be pushed before it is resumed.
If you select Temporary, the live stream cannot be pushed until the time indicated by Resumed arrives.
- Call an API to disable a live stream.
Call the API for Disabling a Push Stream, and set the request parameters domain, app_name, stream_name, and resume_time to disable a specific live stream.
POST /v1/{project_id}/stream/blocks { "domain": "play.example.com", "app_name": "live", "stream_name": "huawei", "resume_time": "2018-05-19T21:10:15Z" }
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.