What’s in This SDK?
SDK Purpose
The Click To Call SDK helps developers:- Establish real-time voice calls between a user’s browser and Cognigy Voice Gateway using SIP signaling and the WebRTC API.
- Manage the full call lifecycle through a simple, promise-based API.
- Handle remote audio playback automatically.
- Receive real-time transcription events during calls, with automatic separation from regular info messages.
Requirements
Use Cases
- Build multimodal browser-based voice interfaces that connect to Cognigy AI Agents.
- Embed click-to-call functionality into web applications or customer portals.
- Display real-time transcription of voice conversations in your UI.
- Integrate voice calling into existing React, Angular, Vue, or vanilla JS applications without framework lock-in.
Key Features
Changelog Reference
The latest SDK version is available on npm as@cognigy/click-to-call-sdk. For updates and fixes, refer to the Cognigy Click To Call SDK GitHub repository.
License
The Cognigy Click To Call SDK is licensed under the MIT License.What’s Next?
- Install the SDK, create a client, and make your first voice call
- Learn how the SDK authenticates
- Explore all methods, configuration options, and types
- Discover events with callback signatures and examples
- Transport encryption, credential handling, and best practices
- Find solutions for common connection, call, and browser issues