MCPcopy
hub / github.com/collabora/WhisperLive / start

Method start

whisper_live/batch_inference.py:124–131  ·  view source on GitHub ↗

Start the background batch worker thread.

(self)

Source from the content-addressed store, hash-verified

122 self._thread: Optional[threading.Thread] = None
123
124 def start(self):
125 """Start the background batch worker thread."""
126 self._thread = threading.Thread(target=self._worker_loop, daemon=True)
127 self._thread.start()
128 logging.info(
129 f"[BatchInference] Started (max_batch={self.max_batch_size}, "
130 f"window={self.batch_window_ms}ms)"
131 )
132
133 def stop(self):
134 """Signal the worker to stop and wait for it to finish."""

Callers 14

initialize_clientMethod · 0.95
setUpClassMethod · 0.80
setUpMethod · 0.80
__init__Method · 0.80
on_closeMethod · 0.80
save_chunkMethod · 0.80
runMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 6

setUpClassMethod · 0.64
setUpMethod · 0.64