BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
416 stars 211 forks source link

[Bug]: No suitable soundcard on Windows .Net8/WPF Application #847

Closed dull0ctopus closed 4 months ago

dull0ctopus commented 5 months ago

Context

use Linphone-sdk Windows version for my company, custom sip server.

General information

Expected behaviour

Environment: Linphone-sdk-win64-5.2.114, .Net8/WPF Application I wanted to do a simple call with the Windows client calling mobile devices. Incoming/outcoming dial calls normally, but no audio output for both sides ( it certainly is Windows client side issue, because the mobile apps already can call each other).

To Reproduce

SIP registered, and incoming or outcoming calls.

Additional context

Logs maybe related: Linphone-MessageRegistering all soundcard handlers Linphone-MessageLoading ms plugins from [.] Linphone-Messageno plugin (.dll) found in [.\libms.dll] [2]. Linphone-ErrorCould not find a suitable soundcard with capabilities : 2 Linphone-ErrorCould not find a suitable soundcard with capabilities : 2 Linphone-ErrorCould not find a suitable soundcard with capabilities : 1 Linphone-ErrorCould not find a suitable soundcard with capabilities : 2

v=0 o=F 1718842163 1718842164 IN IP4 xx.xx.xx.xx s=F c=IN IP4 xx.xx.xx.xx t=0 0 m=audio 29638 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=silenceSupp:off - - - - a=ptime:20

Linphone-ErrorQOSAddSocketToFlow failed to add a flow with error 87 Linphone-MessageCreated stream of type audio at index 0: stream#0 [audio] in state [Stopped] Linphone-WarningFailed to find audio device matching default output sound card [0000000000000000] Linphone-WarningFailed to find audio device matching default input sound card [0000000000000000] Linphone-ErrorUnable to retrieve contact address from proxy confguration for call session 0000022529C3E940

v=0 o=msp%xx%xx 3119 4065 IN IP4 xx.xx.xx.xx s=Talk c=IN IP4 xx.xx.xx.xx t=0 0 m=audio 55831 RTP/AVP 0 101 a=rtpmap:101 telephone-event/8000

Linphone-MessageUnable to find audio video conference with conference ID ConferenceId Linphone-Messagestream#0 [audio] in state [Stopped] is not part of any bundle Linphone-MessageAudio bandwidth for StreamsGroup [000001E48AF6F4D0] is 80 Linphone-Messagestream#0 [audio] in state [Stopped] is not part of any bundle Linphone-MessageICE state is IceStateNotActivated for stream#0 [audio] in state [Stopped] Linphone-MessageSetting audio encoder network bitrate to [80000] on stream [000001E483E42010] Linphone-MessageAudioStream[000001E483E42010]: mic is [enabled]. Linphone-MessageUnable to find audio video conference with conference ID ConferenceId

Linphone-MessageMSAudioMixer [000002252A23B6D0] is entering bypass mode. Linphone-MessageFirst estimation Linphone-MessageBandwidth usage for CallSession [0000022529C3E940]: Stream #0 (audio) | cpu: 2.71% | RTP : [d=68.36,u=73.88] RTCP: [d=0.00,u=1.08] (kbits/sec) Linphone-MessageMSAudio_stream_iterate[000001E483E42010], local statistics available: Local current jitter buffer size: 45.5ms Linphone-MessageStun packet of length 20 sent on rtcp for session [0000022529BE72D0] Linphone-MessageBandwidth usage for CallSession [0000022529C3E940]: Stream #0 (audio) | cpu: 0.92% | RTP : [d=77.91,u=79.89] RTCP: [d=0.00,u=2.52] (kbits/sec) Linphone-MessageStun packet of length 20 sent on rtcp for session [0000022529BE72D0] Linphone-MessageStun packet of length 20 sent on rtcp for session [0000022529BE72D0] Linphone-MessageBandwidth usage for CallSession [0000022529C3E940]: Stream #0 (audio) | cpu: 2.71% | RTP : [d=69.65,u=80.03] RTCP: [d=0.00,u=0.77] (kbits/sec)

Linphone-Message================================================================================= Linphone-Message FILTER USAGE STATISTICS
Linphone-MessageName Count Time/tick (ms) CPU Usage Linphone-Message min mean max sd
Linphone-Message--------------------------------------------------------------------------------- Linphone-MessageMSRtpSend 1868 0.00 0.04 3.00 0.26 81.3 Linphone-MessageMSRtpRecv 1868 0.00 0.01 3.00 0.12 15.1 Linphone-MessageMSAudioMixer 3736 0.00 0.00 2.00 0.04 1.7 Linphone-MessageMSUlawEnc 1868 0.00 0.00 1.00 0.02 1.2 Linphone-MessageMSResample 2864 0.00 0.00 1.00 0.02 0.8 Linphone-MessageMSAudioFlowControl 921 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSGenericPLC 1868 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSEqualizer 2789 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSVolume 2789 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSUlawDec 893 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSFileRec 996 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSFilePlayer 3736 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSDtmfGen 1868 0.00 0.00 0.00 0.00 0.0 Linphone-MessageMSSpeexEC 0 0.00 0.00 0.00 0.00 0.0 Linphone-Message=================================================================================

SDK logs URL

No response

dull0ctopus commented 5 months ago

Please help. And i open issue on both linphone-desktop and linphone-sdk, not sure which is the better place.

Ledjlale commented 4 months ago

Hi Wrong place here ;)