This article introduces the billing policy for the Media Inject service.
The billing for Media Inject comprises transcoding charges and subscription charges:
Transcoding charges occur when injecting an online stream into an RTC channel.
Based on the injected stream, transcoding charges can be categorized as one of the following:
Audio transcoding charges: If you inject an audio stream into an RTC channel, audio transcoding charges occur.
Audio transcoding charges = Audio transcoding unit price × Audio transcoding service minutes.
Video transcoding charges: If you inject a video stream or an audio and video stream into an RTC channel, video transcoding charges occur.
Video transcoding charges = Video transcoding unit price × Video transcoding service minutes.
The following table lists the transcoding pricing of Media Inject service:
Service | Category | Pricing ($US/1,000 minutes) |
---|---|---|
Audio | N/A | $1.15 |
H.264 HD video | Output video resolution up to 921,600 (1280 × 720) | $6.86 |
H.264 FHD video | Output resolution greater than 921,600 (1280 × 720), up to 2,073,600 (1920 × 1080) | $15.49 |
Agora monitors the time interval between when Media Inject service is enabled and when it is destroyed, and then calculates this interval as the transcoding duration.
playTs
greater than createTs
, the duration between these two timestamps is billed as audio transcoding charges.When you successfully inject an online stream into an RTC channel, which generates subscription charges. Subscription charges are included in the charges for real-time communications.
Given that Media Inject service publishes streams in the RTC channel, but never receives them, subscription pricing is the same as for audio service charges, which is $0.99 ($US/1,000 minutes).
The time interval between when Media Inject service starts and stops publishing streams into the RTC channel is calculated as the subscription duration.