> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/video-recording-video-grabacion/metodos/getchannel.md).

# getChannel

## Details

Retrieves the channel used by the recording service.

### Syntax

**Name:** `getChannel`

**Type:** `() => Promise<any>`

**Returns:** `Promise<any>`

## Description

Returns the active video channel in remote modes (`ws` / `sse`).

***

## Example

```jsx
<facephi-video-provider settings={{ serviceType: 'ws' }} />

const channel = await video.getChannel();
```
