Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

4.0 conference sample mixstream no sound

liu__bin
Beginner
116 Views

Hi,intel team

When we tested the video conference demo of the conference sample with the chrome browser,

we tested MAC, Android and Windows7, all with video but no sound.

The verified chrome version is as follows

chrome:66.0.3359.181  (OS X EI Capitian 10.11(15284)
chrome: 66.0.3359.181 (64 )win7
chrome: 65.0.3325.109 (android7.1.1;OPPO R11 Build/NMF26X  )

 

1. https://xxx.com/rooms/5b18cbb7d287c4617b095f9e/streams/904673555285484800
   '[{"op":"add","path":"/info/inViews","value":"common"}]' 

   response :audio codec: opus, video codec: vp8

0.png

2.Try to modify extras/basic_example/public/scripts/index.js
  set subscribe  audio codec to aac, 

   then refresh Browser re-enter the room, but still no sound!   audio codec is opus.

    deom code below

            for (const stream of streams) {
                    if(!subscribeForward){
                      if (stream.source.audio === 'mixed' || stream.source.video ===
                        'mixed') {
                        console.log("subscribeforward mixed debug");
                        conference.subscribe(stream, {
                            audio: {codec:'aac'},
                            video: true
                        }).then((subscription) => {
                            subscriptionForMixedStream = subscription;
                            $('.remote video').get(0).srcObject = stream.mediaStream;
                            subscription.addEventListener('error', (err) => {
                                console.log('Subscription error: ' + err.error.message);
                            })
                        });

 

3. The Server-side MCU related information

     OS:CentOS Linux release 7.2.1511 (Core)

     MCU: CS_WebRTC_Conference_Server_MCU.v4.0.tgz

     audio_agent : libfdk-aac.so   has been installed

     Management Console's roomid: 5b18cbb7d287c4617b095f9e configure file refer to the attachment

   

Could you give me some tips?

Looking forward to your reply. Thank you !



     

0 Kudos
3 Replies
Qiujiao_W_Intel
Employee
116 Views

Hi, aac codec currently is not supported in webrtc transportation, it can be used in scenarios other than webrtc transportation like rtmp and recording. Please use other audio codec (opus, pcmu,  .etc) for webrtc transportation.

Daghe
Beginner
116 Views

设置为opus时混合流依旧没有声音,请求如何修改配置@liu, bin,@Qiujiao W. (Intel)

Naresh_R_1
New Contributor I
116 Views

Hi Daghe,

Change basic example as below audio works, basic example us muted by default for mixed stream.

<div id="resolutions"><span>Try a different resolution:&nbsp;</span></div>
    <div class="remote">
      <video playsinline autoplay></video>

Thanks

Naresh

 

Reply