googlesamples / assistant-sdk-cpp

Example of Google Assistant gRPC in C++
Apache License 2.0
96 stars 44 forks source link

Chromecast #69

Open magicse opened 4 years ago

magicse commented 4 years ago

I have 2 devices chromecast and google home speaker. I had add them to default devices for video and audio playback for my program device. But It cant play video or music with request "play some music on tv" or "play some music on speaker"...... All time I get same answer - I cant help with that.

magicse commented 4 years ago

And some time I get this "abort" assistant_sdk wrote first request: config { audio_in_config { encoding: LINEAR16 sample_rate_hertz: 16000 } audio_out_config { encoding: LINEAR16 sample_rate_hertz: 16000 } dialog_state_in { language_code: "en-US" } device_config { device_id: "default" device_model_id: "default" } screen_out_config { } } assistant_sdk waiting for response ... AudioInputALSA snd_pcm_readi returned -32 terminate called without an active exception Aborted smartpi@orangepi2:~/assistant-sdk-cpp$

Fleker commented 4 years ago

Assistant SDK devices do not work well with casting.