2023-03-02 00:35:09 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-04-07 11:12:06 +08:00
|
|
|
// protoc-gen-go v1.29.0
|
|
|
|
// protoc v3.21.8
|
|
|
|
// source: pkg/proto/signaling/signaling.proto
|
2023-03-02 00:35:09 +08:00
|
|
|
|
2023-04-07 11:12:06 +08:00
|
|
|
package signaling
|
2023-03-02 00:35:09 +08:00
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
|
|
|
|
|
|
|
type SDPMessageType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
SDPMessageType_Video SDPMessageType = 0
|
|
|
|
SDPMessageType_Audio SDPMessageType = 1
|
|
|
|
SDPMessageType_VideoAudio SDPMessageType = 2
|
|
|
|
SDPMessageType_Data SDPMessageType = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// Enum value maps for SDPMessageType.
|
|
|
|
var (
|
|
|
|
SDPMessageType_name = map[int32]string{
|
|
|
|
0: "Video",
|
|
|
|
1: "Audio",
|
|
|
|
2: "VideoAudio",
|
|
|
|
3: "Data",
|
|
|
|
}
|
|
|
|
SDPMessageType_value = map[string]int32{
|
|
|
|
"Video": 0,
|
|
|
|
"Audio": 1,
|
|
|
|
"VideoAudio": 2,
|
|
|
|
"Data": 3,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
func (x SDPMessageType) Enum() *SDPMessageType {
|
|
|
|
p := new(SDPMessageType)
|
|
|
|
*p = x
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x SDPMessageType) String() string {
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (SDPMessageType) Descriptor() protoreflect.EnumDescriptor {
|
2023-04-07 11:12:06 +08:00
|
|
|
return file_pkg_proto_signaling_signaling_proto_enumTypes[0].Descriptor()
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (SDPMessageType) Type() protoreflect.EnumType {
|
2023-04-07 11:12:06 +08:00
|
|
|
return &file_pkg_proto_signaling_signaling_proto_enumTypes[0]
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x SDPMessageType) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SDPMessageType.Descriptor instead.
|
|
|
|
func (SDPMessageType) EnumDescriptor() ([]byte, []int) {
|
2023-04-07 11:12:06 +08:00
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescGZIP(), []int{0}
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type SDPMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
SDP string `protobuf:"bytes,1,opt,name=SDP,proto3" json:"SDP,omitempty"`
|
2023-04-28 00:20:36 +08:00
|
|
|
Type SDPMessageType `protobuf:"varint,2,opt,name=Type,proto3,enum=signaling.SDPMessageType" json:"Type,omitempty"`
|
2023-03-02 00:35:09 +08:00
|
|
|
Sender string `protobuf:"bytes,3,opt,name=Sender,proto3" json:"Sender,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SDPMessage) Reset() {
|
|
|
|
*x = SDPMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-04-07 11:12:06 +08:00
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[0]
|
2023-03-02 00:35:09 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SDPMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SDPMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SDPMessage) ProtoReflect() protoreflect.Message {
|
2023-04-07 11:12:06 +08:00
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[0]
|
2023-03-02 00:35:09 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SDPMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SDPMessage) Descriptor() ([]byte, []int) {
|
2023-04-07 11:12:06 +08:00
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescGZIP(), []int{0}
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SDPMessage) GetSDP() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.SDP
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SDPMessage) GetType() SDPMessageType {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
|
|
|
}
|
|
|
|
return SDPMessageType_Video
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SDPMessage) GetSender() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sender
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type SignalingMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Room string `protobuf:"bytes,1,opt,name=Room,proto3" json:"Room,omitempty"`
|
|
|
|
Sender string `protobuf:"bytes,2,opt,name=Sender,proto3" json:"Sender,omitempty"`
|
|
|
|
Receiver *string `protobuf:"bytes,3,opt,name=Receiver,proto3,oneof" json:"Receiver,omitempty"`
|
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
2023-03-02 23:33:29 +08:00
|
|
|
// *SignalingMessage_Bootstrap
|
2023-03-02 00:35:09 +08:00
|
|
|
// *SignalingMessage_DiscoverRequest
|
|
|
|
// *SignalingMessage_DiscoverResponse
|
|
|
|
// *SignalingMessage_SessionOffer
|
|
|
|
// *SignalingMessage_SessionAnswer
|
|
|
|
Message isSignalingMessage_Message `protobuf_oneof:"Message"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) Reset() {
|
|
|
|
*x = SignalingMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-04-07 11:12:06 +08:00
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[1]
|
2023-03-02 00:35:09 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SignalingMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) ProtoReflect() protoreflect.Message {
|
2023-04-07 11:12:06 +08:00
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[1]
|
2023-03-02 00:35:09 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SignalingMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SignalingMessage) Descriptor() ([]byte, []int) {
|
2023-04-07 11:12:06 +08:00
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescGZIP(), []int{1}
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetRoom() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Room
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetSender() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sender
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetReceiver() string {
|
|
|
|
if x != nil && x.Receiver != nil {
|
|
|
|
return *x.Receiver
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalingMessage) GetMessage() isSignalingMessage_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-02 23:33:29 +08:00
|
|
|
func (x *SignalingMessage) GetBootstrap() *emptypb.Empty {
|
|
|
|
if x, ok := x.GetMessage().(*SignalingMessage_Bootstrap); ok {
|
|
|
|
return x.Bootstrap
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-02 00:35:09 +08:00
|
|
|
func (x *SignalingMessage) GetDiscoverRequest() *emptypb.Empty {
|
|
|
|
if x, ok := x.GetMessage().(*SignalingMessage_DiscoverRequest); ok {
|
|
|
|
return x.DiscoverRequest
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetDiscoverResponse() *emptypb.Empty {
|
|
|
|
if x, ok := x.GetMessage().(*SignalingMessage_DiscoverResponse); ok {
|
|
|
|
return x.DiscoverResponse
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetSessionOffer() *SDPMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SignalingMessage_SessionOffer); ok {
|
|
|
|
return x.SessionOffer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetSessionAnswer() *SDPMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SignalingMessage_SessionAnswer); ok {
|
|
|
|
return x.SessionAnswer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type isSignalingMessage_Message interface {
|
|
|
|
isSignalingMessage_Message()
|
|
|
|
}
|
|
|
|
|
2023-03-02 23:33:29 +08:00
|
|
|
type SignalingMessage_Bootstrap struct {
|
|
|
|
Bootstrap *emptypb.Empty `protobuf:"bytes,10,opt,name=Bootstrap,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
2023-03-02 00:35:09 +08:00
|
|
|
type SignalingMessage_DiscoverRequest struct {
|
2023-03-02 23:33:29 +08:00
|
|
|
DiscoverRequest *emptypb.Empty `protobuf:"bytes,11,opt,name=DiscoverRequest,proto3,oneof"`
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type SignalingMessage_DiscoverResponse struct {
|
2023-03-02 23:33:29 +08:00
|
|
|
DiscoverResponse *emptypb.Empty `protobuf:"bytes,12,opt,name=DiscoverResponse,proto3,oneof"`
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type SignalingMessage_SessionOffer struct {
|
2023-03-02 23:33:29 +08:00
|
|
|
SessionOffer *SDPMessage `protobuf:"bytes,13,opt,name=SessionOffer,proto3,oneof"`
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type SignalingMessage_SessionAnswer struct {
|
2023-03-02 23:33:29 +08:00
|
|
|
SessionAnswer *SDPMessage `protobuf:"bytes,14,opt,name=SessionAnswer,proto3,oneof"`
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
2023-03-02 23:33:29 +08:00
|
|
|
func (*SignalingMessage_Bootstrap) isSignalingMessage_Message() {}
|
|
|
|
|
2023-03-02 00:35:09 +08:00
|
|
|
func (*SignalingMessage_DiscoverRequest) isSignalingMessage_Message() {}
|
|
|
|
|
|
|
|
func (*SignalingMessage_DiscoverResponse) isSignalingMessage_Message() {}
|
|
|
|
|
|
|
|
func (*SignalingMessage_SessionOffer) isSignalingMessage_Message() {}
|
|
|
|
|
|
|
|
func (*SignalingMessage_SessionAnswer) isSignalingMessage_Message() {}
|
|
|
|
|
2023-04-07 11:12:06 +08:00
|
|
|
var File_pkg_proto_signaling_signaling_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x23, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x69, 0x67, 0x6e,
|
|
|
|
0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
|
2023-04-28 00:20:36 +08:00
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67,
|
|
|
|
0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a,
|
|
|
|
0x0a, 0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53,
|
|
|
|
0x44, 0x50, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x53, 0x44, 0x50, 0x12, 0x2d, 0x0a,
|
|
|
|
0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x73, 0x69,
|
|
|
|
0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65,
|
|
|
|
0x6e, 0x64, 0x65, 0x72, 0x22, 0xb5, 0x03, 0x0a, 0x10, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69,
|
|
|
|
0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x6f, 0x6f,
|
|
|
|
0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x0a,
|
|
|
|
0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53,
|
|
|
|
0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
|
|
|
|
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x52, 0x65, 0x63, 0x65, 0x69,
|
|
|
|
0x76, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74,
|
|
|
|
0x72, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
|
|
|
0x79, 0x48, 0x00, 0x52, 0x09, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x42,
|
|
|
|
0x0a, 0x0f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
2023-04-07 11:12:06 +08:00
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x48,
|
2023-04-28 00:20:36 +08:00
|
|
|
0x00, 0x52, 0x0f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x12, 0x44, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
|
|
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
|
|
|
|
0x6d, 0x70, 0x74, 0x79, 0x48, 0x00, 0x52, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x53, 0x65, 0x73, 0x73,
|
|
|
|
0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
|
|
|
|
0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x44, 0x50, 0x4d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
0x4f, 0x66, 0x66, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73,
|
|
|
|
0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73,
|
|
|
|
0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6e,
|
|
|
|
0x73, 0x77, 0x65, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42,
|
|
|
|
0x0b, 0x0a, 0x09, 0x5f, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x2a, 0x40, 0x0a, 0x0e,
|
|
|
|
0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09,
|
|
|
|
0x0a, 0x05, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x75, 0x64,
|
|
|
|
0x69, 0x6f, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x75, 0x64,
|
|
|
|
0x69, 0x6f, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x10, 0x03, 0x32, 0x50,
|
|
|
|
0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x43, 0x0a, 0x03, 0x42,
|
|
|
|
0x69, 0x75, 0x12, 0x1b, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x53,
|
|
|
|
0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a,
|
|
|
|
0x1b, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x67, 0x6e,
|
|
|
|
0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x28, 0x01, 0x30, 0x01,
|
|
|
|
0x42, 0x52, 0x5a, 0x50, 0x67, 0x69, 0x74, 0x2e, 0x6a, 0x65, 0x66, 0x66, 0x74, 0x68, 0x65, 0x63,
|
|
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x78, 0x79, 0x7a, 0x2f, 0x67, 0x75, 0x6f, 0x63, 0x68, 0x61, 0x6f,
|
|
|
|
0x2f, 0x6d, 0x65, 0x6f, 0x77, 0x2d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
|
|
|
|
0x6a, 0x65, 0x66, 0x66, 0x74, 0x68, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x78, 0x79, 0x7a,
|
|
|
|
0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61,
|
|
|
|
0x6c, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2023-04-07 11:12:06 +08:00
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescOnce sync.Once
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescData = file_pkg_proto_signaling_signaling_proto_rawDesc
|
2023-03-02 00:35:09 +08:00
|
|
|
)
|
|
|
|
|
2023-04-07 11:12:06 +08:00
|
|
|
func file_pkg_proto_signaling_signaling_proto_rawDescGZIP() []byte {
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescOnce.Do(func() {
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_proto_signaling_signaling_proto_rawDescData)
|
2023-03-02 00:35:09 +08:00
|
|
|
})
|
2023-04-07 11:12:06 +08:00
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescData
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
2023-04-07 11:12:06 +08:00
|
|
|
var file_pkg_proto_signaling_signaling_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_goTypes = []interface{}{
|
2023-04-28 00:20:36 +08:00
|
|
|
(SDPMessageType)(0), // 0: signaling.SDPMessageType
|
|
|
|
(*SDPMessage)(nil), // 1: signaling.SDPMessage
|
|
|
|
(*SignalingMessage)(nil), // 2: signaling.SignalingMessage
|
2023-03-02 00:35:09 +08:00
|
|
|
(*emptypb.Empty)(nil), // 3: google.protobuf.Empty
|
|
|
|
}
|
2023-04-07 11:12:06 +08:00
|
|
|
var file_pkg_proto_signaling_signaling_proto_depIdxs = []int32{
|
2023-04-28 00:20:36 +08:00
|
|
|
0, // 0: signaling.SDPMessage.Type:type_name -> signaling.SDPMessageType
|
|
|
|
3, // 1: signaling.SignalingMessage.Bootstrap:type_name -> google.protobuf.Empty
|
|
|
|
3, // 2: signaling.SignalingMessage.DiscoverRequest:type_name -> google.protobuf.Empty
|
|
|
|
3, // 3: signaling.SignalingMessage.DiscoverResponse:type_name -> google.protobuf.Empty
|
|
|
|
1, // 4: signaling.SignalingMessage.SessionOffer:type_name -> signaling.SDPMessage
|
|
|
|
1, // 5: signaling.SignalingMessage.SessionAnswer:type_name -> signaling.SDPMessage
|
|
|
|
2, // 6: signaling.Signaling.Biu:input_type -> signaling.SignalingMessage
|
|
|
|
2, // 7: signaling.Signaling.Biu:output_type -> signaling.SignalingMessage
|
2023-03-02 23:33:29 +08:00
|
|
|
7, // [7:8] is the sub-list for method output_type
|
|
|
|
6, // [6:7] is the sub-list for method input_type
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|
|
|
|
|
2023-04-07 11:12:06 +08:00
|
|
|
func init() { file_pkg_proto_signaling_signaling_proto_init() }
|
|
|
|
func file_pkg_proto_signaling_signaling_proto_init() {
|
|
|
|
if File_pkg_proto_signaling_signaling_proto != nil {
|
2023-03-02 00:35:09 +08:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2023-04-07 11:12:06 +08:00
|
|
|
file_pkg_proto_signaling_signaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2023-03-02 00:35:09 +08:00
|
|
|
switch v := v.(*SDPMessage); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-04-07 11:12:06 +08:00
|
|
|
file_pkg_proto_signaling_signaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2023-03-02 00:35:09 +08:00
|
|
|
switch v := v.(*SignalingMessage); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-04-07 11:12:06 +08:00
|
|
|
file_pkg_proto_signaling_signaling_proto_msgTypes[1].OneofWrappers = []interface{}{
|
2023-03-02 23:33:29 +08:00
|
|
|
(*SignalingMessage_Bootstrap)(nil),
|
2023-03-02 00:35:09 +08:00
|
|
|
(*SignalingMessage_DiscoverRequest)(nil),
|
|
|
|
(*SignalingMessage_DiscoverResponse)(nil),
|
|
|
|
(*SignalingMessage_SessionOffer)(nil),
|
|
|
|
(*SignalingMessage_SessionAnswer)(nil),
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2023-04-07 11:12:06 +08:00
|
|
|
RawDescriptor: file_pkg_proto_signaling_signaling_proto_rawDesc,
|
2023-03-02 00:35:09 +08:00
|
|
|
NumEnums: 1,
|
|
|
|
NumMessages: 2,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
2023-04-07 11:12:06 +08:00
|
|
|
GoTypes: file_pkg_proto_signaling_signaling_proto_goTypes,
|
|
|
|
DependencyIndexes: file_pkg_proto_signaling_signaling_proto_depIdxs,
|
|
|
|
EnumInfos: file_pkg_proto_signaling_signaling_proto_enumTypes,
|
|
|
|
MessageInfos: file_pkg_proto_signaling_signaling_proto_msgTypes,
|
2023-03-02 00:35:09 +08:00
|
|
|
}.Build()
|
2023-04-07 11:12:06 +08:00
|
|
|
File_pkg_proto_signaling_signaling_proto = out.File
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDesc = nil
|
|
|
|
file_pkg_proto_signaling_signaling_proto_goTypes = nil
|
|
|
|
file_pkg_proto_signaling_signaling_proto_depIdxs = nil
|
2023-03-02 00:35:09 +08:00
|
|
|
}
|