Skip to content

Commit 79d80b8

Browse files
Kauid323QianLin-Jiaxi
authored andcommitted
Update chat-ws-go.jwzhd.com.md
1 parent 743787c commit 79d80b8

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

src/api/wss/chat-ws-go.jwzhd.com.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ info {
434434
seq: "114aaaa" // 请求ID
435435
cmd: "stream_message"
436436
}
437+
437438
data {
438439
any: "type.googleapis.com/proto.StreamMessage" // ProtoBuf 的 any 字段
439440
msg {
@@ -468,3 +469,43 @@ message stream_message {
468469
```
469470

470471
:::
472+
473+
474+
## 用户挂断语音
475+
476+
### 返回数据
477+
478+
```ProtoBuf
479+
info {
480+
seq: "114aaaa" // 请求ID
481+
cmd: "live_video_user_hang_up"
482+
}
483+
484+
data {
485+
any: "type.googleapis.com/proto.LiveMessage" // ProtoBuf 的 any 字段
486+
msg {
487+
msgId: "11451419180" // 语音消息ID
488+
cmd: " live_video_user_hang_up" // 用户挂断语音指令
489+
}
490+
}
491+
```
492+
493+
::: details ProtoBuf数据结构
494+
495+
```proto
496+
// 用户挂起通话消息
497+
message live_video_user_hang_up {
498+
INFO info = 1;
499+
Data data = 2;
500+
501+
message Data {
502+
string any = 1;
503+
UserHangUpMsg msg = 2;
504+
505+
message UserHangUpMsMsg {
506+
string msg_id = 1; // 语音消息id
507+
string cmd = 5; // 指令
508+
}
509+
}
510+
}
511+
```

0 commit comments

Comments
 (0)