We're integrating Twilio with Hume, utilizing Twilio's media stream with Mu-Law encoded audio. To minimize processing latency, we'd like to pass Twilio's Mu-Law encoded data directly to Hume's EVI2 Websocket API and receive audio output in Mu-Law format.
Currently, the documentation doesn't mention support for Mu-Law encoding. Adding this feature would simplify integration, reduce latency, and enhance overall performance.
Specific Requirements:
1.⁠ ⁠Support Mu-Law audio encoding in EVI2 Websocket API.
2.⁠ ⁠Allow Base64 encoded Mu-Law audio data (8000hz) to be passed through the API.
3.⁠ ⁠Enable audio output in Mu-Law format.
Use Case: Real-time audio processing and streaming between Twilio and Hume.