雾聪
2023-08-10 ffb05b9ae7eccc47416e9e7fae9dea54d400a245
funasr/runtime/docs/websocket_protocol.md
@@ -1,6 +1,8 @@
([简体中文](./websocket_protocol_zh.md)|English)
# WebSocket/gRPC Communication Protocol
This protocol is the communication protocol for the FunASR software package, which includes offline file transcription ([deployment document](./SDK_tutorial.md)) and real-time speech recognition ([deployment document](./SDK_tutorial_online.md)).
## Offline File Transcription
### Sending Data from Client to Server
#### Message Format
@@ -45,7 +47,7 @@
## Real-time Speech Recognition
### System Architecture Diagram
<div align="left"><img src="images/2pass.jpg" width="400"/></div>
<div align="left"><img src="images/2pass.jpg" width="600"/></div>
### Sending Data from Client to Server
#### Message Format