aws / amazon-chime-sdk-js

A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Apache License 2.0
704 stars 475 forks source link

When does billing actually start? #2722

Open arashster opened 1 year ago

arashster commented 1 year ago

Given the SDK documentation FAQ, it mentions "Billing starts when the attendee joins the meeting and leaves the meeting"

What API call in the JS frontend does that translate to? Is it meetingSession.audioVideo.start(); ?

simmkyu commented 1 year ago

Yes, meetingSession.audioVideo.start allows an attendee to join your Chime SDK meeting, and meetingSession.audioVideo.stop allows them to leave the meeting.

arashster commented 1 year ago

Hi, so just to confirm, calling meetingSession.audioVideo.start starts billing, and calling meetingSession.audioVideo.stop will stop billing?

simmkyu commented 1 year ago

Yes, however, it does depend on the number of attendees in a meeting. If there are additional attendees who connect to the meeting after one attendee leaves with the meetingSession.audioVideo.stop API, billing will continue.

Please review the WebRTC Media Billing & Pricing section in the Amazon Chime SDK - FAQs and the Amazon Chime SDK Pricing.