app-starlock/lib/talk/startChart/proto/talk_expect.proto

24 lines
495 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 预期接收
syntax = "proto3";
package main;
option go_package = "./spb/talk";
message TalkExpect {
// 视频类型
enum VideoTypeE {
NONE_V = 0;
H264 = 1;
IMAGE = 2;
}
// 音频类型
enum AudioTypeE {
NONE_A = 0;
AAC = 1;
G711 = 2;
}
// 如果接收到NONE的话意味着对方关闭了喇叭或者视频显示发送方应该停止发送
// 支持的类型是数组
repeated VideoTypeE VideoType = 1;
repeated AudioTypeE AudioType = 2;
}