Marc Posted December 29, 2021 Share Posted December 29, 2021 Hello, I have developed an app where an admin makes audio presentations to other users (one to many). I'm using Enterprise Edition 2.3.1 Now I want to let other users to participate, so everybody can talk and hear others (many to many) I have been using something like webRTCAdaptorAudioPlayer.play( [audio_stream_id] ); That other users where then able to listen to. How do you recommend to proceed? Should I create a new audio stream for each user and then all users play all streams in their browsers? Thanks! Marc Link to comment Share on other sites More sharing options...
0 Yash Posted December 30, 2021 Share Posted December 30, 2021 Hi Mark, Hope you are fine. You can use conference.html sample page. It includes both audio and video but for audio only conference you can edit the media constraints in conference.html to make the camera disable. var mediaConstraints = { video : false, audio : true }; Also you can upgrade your server to latest v2.4.1 by downloading the zip file from your account on https://antmedia.io and follow below guide for upgradation To upgrade over older version please follow these guides https://github.com/ant-media/Ant-Media-Server/wiki/Installation#3-download-installation-script (use latest installation script from here) https://github.com/ant-media/Ant-Media-Server/wiki/Installation#update-over-older-version Regards, Yash Link to comment Share on other sites More sharing options...
0 Marc Posted December 30, 2021 Author Share Posted December 30, 2021 Thanks for your answer Yash. I did not make myself clear, but my question was more like: to create a many-to-many audio conference room, I should create an audio stream for each user and make all users play all streams (but not their own). Is there a better strategy?I have upgraded to 2.4.1 and tried MCU, but when I tried it I see that users hear their own voice, making conversations difficult Thanks! Marc On 30 Dec 2021, at 19:48, Yash Tandon <yash.tandon@antmedia.io> wrote: Hi Mark,Hope you are fine.You can use conference.html sample page. It includes both audio and video but for audio only conference you can edit the media constraints in conference.html to make the camera disable. var mediaConstraints = { video : false, audio : true };Also you can upgrade your server to latest v2.4.1 by downloading the zip file from your account on https://antmedia.io and follow below guide for upgradationTo upgrade over older version please follow these guideshttps://github.com/ant-media/Ant-Media-Server/wiki/Installation#3-download-installation-script (use latest installation script from here)https://github.com/ant-media/Ant-Media-Server/wiki/Installation#update-over-older-versionRegards,Yash -- You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/1QwxmbD_aR8/unsubscribe. To unsubscribe from this group and all its topics, send an email to ant-media-server+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/a79959ce-6b93-4511-a759-64ee92365cd1n%40googlegroups.com. Link to comment Share on other sites More sharing options...
0 Yash Posted January 4, 2022 Share Posted January 4, 2022 Hi Marc, As I suggested for audio conference mode all users can play all streams in it and user can turn off/mute his/her own stream audio from the page itself and by default the audio of user's stream is already muted. Regards, Yash Link to comment Share on other sites More sharing options...
0 Marc Posted January 12, 2022 Author Share Posted January 12, 2022 Thanks Yash. I wanted to see if there was a way to avoid that users have to play all streams, instead of only one, but I get it Thanks Marc Link to comment Share on other sites More sharing options...
Question
Marc
Hello,
I have developed an app where an admin makes audio presentations to other users (one to many). I'm using Enterprise Edition 2.3.1
I have been using something like
webRTCAdaptorAudioPlayer.play( [audio_stream_id] );
Marc
Link to comment
Share on other sites
Top Posters For This Question
3
2
Popular Days
Dec 30
2
Dec 29
1
Jan 4
1
Jan 12
1
Top Posters For This Question
Marc 3 posts
Yash 2 posts
Popular Days
Dec 30 2021
2 posts
Dec 29 2021
1 post
Jan 4 2022
1 post
Jan 12 2022
1 post
4 answers to this question
Recommended Posts