This API stops the file that’s being played to a member after it was initiated by the Play API.
DELETE
https://api.plivo.com/v1/Account/{auth_id}/Conference/{conference_name}/Member/{member_id}/Play/
The member_id
attribute that’s passed in the URL can be a member_id
, a comma-separated list of member IDs on which this operation will be performed, or the string all
. In the latter case, the audio stops playing for all members of the conference.
Note: Use either member_id
or all
the same way you did to start playing audio to a member. If you initiated the play using member_id
, calling the stop API with all
will not stop the audio.
HTTP Status Code: 204
{
"message": "playing in conference stopped",
"member_id": "10",
"api_id": "2867b6e2-58c3-11e1-86da-adf28403fe48"
}