File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ info {
434434 seq: "114aaaa" // 请求ID
435435 cmd: "stream_message"
436436}
437+
437438data {
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+ ```
You can’t perform that action at this time.
0 commit comments