@startuml
!include ../diagram-theme.iuml
start
:PCM audio;
:Shared Rust VAD\nprepare an audio window;
if (Inference host?) then (Native)
  :Native ONNX Runtime;
else (Browser)
  :onnxruntime-web;
endif
:Speech probability;
:Shared Rust VAD\nconsume_probability;
:Speech start / continue / end;
stop
@enduml
