diff --git a/protobuf/video/sfu/signal_rpc/signal.pb.go b/protobuf/video/sfu/signal_rpc/signal.pb.go index 7c0774ea4..02c873f1f 100644 --- a/protobuf/video/sfu/signal_rpc/signal.pb.go +++ b/protobuf/video/sfu/signal_rpc/signal.pb.go @@ -209,142 +209,6 @@ func (x *StopNoiseCancellationResponse) GetError() *models.Error { return nil } -type Reconnection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TimeSeconds float32 `protobuf:"fixed32,1,opt,name=time_seconds,json=timeSeconds,proto3" json:"time_seconds,omitempty"` - Strategy models.WebsocketReconnectStrategy `protobuf:"varint,2,opt,name=strategy,proto3,enum=stream.video.sfu.models.WebsocketReconnectStrategy" json:"strategy,omitempty"` -} - -func (x *Reconnection) Reset() { - *x = Reconnection{} - if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Reconnection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Reconnection) ProtoMessage() {} - -func (x *Reconnection) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_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 Reconnection.ProtoReflect.Descriptor instead. -func (*Reconnection) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{4} -} - -func (x *Reconnection) GetTimeSeconds() float32 { - if x != nil { - return x.TimeSeconds - } - return 0 -} - -func (x *Reconnection) GetStrategy() models.WebsocketReconnectStrategy { - if x != nil { - return x.Strategy - } - return models.WebsocketReconnectStrategy(0) -} - -type Telemetry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Data: - // - // *Telemetry_ConnectionTimeSeconds - // *Telemetry_Reconnection - Data isTelemetry_Data `protobuf_oneof:"data"` -} - -func (x *Telemetry) Reset() { - *x = Telemetry{} - if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Telemetry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Telemetry) ProtoMessage() {} - -func (x *Telemetry) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_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 Telemetry.ProtoReflect.Descriptor instead. -func (*Telemetry) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{5} -} - -func (m *Telemetry) GetData() isTelemetry_Data { - if m != nil { - return m.Data - } - return nil -} - -func (x *Telemetry) GetConnectionTimeSeconds() float32 { - if x, ok := x.GetData().(*Telemetry_ConnectionTimeSeconds); ok { - return x.ConnectionTimeSeconds - } - return 0 -} - -func (x *Telemetry) GetReconnection() *Reconnection { - if x, ok := x.GetData().(*Telemetry_Reconnection); ok { - return x.Reconnection - } - return nil -} - -type isTelemetry_Data interface { - isTelemetry_Data() -} - -type Telemetry_ConnectionTimeSeconds struct { - ConnectionTimeSeconds float32 `protobuf:"fixed32,1,opt,name=connection_time_seconds,json=connectionTimeSeconds,proto3,oneof"` -} - -type Telemetry_Reconnection struct { - Reconnection *Reconnection `protobuf:"bytes,2,opt,name=reconnection,proto3,oneof"` -} - -func (*Telemetry_ConnectionTimeSeconds) isTelemetry_Data() {} - -func (*Telemetry_Reconnection) isTelemetry_Data() {} - type SendMetricsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -361,7 +225,7 @@ type SendMetricsRequest struct { func (x *SendMetricsRequest) Reset() { *x = SendMetricsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[6] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -374,7 +238,7 @@ func (x *SendMetricsRequest) String() string { func (*SendMetricsRequest) ProtoMessage() {} func (x *SendMetricsRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[6] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -387,7 +251,7 @@ func (x *SendMetricsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendMetricsRequest.ProtoReflect.Descriptor instead. func (*SendMetricsRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{6} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{4} } func (x *SendMetricsRequest) GetSessionId() string { @@ -441,7 +305,7 @@ type SendMetricsResponse struct { func (x *SendMetricsResponse) Reset() { *x = SendMetricsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[7] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -454,7 +318,7 @@ func (x *SendMetricsResponse) String() string { func (*SendMetricsResponse) ProtoMessage() {} func (x *SendMetricsResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[7] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,7 +331,7 @@ func (x *SendMetricsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendMetricsResponse.ProtoReflect.Descriptor instead. func (*SendMetricsResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{7} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{5} } type SendStatsRequest struct { @@ -475,26 +339,8 @@ type SendStatsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` - SubscriberStats string `protobuf:"bytes,2,opt,name=subscriber_stats,json=subscriberStats,proto3" json:"subscriber_stats,omitempty"` - PublisherStats string `protobuf:"bytes,3,opt,name=publisher_stats,json=publisherStats,proto3" json:"publisher_stats,omitempty"` - WebrtcVersion string `protobuf:"bytes,4,opt,name=webrtc_version,json=webrtcVersion,proto3" json:"webrtc_version,omitempty"` - Sdk string `protobuf:"bytes,5,opt,name=sdk,proto3" json:"sdk,omitempty"` - SdkVersion string `protobuf:"bytes,6,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` - AudioDevices *models.InputDevices `protobuf:"bytes,7,opt,name=audio_devices,json=audioDevices,proto3" json:"audio_devices,omitempty"` - VideoDevices *models.InputDevices `protobuf:"bytes,8,opt,name=video_devices,json=videoDevices,proto3" json:"video_devices,omitempty"` - // Types that are assignable to DeviceState: - // - // *SendStatsRequest_Android - // *SendStatsRequest_Apple - DeviceState isSendStatsRequest_DeviceState `protobuf_oneof:"device_state"` - Telemetry *Telemetry `protobuf:"bytes,11,opt,name=telemetry,proto3" json:"telemetry,omitempty"` - Rtmp *models.RTMPIngress `protobuf:"bytes,12,opt,name=rtmp,proto3" json:"rtmp,omitempty"` - // Deprecated: Do not use. - SubscriberRtcStats string `protobuf:"bytes,13,opt,name=subscriber_rtc_stats,json=subscriberRtcStats,proto3" json:"subscriber_rtc_stats,omitempty"` - // Deprecated: Do not use. - PublisherRtcStats string `protobuf:"bytes,14,opt,name=publisher_rtc_stats,json=publisherRtcStats,proto3" json:"publisher_rtc_stats,omitempty"` - RtcStats string `protobuf:"bytes,15,opt,name=rtc_stats,json=rtcStats,proto3" json:"rtc_stats,omitempty"` + SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` + RtcStats string `protobuf:"bytes,15,opt,name=rtc_stats,json=rtcStats,proto3" json:"rtc_stats,omitempty"` // Encode stats for the publisher EncodeStats []*models.PerformanceStats `protobuf:"bytes,16,rep,name=encode_stats,json=encodeStats,proto3" json:"encode_stats,omitempty"` // Decode stats for the subscriber @@ -508,7 +354,7 @@ type SendStatsRequest struct { func (x *SendStatsRequest) Reset() { *x = SendStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[8] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -521,7 +367,7 @@ func (x *SendStatsRequest) String() string { func (*SendStatsRequest) ProtoMessage() {} func (x *SendStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[8] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -534,7 +380,7 @@ func (x *SendStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendStatsRequest.ProtoReflect.Descriptor instead. func (*SendStatsRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{8} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{6} } func (x *SendStatsRequest) GetSessionId() string { @@ -544,106 +390,6 @@ func (x *SendStatsRequest) GetSessionId() string { return "" } -func (x *SendStatsRequest) GetSubscriberStats() string { - if x != nil { - return x.SubscriberStats - } - return "" -} - -func (x *SendStatsRequest) GetPublisherStats() string { - if x != nil { - return x.PublisherStats - } - return "" -} - -func (x *SendStatsRequest) GetWebrtcVersion() string { - if x != nil { - return x.WebrtcVersion - } - return "" -} - -func (x *SendStatsRequest) GetSdk() string { - if x != nil { - return x.Sdk - } - return "" -} - -func (x *SendStatsRequest) GetSdkVersion() string { - if x != nil { - return x.SdkVersion - } - return "" -} - -func (x *SendStatsRequest) GetAudioDevices() *models.InputDevices { - if x != nil { - return x.AudioDevices - } - return nil -} - -func (x *SendStatsRequest) GetVideoDevices() *models.InputDevices { - if x != nil { - return x.VideoDevices - } - return nil -} - -func (m *SendStatsRequest) GetDeviceState() isSendStatsRequest_DeviceState { - if m != nil { - return m.DeviceState - } - return nil -} - -func (x *SendStatsRequest) GetAndroid() *models.AndroidState { - if x, ok := x.GetDeviceState().(*SendStatsRequest_Android); ok { - return x.Android - } - return nil -} - -func (x *SendStatsRequest) GetApple() *models.AppleState { - if x, ok := x.GetDeviceState().(*SendStatsRequest_Apple); ok { - return x.Apple - } - return nil -} - -func (x *SendStatsRequest) GetTelemetry() *Telemetry { - if x != nil { - return x.Telemetry - } - return nil -} - -func (x *SendStatsRequest) GetRtmp() *models.RTMPIngress { - if x != nil { - return x.Rtmp - } - return nil -} - -// Deprecated: Do not use. -func (x *SendStatsRequest) GetSubscriberRtcStats() string { - if x != nil { - return x.SubscriberRtcStats - } - return "" -} - -// Deprecated: Do not use. -func (x *SendStatsRequest) GetPublisherRtcStats() string { - if x != nil { - return x.PublisherRtcStats - } - return "" -} - func (x *SendStatsRequest) GetRtcStats() string { if x != nil { return x.RtcStats @@ -672,22 +418,6 @@ func (x *SendStatsRequest) GetUnifiedSessionId() string { return "" } -type isSendStatsRequest_DeviceState interface { - isSendStatsRequest_DeviceState() -} - -type SendStatsRequest_Android struct { - Android *models.AndroidState `protobuf:"bytes,9,opt,name=android,proto3,oneof"` -} - -type SendStatsRequest_Apple struct { - Apple *models.AppleState `protobuf:"bytes,10,opt,name=apple,proto3,oneof"` -} - -func (*SendStatsRequest_Android) isSendStatsRequest_DeviceState() {} - -func (*SendStatsRequest_Apple) isSendStatsRequest_DeviceState() {} - type SendStatsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -699,7 +429,7 @@ type SendStatsResponse struct { func (x *SendStatsResponse) Reset() { *x = SendStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[9] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -712,7 +442,7 @@ func (x *SendStatsResponse) String() string { func (*SendStatsResponse) ProtoMessage() {} func (x *SendStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[9] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -725,7 +455,7 @@ func (x *SendStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendStatsResponse.ProtoReflect.Descriptor instead. func (*SendStatsResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{9} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{7} } func (x *SendStatsResponse) GetError() *models.Error { @@ -747,7 +477,7 @@ type ICERestartRequest struct { func (x *ICERestartRequest) Reset() { *x = ICERestartRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[10] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -760,7 +490,7 @@ func (x *ICERestartRequest) String() string { func (*ICERestartRequest) ProtoMessage() {} func (x *ICERestartRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[10] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -773,7 +503,7 @@ func (x *ICERestartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ICERestartRequest.ProtoReflect.Descriptor instead. func (*ICERestartRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{10} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{8} } func (x *ICERestartRequest) GetSessionId() string { @@ -801,7 +531,7 @@ type ICERestartResponse struct { func (x *ICERestartResponse) Reset() { *x = ICERestartResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[11] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -814,7 +544,7 @@ func (x *ICERestartResponse) String() string { func (*ICERestartResponse) ProtoMessage() {} func (x *ICERestartResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[11] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -827,7 +557,7 @@ func (x *ICERestartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ICERestartResponse.ProtoReflect.Descriptor instead. func (*ICERestartResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{11} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{9} } func (x *ICERestartResponse) GetError() *models.Error { @@ -849,7 +579,7 @@ type UpdateMuteStatesRequest struct { func (x *UpdateMuteStatesRequest) Reset() { *x = UpdateMuteStatesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[12] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -862,7 +592,7 @@ func (x *UpdateMuteStatesRequest) String() string { func (*UpdateMuteStatesRequest) ProtoMessage() {} func (x *UpdateMuteStatesRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[12] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -875,7 +605,7 @@ func (x *UpdateMuteStatesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMuteStatesRequest.ProtoReflect.Descriptor instead. func (*UpdateMuteStatesRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{12} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{10} } func (x *UpdateMuteStatesRequest) GetSessionId() string { @@ -903,7 +633,7 @@ type UpdateMuteStatesResponse struct { func (x *UpdateMuteStatesResponse) Reset() { *x = UpdateMuteStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[13] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -916,7 +646,7 @@ func (x *UpdateMuteStatesResponse) String() string { func (*UpdateMuteStatesResponse) ProtoMessage() {} func (x *UpdateMuteStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[13] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -929,7 +659,7 @@ func (x *UpdateMuteStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMuteStatesResponse.ProtoReflect.Descriptor instead. func (*UpdateMuteStatesResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{13} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{11} } func (x *UpdateMuteStatesResponse) GetError() *models.Error { @@ -951,7 +681,7 @@ type TrackMuteState struct { func (x *TrackMuteState) Reset() { *x = TrackMuteState{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[14] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -964,7 +694,7 @@ func (x *TrackMuteState) String() string { func (*TrackMuteState) ProtoMessage() {} func (x *TrackMuteState) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[14] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -977,7 +707,7 @@ func (x *TrackMuteState) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackMuteState.ProtoReflect.Descriptor instead. func (*TrackMuteState) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{14} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{12} } func (x *TrackMuteState) GetTrackType() models.TrackType { @@ -1005,7 +735,7 @@ type AudioMuteChanged struct { func (x *AudioMuteChanged) Reset() { *x = AudioMuteChanged{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[15] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1018,7 +748,7 @@ func (x *AudioMuteChanged) String() string { func (*AudioMuteChanged) ProtoMessage() {} func (x *AudioMuteChanged) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[15] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1031,7 +761,7 @@ func (x *AudioMuteChanged) ProtoReflect() protoreflect.Message { // Deprecated: Use AudioMuteChanged.ProtoReflect.Descriptor instead. func (*AudioMuteChanged) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{15} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{13} } func (x *AudioMuteChanged) GetMuted() bool { @@ -1052,7 +782,7 @@ type VideoMuteChanged struct { func (x *VideoMuteChanged) Reset() { *x = VideoMuteChanged{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[16] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1065,7 +795,7 @@ func (x *VideoMuteChanged) String() string { func (*VideoMuteChanged) ProtoMessage() {} func (x *VideoMuteChanged) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[16] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1078,7 +808,7 @@ func (x *VideoMuteChanged) ProtoReflect() protoreflect.Message { // Deprecated: Use VideoMuteChanged.ProtoReflect.Descriptor instead. func (*VideoMuteChanged) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{16} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{14} } func (x *VideoMuteChanged) GetMuted() bool { @@ -1100,7 +830,7 @@ type UpdateSubscriptionsRequest struct { func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[17] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1113,7 +843,7 @@ func (x *UpdateSubscriptionsRequest) String() string { func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[17] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1126,7 +856,7 @@ func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubscriptionsRequest.ProtoReflect.Descriptor instead. func (*UpdateSubscriptionsRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{17} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{15} } func (x *UpdateSubscriptionsRequest) GetSessionId() string { @@ -1154,7 +884,7 @@ type UpdateSubscriptionsResponse struct { func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[18] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1167,7 +897,7 @@ func (x *UpdateSubscriptionsResponse) String() string { func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[18] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1180,7 +910,7 @@ func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubscriptionsResponse.ProtoReflect.Descriptor instead. func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{18} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{16} } func (x *UpdateSubscriptionsResponse) GetError() *models.Error { @@ -1204,7 +934,7 @@ type TrackSubscriptionDetails struct { func (x *TrackSubscriptionDetails) Reset() { *x = TrackSubscriptionDetails{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[19] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1217,7 +947,7 @@ func (x *TrackSubscriptionDetails) String() string { func (*TrackSubscriptionDetails) ProtoMessage() {} func (x *TrackSubscriptionDetails) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[19] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1230,7 +960,7 @@ func (x *TrackSubscriptionDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackSubscriptionDetails.ProtoReflect.Descriptor instead. func (*TrackSubscriptionDetails) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{19} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{17} } func (x *TrackSubscriptionDetails) GetUserId() string { @@ -1275,7 +1005,7 @@ type SendAnswerRequest struct { func (x *SendAnswerRequest) Reset() { *x = SendAnswerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[20] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1288,7 +1018,7 @@ func (x *SendAnswerRequest) String() string { func (*SendAnswerRequest) ProtoMessage() {} func (x *SendAnswerRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[20] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1301,7 +1031,7 @@ func (x *SendAnswerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendAnswerRequest.ProtoReflect.Descriptor instead. func (*SendAnswerRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{20} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{18} } func (x *SendAnswerRequest) GetPeerType() models.PeerType { @@ -1343,7 +1073,7 @@ type SendAnswerResponse struct { func (x *SendAnswerResponse) Reset() { *x = SendAnswerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[21] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1356,7 +1086,7 @@ func (x *SendAnswerResponse) String() string { func (*SendAnswerResponse) ProtoMessage() {} func (x *SendAnswerResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[21] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1369,7 +1099,7 @@ func (x *SendAnswerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendAnswerResponse.ProtoReflect.Descriptor instead. func (*SendAnswerResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{21} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{19} } func (x *SendAnswerResponse) GetError() *models.Error { @@ -1390,7 +1120,7 @@ type ICETrickleResponse struct { func (x *ICETrickleResponse) Reset() { *x = ICETrickleResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[22] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1403,7 +1133,7 @@ func (x *ICETrickleResponse) String() string { func (*ICETrickleResponse) ProtoMessage() {} func (x *ICETrickleResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[22] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1416,7 +1146,7 @@ func (x *ICETrickleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ICETrickleResponse.ProtoReflect.Descriptor instead. func (*ICETrickleResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{22} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{20} } func (x *ICETrickleResponse) GetError() *models.Error { @@ -1440,7 +1170,7 @@ type SetPublisherRequest struct { func (x *SetPublisherRequest) Reset() { *x = SetPublisherRequest{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[23] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1453,7 +1183,7 @@ func (x *SetPublisherRequest) String() string { func (*SetPublisherRequest) ProtoMessage() {} func (x *SetPublisherRequest) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[23] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1466,7 +1196,7 @@ func (x *SetPublisherRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetPublisherRequest.ProtoReflect.Descriptor instead. func (*SetPublisherRequest) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{23} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{21} } func (x *SetPublisherRequest) GetSdp() string { @@ -1505,7 +1235,7 @@ type SetPublisherResponse struct { func (x *SetPublisherResponse) Reset() { *x = SetPublisherResponse{} if protoimpl.UnsafeEnabled { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[24] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1518,7 +1248,7 @@ func (x *SetPublisherResponse) String() string { func (*SetPublisherResponse) ProtoMessage() {} func (x *SetPublisherResponse) ProtoReflect() protoreflect.Message { - mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[24] + mi := &file_video_sfu_signal_rpc_signal_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1531,7 +1261,7 @@ func (x *SetPublisherResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetPublisherResponse.ProtoReflect.Descriptor instead. func (*SetPublisherResponse) Descriptor() ([]byte, []int) { - return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{24} + return file_video_sfu_signal_rpc_signal_proto_rawDescGZIP(), []int{22} } func (x *SetPublisherResponse) GetSdp() string { @@ -1589,113 +1319,56 @@ var file_video_sfu_signal_rpc_signal_proto_rawDesc = []byte{ 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x82, 0x01, 0x0a, 0x0c, 0x52, 0x65, - 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, - 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x4f, 0x0a, - 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x33, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, - 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, - 0x6b, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0x9a, - 0x01, 0x0a, 0x09, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x17, - 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, - 0x15, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x53, - 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x91, 0x03, 0x0a, 0x12, - 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, - 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x3f, 0x0a, 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, - 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x49, 0x6e, 0x62, 0x6f, - 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, - 0x12, 0x42, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, - 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x4f, 0x75, - 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, - 0x75, 0x6e, 0x64, 0x73, 0x12, 0x52, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x69, - 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, - 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x6e, - 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x55, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, - 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x0f, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x22, - 0x15, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd4, 0x07, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x75, - 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, - 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x25, - 0x0a, 0x0e, 0x77, 0x65, 0x62, 0x72, 0x74, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x65, 0x62, 0x72, 0x74, 0x63, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x64, 0x6b, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x73, 0x64, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64, 0x6b, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64, - 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, - 0x6f, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, - 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x44, - 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x44, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x64, 0x65, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x91, 0x03, 0x0a, 0x12, 0x53, 0x65, + 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x2c, 0x0a, 0x12, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, + 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, + 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, + 0x64, 0x52, 0x74, 0x70, 0x52, 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x42, + 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, + 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, + 0x64, 0x73, 0x12, 0x52, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x6e, 0x62, 0x6f, + 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x6e, + 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x55, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x5f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, + 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x74, 0x70, 0x52, 0x0f, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x22, 0x15, 0x0a, + 0x13, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe6, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x74, 0x63, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x74, 0x63, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x52, 0x0c, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x12, 0x41, 0x0a, 0x07, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, - 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x41, 0x6e, 0x64, 0x72, - 0x6f, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x07, 0x61, 0x6e, 0x64, 0x72, - 0x6f, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, - 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x41, 0x70, 0x70, - 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x05, 0x61, 0x70, 0x70, 0x6c, 0x65, - 0x12, 0x40, 0x0a, 0x09, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, - 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x54, 0x65, - 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x52, 0x09, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, - 0x72, 0x79, 0x12, 0x38, 0x0a, 0x04, 0x72, 0x74, 0x6d, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, - 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x54, 0x4d, 0x50, 0x49, - 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x72, 0x74, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x14, - 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x74, 0x63, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, - 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x52, 0x74, 0x63, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x12, 0x32, 0x0a, 0x13, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x5f, - 0x72, 0x74, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x52, 0x74, - 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x74, 0x63, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x74, 0x63, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x65, + 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x0c, 0x64, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x12, 0x4c, 0x0a, 0x0c, 0x64, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x2e, 0x73, 0x66, 0x75, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x73, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, - 0x2c, 0x0a, 0x12, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x69, - 0x66, 0x69, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0e, 0x0a, - 0x0c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x49, 0x0a, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, + 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4a, + 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, + 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, + 0x07, 0x10, 0x08, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, + 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x4a, 0x04, 0x08, 0x0c, 0x10, + 0x0d, 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, 0x4a, 0x04, 0x08, 0x0e, 0x10, 0x0f, 0x22, 0x49, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x69, 0x64, 0x65, 0x6f, @@ -1899,107 +1572,92 @@ func file_video_sfu_signal_rpc_signal_proto_rawDescGZIP() []byte { return file_video_sfu_signal_rpc_signal_proto_rawDescData } -var file_video_sfu_signal_rpc_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 25) +var file_video_sfu_signal_rpc_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 23) var file_video_sfu_signal_rpc_signal_proto_goTypes = []interface{}{ (*StartNoiseCancellationRequest)(nil), // 0: stream.video.sfu.signal.StartNoiseCancellationRequest (*StartNoiseCancellationResponse)(nil), // 1: stream.video.sfu.signal.StartNoiseCancellationResponse (*StopNoiseCancellationRequest)(nil), // 2: stream.video.sfu.signal.StopNoiseCancellationRequest (*StopNoiseCancellationResponse)(nil), // 3: stream.video.sfu.signal.StopNoiseCancellationResponse - (*Reconnection)(nil), // 4: stream.video.sfu.signal.Reconnection - (*Telemetry)(nil), // 5: stream.video.sfu.signal.Telemetry - (*SendMetricsRequest)(nil), // 6: stream.video.sfu.signal.SendMetricsRequest - (*SendMetricsResponse)(nil), // 7: stream.video.sfu.signal.SendMetricsResponse - (*SendStatsRequest)(nil), // 8: stream.video.sfu.signal.SendStatsRequest - (*SendStatsResponse)(nil), // 9: stream.video.sfu.signal.SendStatsResponse - (*ICERestartRequest)(nil), // 10: stream.video.sfu.signal.ICERestartRequest - (*ICERestartResponse)(nil), // 11: stream.video.sfu.signal.ICERestartResponse - (*UpdateMuteStatesRequest)(nil), // 12: stream.video.sfu.signal.UpdateMuteStatesRequest - (*UpdateMuteStatesResponse)(nil), // 13: stream.video.sfu.signal.UpdateMuteStatesResponse - (*TrackMuteState)(nil), // 14: stream.video.sfu.signal.TrackMuteState - (*AudioMuteChanged)(nil), // 15: stream.video.sfu.signal.AudioMuteChanged - (*VideoMuteChanged)(nil), // 16: stream.video.sfu.signal.VideoMuteChanged - (*UpdateSubscriptionsRequest)(nil), // 17: stream.video.sfu.signal.UpdateSubscriptionsRequest - (*UpdateSubscriptionsResponse)(nil), // 18: stream.video.sfu.signal.UpdateSubscriptionsResponse - (*TrackSubscriptionDetails)(nil), // 19: stream.video.sfu.signal.TrackSubscriptionDetails - (*SendAnswerRequest)(nil), // 20: stream.video.sfu.signal.SendAnswerRequest - (*SendAnswerResponse)(nil), // 21: stream.video.sfu.signal.SendAnswerResponse - (*ICETrickleResponse)(nil), // 22: stream.video.sfu.signal.ICETrickleResponse - (*SetPublisherRequest)(nil), // 23: stream.video.sfu.signal.SetPublisherRequest - (*SetPublisherResponse)(nil), // 24: stream.video.sfu.signal.SetPublisherResponse - (*models.Error)(nil), // 25: stream.video.sfu.models.Error - (models.WebsocketReconnectStrategy)(0), // 26: stream.video.sfu.models.WebsocketReconnectStrategy - (*models.InboundRtp)(nil), // 27: stream.video.sfu.models.InboundRtp - (*models.OutboundRtp)(nil), // 28: stream.video.sfu.models.OutboundRtp - (*models.RemoteInboundRtp)(nil), // 29: stream.video.sfu.models.RemoteInboundRtp - (*models.RemoteOutboundRtp)(nil), // 30: stream.video.sfu.models.RemoteOutboundRtp - (*models.InputDevices)(nil), // 31: stream.video.sfu.models.InputDevices - (*models.AndroidState)(nil), // 32: stream.video.sfu.models.AndroidState - (*models.AppleState)(nil), // 33: stream.video.sfu.models.AppleState - (*models.RTMPIngress)(nil), // 34: stream.video.sfu.models.RTMPIngress - (*models.PerformanceStats)(nil), // 35: stream.video.sfu.models.PerformanceStats - (models.PeerType)(0), // 36: stream.video.sfu.models.PeerType - (models.TrackType)(0), // 37: stream.video.sfu.models.TrackType - (*models.VideoDimension)(nil), // 38: stream.video.sfu.models.VideoDimension - (*models.TrackInfo)(nil), // 39: stream.video.sfu.models.TrackInfo - (*models.ICETrickle)(nil), // 40: stream.video.sfu.models.ICETrickle + (*SendMetricsRequest)(nil), // 4: stream.video.sfu.signal.SendMetricsRequest + (*SendMetricsResponse)(nil), // 5: stream.video.sfu.signal.SendMetricsResponse + (*SendStatsRequest)(nil), // 6: stream.video.sfu.signal.SendStatsRequest + (*SendStatsResponse)(nil), // 7: stream.video.sfu.signal.SendStatsResponse + (*ICERestartRequest)(nil), // 8: stream.video.sfu.signal.ICERestartRequest + (*ICERestartResponse)(nil), // 9: stream.video.sfu.signal.ICERestartResponse + (*UpdateMuteStatesRequest)(nil), // 10: stream.video.sfu.signal.UpdateMuteStatesRequest + (*UpdateMuteStatesResponse)(nil), // 11: stream.video.sfu.signal.UpdateMuteStatesResponse + (*TrackMuteState)(nil), // 12: stream.video.sfu.signal.TrackMuteState + (*AudioMuteChanged)(nil), // 13: stream.video.sfu.signal.AudioMuteChanged + (*VideoMuteChanged)(nil), // 14: stream.video.sfu.signal.VideoMuteChanged + (*UpdateSubscriptionsRequest)(nil), // 15: stream.video.sfu.signal.UpdateSubscriptionsRequest + (*UpdateSubscriptionsResponse)(nil), // 16: stream.video.sfu.signal.UpdateSubscriptionsResponse + (*TrackSubscriptionDetails)(nil), // 17: stream.video.sfu.signal.TrackSubscriptionDetails + (*SendAnswerRequest)(nil), // 18: stream.video.sfu.signal.SendAnswerRequest + (*SendAnswerResponse)(nil), // 19: stream.video.sfu.signal.SendAnswerResponse + (*ICETrickleResponse)(nil), // 20: stream.video.sfu.signal.ICETrickleResponse + (*SetPublisherRequest)(nil), // 21: stream.video.sfu.signal.SetPublisherRequest + (*SetPublisherResponse)(nil), // 22: stream.video.sfu.signal.SetPublisherResponse + (*models.Error)(nil), // 23: stream.video.sfu.models.Error + (*models.InboundRtp)(nil), // 24: stream.video.sfu.models.InboundRtp + (*models.OutboundRtp)(nil), // 25: stream.video.sfu.models.OutboundRtp + (*models.RemoteInboundRtp)(nil), // 26: stream.video.sfu.models.RemoteInboundRtp + (*models.RemoteOutboundRtp)(nil), // 27: stream.video.sfu.models.RemoteOutboundRtp + (*models.PerformanceStats)(nil), // 28: stream.video.sfu.models.PerformanceStats + (models.PeerType)(0), // 29: stream.video.sfu.models.PeerType + (models.TrackType)(0), // 30: stream.video.sfu.models.TrackType + (*models.VideoDimension)(nil), // 31: stream.video.sfu.models.VideoDimension + (*models.TrackInfo)(nil), // 32: stream.video.sfu.models.TrackInfo + (*models.ICETrickle)(nil), // 33: stream.video.sfu.models.ICETrickle } var file_video_sfu_signal_rpc_signal_proto_depIdxs = []int32{ - 25, // 0: stream.video.sfu.signal.StartNoiseCancellationResponse.error:type_name -> stream.video.sfu.models.Error - 25, // 1: stream.video.sfu.signal.StopNoiseCancellationResponse.error:type_name -> stream.video.sfu.models.Error - 26, // 2: stream.video.sfu.signal.Reconnection.strategy:type_name -> stream.video.sfu.models.WebsocketReconnectStrategy - 4, // 3: stream.video.sfu.signal.Telemetry.reconnection:type_name -> stream.video.sfu.signal.Reconnection - 27, // 4: stream.video.sfu.signal.SendMetricsRequest.inbounds:type_name -> stream.video.sfu.models.InboundRtp - 28, // 5: stream.video.sfu.signal.SendMetricsRequest.outbounds:type_name -> stream.video.sfu.models.OutboundRtp - 29, // 6: stream.video.sfu.signal.SendMetricsRequest.remote_inbounds:type_name -> stream.video.sfu.models.RemoteInboundRtp - 30, // 7: stream.video.sfu.signal.SendMetricsRequest.remote_outbounds:type_name -> stream.video.sfu.models.RemoteOutboundRtp - 31, // 8: stream.video.sfu.signal.SendStatsRequest.audio_devices:type_name -> stream.video.sfu.models.InputDevices - 31, // 9: stream.video.sfu.signal.SendStatsRequest.video_devices:type_name -> stream.video.sfu.models.InputDevices - 32, // 10: stream.video.sfu.signal.SendStatsRequest.android:type_name -> stream.video.sfu.models.AndroidState - 33, // 11: stream.video.sfu.signal.SendStatsRequest.apple:type_name -> stream.video.sfu.models.AppleState - 5, // 12: stream.video.sfu.signal.SendStatsRequest.telemetry:type_name -> stream.video.sfu.signal.Telemetry - 34, // 13: stream.video.sfu.signal.SendStatsRequest.rtmp:type_name -> stream.video.sfu.models.RTMPIngress - 35, // 14: stream.video.sfu.signal.SendStatsRequest.encode_stats:type_name -> stream.video.sfu.models.PerformanceStats - 35, // 15: stream.video.sfu.signal.SendStatsRequest.decode_stats:type_name -> stream.video.sfu.models.PerformanceStats - 25, // 16: stream.video.sfu.signal.SendStatsResponse.error:type_name -> stream.video.sfu.models.Error - 36, // 17: stream.video.sfu.signal.ICERestartRequest.peer_type:type_name -> stream.video.sfu.models.PeerType - 25, // 18: stream.video.sfu.signal.ICERestartResponse.error:type_name -> stream.video.sfu.models.Error - 14, // 19: stream.video.sfu.signal.UpdateMuteStatesRequest.mute_states:type_name -> stream.video.sfu.signal.TrackMuteState - 25, // 20: stream.video.sfu.signal.UpdateMuteStatesResponse.error:type_name -> stream.video.sfu.models.Error - 37, // 21: stream.video.sfu.signal.TrackMuteState.track_type:type_name -> stream.video.sfu.models.TrackType - 19, // 22: stream.video.sfu.signal.UpdateSubscriptionsRequest.tracks:type_name -> stream.video.sfu.signal.TrackSubscriptionDetails - 25, // 23: stream.video.sfu.signal.UpdateSubscriptionsResponse.error:type_name -> stream.video.sfu.models.Error - 37, // 24: stream.video.sfu.signal.TrackSubscriptionDetails.track_type:type_name -> stream.video.sfu.models.TrackType - 38, // 25: stream.video.sfu.signal.TrackSubscriptionDetails.dimension:type_name -> stream.video.sfu.models.VideoDimension - 36, // 26: stream.video.sfu.signal.SendAnswerRequest.peer_type:type_name -> stream.video.sfu.models.PeerType - 25, // 27: stream.video.sfu.signal.SendAnswerResponse.error:type_name -> stream.video.sfu.models.Error - 25, // 28: stream.video.sfu.signal.ICETrickleResponse.error:type_name -> stream.video.sfu.models.Error - 39, // 29: stream.video.sfu.signal.SetPublisherRequest.tracks:type_name -> stream.video.sfu.models.TrackInfo - 25, // 30: stream.video.sfu.signal.SetPublisherResponse.error:type_name -> stream.video.sfu.models.Error - 23, // 31: stream.video.sfu.signal.SignalServer.SetPublisher:input_type -> stream.video.sfu.signal.SetPublisherRequest - 20, // 32: stream.video.sfu.signal.SignalServer.SendAnswer:input_type -> stream.video.sfu.signal.SendAnswerRequest - 40, // 33: stream.video.sfu.signal.SignalServer.IceTrickle:input_type -> stream.video.sfu.models.ICETrickle - 17, // 34: stream.video.sfu.signal.SignalServer.UpdateSubscriptions:input_type -> stream.video.sfu.signal.UpdateSubscriptionsRequest - 12, // 35: stream.video.sfu.signal.SignalServer.UpdateMuteStates:input_type -> stream.video.sfu.signal.UpdateMuteStatesRequest - 10, // 36: stream.video.sfu.signal.SignalServer.IceRestart:input_type -> stream.video.sfu.signal.ICERestartRequest - 8, // 37: stream.video.sfu.signal.SignalServer.SendStats:input_type -> stream.video.sfu.signal.SendStatsRequest - 6, // 38: stream.video.sfu.signal.SignalServer.SendMetrics:input_type -> stream.video.sfu.signal.SendMetricsRequest - 0, // 39: stream.video.sfu.signal.SignalServer.StartNoiseCancellation:input_type -> stream.video.sfu.signal.StartNoiseCancellationRequest - 2, // 40: stream.video.sfu.signal.SignalServer.StopNoiseCancellation:input_type -> stream.video.sfu.signal.StopNoiseCancellationRequest - 24, // 41: stream.video.sfu.signal.SignalServer.SetPublisher:output_type -> stream.video.sfu.signal.SetPublisherResponse - 21, // 42: stream.video.sfu.signal.SignalServer.SendAnswer:output_type -> stream.video.sfu.signal.SendAnswerResponse - 22, // 43: stream.video.sfu.signal.SignalServer.IceTrickle:output_type -> stream.video.sfu.signal.ICETrickleResponse - 18, // 44: stream.video.sfu.signal.SignalServer.UpdateSubscriptions:output_type -> stream.video.sfu.signal.UpdateSubscriptionsResponse - 13, // 45: stream.video.sfu.signal.SignalServer.UpdateMuteStates:output_type -> stream.video.sfu.signal.UpdateMuteStatesResponse - 11, // 46: stream.video.sfu.signal.SignalServer.IceRestart:output_type -> stream.video.sfu.signal.ICERestartResponse - 9, // 47: stream.video.sfu.signal.SignalServer.SendStats:output_type -> stream.video.sfu.signal.SendStatsResponse - 7, // 48: stream.video.sfu.signal.SignalServer.SendMetrics:output_type -> stream.video.sfu.signal.SendMetricsResponse - 1, // 49: stream.video.sfu.signal.SignalServer.StartNoiseCancellation:output_type -> stream.video.sfu.signal.StartNoiseCancellationResponse - 3, // 50: stream.video.sfu.signal.SignalServer.StopNoiseCancellation:output_type -> stream.video.sfu.signal.StopNoiseCancellationResponse - 41, // [41:51] is the sub-list for method output_type - 31, // [31:41] is the sub-list for method input_type - 31, // [31:31] is the sub-list for extension type_name - 31, // [31:31] is the sub-list for extension extendee - 0, // [0:31] is the sub-list for field type_name + 23, // 0: stream.video.sfu.signal.StartNoiseCancellationResponse.error:type_name -> stream.video.sfu.models.Error + 23, // 1: stream.video.sfu.signal.StopNoiseCancellationResponse.error:type_name -> stream.video.sfu.models.Error + 24, // 2: stream.video.sfu.signal.SendMetricsRequest.inbounds:type_name -> stream.video.sfu.models.InboundRtp + 25, // 3: stream.video.sfu.signal.SendMetricsRequest.outbounds:type_name -> stream.video.sfu.models.OutboundRtp + 26, // 4: stream.video.sfu.signal.SendMetricsRequest.remote_inbounds:type_name -> stream.video.sfu.models.RemoteInboundRtp + 27, // 5: stream.video.sfu.signal.SendMetricsRequest.remote_outbounds:type_name -> stream.video.sfu.models.RemoteOutboundRtp + 28, // 6: stream.video.sfu.signal.SendStatsRequest.encode_stats:type_name -> stream.video.sfu.models.PerformanceStats + 28, // 7: stream.video.sfu.signal.SendStatsRequest.decode_stats:type_name -> stream.video.sfu.models.PerformanceStats + 23, // 8: stream.video.sfu.signal.SendStatsResponse.error:type_name -> stream.video.sfu.models.Error + 29, // 9: stream.video.sfu.signal.ICERestartRequest.peer_type:type_name -> stream.video.sfu.models.PeerType + 23, // 10: stream.video.sfu.signal.ICERestartResponse.error:type_name -> stream.video.sfu.models.Error + 12, // 11: stream.video.sfu.signal.UpdateMuteStatesRequest.mute_states:type_name -> stream.video.sfu.signal.TrackMuteState + 23, // 12: stream.video.sfu.signal.UpdateMuteStatesResponse.error:type_name -> stream.video.sfu.models.Error + 30, // 13: stream.video.sfu.signal.TrackMuteState.track_type:type_name -> stream.video.sfu.models.TrackType + 17, // 14: stream.video.sfu.signal.UpdateSubscriptionsRequest.tracks:type_name -> stream.video.sfu.signal.TrackSubscriptionDetails + 23, // 15: stream.video.sfu.signal.UpdateSubscriptionsResponse.error:type_name -> stream.video.sfu.models.Error + 30, // 16: stream.video.sfu.signal.TrackSubscriptionDetails.track_type:type_name -> stream.video.sfu.models.TrackType + 31, // 17: stream.video.sfu.signal.TrackSubscriptionDetails.dimension:type_name -> stream.video.sfu.models.VideoDimension + 29, // 18: stream.video.sfu.signal.SendAnswerRequest.peer_type:type_name -> stream.video.sfu.models.PeerType + 23, // 19: stream.video.sfu.signal.SendAnswerResponse.error:type_name -> stream.video.sfu.models.Error + 23, // 20: stream.video.sfu.signal.ICETrickleResponse.error:type_name -> stream.video.sfu.models.Error + 32, // 21: stream.video.sfu.signal.SetPublisherRequest.tracks:type_name -> stream.video.sfu.models.TrackInfo + 23, // 22: stream.video.sfu.signal.SetPublisherResponse.error:type_name -> stream.video.sfu.models.Error + 21, // 23: stream.video.sfu.signal.SignalServer.SetPublisher:input_type -> stream.video.sfu.signal.SetPublisherRequest + 18, // 24: stream.video.sfu.signal.SignalServer.SendAnswer:input_type -> stream.video.sfu.signal.SendAnswerRequest + 33, // 25: stream.video.sfu.signal.SignalServer.IceTrickle:input_type -> stream.video.sfu.models.ICETrickle + 15, // 26: stream.video.sfu.signal.SignalServer.UpdateSubscriptions:input_type -> stream.video.sfu.signal.UpdateSubscriptionsRequest + 10, // 27: stream.video.sfu.signal.SignalServer.UpdateMuteStates:input_type -> stream.video.sfu.signal.UpdateMuteStatesRequest + 8, // 28: stream.video.sfu.signal.SignalServer.IceRestart:input_type -> stream.video.sfu.signal.ICERestartRequest + 6, // 29: stream.video.sfu.signal.SignalServer.SendStats:input_type -> stream.video.sfu.signal.SendStatsRequest + 4, // 30: stream.video.sfu.signal.SignalServer.SendMetrics:input_type -> stream.video.sfu.signal.SendMetricsRequest + 0, // 31: stream.video.sfu.signal.SignalServer.StartNoiseCancellation:input_type -> stream.video.sfu.signal.StartNoiseCancellationRequest + 2, // 32: stream.video.sfu.signal.SignalServer.StopNoiseCancellation:input_type -> stream.video.sfu.signal.StopNoiseCancellationRequest + 22, // 33: stream.video.sfu.signal.SignalServer.SetPublisher:output_type -> stream.video.sfu.signal.SetPublisherResponse + 19, // 34: stream.video.sfu.signal.SignalServer.SendAnswer:output_type -> stream.video.sfu.signal.SendAnswerResponse + 20, // 35: stream.video.sfu.signal.SignalServer.IceTrickle:output_type -> stream.video.sfu.signal.ICETrickleResponse + 16, // 36: stream.video.sfu.signal.SignalServer.UpdateSubscriptions:output_type -> stream.video.sfu.signal.UpdateSubscriptionsResponse + 11, // 37: stream.video.sfu.signal.SignalServer.UpdateMuteStates:output_type -> stream.video.sfu.signal.UpdateMuteStatesResponse + 9, // 38: stream.video.sfu.signal.SignalServer.IceRestart:output_type -> stream.video.sfu.signal.ICERestartResponse + 7, // 39: stream.video.sfu.signal.SignalServer.SendStats:output_type -> stream.video.sfu.signal.SendStatsResponse + 5, // 40: stream.video.sfu.signal.SignalServer.SendMetrics:output_type -> stream.video.sfu.signal.SendMetricsResponse + 1, // 41: stream.video.sfu.signal.SignalServer.StartNoiseCancellation:output_type -> stream.video.sfu.signal.StartNoiseCancellationResponse + 3, // 42: stream.video.sfu.signal.SignalServer.StopNoiseCancellation:output_type -> stream.video.sfu.signal.StopNoiseCancellationResponse + 33, // [33:43] is the sub-list for method output_type + 23, // [23:33] is the sub-list for method input_type + 23, // [23:23] is the sub-list for extension type_name + 23, // [23:23] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name } func init() { file_video_sfu_signal_rpc_signal_proto_init() } @@ -2057,30 +1715,6 @@ func file_video_sfu_signal_rpc_signal_proto_init() { } } file_video_sfu_signal_rpc_signal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Reconnection); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_video_sfu_signal_rpc_signal_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Telemetry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_video_sfu_signal_rpc_signal_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendMetricsRequest); i { case 0: return &v.state @@ -2092,7 +1726,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendMetricsResponse); i { case 0: return &v.state @@ -2104,7 +1738,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendStatsRequest); i { case 0: return &v.state @@ -2116,7 +1750,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendStatsResponse); i { case 0: return &v.state @@ -2128,7 +1762,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ICERestartRequest); i { case 0: return &v.state @@ -2140,7 +1774,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ICERestartResponse); i { case 0: return &v.state @@ -2152,7 +1786,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateMuteStatesRequest); i { case 0: return &v.state @@ -2164,7 +1798,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateMuteStatesResponse); i { case 0: return &v.state @@ -2176,7 +1810,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TrackMuteState); i { case 0: return &v.state @@ -2188,7 +1822,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AudioMuteChanged); i { case 0: return &v.state @@ -2200,7 +1834,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VideoMuteChanged); i { case 0: return &v.state @@ -2212,7 +1846,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubscriptionsRequest); i { case 0: return &v.state @@ -2224,7 +1858,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubscriptionsResponse); i { case 0: return &v.state @@ -2236,7 +1870,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TrackSubscriptionDetails); i { case 0: return &v.state @@ -2248,7 +1882,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendAnswerRequest); i { case 0: return &v.state @@ -2260,7 +1894,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SendAnswerResponse); i { case 0: return &v.state @@ -2272,7 +1906,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ICETrickleResponse); i { case 0: return &v.state @@ -2284,7 +1918,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetPublisherRequest); i { case 0: return &v.state @@ -2296,7 +1930,7 @@ func file_video_sfu_signal_rpc_signal_proto_init() { return nil } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_video_sfu_signal_rpc_signal_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetPublisherResponse); i { case 0: return &v.state @@ -2309,21 +1943,13 @@ func file_video_sfu_signal_rpc_signal_proto_init() { } } } - file_video_sfu_signal_rpc_signal_proto_msgTypes[5].OneofWrappers = []interface{}{ - (*Telemetry_ConnectionTimeSeconds)(nil), - (*Telemetry_Reconnection)(nil), - } - file_video_sfu_signal_rpc_signal_proto_msgTypes[8].OneofWrappers = []interface{}{ - (*SendStatsRequest_Android)(nil), - (*SendStatsRequest_Apple)(nil), - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_video_sfu_signal_rpc_signal_proto_rawDesc, NumEnums: 0, - NumMessages: 25, + NumMessages: 23, NumExtensions: 0, NumServices: 1, }, diff --git a/protobuf/video/sfu/signal_rpc/signal.proto b/protobuf/video/sfu/signal_rpc/signal.proto index 958328b36..9eb65c24d 100644 --- a/protobuf/video/sfu/signal_rpc/signal.proto +++ b/protobuf/video/sfu/signal_rpc/signal.proto @@ -52,17 +52,6 @@ message StopNoiseCancellationResponse { models.Error error = 1; } -message Reconnection { - float time_seconds = 1; - models.WebsocketReconnectStrategy strategy = 2; -} - -message Telemetry { - oneof data { - float connection_time_seconds = 1; - Reconnection reconnection = 2; - } -} message SendMetricsRequest { string session_id = 1; @@ -79,23 +68,7 @@ message SendMetricsResponse { message SendStatsRequest { string session_id = 1; - string subscriber_stats = 2; - string publisher_stats = 3; - string webrtc_version = 4; - string sdk = 5; - string sdk_version = 6; - - models.InputDevices audio_devices = 7; - models.InputDevices video_devices = 8; - oneof device_state { - models.AndroidState android = 9; - models.AppleState apple = 10; - } - - Telemetry telemetry = 11; - models.RTMPIngress rtmp = 12; - string subscriber_rtc_stats = 13 [deprecated = true]; - string publisher_rtc_stats = 14 [deprecated = true]; + reserved 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14; string rtc_stats = 15; // Encode stats for the publisher repeated models.PerformanceStats encode_stats = 16; diff --git a/protobuf/video/sfu/signal_rpc/signal.twirp.go b/protobuf/video/sfu/signal_rpc/signal.twirp.go index 23ec78f77..f7b404b8c 100644 --- a/protobuf/video/sfu/signal_rpc/signal.twirp.go +++ b/protobuf/video/sfu/signal_rpc/signal.twirp.go @@ -3606,95 +3606,77 @@ func callClientError(ctx context.Context, h *twirp.ClientHooks, err twirp.Error) } var twirpFileDescriptor0 = []byte{ - // 1435 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x4b, 0x6f, 0xdb, 0xc6, - 0x16, 0x0e, 0xfd, 0xd6, 0x91, 0x2c, 0xcb, 0x93, 0xe4, 0x5a, 0x50, 0x6e, 0x5e, 0xbc, 0x37, 0x88, - 0xe3, 0xa6, 0x72, 0xed, 0xa4, 0x69, 0xd0, 0xa0, 0x69, 0xed, 0x24, 0xa8, 0x95, 0x36, 0x8d, 0x41, - 0x3a, 0x2e, 0xd0, 0x45, 0x05, 0x8a, 0x3c, 0xb2, 0x09, 0x49, 0x24, 0x3b, 0x33, 0x74, 0xe0, 0x5d, - 0x91, 0x45, 0xd0, 0x2e, 0xbb, 0xed, 0xa2, 0x3f, 0xa0, 0xfd, 0x3b, 0x5d, 0xf6, 0xc7, 0x14, 0xf3, - 0x10, 0x49, 0xc9, 0xa2, 0x2c, 0xc5, 0x2b, 0xd3, 0x33, 0xdf, 0xf7, 0x9d, 0x33, 0xe7, 0x35, 0x14, - 0xe1, 0xf6, 0x89, 0xef, 0x61, 0xb8, 0xc9, 0xda, 0xf1, 0x26, 0xf3, 0x8f, 0x02, 0xa7, 0xdb, 0xa4, - 0x91, 0xab, 0x1f, 0xeb, 0x11, 0x0d, 0x79, 0x48, 0xd6, 0x18, 0xa7, 0xe8, 0xf4, 0xea, 0x12, 0x59, - 0x67, 0xed, 0xb8, 0xae, 0xb6, 0x6b, 0xd7, 0x53, 0x6e, 0x2f, 0xf4, 0xb0, 0xcb, 0xf4, 0x1f, 0xc5, - 0x33, 0x9f, 0x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 0x44, 0x33, 0x67, 0x91, 0xce, 0x15, 0xb7, 0xef, - 0xd4, 0x73, 0x2a, 0xa9, 0x9e, 0x3d, 0xf8, 0xde, 0x25, 0x6b, 0x80, 0xbc, 0xbb, 0x00, 0x73, 0x9e, - 0xc3, 0x1d, 0xf3, 0xb7, 0x59, 0x20, 0x36, 0x06, 0xde, 0x2b, 0xe4, 0xd4, 0x77, 0xd9, 0x64, 0xe9, - 0x22, 0xf7, 0x81, 0xc4, 0x81, 0xdf, 0xf6, 0xd1, 0x6b, 0x66, 0x60, 0x33, 0x12, 0x56, 0xd1, 0x3b, - 0x76, 0x82, 0xfe, 0x12, 0x96, 0xfc, 0xa0, 0x15, 0xc6, 0xe2, 0x8c, 0xb3, 0xb7, 0x66, 0xd7, 0x8b, - 0xdb, 0xff, 0xcb, 0x8d, 0x68, 0x43, 0x01, 0x2d, 0x1e, 0x59, 0x09, 0x89, 0xec, 0x42, 0x21, 0x8c, - 0xb9, 0x56, 0x98, 0x93, 0x0a, 0xff, 0xcf, 0x55, 0x78, 0xad, 0x91, 0x42, 0x22, 0xa5, 0x11, 0x0b, - 0x56, 0x28, 0xf6, 0x42, 0x8e, 0xcd, 0xc4, 0x97, 0x79, 0xa9, 0x74, 0x2f, 0x57, 0xc9, 0x92, 0xf8, - 0x8c, 0x47, 0x65, 0x9a, 0x5d, 0x61, 0xe4, 0x0d, 0x54, 0xb4, 0x66, 0xea, 0xde, 0x82, 0x14, 0xdd, - 0x38, 0x47, 0x34, 0xeb, 0xa4, 0xf6, 0xab, 0xbf, 0xc4, 0xcc, 0xab, 0x70, 0x79, 0x20, 0x25, 0xaa, - 0x05, 0xcc, 0xbf, 0x17, 0xa1, 0x22, 0xd6, 0x6d, 0xee, 0xf0, 0x49, 0x13, 0x75, 0x0f, 0x2a, 0x2c, - 0x6e, 0x31, 0x97, 0xfa, 0x2d, 0xa4, 0x4d, 0x26, 0x98, 0x3a, 0x4d, 0x2b, 0xe9, 0xba, 0x14, 0x24, - 0x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- 0x00, 0xff, 0xff, 0xa6, 0x65, 0x7c, 0x80, 0xf5, 0x13, 0x00, 0x00, + // 1152 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xd1, 0x52, 0xdb, 0x46, + 0x17, 0x1e, 0x61, 0xe1, 0xc8, 0xc7, 0x60, 0xc4, 0x26, 0xf9, 0x61, 0x9c, 0x9f, 0x34, 0x51, 0xdb, + 0x09, 0xa1, 0xd4, 0x14, 0x92, 0xa6, 0x33, 0xed, 0x34, 0x1d, 0x20, 0x4c, 0x6b, 0x4d, 0xd3, 0x32, + 0x12, 0x70, 0xd1, 0x8b, 0x7a, 0x6c, 0x69, 0x0d, 0x3b, 0xd8, 0x92, 0xba, 0xbb, 0x22, 0x93, 0xbb, + 0x4e, 0x2e, 0x32, 0xed, 0x65, 0x5f, 0xa0, 0x0f, 0xd0, 0xbe, 0x52, 0xaf, 0xfb, 0x1c, 0x1d, 0xed, + 0xae, 0x6d, 0xd9, 0x48, 0xc2, 0xc6, 0x57, 0xac, 0x57, 0xdf, 0xf9, 0xce, 0xb7, 0xe7, 0x9c, 0x3d, + 0xbb, 0x0b, 0x3c, 0xbe, 0x22, 0x3e, 0x0e, 0x77, 0x58, 0x37, 0xde, 0x61, 0xe4, 0x3c, 0x68, 0xf7, + 0x5a, 0x34, 0xf2, 0xd4, 0xb0, 0x11, 0xd1, 0x90, 0x87, 0x68, 0x8d, 0x71, 0x8a, 0xdb, 0xfd, 0x86, + 0x40, 0x36, 0x58, 0x37, 0x6e, 0xc8, 0xcf, 0xf5, 0x8d, 0x91, 0x6d, 0x3f, 0xf4, 0x71, 0x8f, 0xa9, + 0x3f, 0xd2, 0xce, 0x7a, 0x09, 0x1b, 0x2e, 0x6f, 0x53, 0xfe, 0x43, 0x48, 0x18, 0x3e, 0x6c, 0x07, + 0x1e, 0xee, 0xf5, 0xda, 0x9c, 0x84, 0x81, 0x83, 0x7f, 0x89, 0x31, 0xe3, 0x68, 0x03, 0x80, 0x61, + 0xc6, 0x48, 0x18, 0xb4, 0x88, 0xbf, 0xae, 0x3d, 0xd2, 0x36, 0x2b, 0x4e, 0x45, 0xcd, 0x34, 0x7d, + 0xeb, 0x0c, 0x1e, 0xe6, 0xd9, 0xb3, 0x28, 0x0c, 0x18, 0x46, 0xcf, 0x61, 0x11, 0x53, 0x1a, 0x52, + 0x61, 0x5b, 0xdd, 0x7b, 0xd8, 0xb8, 0xa6, 0x54, 0x09, 0x3a, 0x4a, 0x50, 0x8e, 0x04, 0x5b, 0x5f, + 0xc3, 0xff, 0x5d, 0x1e, 0x46, 0xb7, 0x95, 0x75, 0x9a, 0x2c, 0x2b, 0xd3, 0x7c, 0x2e, 0x55, 0x7f, + 0x94, 0x00, 0xb9, 0x38, 0xf0, 0x5f, 0x63, 0x4e, 0x89, 0xc7, 0xa6, 0x13, 0x83, 0xb6, 0x01, 0xc5, + 0x01, 0xe9, 0x12, 0xec, 0xb7, 0x52, 0xb0, 0x05, 0x01, 0x33, 0xd5, 0x17, 0x77, 0x88, 0xfe, 0x06, + 0x0c, 0x12, 0x74, 0xc2, 0x38, 0xf0, 0xd9, 0x7a, 0xe9, 0x51, 0x69, 0xb3, 0xba, 0xf7, 0x61, 0xae, + 0xb8, 0xa6, 0x04, 0x3a, 0x3c, 0x72, 0x86, 0x46, 0xe8, 0x00, 0x2a, 0x61, 0xcc, 0x15, 0x83, 0x2e, + 0x18, 0x3e, 0xca, 0x65, 0xf8, 0x51, 0x21, 0x13, 0x8a, 0x91, 0x19, 0x72, 0x60, 0x85, 0xe2, 0x7e, + 0xc8, 0x71, 0x6b, 0xa8, 0x65, 0x51, 0x30, 0x3d, 0xcd, 0x65, 0x72, 0x04, 0x3e, 0xa5, 0xa8, 0x46, + 0xd3, 0x33, 0x0c, 0x9d, 0x82, 0xa9, 0x38, 0x47, 0xf2, 0xca, 0x82, 0x74, 0xeb, 0x06, 0xd2, 0xb4, + 0x48, 0xa5, 0x6b, 0x30, 0xc5, 0xac, 0xfb, 0x70, 0x77, 0x2c, 0x25, 0x32, 0xc1, 0xd6, 0xbf, 0x0b, + 0x60, 0x26, 0xf3, 0x2e, 0x6f, 0xf3, 0x69, 0x13, 0xf5, 0x00, 0x2a, 0x94, 0x7b, 0x2d, 0x96, 0x98, + 0xac, 0xaf, 0x88, 0xaf, 0x06, 0xe5, 0x9e, 0xa0, 0x40, 0xdf, 0xc3, 0x12, 0x0e, 0xbc, 0xd0, 0xc7, + 0xea, 0xbb, 0x79, 0x43, 0x3c, 0x8e, 0x31, 0xed, 0x86, 0xb4, 0x9f, 0x14, 0x9f, 0xd4, 0x50, 0x95, + 0xe6, 0x43, 0x36, 0x1f, 0xa7, 0xd8, 0x56, 0x67, 0x66, 0x93, 0xe6, 0x92, 0x2d, 0xbb, 0xc2, 0x50, + 0x76, 0x85, 0xd9, 0xba, 0xb1, 0x60, 0x96, 0x6c, 0xdd, 0x28, 0x99, 0xba, 0xad, 0x1b, 0xba, 0xb9, + 0x68, 0xeb, 0xc6, 0xa2, 0x59, 0xb6, 0x75, 0xa3, 0x6c, 0xde, 0xb1, 0x75, 0xe3, 0x8e, 0x69, 0xd8, + 0xba, 0x61, 0x98, 0x15, 0x5b, 0x37, 0x2a, 0x26, 0xd8, 0xba, 0x01, 0x66, 0xd5, 0xd6, 0x8d, 0xaa, + 0xb9, 0x64, 0xeb, 0xc6, 0x92, 0xb9, 0x6c, 0xeb, 0xc6, 0xb2, 0x59, 0xb3, 0x75, 0xa3, 0x66, 0xae, + 0x58, 0x4d, 0x58, 0x4d, 0xc5, 0x79, 0xae, 0xed, 0x45, 0x61, 0xb5, 0x79, 0x78, 0xe4, 0x60, 0x96, + 0x74, 0x94, 0x29, 0x73, 0xf6, 0x12, 0x2a, 0x11, 0xc6, 0xb4, 0xc5, 0xdf, 0x46, 0x58, 0xec, 0xa9, + 0xda, 0xde, 0xe3, 0x82, 0x28, 0x62, 0x7a, 0xf2,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, 0xed, 0xc6, 0xb2, 0x19, 0x9d, 0xed, 0x1e, 0x6b, 0x3f, + 0x7d, 0x75, 0x4e, 0xf8, 0x45, 0xdc, 0x69, 0x78, 0x61, 0x7f, 0xe7, 0x5b, 0xcc, 0x5d, 0xc1, 0xba, + 0x23, 0xde, 0xf0, 0x5e, 0xd8, 0x93, 0x83, 0x4e, 0xdc, 0xdd, 0xc9, 0xfa, 0x4f, 0xc1, 0x5f, 0x0b, + 0x75, 0x89, 0x97, 0xe7, 0x6c, 0xe3, 0x6a, 0xb7, 0xe1, 0x76, 0xe3, 0x86, 0x64, 0xef, 0x94, 0x85, + 0xed, 0xb3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x91, 0x95, 0xd5, 0x65, 0x10, 0x00, 0x00, } diff --git a/protobuf/video/sfu/signal_rpc/signal_vtproto.pb.go b/protobuf/video/sfu/signal_rpc/signal_vtproto.pb.go index 8be68d693..8aa543004 100644 --- a/protobuf/video/sfu/signal_rpc/signal_vtproto.pb.go +++ b/protobuf/video/sfu/signal_rpc/signal_vtproto.pb.go @@ -5,13 +5,11 @@ package signal_rpc import ( - binary "encoding/binary" fmt "fmt" models "github.com/GetStream/protocol/protobuf/video/sfu/models" proto "google.golang.org/protobuf/proto" protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" - math "math" bits "math/bits" ) @@ -212,127 +210,6 @@ func (m *StopNoiseCancellationResponse) MarshalToSizedBufferVT(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *Reconnection) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Reconnection) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *Reconnection) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if m.Strategy != 0 { - i = encodeVarint(dAtA, i, uint64(m.Strategy)) - i-- - dAtA[i] = 0x10 - } - if m.TimeSeconds != 0 { - i -= 4 - binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TimeSeconds)))) - i-- - dAtA[i] = 0xd - } - return len(dAtA) - i, nil -} - -func (m *Telemetry) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Telemetry) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *Telemetry) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if vtmsg, ok := m.Data.(interface { - MarshalToVT([]byte) (int, error) - SizeVT() int - }); ok { - { - size := vtmsg.SizeVT() - i -= size - if _, err := vtmsg.MarshalToVT(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *Telemetry_ConnectionTimeSeconds) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *Telemetry_ConnectionTimeSeconds) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - i := len(dAtA) - i -= 4 - binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ConnectionTimeSeconds)))) - i-- - dAtA[i] = 0xd - return len(dAtA) - i, nil -} -func (m *Telemetry_Reconnection) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *Telemetry_Reconnection) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Reconnection != nil { - size, err := m.Reconnection.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} func (m *SendMetricsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -539,18 +416,6 @@ func (m *SendStatsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if vtmsg, ok := m.DeviceState.(interface { - MarshalToVT([]byte) (int, error) - SizeVT() int - }); ok { - { - size := vtmsg.SizeVT() - i -= size - if _, err := vtmsg.MarshalToVT(dAtA[i:]); err != nil { - return 0, err - } - } - } if len(m.UnifiedSessionId) > 0 { i -= len(m.UnifiedSessionId) copy(dAtA[i:], m.UnifiedSessionId) @@ -619,131 +484,6 @@ func (m *SendStatsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i-- dAtA[i] = 0x7a } - if len(m.PublisherRtcStats) > 0 { - i -= len(m.PublisherRtcStats) - copy(dAtA[i:], m.PublisherRtcStats) - i = encodeVarint(dAtA, i, uint64(len(m.PublisherRtcStats))) - i-- - dAtA[i] = 0x72 - } - if len(m.SubscriberRtcStats) > 0 { - i -= len(m.SubscriberRtcStats) - copy(dAtA[i:], m.SubscriberRtcStats) - i = encodeVarint(dAtA, i, uint64(len(m.SubscriberRtcStats))) - i-- - dAtA[i] = 0x6a - } - if m.Rtmp != nil { - if marshalto, ok := interface{}(m.Rtmp).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := marshalto.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Rtmp) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x62 - } - if m.Telemetry != nil { - size, err := m.Telemetry.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x5a - } - if m.VideoDevices != nil { - if marshalto, ok := interface{}(m.VideoDevices).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := marshalto.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.VideoDevices) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x42 - } - if m.AudioDevices != nil { - if marshalto, ok := interface{}(m.AudioDevices).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := marshalto.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.AudioDevices) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x3a - } - if len(m.SdkVersion) > 0 { - i -= len(m.SdkVersion) - copy(dAtA[i:], m.SdkVersion) - i = encodeVarint(dAtA, i, uint64(len(m.SdkVersion))) - i-- - dAtA[i] = 0x32 - } - if len(m.Sdk) > 0 { - i -= len(m.Sdk) - copy(dAtA[i:], m.Sdk) - i = encodeVarint(dAtA, i, uint64(len(m.Sdk))) - i-- - dAtA[i] = 0x2a - } - if len(m.WebrtcVersion) > 0 { - i -= len(m.WebrtcVersion) - copy(dAtA[i:], m.WebrtcVersion) - i = encodeVarint(dAtA, i, uint64(len(m.WebrtcVersion))) - i-- - dAtA[i] = 0x22 - } - if len(m.PublisherStats) > 0 { - i -= len(m.PublisherStats) - copy(dAtA[i:], m.PublisherStats) - i = encodeVarint(dAtA, i, uint64(len(m.PublisherStats))) - i-- - dAtA[i] = 0x1a - } - if len(m.SubscriberStats) > 0 { - i -= len(m.SubscriberStats) - copy(dAtA[i:], m.SubscriberStats) - i = encodeVarint(dAtA, i, uint64(len(m.SubscriberStats))) - i-- - dAtA[i] = 0x12 - } if len(m.SessionId) > 0 { i -= len(m.SessionId) copy(dAtA[i:], m.SessionId) @@ -754,68 +494,6 @@ func (m *SendStatsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SendStatsRequest_Android) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *SendStatsRequest_Android) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Android != nil { - if marshalto, ok := interface{}(m.Android).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := marshalto.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Android) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x4a - } - return len(dAtA) - i, nil -} -func (m *SendStatsRequest_Apple) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *SendStatsRequest_Apple) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Apple != nil { - if marshalto, ok := interface{}(m.Apple).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := marshalto.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Apple) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x52 - } - return len(dAtA) - i, nil -} func (m *SendStatsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1797,97 +1475,43 @@ func (m *StopNoiseCancellationResponse) SizeVT() (n int) { return n } -func (m *Reconnection) SizeVT() (n int) { +func (m *SendMetricsRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.TimeSeconds != 0 { - n += 5 - } - if m.Strategy != 0 { - n += 1 + sov(uint64(m.Strategy)) + l = len(m.SessionId) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.unknownFields != nil { - n += len(m.unknownFields) + l = len(m.UnifiedSessionId) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - return n -} - -func (m *Telemetry) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Inbounds) > 0 { + for _, e := range m.Inbounds { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } } - var l int - _ = l - if vtmsg, ok := m.Data.(interface{ SizeVT() int }); ok { - n += vtmsg.SizeVT() - } - if m.unknownFields != nil { - n += len(m.unknownFields) - } - return n -} - -func (m *Telemetry_ConnectionTimeSeconds) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 5 - return n -} -func (m *Telemetry_Reconnection) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Reconnection != nil { - l = m.Reconnection.SizeVT() - n += 1 + l + sov(uint64(l)) - } - return n -} -func (m *SendMetricsRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SessionId) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.UnifiedSessionId) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.Inbounds) > 0 { - for _, e := range m.Inbounds { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } - } - if len(m.Outbounds) > 0 { - for _, e := range m.Outbounds { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } + if len(m.Outbounds) > 0 { + for _, e := range m.Outbounds { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } } if len(m.RemoteInbounds) > 0 { for _, e := range m.RemoteInbounds { @@ -1941,71 +1565,6 @@ func (m *SendStatsRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.SubscriberStats) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.PublisherStats) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.WebrtcVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Sdk) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.SdkVersion) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.AudioDevices != nil { - if size, ok := interface{}(m.AudioDevices).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.AudioDevices) - } - n += 1 + l + sov(uint64(l)) - } - if m.VideoDevices != nil { - if size, ok := interface{}(m.VideoDevices).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.VideoDevices) - } - n += 1 + l + sov(uint64(l)) - } - if vtmsg, ok := m.DeviceState.(interface{ SizeVT() int }); ok { - n += vtmsg.SizeVT() - } - if m.Telemetry != nil { - l = m.Telemetry.SizeVT() - n += 1 + l + sov(uint64(l)) - } - if m.Rtmp != nil { - if size, ok := interface{}(m.Rtmp).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Rtmp) - } - n += 1 + l + sov(uint64(l)) - } - l = len(m.SubscriberRtcStats) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.PublisherRtcStats) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } l = len(m.RtcStats) if l > 0 { n += 1 + l + sov(uint64(l)) @@ -2044,42 +1603,6 @@ func (m *SendStatsRequest) SizeVT() (n int) { return n } -func (m *SendStatsRequest_Android) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Android != nil { - if size, ok := interface{}(m.Android).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Android) - } - n += 1 + l + sov(uint64(l)) - } - return n -} -func (m *SendStatsRequest_Apple) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Apple != nil { - if size, ok := interface{}(m.Apple).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Apple) - } - n += 1 + l + sov(uint64(l)) - } - return n -} func (m *SendStatsResponse) SizeVT() (n int) { if m == nil { return 0 @@ -2809,7 +2332,7 @@ func (m *StopNoiseCancellationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Reconnection) UnmarshalVT(dAtA []byte) error { +func (m *SendMetricsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2832,28 +2355,17 @@ func (m *Reconnection) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Reconnection: wiretype end group for non-group") + return fmt.Errorf("proto: SendMetricsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Reconnection: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SendMetricsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeSeconds", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.TimeSeconds = float32(math.Float32frombits(v)) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionId", wireType) } - m.Strategy = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -2863,76 +2375,59 @@ func (m *Reconnection) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Strategy |= models.WebsocketReconnectStrategy(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Telemetry) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + m.SessionId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UnifiedSessionId", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Telemetry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Telemetry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectionTimeSeconds", wireType) + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - var v uint32 - if (iNdEx + 4) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Data = &Telemetry_ConnectionTimeSeconds{float32(math.Float32frombits(v))} - case 2: + m.UnifiedSessionId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reconnection", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Inbounds", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2959,195 +2454,39 @@ func (m *Telemetry) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if oneof, ok := m.Data.(*Telemetry_Reconnection); ok { - if err := oneof.Reconnection.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.Inbounds = append(m.Inbounds, &models.InboundRtp{}) + if unmarshal, ok := interface{}(m.Inbounds[len(m.Inbounds)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - v := &Reconnection{} - if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Inbounds[len(m.Inbounds)-1]); err != nil { return err } - m.Data = &Telemetry_Reconnection{v} } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Outbounds", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SendMetricsRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SendMetricsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SendMetricsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SessionId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SessionId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UnifiedSessionId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UnifiedSessionId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inbounds", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inbounds = append(m.Inbounds, &models.InboundRtp{}) - if unmarshal, ok := interface{}(m.Inbounds[len(m.Inbounds)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Inbounds[len(m.Inbounds)-1]); err != nil { - return err - } - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outbounds", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { return ErrInvalidLength } postIndex := iNdEx + msglen @@ -3388,512 +2727,6 @@ func (m *SendStatsRequest) UnmarshalVT(dAtA []byte) error { } m.SessionId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubscriberStats", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SubscriberStats = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublisherStats", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublisherStats = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WebrtcVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WebrtcVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sdk", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sdk = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SdkVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SdkVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AudioDevices", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AudioDevices == nil { - m.AudioDevices = &models.InputDevices{} - } - if unmarshal, ok := interface{}(m.AudioDevices).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.AudioDevices); err != nil { - return err - } - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VideoDevices", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.VideoDevices == nil { - m.VideoDevices = &models.InputDevices{} - } - if unmarshal, ok := interface{}(m.VideoDevices).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VideoDevices); err != nil { - return err - } - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Android", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if oneof, ok := m.DeviceState.(*SendStatsRequest_Android); ok { - if unmarshal, ok := interface{}(oneof.Android).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], oneof.Android); err != nil { - return err - } - } - } else { - v := &models.AndroidState{} - if unmarshal, ok := interface{}(v).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { - return err - } - } - m.DeviceState = &SendStatsRequest_Android{v} - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Apple", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if oneof, ok := m.DeviceState.(*SendStatsRequest_Apple); ok { - if unmarshal, ok := interface{}(oneof.Apple).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], oneof.Apple); err != nil { - return err - } - } - } else { - v := &models.AppleState{} - if unmarshal, ok := interface{}(v).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { - return err - } - } - m.DeviceState = &SendStatsRequest_Apple{v} - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Telemetry", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Telemetry == nil { - m.Telemetry = &Telemetry{} - } - if err := m.Telemetry.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rtmp", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Rtmp == nil { - m.Rtmp = &models.RTMPIngress{} - } - if unmarshal, ok := interface{}(m.Rtmp).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Rtmp); err != nil { - return err - } - } - iNdEx = postIndex - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubscriberRtcStats", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SubscriberRtcStats = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublisherRtcStats", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublisherRtcStats = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 15: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field RtcStats", wireType)