Author Message
Amr_member
Joined: Oct 23, 2014
Messages: 5
Offline
Hi All

I have the .net client SDK sample app running on my PC. Everything looks fine as i can recieve audio and video. My only issue is that i can't send my audio. I ran Equinox on same PC and its working fine. Any Suggestion?

Note: .net sdk 4.1 download link seems broken.

Thanks a lot.
Amr
Artem.Tsarev
Joined: Jul 13, 2016
Messages: 48
Offline
Thank you for your feedback, the link to Client SDK 4.1 for Windows will be fixed as soon as possible.

In order for us to help you debug the audio issue we need to review the logs that your client generates, specifically Client SDK logs. Client.LogMessage interface helps capture Client SDK logs in the application if the standard .NET log routing is not an option.
Amr_member
Joined: Oct 23, 2014
Messages: 5
Offline
Thanks Artem

When i run using visual studio and while voice call is running i get the below in output:

2018-10-04 09:33:36.698[14580] ERROR SCPAPI: AUDIO:1 0; 14816; webrtc::voe::Channel::GetPlayoutTimeStamp: Failed to read playout timestamp from the ACM, line 7092
2018-10-04 09:33:36.993[14992] ERROR QOSSetFlow error: 5 RemoteAddress : 192.168.105.86 Port: 5061 DSCP value: 46
2018-10-04 09:33:59.846[ 2368] ERROR SCPAPI: ENGOBJ [14502034] 2368; CRTPEncrypt::DeleteSRTP Failed to get crypto block for channel 0, this=0x14502034, Line:447
2018-10-04 09:33:59.927[14992] ERROR Publish[presence]: Unable to end background task. PowerManagment object is null
2018-10-04 09:34:00.055[14992] ERROR Publish[presence]: Unable to end background task. PowerManagment object is null
2018-10-04 09:34:00.062[14992] ERROR CSIPPresenceManager::EndBackgroundTask()Unable to end background task. PowerManagment object is null
Artem.Tsarev
Joined: Jul 13, 2016
Messages: 48
Offline
Thanks, will you be able to share a complete log?
Amr_member
Joined: Oct 23, 2014
Messages: 5
Offline
The below error for selecting mic
2018-10-04 10:00:48.283[18100] ERROR SCPAPI: AUDIO DEV:1 99; 5544; AudioDeviceWindowsCore::InitMicrophone() Selected device is invalid: -1/-1 <unknown:3> '' '' , Line=932

Full log.

'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'E:\GITEX 19\ClientSDK\CommunicationPackage\sample\CommunicationSampleApp\bin\Debug\CommunicationSampleApp.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsFormsIntegration\v4.0_4.0.0.0__31bf3856ad364e35\WindowsFormsIntegration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x3414 has exited with code 0 (0x0).
The thread 0x423c has exited with code 0 (0x0).
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'E:\GITEX 19\ClientSDK\CommunicationPackage\sample\CommunicationSampleApp\bin\Debug\CommunicationSampleApp.exe'. Symbols loaded.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Step into: Stepping over non-user code 'CommunicationSampleApp.App..ctor'
Step into: Stepping over non-user code 'CommunicationSampleApp.App.InitializeComponent'
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'E:\GITEX 19\ClientSDK\CommunicationPackage\sample\CommunicationSampleApp\bin\Debug\scpmediadll.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'E:\GITEX 19\ClientSDK\CommunicationPackage\sample\CommunicationSampleApp\bin\Debug\AvayaClientServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXmlLinq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\Users\AABDEL~1\AppData\Local\Temp\VisualStudio.XamlDiagnostics.14268\WpfXamlDiagnosticsTap.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC\Microsoft.VisualStudio.OLE.Interop\7.1.40304.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.OLE.Interop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
2018-10-04 10:00:48.096[ 4184] Info SCPAPI: Media Engine version: 2.9.062.0 WEBRTCENGINE-GMECPP125-WINDOWS-13 00fa6541 Jul 25 2018 04:13:03
2018-10-04 10:00:48.098[ 4184] Info SCPAPI: RvVideoCodec version: 4.1.11
2018-10-04 10:00:48.098[ 4184] Info SCPAPI: SetLogLevel(Info)
2018-10-04 10:00:48.100[18100] Info SCPAPI: UTILITY:0 181 18100; Thread with name:n Trace Thread started
2018-10-04 10:00:48.101[ 4184] ERROR SCPAPI: SetLogLevel(Error)
2018-10-04 10:00:48.283[18100] ERROR SCPAPI: AUDIO DEV:1 99; 5544; AudioDeviceWindowsCore::InitMicrophone() Selected device is invalid: -1/-1 <unknown:3> '' '' , Line=932
2018-10-04 10:00:48.283[18100] ERROR SCPAPI: AUDIO DEV:1 99; 5544; AudioDeviceWindowsCore::InitMicrophone() Selected device is invalid: -1/-1 <unknown:3> '' '' , Line=932
2018-10-04 10:00:48.286[ 5544] ERROR SCPAPI: ENGOBJ [14244010] 5544; CWebRTCAudioEngine::SetProvisionedCapabilities Input codec list does not match the supported codec list, Line:536
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x3930 has exited with code 0 (0x0).
2018-10-04 10:00:49.439[ 4184] ERROR Unable to open file '.\CommunicationSampleApp.vshost.p12' with permission 'rb'.errno[2]
2018-10-04 10:00:49.439[ 4184] ERROR CPKCS12BackedClientIdentityStore::ReadPKCS12File() : Could not find the client certificate store.
2018-10-04 10:00:49.440[ 4184] ERROR CPKCS12BackedClientIdentityStore::MayLoadCertificateStore() : Endpoint certificate store is not created.: ( error = 0xeCERT_STORE_ERR_MISSING_CERT_STORE(eCERT_STORE_ERR_MISSING_CERT_STORE))
2018-10-04 10:00:49.450[ 4184] ERROR SCPAPI: SetLogLevel(Error)
2018-10-04 10:00:49.604[13932] ERROR CContactManager::OnContactProviderStartFailed(): LOCAL with reason = 16
2018-10-04 10:00:49.605[13932] ERROR CContactManager::OnContactProviderStartFailed(): - Report loading failed for this provider. bContactLoadingComplete = NO
2018-10-04 10:00:49.809[12680] ERROR CWinCertificateProvider::MapOSSecurityErrorCodeToOSErrorCodes() : Certificate Security error code = 0x0
The thread 0x3188 has exited with code 0 (0x0).
2018-10-04 10:00:50.592[17932] ERROR CSIPPresenceManager couldn't obtain active SIP connection
2018-10-04 10:00:50.805[11620] ERROR CWinCertificateProvider::MapOSSecurityErrorCodeToOSErrorCodes() : Certificate Security error code = 0x0
The thread 0x2d64 has exited with code 0 (0x0).
2018-10-04 10:00:50.832[17932] ERROR QOSSetFlow error: 5 RemoteAddress : 192.168.105.86 Port: 5061 DSCP value: 46
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'CommunicationSampleApp.vshost.exe' (CLR v4.0.30319: CommunicationSampleApp.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
2018-10-04 10:00:51.196[17932] ERROR ~CTimer[individual-presence: sips:29711001@avayatoday.com subscription cleanup timer] Timer still running in destructor
2018-10-04 10:00:51.198[17932] ERROR Publish[presence]: Unable to end background task. PowerManagment object is null
CallFeature Service Available2018-10-04 10:00:51.279[17932] ERROR Publish[presence]: Unable to end background task. PowerManagment object is null
2018-10-04 10:00:51.323[17932] ERROR CSIPPresenceManager::EndBackgroundTask()Unable to end background task. PowerManagment object is null
2018-10-04 10:00:51.372[17932] ERROR Publish[presence]: Unable to end background task. PowerManagment object is null
2018-10-04 10:00:51.380[17932] ERROR CSIPPresenceManager::EndBackgroundTask()Unable to end background task. PowerManagment object is null
Artem.Tsarev
Joined: Jul 13, 2016
Messages: 48
Offline
This is a known issue that is fixed in Client SDK 4.1.
Amr_member
Joined: Oct 23, 2014
Messages: 5
Offline
Thanks,
Is the download link for 4.1 .net sdk fixed. Can you provide an alternate temp link to download it?
Go to:   
Mobile view