Help Center/ Live/ Billing/ Basic Service Billing/ Media Live Packaging
Updated on 2026-02-04 GMT+08:00

Media Live Packaging

Media Live packaging is billed based on the volume of video ingested into a channel and the volume of content packaged and distributed for the channel, both measured in GB. The packaging process is completed by the Package service.

  • Ingested video volume: You are charged for each stream that the Package service ingests into your channel. Ingestion occurs when the service receives a video feed from your live encoder. Ingest fees are calculated based on the total traffic accumulated for each input stream, billed per GB.
  • Packaged and distributed content volume: Fees are calculated based on the data traffic fetched by CDN, measured in GB.

Prices

Table 1 describes the pricing details of each region. This feature is now available in the Ireland, Singapore, and Riyadh regions.

Table 1 Prices

Region

Item

Price per GB (USD)

Ireland

mpc.package.ie.in.flow

0.02945

mpc.package.ie.out.flow

0.0475

Singapore

Note: The pricing for Hong Kong is the same as that for Singapore.

mpc.package.sg.in.flow

0.055

mpc.package.sg.out.flow

0.11

Riyadh

mpc.package.ri.in.flow

0.0338

mpc.package.ri.out.flow

0.0563

Billing Rules

For details, see Table 2.

Table 2 Billing rules

Rule Item

Description

Billing Rule

  • Package input: The charging is based on the actual input traffic received by Media Live.

    Note:

    • For HLS_PULL, FLV_PULL, and SRT_PULL channels, only the input streams in the primary region are billed. The input streams in the standby region are not billed. For HLS_PULL channels, charges are calculated based on the actually ingested audio and video streams and index files.
    • For RTMP_PUSH channels, only the input streams in the primary region are billed. The input streams in the standby region are not billed.
    • For SRT_PUSH (IP+Port and Stream ID) channels, if both the primary and standby regions are used, the input streams in both regions are billed.

      To improve service reliability, Huawei Cloud runs services in both the primary and standby regions, so input streams in the standby region are also billed.

    • For STREAM_CONNECT channels, if the standby region is enabled, the input streams in both the primary and standby regions are billed.
  • Package packaging and output: Charges are calculated based on the actual traffic fetched by CDN in the primary and standby regions.

    Note: If the primary region becomes unavailable and the standby region takes over, packaging and output fees are billed based on the pricing of the standby region.

Billing Cycle

Calculated on an hourly basis and reflected in real time

Billing Mode

Pay-per-use

Bill Run Time

After the current hourly billing cycle ends, the exact time when charges are posted is determined by the system.

Settlement Time

Settlement occurs automatically after the charges are posted.

Billing Examples

Assume that you use an SRT_PUSH channel in primary/standby mode for a 2-hour livestreaming event with Singapore as the primary region and Riyadh as the standby region. Assume that the input bitrate is 5 Mbit/s.

  • Total traffic per hour: 5/1,024 × 60 × 60/8 = 2.1973 (GB)
  • Total ingest cost of the 2-hour livestreaming event in the primary region (Singapore): 2.1973 × 2 × 0.055 = 0.2417 (USD)
  • Total ingest cost of the 2-hour livestreaming event in the standby region (Riyadh): 2.1973 × 2 × 0.0338 = 0.1485 (USD)

If the stream is watched by 10,000 viewers at an average bitrate of 3 Mbit/s, the total traffic sent to the livestreaming event viewers is: 3/1,024 × 60 × 60/8 × 2 × 10,000 = 26,367.1875 (GB)

Assuming that the CDN cache hit rate is 99%, the total traffic delivered by Media Live is 26367.1875 × (1 – 99%) = 263.6719 (GB).

The total cost of the ingest and real-time packaging traffic for the 2-hour livestreaming event is: 0.2417 + 0.1485 + 263.6719 × 0.11 = 29.3941 (USD)