This article introduces the billing policy for the Media Push service provided by Agora.
Your billing details may differ if you have signed a contract with Agora.
Agora calculates the billing of all projects under your Agora account on a monthly basis.
Billing for Media Push begins once you enable the Media Push service. At present, the Media Push service only charges you for pushing media streams to the CDN, which consists of subscription fees and transcoding fees.
For details, see What are Agora’s policies on billing, fee deductions, and account suspension.
The procedure for pushing streams to the CDN is as follows:
Agora only charges you for subscribing to streams and transcoding the subscribed streams.
The fee you pay for stream subscription is divided into audio stream charges and video stream charges:
When you begin publishing streams in your channel, the Agora streaming server joins your channel as an audience member and subscribes to the streams you publish. This process is the same as an audience member subscribing to the streams published by the host in interactive live streaming. You can refer to Pricing for Real-time Communication for more information about subscription fees.
The subscription minutes for audio and video streams are included in the audio and video service minutes calculated when you implement an RTC function. Agora's free-of-charge policy for the first 10,000 minutes applies to these subscription fees. See Agora's free-of-charge policy for the first 10,000 minutes for details.
In a dual-stream scenario, Agora only subscribes to the high-quality video streams published by the host. In this case, the subscription fee for video streams is calculated based on the aggregate resolution of the high-quality video.
The Agora streaming server charges you when transcoding the subscribed streams. The transcoding fee is accumulative, depending on the category and type of the output media stream.
Agora's free-of-charge policy for the first 10,000 minutes does not apply to the transcoding fee.
The transcoding fee includes:
Agora only charges a video transcoding fee when the Agora streaming server transcodes audio and video streams at the same time.
Category | Pricing ($US/1,000 minutes) |
---|---|
Audio streams | 3.99 |
H.264 video stream | |
H.265 video stream |
Type | The resolution of the output video after transcoding |
---|---|
High-Definition (HD) | Up to 921,600 (1280 × 720) |
Full High-Definition (Full HD) | From greater than 921600 (1280 × 720) to 2073600 (1920 × 1080) |
You can set the resolution of output video in the width
and height
properties of the LiveTranscoding
class. The resolution of output video transcoded by Agora is no higher than 1920 × 1080.
When there is more than one host publishing streams in a channel, the transcoding fee is charged according to the multi-hosted interactive streaming scenario. For example, if there are two hosts in a channel, and they choose to only transcode their own media streams, the transcoding fee is calculated based on the unit price for transcoding streams in a multi-hosted interactive streaming scenario.
The following table shows the unit price for transcoding streams in an interactive streaming scenario where there is only one host, and the properties (resolution, framerate, and bitrate) of the video streams remain unchanged after transcoding:
Category | Pricing ($US/1,000 minutes) |
---|---|
Audio streams | 1.99 |
H.264 video stream | 1.99 |
When the Agora streaming server transcodes streams in an interactive streaming scenario where there is only one host, and the properties (resolution, framerate, and bitrate) of the video streams need to be changed, the transcoding fee is charged according to the multi-hosted interactive streaming scenario.
Agora monitors the whole process of you pushing media streams to the CDN. The transcoding fee is charged based on the amount of time you use from successfully pushing streams to the end of your push.
Agora calculates the amount of time you use for transcoding in seconds.
The length of time for transcoding is shown in minutes in the Agora Console and in seconds in your billing details. If the length of time you use for transcoding is less than 1 second, Agora calculates it as 1 second; if less than 1 minute, Agora calculates it as 1 minute.
The length of time for transcoding can be divided into the following two types:
Scenario description: In a cohosted audio streaming scenario, the audio streams are mixed as one stream after transcoding and pushed to the CDN. The cohosted audio streaming lasts for 20 minutes, Subsequently, one host leaves the channel, and the other continues the audio streaming for another 20 minutes.
Billing plan: Audio transcoding fee occurs during the first 20 minutes when there is co-hosted audio streaming, and during the last 20 minutes when the host continues the audio streaming and pushes streams.
Transcoding fee = 3.99 ($US/1,000 minutes) × 20/1,000 + 1.99 ($US/1,000 minutes) × 20/1,000
Scenario description:In an audio and video streaming cohosted by A and B, the media streams published by these two hosts are processed according to the following settings:
H.264 encoding is used when transcoding both of the streams, and the cohosted audio and video streaming lasts for 20 minutes.
Billing plan: In the cohosted audio and video streaming, audio and video streams are transcoded at the same time, and Agora only charges a video transcoding fee. One of the output streams is in HD, while the other is in Full HD, and both streams incur transcoding fees.
Transcoding fee = 7.99 ($US/1,000 minutes) × 20/1,000 + 15.99 ($US/1,000 minutes) × 20/1,000