- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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 !
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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: </span></div>
<div class="remote">
<video playsinline autoplay></video>
Thanks
Naresh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page