Jump to content
  • 0

Audio Chat, many to many


Marc
 Share

Question

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

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

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

  • 0

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 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


 

--

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

  • 0

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

 Share

×
×
  • Create New...