Open justinlevi opened 1 year ago
FWIW - I have a fork here if anyone is interested in checking this out https://github.com/ggerganov/whisper.cpp/compare/master...justinlevi:whisper.cpp:ws-streaming
Hi @justinlevi , I also use m1 , but I wonder why I could not access websocket using other device in the same network. It will only work if I access this websocket using the same device. Could you give me any suggestion how could you do this?
@justinlevi Can you explain the modification that you made ?
Hey gang, I'm trying to build a websocket server that can take a twilio audio u_law 8khz input hex stream and transcribe it via whisper cpp. I'm a complete c++ idiot so I'm sure I'm doing something really dumb.
I'm on a M1 Mac
Makefile updates for me:
Here's what I have so far:
// examples/stream/server.cpp
Here's a pythonmock streaming client I'm using to test this:
//streaming_client.py
Twilio's payload looks like this which I've modeled in the client stream :