alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
882 stars 243 forks source link

webrtc: Several fixes for performance and user friendliness #167

Closed j1elo closed 2 years ago

j1elo commented 2 years ago

webrtc: Several fixes for performance and user friendliness

Several small changes that I made to make the demo look better and work more reliably.

Each change is individually self-contained on its own commit.

Changes in this PR:

README

WebRTC server

Demo HTML

nshmyrev commented 2 years ago

Amazing. Huge thanks!

j1elo commented 2 years ago

You're welcome! Actually thank you a lot, for maintaining this server. It wouldn't have occurred to me that aiortc provides a non-standard track.recv() method to retrieve already uncompressed audio frames! That's so useful to avoid a decoding step between WebRTC (OPUS audio) and the Vosk recognizer.