Add java websocket support (#137)
* add decode example for mic * some changes to README.md * add java websocket srv * change to readwav to static * make some changes to code comments * little change for readme.md * fix bug about multiple threads * made little modification * add protocol in readme, removed static Queue and add lmConfig --------- Co-authored-by: root <root@localhost.localdomain>
This commit is contained in:
@@ -9,6 +9,17 @@ decoder=/sherpa-onnx/build_old/bin/sherpa-onnx-streaming-zipformer-bilingual-zh-
|
||||
joiner=/sherpa-onnx/build_old/bin/sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20/joiner-epoch-99-avg-1.onnx
|
||||
tokens=/sherpa-onnx/build_old/bin/sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20/tokens.txt
|
||||
num_threads=4
|
||||
enable_endpoint_detection=false
|
||||
enable_endpoint_detection=true
|
||||
decoding_method=modified_beam_search
|
||||
max_active_paths=4
|
||||
max_active_paths=4
|
||||
lm_model=
|
||||
lm_scale=0.5
|
||||
|
||||
#websocket server config
|
||||
port=8890
|
||||
connection_thread_num=16
|
||||
stream_thread_num=16
|
||||
decoder_thread_num=16
|
||||
parallel_decoder_num=16
|
||||
decoder_time_idle=200
|
||||
deocder_time_out=30000
|
||||
|
||||
Reference in New Issue
Block a user