chengsokdara / use-whisper

React hook for OpenAI Whisper with speech recorder, real-time transcription, and silence removal built-in
MIT License
732 stars 137 forks source link

Safari support? #13

Closed sgrove closed 1 year ago

sgrove commented 1 year ago

I think Safari may not support the current codec used, but I'm not sure if there's a way to detect what codecs a browser supports at runtime.

chengsokdara commented 1 year ago

@sgrove I just aware of it, currently I am testing wav format for cross-browser support, expect an update soon

chengsokdara commented 1 year ago

@sgrove I just release v0.2.0 that should work on Safari.

0.2.0 will record in lossless wav format and use lamejs to encode into mp3 that should work across all browsers.