disablePushToTalk

View as MarkdownOpen in Claude
1disablePushToTalk(): void

Tears down the push-to-talk pipeline installed by enablePushToTalk. 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

1call.status$.subscribe((status) => {
2 if (status === 'disconnected') call.disablePushToTalk();
3});

See