Webrtc-H264Capturer icon indicating copy to clipboard operation
Webrtc-H264Capturer copied to clipboard

Error caused by Voice Engine

Open qiaotian opened this issue 6 years ago • 1 comments

I configure peerconnection server on Ubuntu 16.04 server VM, which doesn't have voice device. It seems works. But when I click the green icon on web page to create connection, an error shows as follows:

(peer_connection_client.cc:306): Headers received (peer_connection_client.cc:481): OnClose (conductor.cc:498): SEND_MESSAGE_TO_PEER (conductor.cc:225): OnPeerConnected (conductor.cc:211): OnSignedIn (peer_connection_client.cc:382): OnHangingGetRead (peer_connection_client.cc:306): Headers received (peer_connection_client.cc:481): OnClose (conductor.cc:225): OnPeerConnected (peer_connection_client.cc:382): OnHangingGetRead (peer_connection_client.cc:306): Headers received (peer_connection_client.cc:481): OnClose (conductor.cc:261): Peer id: 6 (conductor.cc:262): Peer id_: -1 (webrtcvoiceengine.cc:244): WebRtcVoiceEngine::WebRtcVoiceEngine (webrtcvideoengine.cc:314): WebRtcVideoEngine::WebRtcVideoEngine() (webrtcvoiceengine.cc:263): WebRtcVoiceEngine::Init (webrtcvoiceengine.cc:276): Supported send codecs in order of preference: (webrtcvoiceengine.cc:279): ISAC/16000/1 (103) (webrtcvoiceengine.cc:279): ISAC/32000/1 (104) (webrtcvoiceengine.cc:279): G722/8000/1 (9) (webrtcvoiceengine.cc:279): ILBC/8000/1 (102) (webrtcvoiceengine.cc:279): PCMU/8000/1 (0) (webrtcvoiceengine.cc:279): PCMA/8000/1 (8) (webrtcvoiceengine.cc:279): CN/32000/1 (106) (webrtcvoiceengine.cc:279): CN/16000/1 (105) (webrtcvoiceengine.cc:279): CN/8000/1 (13) (webrtcvoiceengine.cc:279): telephone-event/32000/1 (112) (webrtcvoiceengine.cc:279): telephone-event/16000/1 (113) (webrtcvoiceengine.cc:279): telephone-event/8000/1 (126) (webrtcvoiceengine.cc:282): Supported recv codecs in order of preference: (webrtcvoiceengine.cc:285): ISAC/16000/1 (103) (webrtcvoiceengine.cc:285): ISAC/32000/1 (104) (webrtcvoiceengine.cc:285): G722/8000/1 (9) (webrtcvoiceengine.cc:285): ILBC/8000/1 (102) (webrtcvoiceengine.cc:285): PCMU/8000/1 (0) (webrtcvoiceengine.cc:285): PCMA/8000/1 (8) (webrtcvoiceengine.cc:285): CN/32000/1 (106) (webrtcvoiceengine.cc:285): CN/16000/1 (105) (webrtcvoiceengine.cc:285): CN/8000/1 (13) (webrtcvoiceengine.cc:285): telephone-event/32000/1 (112) (webrtcvoiceengine.cc:285): telephone-event/16000/1 (113) (webrtcvoiceengine.cc:285): telephone-event/8000/1 (126) (webrtcvoiceengine.cc:293): VoiceEngine 4.1.0 (audio_device_impl.cc:83): Create (audio_device_buffer.cc:66): AudioDeviceBuffer::ctor (audio_device_impl.cc:127): AudioDeviceModuleImpl (audio_device_impl.cc:135): CheckPlatform (audio_device_impl.cc:149): current platform is Linux (audio_device_impl.cc:176): CreatePlatformSpecificObjects (audio_device_impl.cc:1809): PlatformAudioLayer (audio_device_impl.cc:257): attempting to use the Linux PulseAudio APIs... (audio_mixer_manager_pulse_linux.cc:59): AudioMixerManagerLinuxPulse created (audio_device_pulse_linux.cc:90): AudioDeviceLinuxPulse created (latebindingsymboltable_linux.cc:42): Can't load libpulse.so.0 : libpulse.so.0: cannot open shared object file: No such file or directory (audio_device_pulse_linux.cc:1721): failed to load symbol table (audio_device_pulse_linux.cc:158): failed to initialize PulseAudio (audio_device_pulse_linux.cc:99): ~AudioDeviceLinuxPulse destroyed (audio_mixer_manager_pulse_linux.cc:65): ~AudioMixerManagerLinuxPulse destroyed (audio_mixer_manager_alsa_linux.cc:33): AudioMixerManagerLinuxALSA created (audio_device_alsa_linux.cc:102): AudioDeviceLinuxALSA created (audio_device_impl.cc:274): Linux PulseAudio is not supported => ALSA APIs will be utilized instead (audio_device_impl.cc:343): AttachAudioBuffer (audio_device_buffer.cc:186): SetRecordingSampleRate(0) (audio_device_buffer.cc:193): SetPlayoutSampleRate(0) (audio_device_buffer.cc:210): SetRecordingChannels(0) (audio_device_buffer.cc:217): SetPlayoutChannels(0) (audio_device_impl.cc:1417): RegisterEventObserver (audio_device_impl.cc:1430): RegisterAudioCallback (audio_device_buffer.cc:85): RegisterAudioCallback (audio_device_impl.cc:466): Init (latebindingsymboltable_linux.cc:42): Can't load libasound.so.2 : libasound.so.2: cannot open shared object file: No such file or directory (audio_device_alsa_linux.cc:157): failed to load symbol table (audio_device_impl.cc:476): Audio device initialization failed. (webrtcvoiceengine.cc:701): webrtc: Init() failed to initialize the ADM (error=10028) # # Fatal error in ../../webrtc/media/engine/webrtcvoiceengine.cc, line 295 # last system error: 0 # Check failed: 0 == voe_wrapper_->base()->Init(adm_.get(), apm(), decoder_factory_) (0 vs. -1) # # Aborted

Any code contains 'voice' had already been removed. I have no ideo what is wrong behind. Any clue will be appreciated!

qiaotian avatar May 06 '18 22:05 qiaotian

Did you find any solution to this ? I also removed parts about audio but still it crashes

Cozdemir avatar Dec 17 '19 19:12 Cozdemir