Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
1151 Discussions

bug report in owt 4.3.1 windows sdk

Cowboy
Beginner
2,337 Views

I got a crash when using intel cs for webrtc 4.3.1 windows sdk on my computer(win10 system run on mac book with Boot Camp): reproduce steps:

1. just run P2PSampleMFC sample

2. connect to peer server

3. click publish 

then crash happens: here is part of the logs but with enough infomation

(audio_device_core_win.cc:1918): nChannels=2, nSamplesPerSec=48000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=1, nSamplesPerSec=48000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=2, nSamplesPerSec=44100 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=1, nSamplesPerSec=44100 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=2, nSamplesPerSec=16000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=1, nSamplesPerSec=16000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=2, nSamplesPerSec=96000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=1, nSamplesPerSec=96000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=2, nSamplesPerSec=32000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=1, nSamplesPerSec=32000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=2, nSamplesPerSec=8000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
(audio_device_core_win.cc:1918): nChannels=1, nSamplesPerSec=8000 is not supported. Closest match: nChannels=4, nSamplesPerSec=48000
avcore\audiocore\client\audioclient\audioclientcore.cpp(1536)\AUDIOSES.DLL!6EB0F314: (caller: 6EAF66BE) ReturnHr(1) tid(4080) 887C0030 (audio_device_core_win.cc:2005): IAudioClient::Initialize() failed:
(audio_device_core_win.cc:4183): Core Audio method failed (hr=-2004287480)
(audio_device_core_win.cc:350): AudioDeviceWindowsCore::CoreAudioIsSupported() Failed to use Core Audio Playout for device id=0
(audio_device_core_win.cc:533): webrtc::AudioDeviceWindowsCore::~AudioDeviceWindowsCore destroyed
'P2PSampleMFC.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\avrt.dll'
(audio_device_core_win.cc:580): AudioDeviceWindowsCore::~AudioDeviceWindowsCore() the Avrt DLL module is now unloaded
(audio_device_impl.cc:303): Failed to create the platform specific ADM implementation.
(audio_device_impl.cc:317): webrtc::AudioDeviceModuleImpl::~AudioDeviceModuleImpl
(audio_device_buffer.cc:75): AudioDeviceBuffer::~dtor
Debug Error!

Program: ...Windows.v4.3.1\samples\OWTP2PSampleMFC\Debug\P2PSampleMFC.exe

abort() has been called

 

it seems that 4 channel playback device is not supported in this win sdk and no fallback solution is implemented in win sdk;

with some investigation in the wbrtc79 , I found 4 channel playback is not supported  in  AudioDeviceWindowsCore class

 

 

 

 

0 Kudos
1 Reply
damonli
Beginner
2,301 Views

Hi

 

Have you fixed this problem later?

 

I meet it too.

0 Kudos
Reply