Embedding Real-Time Communication with Amazon Chime SDK - Voice, Video, and Messaging

Learn about SDK implementation patterns for embedding voice/video conferencing and PSTN integration into your own applications. Effective for services where communication is a differentiator, such as telehealth and online education.

Chime SDK Overview and Differences from the Chime Service

Chime SDK is a development kit for embedding real-time communication features into your own applications. Unlike Amazon Chime (the meeting service), the SDK is designed to be integrated into your own application UI. The Meetings API creates voice/video conferences, the Messaging API implements real-time chat, and the PSTN Audio API connects to phone lines. SDKs are provided for JavaScript, iOS, and Android, and React and React Native component libraries are also available.

Implementing Voice and Video Conferencing

Meetings are created using the CreateMeeting API, and participants are added using the CreateAttendee API. The client SDK automatically establishes WebRTC connections and starts audio/video streaming. It supports up to 250 participants, with screen sharing, content sharing, and background blur provided as standard features. Using media pipelines, you can save meeting recordings to S3 or perform real-time transcription through integration with Transcribe. It is ideal for use cases where communication features are provided as part of your own service, such as telehealth consultations, live online education classes, and customer support video calls.

PSTN Integration and Messaging

PSTN Audio is a feature that enables making and receiving calls with existing phone numbers. SIP media applications define the processing flow for incoming calls (IVR menus, dynamic routing via Lambda), and can connect incoming phone calls to Chime SDK meetings. It can be used for custom-built contact centers and integrating phone conferencing systems into web applications. The Messaging API provides real-time chat functionality, supporting channels (group chat), one-to-one messages, message persistence, and push notifications. Messages are delivered in real time via WebSocket connections, and messages for offline users are delivered via push notifications. To broaden your knowledge of business applications, specialized books on Amazon can also be useful.

Chime SDK Pricing

Chime SDK pricing is pay-per-use for each feature. Voice/video conferencing costs approximately $0.0017 per participant per minute, so a 1-hour meeting with 10 participants costs approximately $1.02. Messaging costs approximately $0.000001 per message, keeping costs low even with high chat message volumes. PSTN Audio is billed per call minute, with US inbound calls costing approximately $0.004 per minute. Media pipeline (recording) adds approximately $0.006 per minute. Compared to CPaaS providers like Twilio or Vonage, it offers easier integration with AWS infrastructure and tends to have lower per-unit costs at scale.

Summary

Chime SDK is a development kit for embedding real-time communication features into your own applications. It offers voice/video conferencing, PSTN integration, and real-time messaging on a pay-per-use basis, freeing you from WebRTC infrastructure management. It is effective for services where communication is a differentiator, such as telehealth, online education, and customer support.