alesaccoia / VoiceStreamAI

Near-Realtime audio transcription using self-hosted Whisper and WebSocket in Python/JS
MIT License
741 stars 107 forks source link

Question about buffering strategies #11

Open AI-General opened 9 months ago

AI-General commented 9 months ago

I am using this code, but I have a question.

src/buffering_strategy/buffering_strategies.py line:87 I can't understand why the following code is needed? self.client.buffer.clear()

Please help me. Thank you.