prokunal.dev at gmail.com Guest
|
Posted: Tue Sep 28, 2021 11:39 am Post subject: [Freeswitch-users] how to queue multiple audio file to play |
|
|
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.
Thanks! |
|