> ## Documentation Index
> Fetch the complete documentation index at: https://docs-classic.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# checkWebRTCSupport

> Detects whether the current browser supports required WebRTC APIs.

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.

## Signature

```typescript theme={null}
import { checkWebRTCSupport } from '@cognigy/click-to-call-sdk';

const support = checkWebRTCSupport();
```

## Parameters

None.

## Returns

`{ supported: boolean; missing: string[] }`

| Property | Type | Description |
| - | - | - |
| `supported` | `boolean` | `true` if the browser supports all required WebRTC APIs. |
| `missing` | `string[]` | List of missing browser features, if any. Possible values are `window`, `RTCPeerConnection`, `navigator`, `navigator.mediaDevices`, and `navigator.mediaDevices.getUserMedia`. |

## Example

```typescript theme={null}
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');
}
```

## More Information

* [createWebRTCClient](https://docs-classic.cognigy.com/click-to-call/sdk/api-reference/create-click-to-call-client.md) — create a client after verifying browser support


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.