stopTap

View as MarkdownOpen in Claude

Stop an active media tap stream.

Parameters

controlId
string | undefinedDefaults to undefined

Identifier of the tap to stop. If not provided, the most recently started tap is stopped.

Returns

FunctionResultthis, for chaining.

Example

import { FunctionResult } from '@signalwire/sdk';
const result = new FunctionResult()
.stopTap();