This topic describes the billing rules for bypass stream ingest.
Introduction
The bypass stream ingest service for ApsaraVideo Real-time Communication (RTC) converts your real-time audio and video streams into a standard live stream by mixing the audio and video. The service then pushes the stream to a specified Content Delivery Network (CDN). By default, you are billed for the processing duration. ApsaraVideo RTC calculates your daily bill by summing the total duration for each tier used. Settlement is based on the total daily processing duration, measured in minutes.
Billing details
Bypass stream ingest fee = Unit price of the tier × Usage duration of bypass stream ingest
Unit price of the tier: The tier is based on the aggregate resolution, which is the sum of the resolutions of all input streams at any given time. If the stream includes video, the fee is calculated based on the video tier.
Usage duration of bypass stream ingest: The usage duration is calculated from the time a bypass stream ingest task starts until it stops. The duration is measured in minutes and rounded up to the next minute. If multiple bypass stream ingest tasks are running at the same time in a channel, the duration for each task is timed separately based on its tier.
If a bypass stream ingest task includes video, you are charged based on the aggregate resolution of the input video. You are not charged for the audio portion.
ApsaraVideo RTC generates and settles the bill for the previous day at approximately 02:00 each day. The actual billing time is subject to the system.
Unit price
Bypass stream ingest tier | Unit price (CNY/1,000 minutes) |
Audio | 9 |
Standard definition (SD) Aggregate resolution ≤ 307,200 (640 × 480) | 36 |
High definition (HD) 307,200 (640 × 480) < Aggregate resolution ≤ 921,600 (1280 × 720) | 48 |
Full high definition (Full HD) 921,600 (1280 × 720) < Aggregate resolution ≤ 2,073,600 (1920 × 1080) | 108 |
2K video 2,073,600 (1920 × 1080) < Aggregate resolution ≤ 3,686,400 (2560 × 1440) | 192 |
2K+ video 3,686,400 (2560 × 1440) < Aggregate resolution ≤ 8,847,360 (4096 × 2160) | 462 |
Billing examples
The prices in the following examples are for reference only.
Example 1:
Two users join a channel for a voice call that lasts 2,100 seconds. A bypass stream ingest task starts when the call begins and stops when the call ends.
Usage calculation:
One bypass stream ingest task is required to mix and push the two audio streams.
The stream for bypass ingest is audio-only. Therefore, the tier is Audio.
The duration of the bypass stream ingest task is 2,100 seconds, which is 35 minutes.
Fee calculation:
Bypass stream ingest fee = Unit price of the tier (0.009 CNY/minute) × Usage duration (35 minutes)
Example 2:
Three users (A, B, and C) join a channel for a video call that lasts 3,700 seconds. The video resolution for both User A and User B is 640 × 480. The video resolution for User C is 1280 × 720. A bypass stream ingest task starts when the call begins to ingest only the video streams from User A and User B. The task stops when the call ends.
Usage calculation:
One bypass stream ingest task is required to mix and push the two video streams and their audio.
The task ingests the video streams from User A and User B, both with a resolution of 640 × 480. The aggregate resolution is 614,400 (640 × 480 + 640 × 480). Therefore, the tier is High definition (HD).
The duration of the bypass stream ingest task is 3,700 seconds, which is 62 minutes.
Fee calculation:
Bypass stream ingest fee = Unit price of the tier (0.048 CNY/minute) × Usage duration (62 minutes)