anput-api / handler /websocket.go

Commit History

refactor: standardize API response
8a5f1ff

alberdjuniawan commited on

refactor: process audio chunk for llm and frontend
3d77ca7

alberdjuniawan commited on

update websocket to get schema from context
7da8a45

alberdjuniawan commited on

rate limiter module for future scaling (not used)
105ff3d

alberdjuniawan commited on

add sliding window buffer, single writer pattern, hibrid trigger, dirty flag logic, and debouncing.
576e9a7

alberdjuniawan commited on

optimize websocket logic with debouncing and safety guards
35c0011

alberdjuniawan commited on

update websocket to process audio by AIService every 250ms
6d3ab46

alberdjuniawan commited on

update logic buffer to += and sliding windows for audioBuffer length > 60Mb
90517c9

alberdjuniawan commited on

add websocket streaming handler
345a75b

alberdjuniawan commited on