This document describes the billing of low-latency live streaming in TRTC rooms. You will incur additional costs if you relay audio and video in TRTC rooms to the CSS system and stream them to audience via CDNs. For details, see CDN Relayed Live Streaming > Billing.
A duration is calculated in seconds and monthly cumulative seconds are converted to minutes for billing. A duration of less than one minute is calculated as one minute.
Video duration is the length of video streams received by users who subscribe to video streams after room entry. TRTC categorizes and bills video durations based on the actual resolution of video received.
Below is how video durations are categorized by resolution:
|SD||≤ 640 × 480|
|HD||640 × 480 - 1280 × 720|
|FHD||> 1280 × 720|
In interactive live video streaming, audio duration is the total length of users’ stays in TRTC rooms minus the period during which video data is received.
Assume that a user entered a TRTC room at 00:00 and left at 00:50, and the details of the stay are as follows:
The segments in blue are the user’s audio duration, which is
The total length of the user’s stay − The period during which video is received = 50 min − 15 min = 35 min.
The prices of interactive live video streaming are listed below:
|Billable Item||Unit Price (USD/1,000 Min)|
TRTC supports two billing modes: prepaid packages and pay-as-you-go. The former is the default mode. To switch to pay-as-you-go, please see Enabling Pay-As-You-Go.
TRTC offers general packages, from which audio, SD video, HD video, and FHD video durations are deducted in the proportion of 1:1, 2:1, 4:1, and 15:1 respectively. For example, for 1 minute of HD video duration used, 4 minutes will be deducted from a general package.
Below are the prices of general packages:
|Package Type||Package Duration (1,000 Min)||List Unit Price (USD/1,000 Min)||Package Unit Price (USD/1,000 Min)||Package Price (USD)||Package Price/List Price|
|Custom package||0 < T < 25||0.99||0.99||Package unit price × Package duration (T)||100%|
|25 ≤ T < 250||0.99||0.960||<97%|
|250 ≤ T < 1000||0.99||0.908||<92%|
|1000 ≤ T < 3000||0.99||0.856||<87%|
|T ≥ 3000||0.99||0.805||<82%|
The package unit prices in the table are rounded up to 3 decimal places. However, in actual billing, unit prices are rounded to 8 decimal places.
About general packages:
For accounts that create their first application in the TRTC console on or after September 1, 2020, daily pay-as-you-go applies by default. Fees for a day are deducted at 10:00 AM the next day.
For accounts that created their first application in the TRTC console on or before August 31, 2020, monthly pay-as-you-go applies by default. Fees for a month are deducted within the first five days of the next month. For details, see Bills.
- You cannot change the billing cycle by yourself. If you want to change the billing cycle from monthly to daily, please submit a ticket.
- If your account balance is insufficient for the deduction of the incurred fees, the overdue payment may cause other Tencent Cloud services to be suspended for your account too. For example, because on-cloud recording relies on CSS and VOD, your on-cloud recording task may fail due to overdue payment.
The examples below use list prices. You can purchase a package to reduce your expenses.
Assume that users A, B, and C stayed in a TRTC room for 30 minutes, during which none of them received video data. The call would be billed as audio duration.
Unit price of audio duration × The sum of all three users’ audio durations = 0.99 USD/1,000 min × (30 min + 30 min + 30 min) ÷ 1,000 = 0.0891 USD.
Assume that users A, B, and C stayed in a TRTC room for 30 minutes, during which they received each other’s audio-video streams, as shown below.
640 × 360 (SD)
1920 × 1080 (FHD)
A’s billable duration and expense:
B’s billable duration and expense:
C’s billable duration and expense:
The total cost of the TRTC room would be
A’s expense + B’s expense + C’s expense = 1.0782 USD.
You can use the TRTC Price Calculator to estimate your usage of interactive live video streaming and the cost.