meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
7.98k stars 2.45k forks source link

AudioBridge-stop_all_files #3392

Open keremcadirci opened 2 weeks ago

keremcadirci commented 2 weeks ago

Requirement:

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

lminiero commented 1 week ago

Did you mean to base this upon your "listannouncements" branch? I see changes coming from that PR too, in this branch.