Close a track
Close a local or remote track
Close media tracks identified by mids on the session in the URL. Closing a receiving track stops that subscription; closing a publishing track stops that source. A successful close of a bidirectional transceiver stops both directions. With force=false, provide an endpoint offer and apply the returned answer to complete negotiation. With force=true, no SDP exchange is required. Process each track result independently. A request-level failure can occur after individual tracks have closed.
put/apps/{appId}/sessions/{sessionId}/tracks/close
Request
- Base URL: https://rtc.live.cloudflare.com/v1
- URL: https://rtc.live.cloudflare.com/v1/apps/{appId}/sessions/{sessionId}/tracks/close
- Auth: HTTP bearer
Path parameters
appIdstring required
WebRTC application ID
sessionIdstring required
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.