> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# 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);
});
```