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

# checkWebRTCSupport

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.                |

## 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](/click-to-call/sdk/api-reference/create-click-to-call-client) — create a client after verifying browser support
