openai / openai-realtime-console

React app for inspecting, building and debugging with the Realtime API
MIT License
2.06k stars 748 forks source link

Connecting AudioNodes from AudioContexts with different sample-rate is currently not supported. #5

Open DuckyBlender opened 1 month ago

DuckyBlender commented 1 month ago

image

DuckyBlender commented 1 month ago

only occurs on firefox

mmtmn commented 1 month ago

I've experienced the same issue, exploring to see if there is a simple fix that won't take too much time

mmtmn commented 1 month ago

Ok, I think I fixed it, creating a pull request for firefox

mmtmn commented 1 month ago

This pull request should fix it, but let's wait for it to get reviewed by OpenAI staff

Grant-CP commented 1 month ago

Faced the same issue. Firefox 129.0.2. Mac M1 Sonoma 14.6.1.

Safari does not run into this error (but does run into an api endpoint not available error, which is irrelevant here).

I have not tried the pull request from mmtmn.

khorwood-openai commented 1 month ago

Hey all -- the issue here is that the Realtime API requires 24,000 Hz PCM data. I'll look into this separately to see if there's a solution for Firefox.