botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 83 forks source link

[BUG] Audio file format not supported. Skipping | Integration with Google-Speech & Vonage #1475

Closed bassamtantawi-botpress closed 2 years ago

bassamtantawi-botpress commented 2 years ago

Describe the bug When I send a voice note from Whatsapp (Vonage integration), google-speech throws the below error message in the logs: 09/13/2021 18:48:14.531 Mod[google-speech] Audio file format not supported. Skipping... { tagTypes: [], trackInfo: [], container: 'Ogg', codec: 'Opus', sampleRate: 16000, numberOfChannels: 1, numberOfSamples: 120000, duration: 2.5, bitrate: 4384 }

To Reproduce Steps to reproduce the behavior:

  1. Configure Vonage-Sandbox
  2. Configure Google-Speech API
  3. Configure Botpress to use Google Speech and Vonage
  4. try the Whatsapp Sandbox
  5. Check logs

Expected behavior To pass the audio file to the google-speech API

Screenshots https://files.slack.com/files-pri/T9MKZQV37-F02EF8T37DJ/image.png

Environment (please complete the following information):

Additional context Add any other context about the problem here.

bassamtantawi-botpress commented 2 years ago

image