In Real-time Communication(RTC), service minutes are calculated either by the number of users or by the number of streams. Agora calculates service minutes by the number of users.
Suppose N users talk for M minutes in a channel, the total service minutes = N * M.
In this approach, the service minutes purely depend on the number of the users in the channel, regardless of how many streams each user subscribes to.
Suppose N users talk for M minutes in a channel, and each user subscribes to all remote streams in the channel, the total service minutes = N * (N-1) * M.
In this approach, if a user subscribes to multiple streams, every remote stream the user subscribes to is counted.
See the table below for the difference between the two approaches:
Scenario | Service minutes by the number of users | Service minutes by the number of streams |
---|---|---|
Two users talk for 10 minutes. | 20 minutes | 20 minutes |
Five users talk for 10 minutes. | 50 minutes | 200 minutes |
10 users talk for 10 minutes. | 100 minutes | 900 minutes |
The difference between the two approaches become greater when more people join the channel.
Agora calculates service minutes by the number of users, which is easier and more straightforward.