Help Center/ Live/ FAQs/ Streams Pushing/ How Do I Disable a Live Stream?
Updated on 2023-07-07 GMT+08:00

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.
    1. Log in to the Live console.
    2. In the navigation pane, choose Streaming > Streams.
    3. Locate the domain name for which stream push is to be disabled.
    4. Click Prohibited Push in the Operation column.
      Figure 1 Disabling a live stream
    5. In the displayed Prohibited Push dialog box, set the time for disabling stream push.

      Then you can view the disabled stream on the Disabled Streams tab page.

      Figure 2 Disable Stream dialog box

      Time-limited: The live stream cannot be pushed until the time indicated by Recovery Time arrives. Live streams can be disabled for up to 90 days.

  • 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"
    }