Billing for the track mixing and transcoding service
This topic describes the billing rules for the track mixing and transcoding service of Alibaba Cloud Real-Time Communication (RTC).
Introduction
The track mixing and transcoding service allows you to mix multiple audio and video tracks in a channel into one track. Viewers who join the channel subscribe to only the mixed track for real-time communication. This reduces power consumption and downstream traffic at subscriber clients. By default, track mixing and transcoding fees are charged daily based on the total amount of time used for processing (unit: minutes). If you use track mixing and transcoding services of different specifications, service fees are the sum of fees of different specifications of the day.
Billing
Track mixing and transcoding fees = Unit price of track mixing and transcoding × Track mixing and transcoding duration
- Unit price of track mixing and transcoding: The unit price is determined by the resolution of the output track after track mixing and transcoding. For more information, visit the RTC pricing page.
- Track mixing and transcoding duration: The duration of a track mixing and transcoding task is metered beginning from the start of the task until the end of the task. The duration is metered in seconds and rounded up to the next minute for billing. If only one track mixing and transcoding task is started in a channel, the total duration of the task is the track mixing and transcoding duration of the channel. If multiple track mixing and transcoding tasks are started in a channel simultaneously, the sum of the duration of each task is the track mixing and transcoding duration of the channel.
- Alibaba Cloud RTC generates the bill for the current day at 02:00 the next day. You can view the bills on the RTC console.
- The RTC subscription plans can be used to offset only the resource consumption of audio and video calls instead of track mixing and transcoding services.
Examples
The prices in the following examples are provided for reference only. For more information, visit the RTC pricing page.
Example 1:
Three anchors host a program in a channel that has seven listeners. The program duration is 2,100 seconds. A track mixing and transcoding task is started at the beginning of the program and stopped at the end of the program to mix the audio of the three anchors.
Usage:
- To implement the track mixing and transcoding task, an independent track is used to mix the three audio tracks and ingest the mixed track to the listeners.
- Only audio is mixed, so the track mixing and transcoding specification should be specified to Mixed_Audio (audio only).
- The duration of the track mixing and transcoding task is 2,100 seconds, which is equivalent to 35 minutes.
Fees:
Track mixing and transcoding fees = Unit price of the Mixed_Audio specification (USD 0.0050/minute) × Track mixing and transcoding duration (35 minutes)
Example 2:
Three anchors host a program in a channel that has seven listeners. The program duration is 3,700 seconds. The video resolution of each anchor is 480 × 640. A track mixing and transcoding task is started at the beginning of the program and stopped at the end of the program to mix the audio and video tracks of the three anchors.
Usage:
- To implement the track mixing and transcoding task, an independent track is used to mix the three audio and video tracks and ingest the mixed track to the listeners.
- Three audio and video tracks need to be mixed and the output resolution is 480p, so the track mixing and transcoding specification should be specified to 480p. Note When an audio and video track mixing and transcoding task is started, you are charged only for the video tracks based on the specification of the video tracks. Audio is not charged.
- The duration of the track mixing and transcoding task is 3,700 seconds, which is equivalent to 61.67 minutes. The duration is rounded up to 62 minutes.
Fees:
Track mixing and transcoding fees = Unit price of the 480p video specification (USD 0.0120/minute) × Track mixing and transcoding duration (62 minutes)
Note The three anchors subscribe to each other's track instead of a mixed track. Viewers subscribe to the mixed track of three anchor tracks after track mixing and transcoding. For more information about the billing for track subscriptions, see Billing for audio and video calls.