Skip to navigation

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

FunctionResult — this, for chaining.

Example

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