> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# localStream$

> Observable of the local media stream (camera/microphone).

```ts
get localStream$(): Observable<MediaStream>
```

Observable of the local media stream (camera/microphone).

## localStream

```ts
get localStream(): MediaStream | null
```

Current local media stream, or `null` if not available.

## **Examples**

```ts
call.localStream$.subscribe((localStream) => {
  console.log('localStream:', localStream);
});
```