|
|
@ -1,10 +1,10 @@
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
// protoc-gen-go v1.29.0
|
|
|
|
// protoc v4.22.0
|
|
|
|
// protoc v3.21.8
|
|
|
|
// source: signaling.proto
|
|
|
|
// source: pkg/proto/signaling/signaling.proto
|
|
|
|
|
|
|
|
|
|
|
|
package signal_server
|
|
|
|
package signaling
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
@ -57,11 +57,11 @@ func (x SDPMessageType) String() string {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (SDPMessageType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
func (SDPMessageType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_signaling_proto_enumTypes[0].Descriptor()
|
|
|
|
return file_pkg_proto_signaling_signaling_proto_enumTypes[0].Descriptor()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (SDPMessageType) Type() protoreflect.EnumType {
|
|
|
|
func (SDPMessageType) Type() protoreflect.EnumType {
|
|
|
|
return &file_signaling_proto_enumTypes[0]
|
|
|
|
return &file_pkg_proto_signaling_signaling_proto_enumTypes[0]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x SDPMessageType) Number() protoreflect.EnumNumber {
|
|
|
|
func (x SDPMessageType) Number() protoreflect.EnumNumber {
|
|
|
@ -70,7 +70,7 @@ func (x SDPMessageType) Number() protoreflect.EnumNumber {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SDPMessageType.Descriptor instead.
|
|
|
|
// Deprecated: Use SDPMessageType.Descriptor instead.
|
|
|
|
func (SDPMessageType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
func (SDPMessageType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_signaling_proto_rawDescGZIP(), []int{0}
|
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SDPMessage struct {
|
|
|
|
type SDPMessage struct {
|
|
|
@ -86,7 +86,7 @@ type SDPMessage struct {
|
|
|
|
func (x *SDPMessage) Reset() {
|
|
|
|
func (x *SDPMessage) Reset() {
|
|
|
|
*x = SDPMessage{}
|
|
|
|
*x = SDPMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_signaling_proto_msgTypes[0]
|
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -99,7 +99,7 @@ func (x *SDPMessage) String() string {
|
|
|
|
func (*SDPMessage) ProtoMessage() {}
|
|
|
|
func (*SDPMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SDPMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *SDPMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_signaling_proto_msgTypes[0]
|
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -112,7 +112,7 @@ func (x *SDPMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SDPMessage.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use SDPMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SDPMessage) Descriptor() ([]byte, []int) {
|
|
|
|
func (*SDPMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_signaling_proto_rawDescGZIP(), []int{0}
|
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SDPMessage) GetSDP() string {
|
|
|
|
func (x *SDPMessage) GetSDP() string {
|
|
|
@ -157,7 +157,7 @@ type SignalingMessage struct {
|
|
|
|
func (x *SignalingMessage) Reset() {
|
|
|
|
func (x *SignalingMessage) Reset() {
|
|
|
|
*x = SignalingMessage{}
|
|
|
|
*x = SignalingMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_signaling_proto_msgTypes[1]
|
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -170,7 +170,7 @@ func (x *SignalingMessage) String() string {
|
|
|
|
func (*SignalingMessage) ProtoMessage() {}
|
|
|
|
func (*SignalingMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SignalingMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *SignalingMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_signaling_proto_msgTypes[1]
|
|
|
|
mi := &file_pkg_proto_signaling_signaling_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -183,7 +183,7 @@ func (x *SignalingMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SignalingMessage.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use SignalingMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SignalingMessage) Descriptor() ([]byte, []int) {
|
|
|
|
func (*SignalingMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_signaling_proto_rawDescGZIP(), []int{1}
|
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SignalingMessage) GetRoom() string {
|
|
|
|
func (x *SignalingMessage) GetRoom() string {
|
|
|
@ -283,82 +283,83 @@ func (*SignalingMessage_SessionOffer) isSignalingMessage_Message() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SignalingMessage_SessionAnswer) isSignalingMessage_Message() {}
|
|
|
|
func (*SignalingMessage_SessionAnswer) isSignalingMessage_Message() {}
|
|
|
|
|
|
|
|
|
|
|
|
var File_signaling_proto protoreflect.FileDescriptor
|
|
|
|
var File_pkg_proto_signaling_signaling_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
var file_signaling_proto_rawDesc = []byte{
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x0a, 0x23, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x69, 0x67, 0x6e,
|
|
|
|
0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
|
|
|
|
0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
|
|
|
|
0x0a, 0x0a, 0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x53, 0x44, 0x50, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x53, 0x44, 0x50, 0x12, 0x23,
|
|
|
|
0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x0a, 0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x53,
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x53, 0x44, 0x50, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x53,
|
|
|
|
0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x54,
|
|
|
|
0x44, 0x50, 0x12, 0x23, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
|
|
|
|
0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20,
|
|
|
|
0x32, 0x0f, 0x2e, 0x53, 0x44, 0x50, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0xa1, 0x03, 0x0a, 0x10,
|
|
|
|
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,
|
|
|
|
|
|
|
|
0xa1, 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, 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, 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, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4f, 0x66,
|
|
|
|
|
|
|
|
0x66, 0x65, 0x72, 0x18, 0x0d, 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, 0x0e, 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,
|
|
|
|
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,
|
|
|
|
0x1a, 0x11, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73,
|
|
|
|
0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02,
|
|
|
|
0x61, 0x67, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x52, 0x5a, 0x50, 0x67, 0x69, 0x74, 0x2e, 0x6a,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x08,
|
|
|
|
0x65, 0x66, 0x66, 0x74, 0x68, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x78, 0x79, 0x7a, 0x2f,
|
|
|
|
0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01,
|
|
|
|
0x67, 0x75, 0x6f, 0x63, 0x68, 0x61, 0x6f, 0x2f, 0x6d, 0x65, 0x6f, 0x77, 0x2d, 0x73, 0x69, 0x67,
|
|
|
|
0x52, 0x08, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a,
|
|
|
|
0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x6a, 0x65, 0x66, 0x66, 0x74, 0x68, 0x65, 0x63, 0x6f,
|
|
|
|
0x09, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x64, 0x65, 0x72, 0x2e, 0x78, 0x79, 0x7a, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x6f, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
|
|
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, 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, 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,
|
|
|
|
|
|
|
|
0x31, 0x0a, 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x18,
|
|
|
|
|
|
|
|
0x0d, 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, 0x0e, 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,
|
|
|
|
0x74, 0x6f, 0x33,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
file_signaling_proto_rawDescOnce sync.Once
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescOnce sync.Once
|
|
|
|
file_signaling_proto_rawDescData = file_signaling_proto_rawDesc
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescData = file_pkg_proto_signaling_signaling_proto_rawDesc
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func file_signaling_proto_rawDescGZIP() []byte {
|
|
|
|
func file_pkg_proto_signaling_signaling_proto_rawDescGZIP() []byte {
|
|
|
|
file_signaling_proto_rawDescOnce.Do(func() {
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescOnce.Do(func() {
|
|
|
|
file_signaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_signaling_proto_rawDescData)
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_proto_signaling_signaling_proto_rawDescData)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return file_signaling_proto_rawDescData
|
|
|
|
return file_pkg_proto_signaling_signaling_proto_rawDescData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_signaling_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_signaling_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
|
var file_signaling_proto_goTypes = []interface{}{
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_goTypes = []interface{}{
|
|
|
|
(SDPMessageType)(0), // 0: SDPMessageType
|
|
|
|
(SDPMessageType)(0), // 0: SDPMessageType
|
|
|
|
(*SDPMessage)(nil), // 1: SDPMessage
|
|
|
|
(*SDPMessage)(nil), // 1: SDPMessage
|
|
|
|
(*SignalingMessage)(nil), // 2: SignalingMessage
|
|
|
|
(*SignalingMessage)(nil), // 2: SignalingMessage
|
|
|
|
(*emptypb.Empty)(nil), // 3: google.protobuf.Empty
|
|
|
|
(*emptypb.Empty)(nil), // 3: google.protobuf.Empty
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var file_signaling_proto_depIdxs = []int32{
|
|
|
|
var file_pkg_proto_signaling_signaling_proto_depIdxs = []int32{
|
|
|
|
0, // 0: SDPMessage.Type:type_name -> SDPMessageType
|
|
|
|
0, // 0: SDPMessage.Type:type_name -> SDPMessageType
|
|
|
|
3, // 1: SignalingMessage.Bootstrap:type_name -> google.protobuf.Empty
|
|
|
|
3, // 1: SignalingMessage.Bootstrap:type_name -> google.protobuf.Empty
|
|
|
|
3, // 2: SignalingMessage.DiscoverRequest:type_name -> google.protobuf.Empty
|
|
|
|
3, // 2: SignalingMessage.DiscoverRequest:type_name -> google.protobuf.Empty
|
|
|
@ -374,13 +375,13 @@ var file_signaling_proto_depIdxs = []int32{
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_signaling_proto_init() }
|
|
|
|
func init() { file_pkg_proto_signaling_signaling_proto_init() }
|
|
|
|
func file_signaling_proto_init() {
|
|
|
|
func file_pkg_proto_signaling_signaling_proto_init() {
|
|
|
|
if File_signaling_proto != nil {
|
|
|
|
if File_pkg_proto_signaling_signaling_proto != nil {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_signaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_pkg_proto_signaling_signaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SDPMessage); i {
|
|
|
|
switch v := v.(*SDPMessage); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
@ -392,7 +393,7 @@ func file_signaling_proto_init() {
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_signaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_pkg_proto_signaling_signaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SignalingMessage); i {
|
|
|
|
switch v := v.(*SignalingMessage); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
@ -405,7 +406,7 @@ func file_signaling_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_signaling_proto_msgTypes[1].OneofWrappers = []interface{}{
|
|
|
|
file_pkg_proto_signaling_signaling_proto_msgTypes[1].OneofWrappers = []interface{}{
|
|
|
|
(*SignalingMessage_Bootstrap)(nil),
|
|
|
|
(*SignalingMessage_Bootstrap)(nil),
|
|
|
|
(*SignalingMessage_DiscoverRequest)(nil),
|
|
|
|
(*SignalingMessage_DiscoverRequest)(nil),
|
|
|
|
(*SignalingMessage_DiscoverResponse)(nil),
|
|
|
|
(*SignalingMessage_DiscoverResponse)(nil),
|
|
|
@ -416,19 +417,19 @@ func file_signaling_proto_init() {
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_signaling_proto_rawDesc,
|
|
|
|
RawDescriptor: file_pkg_proto_signaling_signaling_proto_rawDesc,
|
|
|
|
NumEnums: 1,
|
|
|
|
NumEnums: 1,
|
|
|
|
NumMessages: 2,
|
|
|
|
NumMessages: 2,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
GoTypes: file_signaling_proto_goTypes,
|
|
|
|
GoTypes: file_pkg_proto_signaling_signaling_proto_goTypes,
|
|
|
|
DependencyIndexes: file_signaling_proto_depIdxs,
|
|
|
|
DependencyIndexes: file_pkg_proto_signaling_signaling_proto_depIdxs,
|
|
|
|
EnumInfos: file_signaling_proto_enumTypes,
|
|
|
|
EnumInfos: file_pkg_proto_signaling_signaling_proto_enumTypes,
|
|
|
|
MessageInfos: file_signaling_proto_msgTypes,
|
|
|
|
MessageInfos: file_pkg_proto_signaling_signaling_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
}.Build()
|
|
|
|
File_signaling_proto = out.File
|
|
|
|
File_pkg_proto_signaling_signaling_proto = out.File
|
|
|
|
file_signaling_proto_rawDesc = nil
|
|
|
|
file_pkg_proto_signaling_signaling_proto_rawDesc = nil
|
|
|
|
file_signaling_proto_goTypes = nil
|
|
|
|
file_pkg_proto_signaling_signaling_proto_goTypes = nil
|
|
|
|
file_signaling_proto_depIdxs = nil
|
|
|
|
file_pkg_proto_signaling_signaling_proto_depIdxs = nil
|
|
|
|
}
|
|
|
|
}
|