One or more announcement from file can be played by an admin in the audiobridge room
An admin without knowing file_ids may want to stop all announcements.
Currently we need to know all file_ids and we need call many stop_file api to stop all annoucements.
Proposol
A new stop_all_files api that will stop all playing announcements.
A announcement-stopped event will be fired for all stopped announcements
stop_all_files api will return stopped file_id list
API Request:
{
"request" : "stop_all_files",
"room" : <unique numeric ID of the room where the playback is taking place>,
"secret" : "<room password, if configured>"
}
API Responce:
{
"audiobridge" : "success",
"room" : <unique numeric ID, same as request>,
"file_id_list" : [
// Array of file_Id: "<unique string ID of the now interrupted announcement>""
]
}
Requirement:
One or more announcement from file can be played by an admin in the audiobridge room An admin without knowing
file_id
s may want to stop all announcements. Currently we need to know allfile_id
s and we need call manystop_file
api to stop all annoucements.Proposol
A new
stop_all_files
api that will stop all playing announcements. Aannouncement-stopped
event will be fired for all stopped announcementsstop_all_files
api will return stoppedfile_id
listAPI Request:
API Responce: