Skip to main content
The Cognigy Click To Call SDK requires a browser that supports the WebRTC APIs: RTCPeerConnection, getUserMedia.

Web Browsers

WebRTC APIs are only available in secure contexts such as HTTPS or localhost. Serve your application over HTTPS in production.

Mobile Browsers

Mobile browsers might have stricter autoplay policies for audio. To avoid playback issues, start calls from a user gesture, for example, a button tap.

Runtime Detection

Use checkWebRTCSupport() to verify browser compatibility at runtime before creating a client:
The missing array lists the unavailable features: window, RTCPeerConnection, navigator, navigator.mediaDevices, and navigator.mediaDevices.getUserMedia. The SDK runs only in browsers. In other environments, such as server-side rendering, createWebRTCClient() fails with the error WebRTC is not supported in this environment.

More Information

Last modified on October 23, 2026