> 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. # stopTrack > stopTrack function in the WebRTC namespace. ### stopTrack * `Const` **stopTrack**(`track`): `void` Stops a specified track. Similar to [`MediaStreamTrack.stop()`](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/stop), but also fires the `ended` event. #### Parameters **`track`** `MediaStreamTrack` — required The media stream track to stop. See [MediaStreamTrack](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack) for more details. --- #### Returns `void` > stopTrack function in the WebRTC namespace.