1111 lines
37 KiB
Go
1111 lines
37 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v6.30.1
|
|
// source: event.proto
|
|
|
|
package grpc
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
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 Event struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to EventType:
|
|
//
|
|
// *Event_AppStateChanged
|
|
// *Event_DestinationStreamExited
|
|
// *Event_DestinationAdded
|
|
// *Event_AddDestinationFailed
|
|
// *Event_DestinationRemoved
|
|
// *Event_RemoveDestinationFailed
|
|
// *Event_StartDestinationFailed
|
|
// *Event_MediaServerStarted
|
|
// *Event_OtherInstanceDetected
|
|
// *Event_FatalError
|
|
// *Event_HandshakeCompleted
|
|
EventType isEvent_EventType `protobuf_oneof:"event_type"`
|
|
}
|
|
|
|
func (x *Event) Reset() {
|
|
*x = Event{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Event) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Event) ProtoMessage() {}
|
|
|
|
func (x *Event) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_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 Event.ProtoReflect.Descriptor instead.
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (m *Event) GetEventType() isEvent_EventType {
|
|
if m != nil {
|
|
return m.EventType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetAppStateChanged() *AppStateChangedEvent {
|
|
if x, ok := x.GetEventType().(*Event_AppStateChanged); ok {
|
|
return x.AppStateChanged
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetDestinationStreamExited() *DestinationStreamExitedEvent {
|
|
if x, ok := x.GetEventType().(*Event_DestinationStreamExited); ok {
|
|
return x.DestinationStreamExited
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetDestinationAdded() *DestinationAddedEvent {
|
|
if x, ok := x.GetEventType().(*Event_DestinationAdded); ok {
|
|
return x.DestinationAdded
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetAddDestinationFailed() *AddDestinationFailedEvent {
|
|
if x, ok := x.GetEventType().(*Event_AddDestinationFailed); ok {
|
|
return x.AddDestinationFailed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetDestinationRemoved() *DestinationRemovedEvent {
|
|
if x, ok := x.GetEventType().(*Event_DestinationRemoved); ok {
|
|
return x.DestinationRemoved
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetRemoveDestinationFailed() *RemoveDestinationFailedEvent {
|
|
if x, ok := x.GetEventType().(*Event_RemoveDestinationFailed); ok {
|
|
return x.RemoveDestinationFailed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetStartDestinationFailed() *StartDestinationFailedEvent {
|
|
if x, ok := x.GetEventType().(*Event_StartDestinationFailed); ok {
|
|
return x.StartDestinationFailed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetMediaServerStarted() *MediaServerStartedEvent {
|
|
if x, ok := x.GetEventType().(*Event_MediaServerStarted); ok {
|
|
return x.MediaServerStarted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetOtherInstanceDetected() *OtherInstanceDetectedEvent {
|
|
if x, ok := x.GetEventType().(*Event_OtherInstanceDetected); ok {
|
|
return x.OtherInstanceDetected
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetFatalError() *FatalErrorEvent {
|
|
if x, ok := x.GetEventType().(*Event_FatalError); ok {
|
|
return x.FatalError
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetHandshakeCompleted() *HandshakeCompletedEvent {
|
|
if x, ok := x.GetEventType().(*Event_HandshakeCompleted); ok {
|
|
return x.HandshakeCompleted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isEvent_EventType interface {
|
|
isEvent_EventType()
|
|
}
|
|
|
|
type Event_AppStateChanged struct {
|
|
AppStateChanged *AppStateChangedEvent `protobuf:"bytes,1,opt,name=app_state_changed,json=appStateChanged,proto3,oneof"`
|
|
}
|
|
|
|
type Event_DestinationStreamExited struct {
|
|
DestinationStreamExited *DestinationStreamExitedEvent `protobuf:"bytes,2,opt,name=destination_stream_exited,json=destinationStreamExited,proto3,oneof"`
|
|
}
|
|
|
|
type Event_DestinationAdded struct {
|
|
DestinationAdded *DestinationAddedEvent `protobuf:"bytes,3,opt,name=destination_added,json=destinationAdded,proto3,oneof"`
|
|
}
|
|
|
|
type Event_AddDestinationFailed struct {
|
|
AddDestinationFailed *AddDestinationFailedEvent `protobuf:"bytes,4,opt,name=add_destination_failed,json=addDestinationFailed,proto3,oneof"`
|
|
}
|
|
|
|
type Event_DestinationRemoved struct {
|
|
DestinationRemoved *DestinationRemovedEvent `protobuf:"bytes,5,opt,name=destination_removed,json=destinationRemoved,proto3,oneof"`
|
|
}
|
|
|
|
type Event_RemoveDestinationFailed struct {
|
|
RemoveDestinationFailed *RemoveDestinationFailedEvent `protobuf:"bytes,6,opt,name=remove_destination_failed,json=removeDestinationFailed,proto3,oneof"`
|
|
}
|
|
|
|
type Event_StartDestinationFailed struct {
|
|
StartDestinationFailed *StartDestinationFailedEvent `protobuf:"bytes,7,opt,name=start_destination_failed,json=startDestinationFailed,proto3,oneof"`
|
|
}
|
|
|
|
type Event_MediaServerStarted struct {
|
|
MediaServerStarted *MediaServerStartedEvent `protobuf:"bytes,8,opt,name=media_server_started,json=mediaServerStarted,proto3,oneof"`
|
|
}
|
|
|
|
type Event_OtherInstanceDetected struct {
|
|
OtherInstanceDetected *OtherInstanceDetectedEvent `protobuf:"bytes,9,opt,name=other_instance_detected,json=otherInstanceDetected,proto3,oneof"`
|
|
}
|
|
|
|
type Event_FatalError struct {
|
|
FatalError *FatalErrorEvent `protobuf:"bytes,10,opt,name=fatal_error,json=fatalError,proto3,oneof"`
|
|
}
|
|
|
|
type Event_HandshakeCompleted struct {
|
|
HandshakeCompleted *HandshakeCompletedEvent `protobuf:"bytes,11,opt,name=handshake_completed,json=handshakeCompleted,proto3,oneof"`
|
|
}
|
|
|
|
func (*Event_AppStateChanged) isEvent_EventType() {}
|
|
|
|
func (*Event_DestinationStreamExited) isEvent_EventType() {}
|
|
|
|
func (*Event_DestinationAdded) isEvent_EventType() {}
|
|
|
|
func (*Event_AddDestinationFailed) isEvent_EventType() {}
|
|
|
|
func (*Event_DestinationRemoved) isEvent_EventType() {}
|
|
|
|
func (*Event_RemoveDestinationFailed) isEvent_EventType() {}
|
|
|
|
func (*Event_StartDestinationFailed) isEvent_EventType() {}
|
|
|
|
func (*Event_MediaServerStarted) isEvent_EventType() {}
|
|
|
|
func (*Event_OtherInstanceDetected) isEvent_EventType() {}
|
|
|
|
func (*Event_FatalError) isEvent_EventType() {}
|
|
|
|
func (*Event_HandshakeCompleted) isEvent_EventType() {}
|
|
|
|
type AppStateChangedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AppState *AppState `protobuf:"bytes,1,opt,name=app_state,json=appState,proto3" json:"app_state,omitempty"`
|
|
}
|
|
|
|
func (x *AppStateChangedEvent) Reset() {
|
|
*x = AppStateChangedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AppStateChangedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AppStateChangedEvent) ProtoMessage() {}
|
|
|
|
func (x *AppStateChangedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_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 AppStateChangedEvent.ProtoReflect.Descriptor instead.
|
|
func (*AppStateChangedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AppStateChangedEvent) GetAppState() *AppState {
|
|
if x != nil {
|
|
return x.AppState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DestinationStreamExitedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *DestinationStreamExitedEvent) Reset() {
|
|
*x = DestinationStreamExitedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DestinationStreamExitedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DestinationStreamExitedEvent) ProtoMessage() {}
|
|
|
|
func (x *DestinationStreamExitedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[2]
|
|
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 DestinationStreamExitedEvent.ProtoReflect.Descriptor instead.
|
|
func (*DestinationStreamExitedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DestinationStreamExitedEvent) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DestinationStreamExitedEvent) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DestinationAddedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
}
|
|
|
|
func (x *DestinationAddedEvent) Reset() {
|
|
*x = DestinationAddedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DestinationAddedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DestinationAddedEvent) ProtoMessage() {}
|
|
|
|
func (x *DestinationAddedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[3]
|
|
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 DestinationAddedEvent.ProtoReflect.Descriptor instead.
|
|
func (*DestinationAddedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DestinationAddedEvent) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddDestinationFailedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *AddDestinationFailedEvent) Reset() {
|
|
*x = AddDestinationFailedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AddDestinationFailedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddDestinationFailedEvent) ProtoMessage() {}
|
|
|
|
func (x *AddDestinationFailedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[4]
|
|
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 AddDestinationFailedEvent.ProtoReflect.Descriptor instead.
|
|
func (*AddDestinationFailedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AddDestinationFailedEvent) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddDestinationFailedEvent) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DestinationRemovedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
}
|
|
|
|
func (x *DestinationRemovedEvent) Reset() {
|
|
*x = DestinationRemovedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DestinationRemovedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DestinationRemovedEvent) ProtoMessage() {}
|
|
|
|
func (x *DestinationRemovedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[5]
|
|
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 DestinationRemovedEvent.ProtoReflect.Descriptor instead.
|
|
func (*DestinationRemovedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DestinationRemovedEvent) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveDestinationFailedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *RemoveDestinationFailedEvent) Reset() {
|
|
*x = RemoveDestinationFailedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RemoveDestinationFailedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveDestinationFailedEvent) ProtoMessage() {}
|
|
|
|
func (x *RemoveDestinationFailedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[6]
|
|
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 RemoveDestinationFailedEvent.ProtoReflect.Descriptor instead.
|
|
func (*RemoveDestinationFailedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *RemoveDestinationFailedEvent) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveDestinationFailedEvent) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StartDestinationFailedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *StartDestinationFailedEvent) Reset() {
|
|
*x = StartDestinationFailedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StartDestinationFailedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartDestinationFailedEvent) ProtoMessage() {}
|
|
|
|
func (x *StartDestinationFailedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[7]
|
|
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 StartDestinationFailedEvent.ProtoReflect.Descriptor instead.
|
|
func (*StartDestinationFailedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *StartDestinationFailedEvent) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartDestinationFailedEvent) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MediaServerStartedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtmpUrl string `protobuf:"bytes,1,opt,name=rtmp_url,json=rtmpUrl,proto3" json:"rtmp_url,omitempty"`
|
|
RtmpsUrl string `protobuf:"bytes,2,opt,name=rtmps_url,json=rtmpsUrl,proto3" json:"rtmps_url,omitempty"`
|
|
}
|
|
|
|
func (x *MediaServerStartedEvent) Reset() {
|
|
*x = MediaServerStartedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MediaServerStartedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MediaServerStartedEvent) ProtoMessage() {}
|
|
|
|
func (x *MediaServerStartedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[8]
|
|
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 MediaServerStartedEvent.ProtoReflect.Descriptor instead.
|
|
func (*MediaServerStartedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MediaServerStartedEvent) GetRtmpUrl() string {
|
|
if x != nil {
|
|
return x.RtmpUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaServerStartedEvent) GetRtmpsUrl() string {
|
|
if x != nil {
|
|
return x.RtmpsUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OtherInstanceDetectedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *OtherInstanceDetectedEvent) Reset() {
|
|
*x = OtherInstanceDetectedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OtherInstanceDetectedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OtherInstanceDetectedEvent) ProtoMessage() {}
|
|
|
|
func (x *OtherInstanceDetectedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[9]
|
|
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 OtherInstanceDetectedEvent.ProtoReflect.Descriptor instead.
|
|
func (*OtherInstanceDetectedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type FatalErrorEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *FatalErrorEvent) Reset() {
|
|
*x = FatalErrorEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FatalErrorEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FatalErrorEvent) ProtoMessage() {}
|
|
|
|
func (x *FatalErrorEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[10]
|
|
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 FatalErrorEvent.ProtoReflect.Descriptor instead.
|
|
func (*FatalErrorEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *FatalErrorEvent) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HandshakeCompletedEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *HandshakeCompletedEvent) Reset() {
|
|
*x = HandshakeCompletedEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_event_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HandshakeCompletedEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandshakeCompletedEvent) ProtoMessage() {}
|
|
|
|
func (x *HandshakeCompletedEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_event_proto_msgTypes[11]
|
|
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 HandshakeCompletedEvent.ProtoReflect.Descriptor instead.
|
|
func (*HandshakeCompletedEvent) Descriptor() ([]byte, []int) {
|
|
return file_event_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
var File_event_proto protoreflect.FileDescriptor
|
|
|
|
var file_event_proto_rawDesc = []byte{
|
|
0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61,
|
|
0x70, 0x69, 0x1a, 0x0c, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x22, 0xa9, 0x07, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x61, 0x70,
|
|
0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x70, 0x70, 0x53,
|
|
0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74,
|
|
0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e,
|
|
0x67, 0x65, 0x64, 0x12, 0x5f, 0x0a, 0x19, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x73,
|
|
0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78,
|
|
0x69, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x17, 0x64, 0x65, 0x73,
|
|
0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78,
|
|
0x69, 0x74, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x64,
|
|
0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12,
|
|
0x56, 0x0a, 0x16, 0x61, 0x64, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48,
|
|
0x00, 0x52, 0x14, 0x61, 0x64, 0x64, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65,
|
|
0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x5f, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x6f,
|
|
0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66,
|
|
0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x70,
|
|
0x69, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00,
|
|
0x52, 0x17, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5c, 0x0a, 0x18, 0x73, 0x74, 0x61,
|
|
0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66,
|
|
0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x70,
|
|
0x69, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52,
|
|
0x16, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x14, 0x6d, 0x65, 0x64, 0x69, 0x61,
|
|
0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x64, 0x69,
|
|
0x61, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x45, 0x76,
|
|
0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x53, 0x65, 0x72, 0x76,
|
|
0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x17, 0x6f, 0x74, 0x68,
|
|
0x65, 0x72, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x65,
|
|
0x63, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69,
|
|
0x2e, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65,
|
|
0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x15, 0x6f,
|
|
0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x65,
|
|
0x63, 0x74, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x0b, 0x66, 0x61, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x72,
|
|
0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
|
0x46, 0x61, 0x74, 0x61, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48,
|
|
0x00, 0x52, 0x0a, 0x66, 0x61, 0x74, 0x61, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4f, 0x0a,
|
|
0x13, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
|
|
0x65, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69,
|
|
0x2e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
|
|
0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x68, 0x61, 0x6e, 0x64,
|
|
0x73, 0x68, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x42, 0x0c,
|
|
0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x42, 0x0a, 0x14,
|
|
0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45,
|
|
0x76, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x70,
|
|
0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x61, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
0x22, 0x48, 0x0a, 0x1c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
|
|
0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x69, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74,
|
|
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x15, 0x44, 0x65,
|
|
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x76,
|
|
0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x43, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x44, 0x65, 0x73, 0x74,
|
|
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65,
|
|
0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x2b, 0x0a, 0x17, 0x44, 0x65,
|
|
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64,
|
|
0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x46, 0x0a, 0x1c, 0x52, 0x65, 0x6d, 0x6f, 0x76,
|
|
0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c,
|
|
0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
|
|
0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
|
|
0x49, 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x10,
|
|
0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
|
|
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x51, 0x0a, 0x17, 0x4d, 0x65,
|
|
0x64, 0x69, 0x61, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
|
|
0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x74, 0x6d, 0x70, 0x5f, 0x75, 0x72,
|
|
0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x74, 0x6d, 0x70, 0x55, 0x72, 0x6c,
|
|
0x12, 0x1b, 0x0a, 0x09, 0x72, 0x74, 0x6d, 0x70, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x74, 0x6d, 0x70, 0x73, 0x55, 0x72, 0x6c, 0x22, 0x1c, 0x0a,
|
|
0x1a, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65,
|
|
0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x2b, 0x0a, 0x0f, 0x46,
|
|
0x61, 0x74, 0x61, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x18,
|
|
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x48, 0x61, 0x6e, 0x64,
|
|
0x73, 0x68, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76,
|
|
0x65, 0x6e, 0x74, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x6e, 0x65, 0x74, 0x66, 0x6c,
|
|
0x75, 0x78, 0x2e, 0x69, 0x6f, 0x2f, 0x72, 0x6f, 0x62, 0x2f, 0x6f, 0x63, 0x74, 0x6f, 0x70, 0x6c,
|
|
0x65, 0x78, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x65,
|
|
0x72, 0x61, 0x74, 0x65, 0x64, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_event_proto_rawDescOnce sync.Once
|
|
file_event_proto_rawDescData = file_event_proto_rawDesc
|
|
)
|
|
|
|
func file_event_proto_rawDescGZIP() []byte {
|
|
file_event_proto_rawDescOnce.Do(func() {
|
|
file_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_event_proto_rawDescData)
|
|
})
|
|
return file_event_proto_rawDescData
|
|
}
|
|
|
|
var file_event_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
var file_event_proto_goTypes = []interface{}{
|
|
(*Event)(nil), // 0: api.Event
|
|
(*AppStateChangedEvent)(nil), // 1: api.AppStateChangedEvent
|
|
(*DestinationStreamExitedEvent)(nil), // 2: api.DestinationStreamExitedEvent
|
|
(*DestinationAddedEvent)(nil), // 3: api.DestinationAddedEvent
|
|
(*AddDestinationFailedEvent)(nil), // 4: api.AddDestinationFailedEvent
|
|
(*DestinationRemovedEvent)(nil), // 5: api.DestinationRemovedEvent
|
|
(*RemoveDestinationFailedEvent)(nil), // 6: api.RemoveDestinationFailedEvent
|
|
(*StartDestinationFailedEvent)(nil), // 7: api.StartDestinationFailedEvent
|
|
(*MediaServerStartedEvent)(nil), // 8: api.MediaServerStartedEvent
|
|
(*OtherInstanceDetectedEvent)(nil), // 9: api.OtherInstanceDetectedEvent
|
|
(*FatalErrorEvent)(nil), // 10: api.FatalErrorEvent
|
|
(*HandshakeCompletedEvent)(nil), // 11: api.HandshakeCompletedEvent
|
|
(*AppState)(nil), // 12: api.AppState
|
|
}
|
|
var file_event_proto_depIdxs = []int32{
|
|
1, // 0: api.Event.app_state_changed:type_name -> api.AppStateChangedEvent
|
|
2, // 1: api.Event.destination_stream_exited:type_name -> api.DestinationStreamExitedEvent
|
|
3, // 2: api.Event.destination_added:type_name -> api.DestinationAddedEvent
|
|
4, // 3: api.Event.add_destination_failed:type_name -> api.AddDestinationFailedEvent
|
|
5, // 4: api.Event.destination_removed:type_name -> api.DestinationRemovedEvent
|
|
6, // 5: api.Event.remove_destination_failed:type_name -> api.RemoveDestinationFailedEvent
|
|
7, // 6: api.Event.start_destination_failed:type_name -> api.StartDestinationFailedEvent
|
|
8, // 7: api.Event.media_server_started:type_name -> api.MediaServerStartedEvent
|
|
9, // 8: api.Event.other_instance_detected:type_name -> api.OtherInstanceDetectedEvent
|
|
10, // 9: api.Event.fatal_error:type_name -> api.FatalErrorEvent
|
|
11, // 10: api.Event.handshake_completed:type_name -> api.HandshakeCompletedEvent
|
|
12, // 11: api.AppStateChangedEvent.app_state:type_name -> api.AppState
|
|
12, // [12:12] is the sub-list for method output_type
|
|
12, // [12:12] is the sub-list for method input_type
|
|
12, // [12:12] is the sub-list for extension type_name
|
|
12, // [12:12] is the sub-list for extension extendee
|
|
0, // [0:12] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_event_proto_init() }
|
|
func file_event_proto_init() {
|
|
if File_event_proto != nil {
|
|
return
|
|
}
|
|
file_domain_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Event); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AppStateChangedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DestinationStreamExitedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DestinationAddedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AddDestinationFailedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DestinationRemovedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RemoveDestinationFailedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StartDestinationFailedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MediaServerStartedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OtherInstanceDetectedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FatalErrorEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HandshakeCompletedEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_event_proto_msgTypes[0].OneofWrappers = []interface{}{
|
|
(*Event_AppStateChanged)(nil),
|
|
(*Event_DestinationStreamExited)(nil),
|
|
(*Event_DestinationAdded)(nil),
|
|
(*Event_AddDestinationFailed)(nil),
|
|
(*Event_DestinationRemoved)(nil),
|
|
(*Event_RemoveDestinationFailed)(nil),
|
|
(*Event_StartDestinationFailed)(nil),
|
|
(*Event_MediaServerStarted)(nil),
|
|
(*Event_OtherInstanceDetected)(nil),
|
|
(*Event_FatalError)(nil),
|
|
(*Event_HandshakeCompleted)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_event_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 12,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_event_proto_goTypes,
|
|
DependencyIndexes: file_event_proto_depIdxs,
|
|
MessageInfos: file_event_proto_msgTypes,
|
|
}.Build()
|
|
File_event_proto = out.File
|
|
file_event_proto_rawDesc = nil
|
|
file_event_proto_goTypes = nil
|
|
file_event_proto_depIdxs = nil
|
|
}
|