You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux PC 6.6.28-amd64-desktop-hwe #20.00.00.30 SMP PREEMPT_DYNAMIC Thu Jun 6 15:17:05 CST 2024 x86_64 GNU/Linux
build env
cmake version 3.22.6
gcc (Uos 8.3.0.13-deepin1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
g++ (Uos 8.3.0.13-deepin1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
GNU Make 4.2.1
build & exec
git checkout 5.1.2
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=10 -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
cd /bin or /OUTPUT exec ./linphone --verbose or sudo ./linphone --verbose
issue
sudo ./linphone --verbose, root(permission) pulseaudio connect fails.
([Info]Core:linphone: Connection to the pulseaudio server failed)
[Info]Core:linphone: Linphone core [0x2c1fc70] notified [version_update_check_result_received]
[Info]Core:linphone: No SRV results while A/AAAA fallback resulted arrived a while ago. Giving up SRV.
[Info]Core:linphone: Changing [client] [REGISTER] transaction [0x35831c0], from state [COMPLETED] to [TERMINATED]
[Info]Core:linphone: Client internal REGISTER transaction [0x35831c0] terminated
[Info]Core:linphone: Changing [client] [REGISTER] transaction [0x3b808f0], from state [COMPLETED] to [TERMINATED]
[Info]Core:linphone: Client internal REGISTER transaction [0x3b808f0] terminated
[Info]Core:linphone: Changing [client] [PUBLISH] transaction [0x6371440], from state [COMPLETED] to [TERMINATED]
[Info]Core:linphone: Client internal PUBLISH transaction [0x6371440] terminated
[Info]Core:linphone: channel[0x3ca6a20]: entering state DISCONNECTED
[Info]Core:linphone: channel [0x3ca6a20] removed from http provider.
[Info]Core:linphone: Channel [0x3ca6a20] destroyed
[Error]Core:linphone: linphone_core_create_local_player(): no sound card.
[Info]Core:linphone: Connection to the pulseaudio server failed
[Error]Core:linphone: Could not find a suitable soundcard with capabilities : 2
[Error]Core:linphone: Could not find a suitable soundcard with capabilities : 2
[Error]Core:linphone: Could not find a suitable soundcard with capabilities : 1
[Error]Core:linphone: Could not find a suitable soundcard with capabilities : 2
[Info]Core:linphone: [ setOutputAudioDeviceBySndCard ] remove output device
[Error]Core:linphone: Could not find a suitable soundcard with capabilities : 1
[Info]Core:linphone: [ setInputAudioDeviceBySndCard ] remove input device
[Info]Core:linphone: Linphone core [0x2c1fc70] notified [audio_devices_list_updated]
[Error]Core:linphone: [mjoys] linphone_core_get_media_device get soud_car_name err.
[Error]Core:linphone: linphone_core_create_local_player(): no sound card.
[Warning]Core:linphone: no card with id
[Warning]Core:linphone: QT: Cannot get playback card from MSFactory with :
[Warning]Core:linphone: no card with id
[Warning]Core:linphone: QT: Cannot get capture card from MSFactory with :
[09:32:34:843][Info]Core:linphone: Card 'PulseAudio Unknown: Family 17h (Models 10h-1fh) HD Audio Controller 模拟立体声' added with capabilities [capture, playback]
[09:32:34:843][Warning]Core:linphone: Device [Family 17h (Models 10h-1fh) HD Audio Controller 模拟立体声] type is unknown
[09:32:34:844][Info]Core:linphone: [ setOutputAudioDeviceBySndCard ] on device: Family 17h (Models 10h-1fh) HD Audio Controller 模拟立体声
[09:32:34:844][Info]Core:linphone: [ setInputAudioDeviceBySndCard ] on device: Family 17h (Models 10h-1fh) HD Audio Controller 模拟立体声
[09:32:34:844][Info]Core:linphone: Linphone core [0x1cfde40] notified [audio_devices_list_updated]
[09:32:34:844][Info]Core:linphone: speex_lib_ctl init with neon ? 0
[09:32:34:844][Info]Core:linphone: ms_filter_link: MSPulseRead:0x49d5320,0-->MSVolume:0x7fc65400c300,0
[09:32:34:844][Info]Core:linphone: ms_filter_link: MSVolume:0x7fc65400c300,0-->MSResample:0x4a3f010,0
[09:32:34:844][Info]Core:linphone: ms_filter_link: MSResample:0x4a3f010,0-->MSVolume:0x4a3f0a0,0
[09:32:34:844][Info]Core:linphone: ms_filter_link: MSVolume:0x4a3f0a0,0-->MSPulseWrite:0x56090d0,0
[09:32:34:844][Info]Core:linphone: MSVolume[0x4a3f0a0]: set gain to [0.000000] linear
[09:32:34:844][Info]Core:linphone: MSTicker priority left to normal.
[09:32:34:907][Info]Core:linphone: pulseaudio record stream connected (8000Hz, 1ch)
[09:32:34:907][Info]Core:linphone: ms_ticker_set_time_func: ticker's time method updated.
[09:32:34:907][Info]Core:linphone: Initializing speex resampler in mode [voip] from 1 channels
[09:32:34:935][Info]Core:linphone: pulseaudio playback stream connected (8000Hz, 1ch)
but system real audio get fails, only pulseaudio audio .
download release v5.1.2 version, AppRun exec. get system real audio success. linphone sdk 5.2.92
copy download release v5.1.2 libmediastreamer.so.11 to my build v5.1.2 /lib/libmediastreamer.so.11, get system real audio success.
download release linphone desktop 5.1.2 and linphone sdk 5.2.92, libmediastreamer.so.11(ldd)
mediastreamer2 version or
env
build env
build & exec
issue
sudo ./linphone --verbose, root(permission) pulseaudio connect fails.
([Info]Core:linphone: Connection to the pulseaudio server failed)
chmod +777 ./linphone, ./linphone --verbose
pulseaudio connect success
but system real audio get fails, only pulseaudio audio .
download release v5.1.2 version, AppRun exec. get system real audio success. linphone sdk 5.2.92
copy download release v5.1.2 libmediastreamer.so.11 to my build v5.1.2 /lib/libmediastreamer.so.11, get system real audio success.
download release linphone desktop 5.1.2 and linphone sdk 5.2.92, libmediastreamer.so.11(ldd)
my build libmediastreamer.so.11 ldd(get audio err)
(https://gitlab.linphone.org/BC/public/mediastreamer2/-/tree/0e813d7e64a8d4062c40169d1cd6bdc81fbc6cad)
diff
How to get the audio device correctly?
The text was updated successfully, but these errors were encountered: