[Freeswitch-users] how to queue multiple audio file to play in conference(for all members and for specific member )

kunal kumar prokunal.dev at gmail.com
Tue Sep 28 14:22:55 UTC 2021

Hi All,

I am trying to play audio files into the conference for the following cases
using freeswitch api.

1) play to all member in conference

command = "conference <confname> play <file-path> async"
2) play to specific member

command = "conference <confname> play <file-path> <member_id> nomux"

Current Behaviour :-

1) if i play an audio file to all members in the conference it is getting
played. Meanwhile I tried to play a new audio file to the specific member
it was getting played without muxing. mean previous audio got stopped and
then new audio file got played and after that when new audio file stopped
and if previous audio file is still streaming then it will also play to
this member.

2) If i play an audio file to a conference member and then if i try to play
a new audio file to all members it is getting played to all members except
the member who is already streaming another file.

Expected Behaviour:-

I don't want to miss any audio files. So is there any way to queue the
audio files so that it would not miss any important notification audio in
above cases.

Any suggestion would be highly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210928/1b3650fe/attachment.html>

More information about the FreeSWITCH-users mailing list