> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # stopTap > Stop an active media tap stream. [functionresult]: /docs/server-sdks/reference/typescript/agents/function-result Stop an active media tap stream. ## **Parameters** **`controlId`** `string | undefined` — default: undefined Identifier of the tap to stop. If not provided, the most recently started tap is stopped. --- ## **Returns** [`FunctionResult`][functionresult] -- `this`, for chaining. ## **Example** ```typescript {4} import { FunctionResult } from '@signalwire/sdk'; const result = new FunctionResult() .stopTap(); ``` > Stop an active media tap stream.