415 lines
14 KiB
Go
415 lines
14 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.28.1
|
||
|
// protoc v4.22.0
|
||
|
// source: signaling.proto
|
||
|
|
||
|
package signal_server
|
||
|
|
||
|
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 {
|
||
|
return file_signaling_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (SDPMessageType) Type() protoreflect.EnumType {
|
||
|
return &file_signaling_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x SDPMessageType) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use SDPMessageType.Descriptor instead.
|
||
|
func (SDPMessageType) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_signaling_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type SDPMessage struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
SDP string `protobuf:"bytes,1,opt,name=SDP,proto3" json:"SDP,omitempty"`
|
||
|
Type SDPMessageType `protobuf:"varint,2,opt,name=Type,proto3,enum=SDPMessageType" json:"Type,omitempty"`
|
||
|
Sender string `protobuf:"bytes,3,opt,name=Sender,proto3" json:"Sender,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *SDPMessage) Reset() {
|
||
|
*x = SDPMessage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_signaling_proto_msgTypes[0]
|
||
|
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 {
|
||
|
mi := &file_signaling_proto_msgTypes[0]
|
||
|
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) {
|
||
|
return file_signaling_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
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:
|
||
|
//
|
||
|
// *SignalingMessage_DiscoverRequest
|
||
|
// *SignalingMessage_DiscoverResponse
|
||
|
// *SignalingMessage_SessionOffer
|
||
|
// *SignalingMessage_SessionAnswer
|
||
|
Message isSignalingMessage_Message `protobuf_oneof:"Message"`
|
||
|
}
|
||
|
|
||
|
func (x *SignalingMessage) Reset() {
|
||
|
*x = SignalingMessage{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_signaling_proto_msgTypes[1]
|
||
|
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 {
|
||
|
mi := &file_signaling_proto_msgTypes[1]
|
||
|
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) {
|
||
|
return file_signaling_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|
||
|
|
||
|
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()
|
||
|
}
|
||
|
|
||
|
type SignalingMessage_DiscoverRequest struct {
|
||
|
DiscoverRequest *emptypb.Empty `protobuf:"bytes,10,opt,name=DiscoverRequest,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type SignalingMessage_DiscoverResponse struct {
|
||
|
DiscoverResponse *emptypb.Empty `protobuf:"bytes,11,opt,name=DiscoverResponse,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type SignalingMessage_SessionOffer struct {
|
||
|
SessionOffer *SDPMessage `protobuf:"bytes,12,opt,name=SessionOffer,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type SignalingMessage_SessionAnswer struct {
|
||
|
SessionAnswer *SDPMessage `protobuf:"bytes,13,opt,name=SessionAnswer,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*SignalingMessage_DiscoverRequest) isSignalingMessage_Message() {}
|
||
|
|
||
|
func (*SignalingMessage_DiscoverResponse) isSignalingMessage_Message() {}
|
||
|
|
||
|
func (*SignalingMessage_SessionOffer) isSignalingMessage_Message() {}
|
||
|
|
||
|
func (*SignalingMessage_SessionAnswer) isSignalingMessage_Message() {}
|
||
|
|
||
|
var File_signaling_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_signaling_proto_rawDesc = []byte{
|
||
|
0x0a, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||
|
0x6f, 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, 0x5b,
|
||
|
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, 0x23,
|
||
|
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 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, 0xe9, 0x02, 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, 0x42, 0x0a,
|
||
|
0x0f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
|
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, 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, 0x0b, 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, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69,
|
||
|
0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 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, 0x33, 0x0a, 0x0d, 0x53, 0x65,
|
||
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x0b, 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, 0x40, 0x0a, 0x09, 0x53, 0x69, 0x67,
|
||
|
0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
|
||
|
0x74, 0x12, 0x11, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73,
|
||
|
0x73, 0x61, 0x67, 0x65, 0x1a, 0x11, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67,
|
||
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x56, 0x5a, 0x54, 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, 0x2d, 0x73, 0x65, 0x72,
|
||
|
0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_signaling_proto_rawDescOnce sync.Once
|
||
|
file_signaling_proto_rawDescData = file_signaling_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_signaling_proto_rawDescGZIP() []byte {
|
||
|
file_signaling_proto_rawDescOnce.Do(func() {
|
||
|
file_signaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_signaling_proto_rawDescData)
|
||
|
})
|
||
|
return file_signaling_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_signaling_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_signaling_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||
|
var file_signaling_proto_goTypes = []interface{}{
|
||
|
(SDPMessageType)(0), // 0: SDPMessageType
|
||
|
(*SDPMessage)(nil), // 1: SDPMessage
|
||
|
(*SignalingMessage)(nil), // 2: SignalingMessage
|
||
|
(*emptypb.Empty)(nil), // 3: google.protobuf.Empty
|
||
|
}
|
||
|
var file_signaling_proto_depIdxs = []int32{
|
||
|
0, // 0: SDPMessage.Type:type_name -> SDPMessageType
|
||
|
3, // 1: SignalingMessage.DiscoverRequest:type_name -> google.protobuf.Empty
|
||
|
3, // 2: SignalingMessage.DiscoverResponse:type_name -> google.protobuf.Empty
|
||
|
1, // 3: SignalingMessage.SessionOffer:type_name -> SDPMessage
|
||
|
1, // 4: SignalingMessage.SessionAnswer:type_name -> SDPMessage
|
||
|
2, // 5: Signaling.Connect:input_type -> SignalingMessage
|
||
|
2, // 6: Signaling.Connect:output_type -> SignalingMessage
|
||
|
6, // [6:7] is the sub-list for method output_type
|
||
|
5, // [5:6] is the sub-list for method input_type
|
||
|
5, // [5:5] is the sub-list for extension type_name
|
||
|
5, // [5:5] is the sub-list for extension extendee
|
||
|
0, // [0:5] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_signaling_proto_init() }
|
||
|
func file_signaling_proto_init() {
|
||
|
if File_signaling_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_signaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*SDPMessage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_signaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*SignalingMessage); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
file_signaling_proto_msgTypes[1].OneofWrappers = []interface{}{
|
||
|
(*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(),
|
||
|
RawDescriptor: file_signaling_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 2,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_signaling_proto_goTypes,
|
||
|
DependencyIndexes: file_signaling_proto_depIdxs,
|
||
|
EnumInfos: file_signaling_proto_enumTypes,
|
||
|
MessageInfos: file_signaling_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_signaling_proto = out.File
|
||
|
file_signaling_proto_rawDesc = nil
|
||
|
file_signaling_proto_goTypes = nil
|
||
|
file_signaling_proto_depIdxs = nil
|
||
|
}
|