Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

SampleApp "Failed to create default SDK client!" #108

Closed
smititelu opened this issue Aug 24, 2017 · 9 comments
Closed

SampleApp "Failed to create default SDK client!" #108

smititelu opened this issue Aug 24, 2017 · 9 comments

Comments

@smititelu
Copy link

Hi! I'm using raspbian stretch lite and getting the below error when trying to run SampleApp. Might be related to the missing GUI?! (I suppose)

root@raspberrypi:~/avs-build1# ./SampleApp/src/SampleApp Integration/AlexaClientSDKConfig.json 
Failed to create default SDK client!

(SampleApp:805): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(SampleApp:805): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(SampleApp:805): GLib-CRITICAL **: Source ID 7622352 was not found when attempting to remove it

(SampleApp:805): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(SampleApp:805): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(SampleApp:805): GLib-CRITICAL **: g_source_remove: assertion 'tag > 0' failed
Failed to initialize SampleApplication
Failed to create to SampleApplication!
@mradulan
Copy link
Contributor

mradulan commented Aug 24, 2017

This is a gstreamer issue. Which version of gstreamer are you using?

@mradulan
Copy link
Contributor

Can you also enable logging level to DEBUG9? You can do it using ./SampleApp/src/SampleApp Integration/AlexaClientSDKConfig.json DEBUG9

@bousoutennshi
Copy link

Hi! I have the same problem.

$ ./SampleApp/src/SampleApp Integration/AlexaClientSDKConfig.json $LOCAL_BUILD/models DEBUG9
Running app with log level: DEBUG9
2017-08-24 17:59:41.624 [  1] I ConfigurationNode:initializeSuccess
2017-08-24 17:59:41.705 [  1] E AlertsCapabilityAgent:initializeDefaultSoundsFailed::could not open alarm audio file.
2017-08-24 17:59:41.706 [  1] E AlertsCapabilityAgent:initializeFailed::Could not initialize default sounds.
2017-08-24 17:59:41.706 [  1] E AlertsCapabilityAgent:createFailed:reason=Initializion error.
2017-08-24 17:59:41.706 [  1] E RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=AlertsCapabilityAgent
2017-08-24 17:59:41.706 [  1] E DefaultClient:initializeFailed:reason=unableToCreateAlertsCapabilityAgent
2017-08-24 17:59:41.706 [  1] I DirectiveSequencer:doShutdown
Failed to create default SDK client!

(SampleApp:24153): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-08-24 17:59:52.586 [  2] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed

(SampleApp:24153): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(SampleApp:24153): GLib-CRITICAL **: Source ID 808333613 was not found when attempting to remove it

(SampleApp:24153): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-08-24 17:59:52.587 [  2] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed

(SampleApp:24153): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(SampleApp:24153): GLib-CRITICAL **: g_source_remove: assertion 'tag > 0' failed
Failed to initialize SampleApplication
Failed to create to SampleApplication!

Please show the way to solve it.

Thanks.

@mradulan
Copy link
Contributor

mradulan commented Aug 24, 2017

Can you paste your AlexaClientSDKConfig.json file without the credentials in "authDelegate"? Also which version of gstreamer are you using?

@smititelu
Copy link
Author

@mradulan I'm using gstreamer 1.10.4. After setting PATHs to some .wav files for alertsCapabilityAgent in the .json config file I am getting the following errors:

root@raspberrypi:~/avs-build1# ./SampleApp/src/SampleApp Integration/AlexaClientSDKConfig.json DEBUG9
Running app with log level: DEBUG9
2017-08-24 19:20:43.953 [  1] I ConfigurationNode:initializeSuccess
2017-08-24 19:20:44.076 [  1] E SQLiteStatement:SQLiteStatement::constructorFailed::Could not create prepared statement.:rcode=26,error message=file is encrypted or is not a database
2017-08-24 19:20:44.076 [  1] E SQLiteAlertStorage:loadFailed::Could not create statement.
2017-08-24 19:20:44.076 [  2] I AlertsCapabilityAgent:executeScheduleNextAlertForRendering::no work to do.
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0xe04290,policy=BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=ClearQueue,handler=0xe04a28,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=Stop,handler=0xe04a28,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=Play,handler=0xe04a28,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xe03868,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=StopCapture,handler=0xe03868,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Alerts,name=DeleteAlert,handler=0xe05608,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Alerts,name=SetAlert,handler=0xe05608,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=SetEndpoint,handler=0xe12628,policy=NON_BLOCKING
2017-08-24 19:20:44.077 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=ResetUserInactivity,handler=0xe0369c,policy=NON_BLOCKING
#############################
#       Connecting...       #
#############################
2017-08-24 19:20:45.673 [  3] I StateSynchronizer:requestingContext:reason=connectionStatusChanged,receivedStatus=CONNECTED
##################################################
#       Performing post connect actions...       #
##################################################
2017-08-24 19:20:47.208 [  4] I StateSynchronizer:messageSentSuccessfully
########################################
#       Alexa is currently idle!       #
########################################
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
connect(2) call to /tmp/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843
Failed to open PortAudio default stream
Failed to initialize PortAudioMicrophoneWrapper
Failed to create PortAudioMicrophoneWrapper!
2017-08-24 19:20:47.320 [  1] I DirectiveSequencer:doShutdown
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=SetEndpoint,handler=0xe12628,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Alerts,name=DeleteAlert,handler=0xe05608,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Alerts,name=SetAlert,handler=0xe05608,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xe03868,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechRecognizer,name=StopCapture,handler=0xe03868,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=ResetUserInactivity,handler=0xe0369c,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechSynthesizer,name=Speak,handler=0xe04290,policy=BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=AudioPlayer,name=ClearQueue,handler=0xe04a28,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=AudioPlayer,name=Stop,handler=0xe04a28,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=AudioPlayer,name=Play,handler=0xe04a28,policy=NON_BLOCKING
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:onDeregisteredCalled:handler=0xe12628
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:onDeregisteredCalled:handler=0xe05608
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:onDeregisteredCalled:handler=0xe03868
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:onDeregisteredCalled:handler=0xe0369c
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:onDeregisteredCalled:handler=0xe04290
2017-08-24 19:20:47.321 [  1] I DirectiveRouter:onDeregisteredCalled:handler=0xe04a28
#####################################
#       Client not connected!       #
#####################################

(SampleApp:973): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-08-24 19:20:47.428 [  5] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed

(SampleApp:973): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(SampleApp:973): GLib-CRITICAL **: Source ID 1989327692 was not found when attempting to remove it

(SampleApp:973): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-08-24 19:20:47.428 [  5] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed

(SampleApp:973): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(SampleApp:973): GLib-CRITICAL **: g_source_remove: assertion 'tag > 0' failed
Failed to initialize SampleApplication
Failed to create to SampleApplication!

This is a list of the devices shown by aplay:

root@raspberrypi:~/avs-build1# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
dmix:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct sample mixing device
dmix:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct sample snooping device
hw:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Hardware device with all software conversions
default:CARD=headset
    Sennheiser USB headset, USB Audio
    Default Audio Device
sysdefault:CARD=headset
    Sennheiser USB headset, USB Audio
    Default Audio Device
front:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    Front speakers
surround21:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    Direct sample mixing device
dsnoop:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    Direct sample snooping device
hw:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    Direct hardware device without any conversions
plughw:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    Hardware device with all software conversions

I am using USB headphones with integrated microphone. I can record and then playback .wavs:

plughw:CARD=headset,DEV=0
    Sennheiser USB headset, USB Audio
    Hardware device with all software conversions

root@raspberrypi:~/avs-build1# arecord --device plughw:CARD=headset,DEV=0 my_record.wav
Recording WAVE 'my_record.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
^CAborted by signal Interrupt...
arecord: pcm_read:2103: read error: Interrupted system call

root@raspberrypi:~/avs-build1# aplay --device plughw:CARD=headset,DEV=0 my_record.wav
Playing WAVE 'my_record.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

Any further advice?

@sanjayrd
Copy link
Contributor

@smititelu,

Your first issue seems to be a database issue.
2017-08-24 19:20:44.076 [ 1] E SQLiteStatement:SQLiteStatement::constructorFailed::Could not create prepared statement.:rcode=26,error message=file is encrypted or is not a database 2017-08-24 19:20:44.076 [ 1] E SQLiteAlertStorage:loadFailed::Could not create statement. indicates so. What are you using for the databaseFilePath section of the AlexaClientSDKConfig.json file?

You second issue seems to be an issue with PortAudio/ALSA. Could you follow the instructions here and see if that helps? The part about modifying the ~/.asoundrc helped me out when encountering such issues.

@smititelu
Copy link
Author

@sanjayrd Awesome! It works after I:

  • changed the databaseFilePath="/home/pi/database" (was previously set to a .wav file due to rush copy/paste)
  • created the ~/.asoundrc with proper, desired devices

Thank you very much for help people!

Next I'll try to improve it with hot word. Some further references to that are always welcomed! :D

@mars9180
Copy link

mars9180 commented Aug 25, 2017

I also created the ~ / .asoundrc file, but still suggested that ALSA lib confmisc.c: 1281: (snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0: CARD = 0'
Do not you know why?

pi@raspberrypi:/Music $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@raspberrypi:/Music $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

cat ~/.asoundrc
pcm.!default{
type asym
playback.pcm{
type plug
slave.pcm "hw:0,0"
}
capture.pcm{
type plug
slave.pcm "hw:1,0"
}
}

@avp24
Copy link

avp24 commented Sep 27, 2018

@smititelu Can you please share your AlexaClientSDKConfig.json excluding your personal information if any. I am facing same errors related to gstreamer.
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants