Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Checks whether the current browser supports Click To Call. Call this function before creating a client to verify that all required browser APIs are available.
import { checkWebRTCSupport } from '@cognigy/click-to-call-sdk';const support = checkWebRTCSupport();if (!support.supported) { console.error('WebRTC not supported. Missing features:', support.missing);} else { console.log('WebRTC is supported — ready to create a client');}