MohammadAG / iOS-GoogleAssistant

Google Assistant for iOS
GNU General Public License v3.0
15 stars 2 forks source link

Application relies on arbitrary timeout to determine that response audio has finished #1

Open MohammadAG opened 7 years ago

MohammadAG commented 7 years ago

Google's SDK sends responses in audio chunks, so it's impossible to know when exactly a response has ended. Due to the (broken?) design of my app, this means that responses might be split into two visual messages.

MohammadAG commented 7 years ago

It's a chunk of MP3 audio, I do append them together but it won't play it correctly on first try.