Server SDKs
Build AI agents, control calls, send messages, and more
Stop a media stream on a conference.
format: "uuid"
1{2 "account_sid": "b3877c40-da60-4998-90ad-b792e98472af",3 "conference_sid": "b3877c40-da60-4998-90ad-b792e98472cf",4 "date_updated": "Tue, 25 Sept 2018 20:00:00 +0000",5 "name": "my_conference_stream",6 "sid": "b3877c40-da60-4998-90ad-b792e98472st",7 "status": "queued",8 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472cf/Streams/b3877c40-da60-4998-90ad-b792e98472st.json"9}
1import { RestClient } from "@signalwire/sdk";23const client = new RestClient({4 project: "your-project-id",5 token: "your-api-token",6 host: "your-space.signalwire.com"7});89await client.compat.conferences.stopStream("CF...", "ST...", { Status: "stopped" });