input_audio_buffer.append doesn't work with 8kHZ audio
Closed this issue · 1 comments
duc-tran-3-ts commented
I am trying to real-time stream audio of 8kHZ sample rate but it seems like the OpenAI server doesn't receive it because there is not any event later. I tested my codes with 16kHZ and 24kHZ and it's fine.
duc-tran-3-ts commented
I have figured out. For 8kHZ audio, we need to use ulaw or alaw format instead of the default pcm16