Updated on 2024-08-05 GMT+08:00

Cloud Live

Before using Cloud Live, understand the following constraints.

Constraints

Table 1 Constraints

Item

Description

Concurrent livestream

There is no limit on the number of concurrent livestreams. However, if the concurrency exceeds 100 Gbit/s, you can submit a service ticket for technical consulting.

Stream push

There is no limit on the bitrate. Common resolutions and bitrates are supported. To ensure smooth streaming, a bitrate no greater than 4 Mbit/s is recommended.

Playback

You can play a livestream only after the ingest and streaming domain names are associated. The values of AppName and StreamName in the streaming URL must be the same as those in the ingest URL.

Input/Output format

Cloud Stream Live

  • Video packaging protocols
    • RTMP and FLV

      Video codec: H.264 and H.265, etc.

    • HLS output protocol

      Video codec: H.264 and H.265, etc.

  • Audio packaging protocols
    • RTMP and FLV

      Audio codec: AAC, etc.

    • HLS output protocol

      Audio codec: AAC

Low Latency Live (LLL)

  • Transmission protocol requirements
    • Signaling transmission protocol: HTTPS, HTTP, and UDP are supported. HTTP listening port 80 is enabled. HTTP and UDP are insecure.
    • Media transmission protocol: UDP and TCP are supported. Media streams can be encrypted. It is recommended that DTLS be used for signaling negotiation, as UDP is insecure.
  • Encoding format requirements
    • Audience: The supported video encoding format is H.264 without B frames, and the supported audio encoding format is OPUS.
    • Streamer: The supported video encoding format is H.264 without B frames, and the supported audio encoding format is AAC (LC/HE).
NOTE:
  • If the format of the streaming device is not supported, you need to create a transcoding template. LLL supports real-time transcoding, and you will be billed for using this function. The conversion from AAC to OPUS is supported and no fee will be generated.
  • To reduce latency, you can set the GOP at the streaming device to 2s.

Streaming management

This function is available only in CN North-Beijing4, AP-Singapore, and EU-Dublin.

Recording

This function is unavailable in AP-Bangkok.

Transcoding

In AP-Bangkok, submit a service ticket for review after configuring a template. The configuration takes effect only after it is approved.

Snapshot capturing

Stream status notifications

API Constraints

Live sets a limit on the number of API calls to prevent service interruption caused by repeated API calls in a short period of time.

Table 2 API request throttling

API Category

API Name

Max. User Requests

Max. API Requests

Domain name management

  • Creating a domain name
  • Querying domain names

300 times/minute

3000 times/minute

  • Deleting a domain name
  • Modifying a domain name
  • Mapping domain names
  • Deleting a domain name mapping
  • Configuring the domain name IPv6 switch
  • Modifying the HLS configuration of a domain name
  • Querying HLS configurations of domain names

100 times/minute

1000 times/minute

Querying IP address information

5 times/second

5 times/second

  • Modifying the streaming domain name delay
  • Modifying origin pull settings

30 times/minute

100 times/minute

  • Querying the streaming domain name delay
  • Querying origin pull settings

30 times/minute

300 times/minute

Transcoding template management

  • Creating a transcoding template
  • Deleting a transcoding template
  • Modifying a transcoding template
  • Querying transcoding templates

100 times/minute

1000 times/minute

Stream management

  • Disabling a push stream
  • Modifying the attribute of a disabled stream

4000 times/minute

12,000 times/minute

  • Querying disabled streams
  • Resuming a push stream

3000 times/minute

6000 times/minute

Querying ongoing streams

1000 times/minute

2000 times/minute

Notification management

  • Adding and modifying stream notification configurations
  • Querying stream notification configurations
  • Deleting stream notification configurations

300 times/minute

3000 times/minute

Authentication

  • Configuring a referer validation ACL
  • Deleting a referer validation ACL
  • Querying referer validation ACLs
  • Querying IP ACLs
  • Modifying an IP ACL
  • Generating a signed URL

300 times/minute

3000 times/minute

Querying supported areas of a streaming domain name

30 times/minute

300 times/minute

Modifying supported areas of a streaming domain name

30 times/minute

100 times/minute

  • Querying the URL validation configuration of a specified domain name
  • Modifying the URL validation configuration of a specified domain name
  • Deleting the URL validation configuration of a specified domain name

150 times/minute

300 times/minute

Snapshot management

  • Creating a snapshot capturing template
  • Modifying a snapshot capturing template
  • Querying snapshot capturing templates
  • Deleting a snapshot capturing template

150 times/minute

300 times/minute

Log management

Obtaining livestreaming logs

300 times/minute

3000 times/minute

Recording management

  • Creating a recording template
  • Querying recording templates
  • Modifying a recording template
  • Deleting a recording template
  • Querying recording template configurations
  • Submitting a recording command

300 times/minute

3000 times/minute

Creating a video recording index

1200 times/minute

3000 times/minute

Recording callback management

  • Creating a recording callback
  • Querying recording callbacks
  • Modifying a recording callback
  • Querying recording callbacks
  • Deleting a recording callback

300 times/minute

300 times/minute

HTTPS certificate management

  • Modifying the HTTPS certificate configuration of a specified domain name
  • Querying the HTTPS certificate configuration of a specified domain name
  • Deleting the HTTPS certificate configuration of a specified domain name

150 times/minute

300 times/minute

OBS bucket management

Granting or canceling authorization of accessing OBS buckets

150 times/minute

300 times/minute

Statistical analysis

  • Querying the duration of transcoded outputs
  • Querying the number of recording channels
  • Querying the number of snapshots
  • Querying playback profiles

60 times/minute

5000 times/minute

  • Querying the peak bandwidth
  • Querying the total playback traffic
  • Querying HTTP status codes
  • Querying upstream bandwidth
  • Querying the number of stream push channels
  • Querying historical streams

20 times/minute

5000 times/minute

Querying the distribution of livestreaming metrics by region

50 times/second

150 times/second

Querying stream data of a streaming domain name

20 times/second

50 times/second

Stream analytics

  • Querying the stream frame rate
  • Querying the stream bitrate

20 times/minute

5000 times/minute

Querying stream analytics

Once per second

5 times/second

Querying CDN upstream streaming quality data

60 times/second

300 times/second