How can I calculate pricing for Audio Connector/Connect API?
Objective
Calculating usage and pricing for Audio Connector/Connect API.
Applies To
- Audio Connector/Connect API
- Usage
- Pricing
Procedure
The Audio Connector is charged based on the number of audio streams of participants (or StreamIDs) that are being sent to the WebSocket server.
-
- Usage cost is based on the duration of each call to a Connect end-point (WebSocket) @ $0.005 per minute/participant.
- Unit of Metric - Audio connector minutes
Use Case |
How to calculate usage? |
Example |
Pricing (SSM) |
Pricing (PPM) |
Audio Connector |
Number audio connector minutes = n x duration of the audio streaming (where n is the number of participants (streamIDs) publishing to the the audio connector end-point) |
Case 1 A 30-minute session with 2 participants with one participant publishing to audio connector end-point |
Total price Audio Connector min = 1x 30 min + Total SSM = 2x30 subscribed min = 60 min |
Total price Audio Connector min = 1x 30 min + Total PPM = 2x30 = 60 participant min |
Case 2 A 30-minute session with 3 participants publishing to audio connector end-point |
Total price Audio Connector min = 3x30 min + (Session usage) Total SSM = [(3 x 30) + (3 x 30)] = 180 min subscribed min
|
Total price Audio Connector min = 3x30 min + (Session usage) Total PPM = 3x30 = 90 participant minutes
|
Case 1
Single participant (A) in a call (A opens one WebSocket connection)
- Total duration of the call : 30 minutes
- Start time of audio connector : 01 minutes
- Stop time of audio connector : 28 minutes
- Total billable audio connector minutes : 28 - 1= 27 minutes
Case 2
Two (A&B) participants in the call (A and B open 2 separate WebSocket connections )
- Total duration of the call : 30 minutes
- Start time of audio connector (A) : 01 minutes
- Stop time of audio connector (A) : 28 minutes
- Billable audio connector minutes (A): 27 minutes
- Start time of audio connector (B) : 00 minutes
- Stop time of audio connector (B) : 30 minutes
- Billable audio connector minutes (B) : 30 minutes
- Total billable audio connector minutes for A&B = 27+30 = 57 minutes
Case 3
Two (A&B) participants in call (A and B uses the same WebSocket connection )
- Total duration of the call : 30 minutes
- Start time of audio connector (A) : 00 minutes
- Stop time of audio connector (A) : 30 minutes
- Billable audio connector minutes (A) : 30 minutes
- Start time of audio connector (B) : 00 minutes
- Stop time of audio connector (B) : 30 minutes
- Billable audio connector minutes (B) : 30 minutes
- Total billable audio connector minutes for A&B = 30+30 = 60 minutes
Case 4
Two (A&B) participants in the call (A opens WebSocket connection but B does not open a WebSocket connection)
- Total duration of the call : 30 minutes
- Start time of audio connector (A) : 00 minutes
- Stop time of audio connector (A) : 30 minutes
- Billable audio connector minutes (A) : 30 minutes
- Billable audio connector minutes (B) : 0 (B did not open a WS connection)
- Total billable audio connector minutes for A&B = 30 + 0 = 30 minutes
Comments
0 comments
Please sign in to leave a comment.