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

# disablePushToTalk

> Disable push-to-talk; mic gain returns to the configured value.

```ts
disablePushToTalk(): void
```

Tears down the push-to-talk pipeline installed by [`enablePushToTalk`](/docs/browser-sdk/v4/reference/webrtc-call/enable-push-to-talk). The microphone gain returns to whatever value was configured before push-to-talk was enabled — typically full gain.

Safe to call when push-to-talk was never enabled; this is a no-op in that case.

## **Returns**

`void`

## **Examples**

### Disable on call hangup

```ts
call.status$.subscribe((status) => {
  if (status === 'disconnected') call.disablePushToTalk();
});
```

## **See**

* [`enablePushToTalk`](/docs/browser-sdk/v4/reference/webrtc-call/enable-push-to-talk) — install the pipeline.
* [`setPushToTalkActive`](/docs/browser-sdk/v4/reference/webrtc-call/set-push-to-talk-active) — toggle transmit state.