diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index e6ce33576..1173baef5 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -223,7 +223,7 @@ func (x LeaveRequest_Action) Number() protoreflect.EnumNumber { // Deprecated: Use LeaveRequest_Action.Descriptor instead. func (LeaveRequest_Action) EnumDescriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{17, 0} + return file_livekit_rtc_proto_rawDescGZIP(), []int{16, 0} } type RequestResponse_Reason int32 @@ -284,7 +284,7 @@ func (x RequestResponse_Reason) Number() protoreflect.EnumNumber { // Deprecated: Use RequestResponse_Reason.Descriptor instead. func (RequestResponse_Reason) EnumDescriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{44, 0} + return file_livekit_rtc_proto_rawDescGZIP(), []int{43, 0} } type WrappedJoinRequest_Compression int32 @@ -330,7 +330,7 @@ func (x WrappedJoinRequest_Compression) Number() protoreflect.EnumNumber { // Deprecated: Use WrappedJoinRequest_Compression.Descriptor instead. func (WrappedJoinRequest_Compression) EnumDescriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{48, 0} + return file_livekit_rtc_proto_rawDescGZIP(), []int{47, 0} } type SignalRequest struct { @@ -702,7 +702,6 @@ type SignalResponse struct { // *SignalResponse_RoomMoved // *SignalResponse_MediaSectionsRequirement // *SignalResponse_SubscribedAudioCodecUpdate - // *SignalResponse_MappedAnswer Message isSignalResponse_Message `protobuf_oneof:"message"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -970,15 +969,6 @@ func (x *SignalResponse) GetSubscribedAudioCodecUpdate() *SubscribedAudioCodecUp return nil } -func (x *SignalResponse) GetMappedAnswer() *MappedSessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalResponse_MappedAnswer); ok { - return x.MappedAnswer - } - } - return nil -} - type isSignalResponse_Message interface { isSignalResponse_Message() } @@ -1109,11 +1099,6 @@ type SignalResponse_SubscribedAudioCodecUpdate struct { SubscribedAudioCodecUpdate *SubscribedAudioCodecUpdate `protobuf:"bytes,26,opt,name=subscribed_audio_codec_update,json=subscribedAudioCodecUpdate,proto3,oneof"` } -type SignalResponse_MappedAnswer struct { - // sent when server answers publisher, includes the mid -> trackID mapping - MappedAnswer *MappedSessionDescription `protobuf:"bytes,27,opt,name=mapped_answer,json=mappedAnswer,proto3,oneof"` -} - func (*SignalResponse_Join) isSignalResponse_Message() {} func (*SignalResponse_Answer) isSignalResponse_Message() {} @@ -1164,8 +1149,6 @@ func (*SignalResponse_MediaSectionsRequirement) isSignalResponse_Message() {} func (*SignalResponse_SubscribedAudioCodecUpdate) isSignalResponse_Message() {} -func (*SignalResponse_MappedAnswer) isSignalResponse_Message() {} - type SimulcastCodec struct { state protoimpl.MessageState `protogen:"open.v1"` Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` @@ -1863,6 +1846,7 @@ type SessionDescription struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` + MidToTrackId map[string]string `protobuf:"bytes,4,rep,name=mid_to_track_id,json=midToTrackId,proto3" json:"mid_to_track_id,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1918,52 +1902,7 @@ func (x *SessionDescription) GetId() uint32 { return 0 } -type MappedSessionDescription struct { - state protoimpl.MessageState `protogen:"open.v1"` - SessionDescription *SessionDescription `protobuf:"bytes,1,opt,name=session_description,json=sessionDescription,proto3" json:"session_description,omitempty"` - MidToTrackId map[string]string `protobuf:"bytes,2,rep,name=mid_to_track_id,json=midToTrackId,proto3" json:"mid_to_track_id,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MappedSessionDescription) Reset() { - *x = MappedSessionDescription{} - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MappedSessionDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MappedSessionDescription) ProtoMessage() {} - -func (x *MappedSessionDescription) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MappedSessionDescription.ProtoReflect.Descriptor instead. -func (*MappedSessionDescription) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{11} -} - -func (x *MappedSessionDescription) GetSessionDescription() *SessionDescription { - if x != nil { - return x.SessionDescription - } - return nil -} - -func (x *MappedSessionDescription) GetMidToTrackId() map[string]string { +func (x *SessionDescription) GetMidToTrackId() map[string]string { if x != nil { return x.MidToTrackId } @@ -1979,7 +1918,7 @@ type ParticipantUpdate struct { func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[12] + mi := &file_livekit_rtc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1991,7 +1930,7 @@ func (x *ParticipantUpdate) String() string { func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[12] + mi := &file_livekit_rtc_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2004,7 +1943,7 @@ func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use ParticipantUpdate.ProtoReflect.Descriptor instead. func (*ParticipantUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{12} + return file_livekit_rtc_proto_rawDescGZIP(), []int{11} } func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo { @@ -2025,7 +1964,7 @@ type UpdateSubscription struct { func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - mi := &file_livekit_rtc_proto_msgTypes[13] + mi := &file_livekit_rtc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2037,7 +1976,7 @@ func (x *UpdateSubscription) String() string { func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[13] + mi := &file_livekit_rtc_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2050,7 +1989,7 @@ func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubscription.ProtoReflect.Descriptor instead. func (*UpdateSubscription) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{13} + return file_livekit_rtc_proto_rawDescGZIP(), []int{12} } func (x *UpdateSubscription) GetTrackSids() []string { @@ -2100,7 +2039,7 @@ type UpdateTrackSettings struct { func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - mi := &file_livekit_rtc_proto_msgTypes[14] + mi := &file_livekit_rtc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2112,7 +2051,7 @@ func (x *UpdateTrackSettings) String() string { func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[14] + mi := &file_livekit_rtc_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2125,7 +2064,7 @@ func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTrackSettings.ProtoReflect.Descriptor instead. func (*UpdateTrackSettings) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{14} + return file_livekit_rtc_proto_rawDescGZIP(), []int{13} } func (x *UpdateTrackSettings) GetTrackSids() []string { @@ -2187,7 +2126,7 @@ type UpdateLocalAudioTrack struct { func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - mi := &file_livekit_rtc_proto_msgTypes[15] + mi := &file_livekit_rtc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2199,7 +2138,7 @@ func (x *UpdateLocalAudioTrack) String() string { func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[15] + mi := &file_livekit_rtc_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2212,7 +2151,7 @@ func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocalAudioTrack.ProtoReflect.Descriptor instead. func (*UpdateLocalAudioTrack) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{15} + return file_livekit_rtc_proto_rawDescGZIP(), []int{14} } func (x *UpdateLocalAudioTrack) GetTrackSid() string { @@ -2240,7 +2179,7 @@ type UpdateLocalVideoTrack struct { func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - mi := &file_livekit_rtc_proto_msgTypes[16] + mi := &file_livekit_rtc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2252,7 +2191,7 @@ func (x *UpdateLocalVideoTrack) String() string { func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[16] + mi := &file_livekit_rtc_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2265,7 +2204,7 @@ func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocalVideoTrack.ProtoReflect.Descriptor instead. func (*UpdateLocalVideoTrack) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{16} + return file_livekit_rtc_proto_rawDescGZIP(), []int{15} } func (x *UpdateLocalVideoTrack) GetTrackSid() string { @@ -2304,7 +2243,7 @@ type LeaveRequest struct { func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - mi := &file_livekit_rtc_proto_msgTypes[17] + mi := &file_livekit_rtc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2316,7 +2255,7 @@ func (x *LeaveRequest) String() string { func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[17] + mi := &file_livekit_rtc_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2329,7 +2268,7 @@ func (x *LeaveRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead. func (*LeaveRequest) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{17} + return file_livekit_rtc_proto_rawDescGZIP(), []int{16} } func (x *LeaveRequest) GetCanReconnect() bool { @@ -2373,7 +2312,7 @@ type UpdateVideoLayers struct { func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - mi := &file_livekit_rtc_proto_msgTypes[18] + mi := &file_livekit_rtc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2385,7 +2324,7 @@ func (x *UpdateVideoLayers) String() string { func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[18] + mi := &file_livekit_rtc_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2398,7 +2337,7 @@ func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateVideoLayers.ProtoReflect.Descriptor instead. func (*UpdateVideoLayers) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{18} + return file_livekit_rtc_proto_rawDescGZIP(), []int{17} } func (x *UpdateVideoLayers) GetTrackSid() string { @@ -2429,7 +2368,7 @@ type UpdateParticipantMetadata struct { func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - mi := &file_livekit_rtc_proto_msgTypes[19] + mi := &file_livekit_rtc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2441,7 +2380,7 @@ func (x *UpdateParticipantMetadata) String() string { func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[19] + mi := &file_livekit_rtc_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2454,7 +2393,7 @@ func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateParticipantMetadata.ProtoReflect.Descriptor instead. func (*UpdateParticipantMetadata) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{19} + return file_livekit_rtc_proto_rawDescGZIP(), []int{18} } func (x *UpdateParticipantMetadata) GetMetadata() string { @@ -2496,7 +2435,7 @@ type ICEServer struct { func (x *ICEServer) Reset() { *x = ICEServer{} - mi := &file_livekit_rtc_proto_msgTypes[20] + mi := &file_livekit_rtc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2508,7 +2447,7 @@ func (x *ICEServer) String() string { func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[20] + mi := &file_livekit_rtc_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2521,7 +2460,7 @@ func (x *ICEServer) ProtoReflect() protoreflect.Message { // Deprecated: Use ICEServer.ProtoReflect.Descriptor instead. func (*ICEServer) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{20} + return file_livekit_rtc_proto_rawDescGZIP(), []int{19} } func (x *ICEServer) GetUrls() []string { @@ -2554,7 +2493,7 @@ type SpeakersChanged struct { func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - mi := &file_livekit_rtc_proto_msgTypes[21] + mi := &file_livekit_rtc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2566,7 +2505,7 @@ func (x *SpeakersChanged) String() string { func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[21] + mi := &file_livekit_rtc_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2579,7 +2518,7 @@ func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { // Deprecated: Use SpeakersChanged.ProtoReflect.Descriptor instead. func (*SpeakersChanged) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{21} + return file_livekit_rtc_proto_rawDescGZIP(), []int{20} } func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo { @@ -2598,7 +2537,7 @@ type RoomUpdate struct { func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[22] + mi := &file_livekit_rtc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2610,7 +2549,7 @@ func (x *RoomUpdate) String() string { func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[22] + mi := &file_livekit_rtc_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2623,7 +2562,7 @@ func (x *RoomUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use RoomUpdate.ProtoReflect.Descriptor instead. func (*RoomUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{22} + return file_livekit_rtc_proto_rawDescGZIP(), []int{21} } func (x *RoomUpdate) GetRoom() *Room { @@ -2644,7 +2583,7 @@ type ConnectionQualityInfo struct { func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - mi := &file_livekit_rtc_proto_msgTypes[23] + mi := &file_livekit_rtc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2656,7 +2595,7 @@ func (x *ConnectionQualityInfo) String() string { func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[23] + mi := &file_livekit_rtc_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2669,7 +2608,7 @@ func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionQualityInfo.ProtoReflect.Descriptor instead. func (*ConnectionQualityInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{23} + return file_livekit_rtc_proto_rawDescGZIP(), []int{22} } func (x *ConnectionQualityInfo) GetParticipantSid() string { @@ -2702,7 +2641,7 @@ type ConnectionQualityUpdate struct { func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[24] + mi := &file_livekit_rtc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2714,7 +2653,7 @@ func (x *ConnectionQualityUpdate) String() string { func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[24] + mi := &file_livekit_rtc_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2727,7 +2666,7 @@ func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionQualityUpdate.ProtoReflect.Descriptor instead. func (*ConnectionQualityUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{24} + return file_livekit_rtc_proto_rawDescGZIP(), []int{23} } func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo { @@ -2748,7 +2687,7 @@ type StreamStateInfo struct { func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - mi := &file_livekit_rtc_proto_msgTypes[25] + mi := &file_livekit_rtc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2760,7 +2699,7 @@ func (x *StreamStateInfo) String() string { func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[25] + mi := &file_livekit_rtc_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2773,7 +2712,7 @@ func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamStateInfo.ProtoReflect.Descriptor instead. func (*StreamStateInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{25} + return file_livekit_rtc_proto_rawDescGZIP(), []int{24} } func (x *StreamStateInfo) GetParticipantSid() string { @@ -2806,7 +2745,7 @@ type StreamStateUpdate struct { func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[26] + mi := &file_livekit_rtc_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2818,7 +2757,7 @@ func (x *StreamStateUpdate) String() string { func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[26] + mi := &file_livekit_rtc_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2831,7 +2770,7 @@ func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamStateUpdate.ProtoReflect.Descriptor instead. func (*StreamStateUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{26} + return file_livekit_rtc_proto_rawDescGZIP(), []int{25} } func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo { @@ -2851,7 +2790,7 @@ type SubscribedQuality struct { func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - mi := &file_livekit_rtc_proto_msgTypes[27] + mi := &file_livekit_rtc_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2863,7 +2802,7 @@ func (x *SubscribedQuality) String() string { func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[27] + mi := &file_livekit_rtc_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2876,7 +2815,7 @@ func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedQuality.ProtoReflect.Descriptor instead. func (*SubscribedQuality) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{27} + return file_livekit_rtc_proto_rawDescGZIP(), []int{26} } func (x *SubscribedQuality) GetQuality() VideoQuality { @@ -2903,7 +2842,7 @@ type SubscribedCodec struct { func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - mi := &file_livekit_rtc_proto_msgTypes[28] + mi := &file_livekit_rtc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2915,7 +2854,7 @@ func (x *SubscribedCodec) String() string { func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[28] + mi := &file_livekit_rtc_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2928,7 +2867,7 @@ func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedCodec.ProtoReflect.Descriptor instead. func (*SubscribedCodec) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{28} + return file_livekit_rtc_proto_rawDescGZIP(), []int{27} } func (x *SubscribedCodec) GetCodec() string { @@ -2957,7 +2896,7 @@ type SubscribedQualityUpdate struct { func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[29] + mi := &file_livekit_rtc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2969,7 +2908,7 @@ func (x *SubscribedQualityUpdate) String() string { func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[29] + mi := &file_livekit_rtc_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2982,7 +2921,7 @@ func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedQualityUpdate.ProtoReflect.Descriptor instead. func (*SubscribedQualityUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{29} + return file_livekit_rtc_proto_rawDescGZIP(), []int{28} } func (x *SubscribedQualityUpdate) GetTrackSid() string { @@ -3017,7 +2956,7 @@ type SubscribedAudioCodecUpdate struct { func (x *SubscribedAudioCodecUpdate) Reset() { *x = SubscribedAudioCodecUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[30] + mi := &file_livekit_rtc_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3029,7 +2968,7 @@ func (x *SubscribedAudioCodecUpdate) String() string { func (*SubscribedAudioCodecUpdate) ProtoMessage() {} func (x *SubscribedAudioCodecUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[30] + mi := &file_livekit_rtc_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3042,7 +2981,7 @@ func (x *SubscribedAudioCodecUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedAudioCodecUpdate.ProtoReflect.Descriptor instead. func (*SubscribedAudioCodecUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{30} + return file_livekit_rtc_proto_rawDescGZIP(), []int{29} } func (x *SubscribedAudioCodecUpdate) GetTrackSid() string { @@ -3072,7 +3011,7 @@ type TrackPermission struct { func (x *TrackPermission) Reset() { *x = TrackPermission{} - mi := &file_livekit_rtc_proto_msgTypes[31] + mi := &file_livekit_rtc_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3084,7 +3023,7 @@ func (x *TrackPermission) String() string { func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[31] + mi := &file_livekit_rtc_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3097,7 +3036,7 @@ func (x *TrackPermission) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackPermission.ProtoReflect.Descriptor instead. func (*TrackPermission) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{31} + return file_livekit_rtc_proto_rawDescGZIP(), []int{30} } func (x *TrackPermission) GetParticipantSid() string { @@ -3138,7 +3077,7 @@ type SubscriptionPermission struct { func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - mi := &file_livekit_rtc_proto_msgTypes[32] + mi := &file_livekit_rtc_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3150,7 +3089,7 @@ func (x *SubscriptionPermission) String() string { func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[32] + mi := &file_livekit_rtc_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3163,7 +3102,7 @@ func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionPermission.ProtoReflect.Descriptor instead. func (*SubscriptionPermission) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{32} + return file_livekit_rtc_proto_rawDescGZIP(), []int{31} } func (x *SubscriptionPermission) GetAllParticipants() bool { @@ -3191,7 +3130,7 @@ type SubscriptionPermissionUpdate struct { func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[33] + mi := &file_livekit_rtc_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3203,7 +3142,7 @@ func (x *SubscriptionPermissionUpdate) String() string { func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[33] + mi := &file_livekit_rtc_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3216,7 +3155,7 @@ func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionPermissionUpdate.ProtoReflect.Descriptor instead. func (*SubscriptionPermissionUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{33} + return file_livekit_rtc_proto_rawDescGZIP(), []int{32} } func (x *SubscriptionPermissionUpdate) GetParticipantSid() string { @@ -3254,7 +3193,7 @@ type RoomMovedResponse struct { func (x *RoomMovedResponse) Reset() { *x = RoomMovedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[34] + mi := &file_livekit_rtc_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3266,7 +3205,7 @@ func (x *RoomMovedResponse) String() string { func (*RoomMovedResponse) ProtoMessage() {} func (x *RoomMovedResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[34] + mi := &file_livekit_rtc_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3279,7 +3218,7 @@ func (x *RoomMovedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RoomMovedResponse.ProtoReflect.Descriptor instead. func (*RoomMovedResponse) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{34} + return file_livekit_rtc_proto_rawDescGZIP(), []int{33} } func (x *RoomMovedResponse) GetRoom() *Room { @@ -3331,7 +3270,7 @@ type SyncState struct { func (x *SyncState) Reset() { *x = SyncState{} - mi := &file_livekit_rtc_proto_msgTypes[35] + mi := &file_livekit_rtc_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3343,7 +3282,7 @@ func (x *SyncState) String() string { func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[35] + mi := &file_livekit_rtc_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3356,7 +3295,7 @@ func (x *SyncState) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncState.ProtoReflect.Descriptor instead. func (*SyncState) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{35} + return file_livekit_rtc_proto_rawDescGZIP(), []int{34} } func (x *SyncState) GetAnswer() *SessionDescription { @@ -3418,7 +3357,7 @@ type DataChannelReceiveState struct { func (x *DataChannelReceiveState) Reset() { *x = DataChannelReceiveState{} - mi := &file_livekit_rtc_proto_msgTypes[36] + mi := &file_livekit_rtc_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3430,7 +3369,7 @@ func (x *DataChannelReceiveState) String() string { func (*DataChannelReceiveState) ProtoMessage() {} func (x *DataChannelReceiveState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[36] + mi := &file_livekit_rtc_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3443,7 +3382,7 @@ func (x *DataChannelReceiveState) ProtoReflect() protoreflect.Message { // Deprecated: Use DataChannelReceiveState.ProtoReflect.Descriptor instead. func (*DataChannelReceiveState) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{36} + return file_livekit_rtc_proto_rawDescGZIP(), []int{35} } func (x *DataChannelReceiveState) GetPublisherSid() string { @@ -3471,7 +3410,7 @@ type DataChannelInfo struct { func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - mi := &file_livekit_rtc_proto_msgTypes[37] + mi := &file_livekit_rtc_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3483,7 +3422,7 @@ func (x *DataChannelInfo) String() string { func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[37] + mi := &file_livekit_rtc_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3496,7 +3435,7 @@ func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use DataChannelInfo.ProtoReflect.Descriptor instead. func (*DataChannelInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{37} + return file_livekit_rtc_proto_rawDescGZIP(), []int{36} } func (x *DataChannelInfo) GetLabel() string { @@ -3540,7 +3479,7 @@ type SimulateScenario struct { func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - mi := &file_livekit_rtc_proto_msgTypes[38] + mi := &file_livekit_rtc_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3552,7 +3491,7 @@ func (x *SimulateScenario) String() string { func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[38] + mi := &file_livekit_rtc_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3565,7 +3504,7 @@ func (x *SimulateScenario) ProtoReflect() protoreflect.Message { // Deprecated: Use SimulateScenario.ProtoReflect.Descriptor instead. func (*SimulateScenario) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{38} + return file_livekit_rtc_proto_rawDescGZIP(), []int{37} } func (x *SimulateScenario) GetScenario() isSimulateScenario_Scenario { @@ -3735,7 +3674,7 @@ type Ping struct { func (x *Ping) Reset() { *x = Ping{} - mi := &file_livekit_rtc_proto_msgTypes[39] + mi := &file_livekit_rtc_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3747,7 +3686,7 @@ func (x *Ping) String() string { func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[39] + mi := &file_livekit_rtc_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3760,7 +3699,7 @@ func (x *Ping) ProtoReflect() protoreflect.Message { // Deprecated: Use Ping.ProtoReflect.Descriptor instead. func (*Ping) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{39} + return file_livekit_rtc_proto_rawDescGZIP(), []int{38} } func (x *Ping) GetTimestamp() int64 { @@ -3788,7 +3727,7 @@ type Pong struct { func (x *Pong) Reset() { *x = Pong{} - mi := &file_livekit_rtc_proto_msgTypes[40] + mi := &file_livekit_rtc_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3800,7 +3739,7 @@ func (x *Pong) String() string { func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[40] + mi := &file_livekit_rtc_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3813,7 +3752,7 @@ func (x *Pong) ProtoReflect() protoreflect.Message { // Deprecated: Use Pong.ProtoReflect.Descriptor instead. func (*Pong) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{40} + return file_livekit_rtc_proto_rawDescGZIP(), []int{39} } func (x *Pong) GetLastPingTimestamp() int64 { @@ -3839,7 +3778,7 @@ type RegionSettings struct { func (x *RegionSettings) Reset() { *x = RegionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[41] + mi := &file_livekit_rtc_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3851,7 +3790,7 @@ func (x *RegionSettings) String() string { func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[41] + mi := &file_livekit_rtc_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3864,7 +3803,7 @@ func (x *RegionSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use RegionSettings.ProtoReflect.Descriptor instead. func (*RegionSettings) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{41} + return file_livekit_rtc_proto_rawDescGZIP(), []int{40} } func (x *RegionSettings) GetRegions() []*RegionInfo { @@ -3885,7 +3824,7 @@ type RegionInfo struct { func (x *RegionInfo) Reset() { *x = RegionInfo{} - mi := &file_livekit_rtc_proto_msgTypes[42] + mi := &file_livekit_rtc_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3897,7 +3836,7 @@ func (x *RegionInfo) String() string { func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[42] + mi := &file_livekit_rtc_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3910,7 +3849,7 @@ func (x *RegionInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use RegionInfo.ProtoReflect.Descriptor instead. func (*RegionInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{42} + return file_livekit_rtc_proto_rawDescGZIP(), []int{41} } func (x *RegionInfo) GetRegion() string { @@ -3944,7 +3883,7 @@ type SubscriptionResponse struct { func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - mi := &file_livekit_rtc_proto_msgTypes[43] + mi := &file_livekit_rtc_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3956,7 +3895,7 @@ func (x *SubscriptionResponse) String() string { func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[43] + mi := &file_livekit_rtc_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3969,7 +3908,7 @@ func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionResponse.ProtoReflect.Descriptor instead. func (*SubscriptionResponse) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{43} + return file_livekit_rtc_proto_rawDescGZIP(), []int{42} } func (x *SubscriptionResponse) GetTrackSid() string { @@ -4006,7 +3945,7 @@ type RequestResponse struct { func (x *RequestResponse) Reset() { *x = RequestResponse{} - mi := &file_livekit_rtc_proto_msgTypes[44] + mi := &file_livekit_rtc_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4018,7 +3957,7 @@ func (x *RequestResponse) String() string { func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[44] + mi := &file_livekit_rtc_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4031,7 +3970,7 @@ func (x *RequestResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestResponse.ProtoReflect.Descriptor instead. func (*RequestResponse) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{44} + return file_livekit_rtc_proto_rawDescGZIP(), []int{43} } func (x *RequestResponse) GetRequestId() uint32 { @@ -4165,7 +4104,7 @@ type TrackSubscribed struct { func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - mi := &file_livekit_rtc_proto_msgTypes[45] + mi := &file_livekit_rtc_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4177,7 +4116,7 @@ func (x *TrackSubscribed) String() string { func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[45] + mi := &file_livekit_rtc_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4190,7 +4129,7 @@ func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackSubscribed.ProtoReflect.Descriptor instead. func (*TrackSubscribed) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{45} + return file_livekit_rtc_proto_rawDescGZIP(), []int{44} } func (x *TrackSubscribed) GetTrackSid() string { @@ -4212,7 +4151,7 @@ type ConnectionSettings struct { func (x *ConnectionSettings) Reset() { *x = ConnectionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[46] + mi := &file_livekit_rtc_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4224,7 +4163,7 @@ func (x *ConnectionSettings) String() string { func (*ConnectionSettings) ProtoMessage() {} func (x *ConnectionSettings) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[46] + mi := &file_livekit_rtc_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4237,7 +4176,7 @@ func (x *ConnectionSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionSettings.ProtoReflect.Descriptor instead. func (*ConnectionSettings) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{46} + return file_livekit_rtc_proto_rawDescGZIP(), []int{45} } func (x *ConnectionSettings) GetAutoSubscribe() bool { @@ -4289,7 +4228,7 @@ type JoinRequest struct { func (x *JoinRequest) Reset() { *x = JoinRequest{} - mi := &file_livekit_rtc_proto_msgTypes[47] + mi := &file_livekit_rtc_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4301,7 +4240,7 @@ func (x *JoinRequest) String() string { func (*JoinRequest) ProtoMessage() {} func (x *JoinRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[47] + mi := &file_livekit_rtc_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4314,7 +4253,7 @@ func (x *JoinRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead. func (*JoinRequest) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{47} + return file_livekit_rtc_proto_rawDescGZIP(), []int{46} } func (x *JoinRequest) GetClientInfo() *ClientInfo { @@ -4397,7 +4336,7 @@ type WrappedJoinRequest struct { func (x *WrappedJoinRequest) Reset() { *x = WrappedJoinRequest{} - mi := &file_livekit_rtc_proto_msgTypes[48] + mi := &file_livekit_rtc_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4409,7 +4348,7 @@ func (x *WrappedJoinRequest) String() string { func (*WrappedJoinRequest) ProtoMessage() {} func (x *WrappedJoinRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[48] + mi := &file_livekit_rtc_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4422,7 +4361,7 @@ func (x *WrappedJoinRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WrappedJoinRequest.ProtoReflect.Descriptor instead. func (*WrappedJoinRequest) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{48} + return file_livekit_rtc_proto_rawDescGZIP(), []int{47} } func (x *WrappedJoinRequest) GetCompression() WrappedJoinRequest_Compression { @@ -4449,7 +4388,7 @@ type MediaSectionsRequirement struct { func (x *MediaSectionsRequirement) Reset() { *x = MediaSectionsRequirement{} - mi := &file_livekit_rtc_proto_msgTypes[49] + mi := &file_livekit_rtc_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4461,7 +4400,7 @@ func (x *MediaSectionsRequirement) String() string { func (*MediaSectionsRequirement) ProtoMessage() {} func (x *MediaSectionsRequirement) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[49] + mi := &file_livekit_rtc_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4474,7 +4413,7 @@ func (x *MediaSectionsRequirement) ProtoReflect() protoreflect.Message { // Deprecated: Use MediaSectionsRequirement.ProtoReflect.Descriptor instead. func (*MediaSectionsRequirement) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{49} + return file_livekit_rtc_proto_rawDescGZIP(), []int{48} } func (x *MediaSectionsRequirement) GetNumAudios() uint32 { @@ -4516,7 +4455,7 @@ const file_livekit_rtc_proto_rawDesc = "" + "\bping_req\x18\x10 \x01(\v2\r.livekit.PingH\x00R\apingReq\x12N\n" + "\x12update_audio_track\x18\x11 \x01(\v2\x1e.livekit.UpdateLocalAudioTrackH\x00R\x10updateAudioTrack\x12N\n" + "\x12update_video_track\x18\x12 \x01(\v2\x1e.livekit.UpdateLocalVideoTrackH\x00R\x10updateVideoTrackB\t\n" + - "\amessage\"\xeb\r\n" + + "\amessage\"\xa1\r\n" + "\x0eSignalResponse\x12+\n" + "\x04join\x18\x01 \x01(\v2\x15.livekit.JoinResponseH\x00R\x04join\x125\n" + "\x06answer\x18\x02 \x01(\v2\x1b.livekit.SessionDescriptionH\x00R\x06answer\x123\n" + @@ -4545,8 +4484,7 @@ const file_livekit_rtc_proto_rawDesc = "" + "\n" + "room_moved\x18\x18 \x01(\v2\x1a.livekit.RoomMovedResponseH\x00R\troomMoved\x12a\n" + "\x1amedia_sections_requirement\x18\x19 \x01(\v2!.livekit.MediaSectionsRequirementH\x00R\x18mediaSectionsRequirement\x12h\n" + - "\x1dsubscribed_audio_codec_update\x18\x1a \x01(\v2#.livekit.SubscribedAudioCodecUpdateH\x00R\x1asubscribedAudioCodecUpdate\x12H\n" + - "\rmapped_answer\x18\x1b \x01(\v2!.livekit.MappedSessionDescriptionH\x00R\fmappedAnswerB\t\n" + + "\x1dsubscribed_audio_codec_update\x18\x1a \x01(\v2#.livekit.SubscribedAudioCodecUpdateH\x00R\x1asubscribedAudioCodecUpdateB\t\n" + "\amessage\"\xa9\x01\n" + "\x0eSimulcastCodec\x12\x14\n" + "\x05codec\x18\x01 \x01(\tR\x05codec\x12\x10\n" + @@ -4614,14 +4552,12 @@ const file_livekit_rtc_proto_rawDesc = "" + "\x03cid\x18\x01 \x01(\tR\x03cid\x12(\n" + "\x05track\x18\x02 \x01(\v2\x12.livekit.TrackInfoR\x05track\"7\n" + "\x18TrackUnpublishedResponse\x12\x1b\n" + - "\ttrack_sid\x18\x01 \x01(\tR\btrackSid\"J\n" + + "\ttrack_sid\x18\x01 \x01(\tR\btrackSid\"\xe1\x01\n" + "\x12SessionDescription\x12\x12\n" + "\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n" + "\x03sdp\x18\x02 \x01(\tR\x03sdp\x12\x0e\n" + - "\x02id\x18\x03 \x01(\rR\x02id\"\x85\x02\n" + - "\x18MappedSessionDescription\x12L\n" + - "\x13session_description\x18\x01 \x01(\v2\x1b.livekit.SessionDescriptionR\x12sessionDescription\x12Z\n" + - "\x0fmid_to_track_id\x18\x02 \x03(\v23.livekit.MappedSessionDescription.MidToTrackIdEntryR\fmidToTrackId\x1a?\n" + + "\x02id\x18\x03 \x01(\rR\x02id\x12T\n" + + "\x0fmid_to_track_id\x18\x04 \x03(\v2-.livekit.SessionDescription.MidToTrackIdEntryR\fmidToTrackId\x1a?\n" + "\x11MidToTrackIdEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"Q\n" + @@ -4855,7 +4791,7 @@ func file_livekit_rtc_proto_rawDescGZIP() []byte { } var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 53) +var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 52) var file_livekit_rtc_proto_goTypes = []any{ (SignalTarget)(0), // 0: livekit.SignalTarget (StreamState)(0), // 1: livekit.StreamState @@ -4874,70 +4810,69 @@ var file_livekit_rtc_proto_goTypes = []any{ (*TrackPublishedResponse)(nil), // 14: livekit.TrackPublishedResponse (*TrackUnpublishedResponse)(nil), // 15: livekit.TrackUnpublishedResponse (*SessionDescription)(nil), // 16: livekit.SessionDescription - (*MappedSessionDescription)(nil), // 17: livekit.MappedSessionDescription - (*ParticipantUpdate)(nil), // 18: livekit.ParticipantUpdate - (*UpdateSubscription)(nil), // 19: livekit.UpdateSubscription - (*UpdateTrackSettings)(nil), // 20: livekit.UpdateTrackSettings - (*UpdateLocalAudioTrack)(nil), // 21: livekit.UpdateLocalAudioTrack - (*UpdateLocalVideoTrack)(nil), // 22: livekit.UpdateLocalVideoTrack - (*LeaveRequest)(nil), // 23: livekit.LeaveRequest - (*UpdateVideoLayers)(nil), // 24: livekit.UpdateVideoLayers - (*UpdateParticipantMetadata)(nil), // 25: livekit.UpdateParticipantMetadata - (*ICEServer)(nil), // 26: livekit.ICEServer - (*SpeakersChanged)(nil), // 27: livekit.SpeakersChanged - (*RoomUpdate)(nil), // 28: livekit.RoomUpdate - (*ConnectionQualityInfo)(nil), // 29: livekit.ConnectionQualityInfo - (*ConnectionQualityUpdate)(nil), // 30: livekit.ConnectionQualityUpdate - (*StreamStateInfo)(nil), // 31: livekit.StreamStateInfo - (*StreamStateUpdate)(nil), // 32: livekit.StreamStateUpdate - (*SubscribedQuality)(nil), // 33: livekit.SubscribedQuality - (*SubscribedCodec)(nil), // 34: livekit.SubscribedCodec - (*SubscribedQualityUpdate)(nil), // 35: livekit.SubscribedQualityUpdate - (*SubscribedAudioCodecUpdate)(nil), // 36: livekit.SubscribedAudioCodecUpdate - (*TrackPermission)(nil), // 37: livekit.TrackPermission - (*SubscriptionPermission)(nil), // 38: livekit.SubscriptionPermission - (*SubscriptionPermissionUpdate)(nil), // 39: livekit.SubscriptionPermissionUpdate - (*RoomMovedResponse)(nil), // 40: livekit.RoomMovedResponse - (*SyncState)(nil), // 41: livekit.SyncState - (*DataChannelReceiveState)(nil), // 42: livekit.DataChannelReceiveState - (*DataChannelInfo)(nil), // 43: livekit.DataChannelInfo - (*SimulateScenario)(nil), // 44: livekit.SimulateScenario - (*Ping)(nil), // 45: livekit.Ping - (*Pong)(nil), // 46: livekit.Pong - (*RegionSettings)(nil), // 47: livekit.RegionSettings - (*RegionInfo)(nil), // 48: livekit.RegionInfo - (*SubscriptionResponse)(nil), // 49: livekit.SubscriptionResponse - (*RequestResponse)(nil), // 50: livekit.RequestResponse - (*TrackSubscribed)(nil), // 51: livekit.TrackSubscribed - (*ConnectionSettings)(nil), // 52: livekit.ConnectionSettings - (*JoinRequest)(nil), // 53: livekit.JoinRequest - (*WrappedJoinRequest)(nil), // 54: livekit.WrappedJoinRequest - (*MediaSectionsRequirement)(nil), // 55: livekit.MediaSectionsRequirement - nil, // 56: livekit.MappedSessionDescription.MidToTrackIdEntry - nil, // 57: livekit.UpdateParticipantMetadata.AttributesEntry - nil, // 58: livekit.JoinRequest.ParticipantAttributesEntry - (*VideoLayer)(nil), // 59: livekit.VideoLayer - (VideoLayer_Mode)(0), // 60: livekit.VideoLayer.Mode - (TrackType)(0), // 61: livekit.TrackType - (TrackSource)(0), // 62: livekit.TrackSource - (Encryption_Type)(0), // 63: livekit.Encryption.Type - (BackupCodecPolicy)(0), // 64: livekit.BackupCodecPolicy - (AudioTrackFeature)(0), // 65: livekit.AudioTrackFeature - (*Room)(nil), // 66: livekit.Room - (*ParticipantInfo)(nil), // 67: livekit.ParticipantInfo - (*ClientConfiguration)(nil), // 68: livekit.ClientConfiguration - (*ServerInfo)(nil), // 69: livekit.ServerInfo - (*Codec)(nil), // 70: livekit.Codec - (*TrackInfo)(nil), // 71: livekit.TrackInfo - (*ParticipantTracks)(nil), // 72: livekit.ParticipantTracks - (VideoQuality)(0), // 73: livekit.VideoQuality - (DisconnectReason)(0), // 74: livekit.DisconnectReason - (*SpeakerInfo)(nil), // 75: livekit.SpeakerInfo - (ConnectionQuality)(0), // 76: livekit.ConnectionQuality - (*SubscribedAudioCodec)(nil), // 77: livekit.SubscribedAudioCodec - (SubscriptionError)(0), // 78: livekit.SubscriptionError - (*ClientInfo)(nil), // 79: livekit.ClientInfo - (ReconnectReason)(0), // 80: livekit.ReconnectReason + (*ParticipantUpdate)(nil), // 17: livekit.ParticipantUpdate + (*UpdateSubscription)(nil), // 18: livekit.UpdateSubscription + (*UpdateTrackSettings)(nil), // 19: livekit.UpdateTrackSettings + (*UpdateLocalAudioTrack)(nil), // 20: livekit.UpdateLocalAudioTrack + (*UpdateLocalVideoTrack)(nil), // 21: livekit.UpdateLocalVideoTrack + (*LeaveRequest)(nil), // 22: livekit.LeaveRequest + (*UpdateVideoLayers)(nil), // 23: livekit.UpdateVideoLayers + (*UpdateParticipantMetadata)(nil), // 24: livekit.UpdateParticipantMetadata + (*ICEServer)(nil), // 25: livekit.ICEServer + (*SpeakersChanged)(nil), // 26: livekit.SpeakersChanged + (*RoomUpdate)(nil), // 27: livekit.RoomUpdate + (*ConnectionQualityInfo)(nil), // 28: livekit.ConnectionQualityInfo + (*ConnectionQualityUpdate)(nil), // 29: livekit.ConnectionQualityUpdate + (*StreamStateInfo)(nil), // 30: livekit.StreamStateInfo + (*StreamStateUpdate)(nil), // 31: livekit.StreamStateUpdate + (*SubscribedQuality)(nil), // 32: livekit.SubscribedQuality + (*SubscribedCodec)(nil), // 33: livekit.SubscribedCodec + (*SubscribedQualityUpdate)(nil), // 34: livekit.SubscribedQualityUpdate + (*SubscribedAudioCodecUpdate)(nil), // 35: livekit.SubscribedAudioCodecUpdate + (*TrackPermission)(nil), // 36: livekit.TrackPermission + (*SubscriptionPermission)(nil), // 37: livekit.SubscriptionPermission + (*SubscriptionPermissionUpdate)(nil), // 38: livekit.SubscriptionPermissionUpdate + (*RoomMovedResponse)(nil), // 39: livekit.RoomMovedResponse + (*SyncState)(nil), // 40: livekit.SyncState + (*DataChannelReceiveState)(nil), // 41: livekit.DataChannelReceiveState + (*DataChannelInfo)(nil), // 42: livekit.DataChannelInfo + (*SimulateScenario)(nil), // 43: livekit.SimulateScenario + (*Ping)(nil), // 44: livekit.Ping + (*Pong)(nil), // 45: livekit.Pong + (*RegionSettings)(nil), // 46: livekit.RegionSettings + (*RegionInfo)(nil), // 47: livekit.RegionInfo + (*SubscriptionResponse)(nil), // 48: livekit.SubscriptionResponse + (*RequestResponse)(nil), // 49: livekit.RequestResponse + (*TrackSubscribed)(nil), // 50: livekit.TrackSubscribed + (*ConnectionSettings)(nil), // 51: livekit.ConnectionSettings + (*JoinRequest)(nil), // 52: livekit.JoinRequest + (*WrappedJoinRequest)(nil), // 53: livekit.WrappedJoinRequest + (*MediaSectionsRequirement)(nil), // 54: livekit.MediaSectionsRequirement + nil, // 55: livekit.SessionDescription.MidToTrackIdEntry + nil, // 56: livekit.UpdateParticipantMetadata.AttributesEntry + nil, // 57: livekit.JoinRequest.ParticipantAttributesEntry + (*VideoLayer)(nil), // 58: livekit.VideoLayer + (VideoLayer_Mode)(0), // 59: livekit.VideoLayer.Mode + (TrackType)(0), // 60: livekit.TrackType + (TrackSource)(0), // 61: livekit.TrackSource + (Encryption_Type)(0), // 62: livekit.Encryption.Type + (BackupCodecPolicy)(0), // 63: livekit.BackupCodecPolicy + (AudioTrackFeature)(0), // 64: livekit.AudioTrackFeature + (*Room)(nil), // 65: livekit.Room + (*ParticipantInfo)(nil), // 66: livekit.ParticipantInfo + (*ClientConfiguration)(nil), // 67: livekit.ClientConfiguration + (*ServerInfo)(nil), // 68: livekit.ServerInfo + (*Codec)(nil), // 69: livekit.Codec + (*TrackInfo)(nil), // 70: livekit.TrackInfo + (*ParticipantTracks)(nil), // 71: livekit.ParticipantTracks + (VideoQuality)(0), // 72: livekit.VideoQuality + (DisconnectReason)(0), // 73: livekit.DisconnectReason + (*SpeakerInfo)(nil), // 74: livekit.SpeakerInfo + (ConnectionQuality)(0), // 75: livekit.ConnectionQuality + (*SubscribedAudioCodec)(nil), // 76: livekit.SubscribedAudioCodec + (SubscriptionError)(0), // 77: livekit.SubscriptionError + (*ClientInfo)(nil), // 78: livekit.ClientInfo + (ReconnectReason)(0), // 79: livekit.ReconnectReason } var file_livekit_rtc_proto_depIdxs = []int32{ 16, // 0: livekit.SignalRequest.offer:type_name -> livekit.SessionDescription @@ -4945,118 +4880,116 @@ var file_livekit_rtc_proto_depIdxs = []int32{ 10, // 2: livekit.SignalRequest.trickle:type_name -> livekit.TrickleRequest 9, // 3: livekit.SignalRequest.add_track:type_name -> livekit.AddTrackRequest 11, // 4: livekit.SignalRequest.mute:type_name -> livekit.MuteTrackRequest - 19, // 5: livekit.SignalRequest.subscription:type_name -> livekit.UpdateSubscription - 20, // 6: livekit.SignalRequest.track_setting:type_name -> livekit.UpdateTrackSettings - 23, // 7: livekit.SignalRequest.leave:type_name -> livekit.LeaveRequest - 24, // 8: livekit.SignalRequest.update_layers:type_name -> livekit.UpdateVideoLayers - 38, // 9: livekit.SignalRequest.subscription_permission:type_name -> livekit.SubscriptionPermission - 41, // 10: livekit.SignalRequest.sync_state:type_name -> livekit.SyncState - 44, // 11: livekit.SignalRequest.simulate:type_name -> livekit.SimulateScenario - 25, // 12: livekit.SignalRequest.update_metadata:type_name -> livekit.UpdateParticipantMetadata - 45, // 13: livekit.SignalRequest.ping_req:type_name -> livekit.Ping - 21, // 14: livekit.SignalRequest.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack - 22, // 15: livekit.SignalRequest.update_video_track:type_name -> livekit.UpdateLocalVideoTrack + 18, // 5: livekit.SignalRequest.subscription:type_name -> livekit.UpdateSubscription + 19, // 6: livekit.SignalRequest.track_setting:type_name -> livekit.UpdateTrackSettings + 22, // 7: livekit.SignalRequest.leave:type_name -> livekit.LeaveRequest + 23, // 8: livekit.SignalRequest.update_layers:type_name -> livekit.UpdateVideoLayers + 37, // 9: livekit.SignalRequest.subscription_permission:type_name -> livekit.SubscriptionPermission + 40, // 10: livekit.SignalRequest.sync_state:type_name -> livekit.SyncState + 43, // 11: livekit.SignalRequest.simulate:type_name -> livekit.SimulateScenario + 24, // 12: livekit.SignalRequest.update_metadata:type_name -> livekit.UpdateParticipantMetadata + 44, // 13: livekit.SignalRequest.ping_req:type_name -> livekit.Ping + 20, // 14: livekit.SignalRequest.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack + 21, // 15: livekit.SignalRequest.update_video_track:type_name -> livekit.UpdateLocalVideoTrack 12, // 16: livekit.SignalResponse.join:type_name -> livekit.JoinResponse 16, // 17: livekit.SignalResponse.answer:type_name -> livekit.SessionDescription 16, // 18: livekit.SignalResponse.offer:type_name -> livekit.SessionDescription 10, // 19: livekit.SignalResponse.trickle:type_name -> livekit.TrickleRequest - 18, // 20: livekit.SignalResponse.update:type_name -> livekit.ParticipantUpdate + 17, // 20: livekit.SignalResponse.update:type_name -> livekit.ParticipantUpdate 14, // 21: livekit.SignalResponse.track_published:type_name -> livekit.TrackPublishedResponse - 23, // 22: livekit.SignalResponse.leave:type_name -> livekit.LeaveRequest + 22, // 22: livekit.SignalResponse.leave:type_name -> livekit.LeaveRequest 11, // 23: livekit.SignalResponse.mute:type_name -> livekit.MuteTrackRequest - 27, // 24: livekit.SignalResponse.speakers_changed:type_name -> livekit.SpeakersChanged - 28, // 25: livekit.SignalResponse.room_update:type_name -> livekit.RoomUpdate - 30, // 26: livekit.SignalResponse.connection_quality:type_name -> livekit.ConnectionQualityUpdate - 32, // 27: livekit.SignalResponse.stream_state_update:type_name -> livekit.StreamStateUpdate - 35, // 28: livekit.SignalResponse.subscribed_quality_update:type_name -> livekit.SubscribedQualityUpdate - 39, // 29: livekit.SignalResponse.subscription_permission_update:type_name -> livekit.SubscriptionPermissionUpdate + 26, // 24: livekit.SignalResponse.speakers_changed:type_name -> livekit.SpeakersChanged + 27, // 25: livekit.SignalResponse.room_update:type_name -> livekit.RoomUpdate + 29, // 26: livekit.SignalResponse.connection_quality:type_name -> livekit.ConnectionQualityUpdate + 31, // 27: livekit.SignalResponse.stream_state_update:type_name -> livekit.StreamStateUpdate + 34, // 28: livekit.SignalResponse.subscribed_quality_update:type_name -> livekit.SubscribedQualityUpdate + 38, // 29: livekit.SignalResponse.subscription_permission_update:type_name -> livekit.SubscriptionPermissionUpdate 15, // 30: livekit.SignalResponse.track_unpublished:type_name -> livekit.TrackUnpublishedResponse 13, // 31: livekit.SignalResponse.reconnect:type_name -> livekit.ReconnectResponse - 46, // 32: livekit.SignalResponse.pong_resp:type_name -> livekit.Pong - 49, // 33: livekit.SignalResponse.subscription_response:type_name -> livekit.SubscriptionResponse - 50, // 34: livekit.SignalResponse.request_response:type_name -> livekit.RequestResponse - 51, // 35: livekit.SignalResponse.track_subscribed:type_name -> livekit.TrackSubscribed - 40, // 36: livekit.SignalResponse.room_moved:type_name -> livekit.RoomMovedResponse - 55, // 37: livekit.SignalResponse.media_sections_requirement:type_name -> livekit.MediaSectionsRequirement - 36, // 38: livekit.SignalResponse.subscribed_audio_codec_update:type_name -> livekit.SubscribedAudioCodecUpdate - 17, // 39: livekit.SignalResponse.mapped_answer:type_name -> livekit.MappedSessionDescription - 59, // 40: livekit.SimulcastCodec.layers:type_name -> livekit.VideoLayer - 60, // 41: livekit.SimulcastCodec.video_layer_mode:type_name -> livekit.VideoLayer.Mode - 61, // 42: livekit.AddTrackRequest.type:type_name -> livekit.TrackType - 62, // 43: livekit.AddTrackRequest.source:type_name -> livekit.TrackSource - 59, // 44: livekit.AddTrackRequest.layers:type_name -> livekit.VideoLayer - 8, // 45: livekit.AddTrackRequest.simulcast_codecs:type_name -> livekit.SimulcastCodec - 63, // 46: livekit.AddTrackRequest.encryption:type_name -> livekit.Encryption.Type - 64, // 47: livekit.AddTrackRequest.backup_codec_policy:type_name -> livekit.BackupCodecPolicy - 65, // 48: livekit.AddTrackRequest.audio_features:type_name -> livekit.AudioTrackFeature - 0, // 49: livekit.TrickleRequest.target:type_name -> livekit.SignalTarget - 66, // 50: livekit.JoinResponse.room:type_name -> livekit.Room - 67, // 51: livekit.JoinResponse.participant:type_name -> livekit.ParticipantInfo - 67, // 52: livekit.JoinResponse.other_participants:type_name -> livekit.ParticipantInfo - 26, // 53: livekit.JoinResponse.ice_servers:type_name -> livekit.ICEServer - 68, // 54: livekit.JoinResponse.client_configuration:type_name -> livekit.ClientConfiguration - 69, // 55: livekit.JoinResponse.server_info:type_name -> livekit.ServerInfo - 70, // 56: livekit.JoinResponse.enabled_publish_codecs:type_name -> livekit.Codec - 26, // 57: livekit.ReconnectResponse.ice_servers:type_name -> livekit.ICEServer - 68, // 58: livekit.ReconnectResponse.client_configuration:type_name -> livekit.ClientConfiguration - 69, // 59: livekit.ReconnectResponse.server_info:type_name -> livekit.ServerInfo - 71, // 60: livekit.TrackPublishedResponse.track:type_name -> livekit.TrackInfo - 16, // 61: livekit.MappedSessionDescription.session_description:type_name -> livekit.SessionDescription - 56, // 62: livekit.MappedSessionDescription.mid_to_track_id:type_name -> livekit.MappedSessionDescription.MidToTrackIdEntry - 67, // 63: livekit.ParticipantUpdate.participants:type_name -> livekit.ParticipantInfo - 72, // 64: livekit.UpdateSubscription.participant_tracks:type_name -> livekit.ParticipantTracks - 73, // 65: livekit.UpdateTrackSettings.quality:type_name -> livekit.VideoQuality - 65, // 66: livekit.UpdateLocalAudioTrack.features:type_name -> livekit.AudioTrackFeature - 74, // 67: livekit.LeaveRequest.reason:type_name -> livekit.DisconnectReason - 3, // 68: livekit.LeaveRequest.action:type_name -> livekit.LeaveRequest.Action - 47, // 69: livekit.LeaveRequest.regions:type_name -> livekit.RegionSettings - 59, // 70: livekit.UpdateVideoLayers.layers:type_name -> livekit.VideoLayer - 57, // 71: livekit.UpdateParticipantMetadata.attributes:type_name -> livekit.UpdateParticipantMetadata.AttributesEntry - 75, // 72: livekit.SpeakersChanged.speakers:type_name -> livekit.SpeakerInfo - 66, // 73: livekit.RoomUpdate.room:type_name -> livekit.Room - 76, // 74: livekit.ConnectionQualityInfo.quality:type_name -> livekit.ConnectionQuality - 29, // 75: livekit.ConnectionQualityUpdate.updates:type_name -> livekit.ConnectionQualityInfo - 1, // 76: livekit.StreamStateInfo.state:type_name -> livekit.StreamState - 31, // 77: livekit.StreamStateUpdate.stream_states:type_name -> livekit.StreamStateInfo - 73, // 78: livekit.SubscribedQuality.quality:type_name -> livekit.VideoQuality - 33, // 79: livekit.SubscribedCodec.qualities:type_name -> livekit.SubscribedQuality - 33, // 80: livekit.SubscribedQualityUpdate.subscribed_qualities:type_name -> livekit.SubscribedQuality - 34, // 81: livekit.SubscribedQualityUpdate.subscribed_codecs:type_name -> livekit.SubscribedCodec - 77, // 82: livekit.SubscribedAudioCodecUpdate.subscribed_audio_codecs:type_name -> livekit.SubscribedAudioCodec - 37, // 83: livekit.SubscriptionPermission.track_permissions:type_name -> livekit.TrackPermission - 66, // 84: livekit.RoomMovedResponse.room:type_name -> livekit.Room - 67, // 85: livekit.RoomMovedResponse.participant:type_name -> livekit.ParticipantInfo - 67, // 86: livekit.RoomMovedResponse.other_participants:type_name -> livekit.ParticipantInfo - 16, // 87: livekit.SyncState.answer:type_name -> livekit.SessionDescription - 19, // 88: livekit.SyncState.subscription:type_name -> livekit.UpdateSubscription - 14, // 89: livekit.SyncState.publish_tracks:type_name -> livekit.TrackPublishedResponse - 43, // 90: livekit.SyncState.data_channels:type_name -> livekit.DataChannelInfo - 16, // 91: livekit.SyncState.offer:type_name -> livekit.SessionDescription - 42, // 92: livekit.SyncState.datachannel_receive_states:type_name -> livekit.DataChannelReceiveState - 0, // 93: livekit.DataChannelInfo.target:type_name -> livekit.SignalTarget - 2, // 94: livekit.SimulateScenario.switch_candidate_protocol:type_name -> livekit.CandidateProtocol - 48, // 95: livekit.RegionSettings.regions:type_name -> livekit.RegionInfo - 78, // 96: livekit.SubscriptionResponse.err:type_name -> livekit.SubscriptionError - 4, // 97: livekit.RequestResponse.reason:type_name -> livekit.RequestResponse.Reason - 10, // 98: livekit.RequestResponse.trickle:type_name -> livekit.TrickleRequest - 9, // 99: livekit.RequestResponse.add_track:type_name -> livekit.AddTrackRequest - 11, // 100: livekit.RequestResponse.mute:type_name -> livekit.MuteTrackRequest - 25, // 101: livekit.RequestResponse.update_metadata:type_name -> livekit.UpdateParticipantMetadata - 21, // 102: livekit.RequestResponse.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack - 22, // 103: livekit.RequestResponse.update_video_track:type_name -> livekit.UpdateLocalVideoTrack - 79, // 104: livekit.JoinRequest.client_info:type_name -> livekit.ClientInfo - 52, // 105: livekit.JoinRequest.connection_settings:type_name -> livekit.ConnectionSettings - 58, // 106: livekit.JoinRequest.participant_attributes:type_name -> livekit.JoinRequest.ParticipantAttributesEntry - 9, // 107: livekit.JoinRequest.add_track_requests:type_name -> livekit.AddTrackRequest - 16, // 108: livekit.JoinRequest.publisher_offer:type_name -> livekit.SessionDescription - 80, // 109: livekit.JoinRequest.reconnect_reason:type_name -> livekit.ReconnectReason - 41, // 110: livekit.JoinRequest.sync_state:type_name -> livekit.SyncState - 5, // 111: livekit.WrappedJoinRequest.compression:type_name -> livekit.WrappedJoinRequest.Compression - 112, // [112:112] is the sub-list for method output_type - 112, // [112:112] is the sub-list for method input_type - 112, // [112:112] is the sub-list for extension type_name - 112, // [112:112] is the sub-list for extension extendee - 0, // [0:112] is the sub-list for field type_name + 45, // 32: livekit.SignalResponse.pong_resp:type_name -> livekit.Pong + 48, // 33: livekit.SignalResponse.subscription_response:type_name -> livekit.SubscriptionResponse + 49, // 34: livekit.SignalResponse.request_response:type_name -> livekit.RequestResponse + 50, // 35: livekit.SignalResponse.track_subscribed:type_name -> livekit.TrackSubscribed + 39, // 36: livekit.SignalResponse.room_moved:type_name -> livekit.RoomMovedResponse + 54, // 37: livekit.SignalResponse.media_sections_requirement:type_name -> livekit.MediaSectionsRequirement + 35, // 38: livekit.SignalResponse.subscribed_audio_codec_update:type_name -> livekit.SubscribedAudioCodecUpdate + 58, // 39: livekit.SimulcastCodec.layers:type_name -> livekit.VideoLayer + 59, // 40: livekit.SimulcastCodec.video_layer_mode:type_name -> livekit.VideoLayer.Mode + 60, // 41: livekit.AddTrackRequest.type:type_name -> livekit.TrackType + 61, // 42: livekit.AddTrackRequest.source:type_name -> livekit.TrackSource + 58, // 43: livekit.AddTrackRequest.layers:type_name -> livekit.VideoLayer + 8, // 44: livekit.AddTrackRequest.simulcast_codecs:type_name -> livekit.SimulcastCodec + 62, // 45: livekit.AddTrackRequest.encryption:type_name -> livekit.Encryption.Type + 63, // 46: livekit.AddTrackRequest.backup_codec_policy:type_name -> livekit.BackupCodecPolicy + 64, // 47: livekit.AddTrackRequest.audio_features:type_name -> livekit.AudioTrackFeature + 0, // 48: livekit.TrickleRequest.target:type_name -> livekit.SignalTarget + 65, // 49: livekit.JoinResponse.room:type_name -> livekit.Room + 66, // 50: livekit.JoinResponse.participant:type_name -> livekit.ParticipantInfo + 66, // 51: livekit.JoinResponse.other_participants:type_name -> livekit.ParticipantInfo + 25, // 52: livekit.JoinResponse.ice_servers:type_name -> livekit.ICEServer + 67, // 53: livekit.JoinResponse.client_configuration:type_name -> livekit.ClientConfiguration + 68, // 54: livekit.JoinResponse.server_info:type_name -> livekit.ServerInfo + 69, // 55: livekit.JoinResponse.enabled_publish_codecs:type_name -> livekit.Codec + 25, // 56: livekit.ReconnectResponse.ice_servers:type_name -> livekit.ICEServer + 67, // 57: livekit.ReconnectResponse.client_configuration:type_name -> livekit.ClientConfiguration + 68, // 58: livekit.ReconnectResponse.server_info:type_name -> livekit.ServerInfo + 70, // 59: livekit.TrackPublishedResponse.track:type_name -> livekit.TrackInfo + 55, // 60: livekit.SessionDescription.mid_to_track_id:type_name -> livekit.SessionDescription.MidToTrackIdEntry + 66, // 61: livekit.ParticipantUpdate.participants:type_name -> livekit.ParticipantInfo + 71, // 62: livekit.UpdateSubscription.participant_tracks:type_name -> livekit.ParticipantTracks + 72, // 63: livekit.UpdateTrackSettings.quality:type_name -> livekit.VideoQuality + 64, // 64: livekit.UpdateLocalAudioTrack.features:type_name -> livekit.AudioTrackFeature + 73, // 65: livekit.LeaveRequest.reason:type_name -> livekit.DisconnectReason + 3, // 66: livekit.LeaveRequest.action:type_name -> livekit.LeaveRequest.Action + 46, // 67: livekit.LeaveRequest.regions:type_name -> livekit.RegionSettings + 58, // 68: livekit.UpdateVideoLayers.layers:type_name -> livekit.VideoLayer + 56, // 69: livekit.UpdateParticipantMetadata.attributes:type_name -> livekit.UpdateParticipantMetadata.AttributesEntry + 74, // 70: livekit.SpeakersChanged.speakers:type_name -> livekit.SpeakerInfo + 65, // 71: livekit.RoomUpdate.room:type_name -> livekit.Room + 75, // 72: livekit.ConnectionQualityInfo.quality:type_name -> livekit.ConnectionQuality + 28, // 73: livekit.ConnectionQualityUpdate.updates:type_name -> livekit.ConnectionQualityInfo + 1, // 74: livekit.StreamStateInfo.state:type_name -> livekit.StreamState + 30, // 75: livekit.StreamStateUpdate.stream_states:type_name -> livekit.StreamStateInfo + 72, // 76: livekit.SubscribedQuality.quality:type_name -> livekit.VideoQuality + 32, // 77: livekit.SubscribedCodec.qualities:type_name -> livekit.SubscribedQuality + 32, // 78: livekit.SubscribedQualityUpdate.subscribed_qualities:type_name -> livekit.SubscribedQuality + 33, // 79: livekit.SubscribedQualityUpdate.subscribed_codecs:type_name -> livekit.SubscribedCodec + 76, // 80: livekit.SubscribedAudioCodecUpdate.subscribed_audio_codecs:type_name -> livekit.SubscribedAudioCodec + 36, // 81: livekit.SubscriptionPermission.track_permissions:type_name -> livekit.TrackPermission + 65, // 82: livekit.RoomMovedResponse.room:type_name -> livekit.Room + 66, // 83: livekit.RoomMovedResponse.participant:type_name -> livekit.ParticipantInfo + 66, // 84: livekit.RoomMovedResponse.other_participants:type_name -> livekit.ParticipantInfo + 16, // 85: livekit.SyncState.answer:type_name -> livekit.SessionDescription + 18, // 86: livekit.SyncState.subscription:type_name -> livekit.UpdateSubscription + 14, // 87: livekit.SyncState.publish_tracks:type_name -> livekit.TrackPublishedResponse + 42, // 88: livekit.SyncState.data_channels:type_name -> livekit.DataChannelInfo + 16, // 89: livekit.SyncState.offer:type_name -> livekit.SessionDescription + 41, // 90: livekit.SyncState.datachannel_receive_states:type_name -> livekit.DataChannelReceiveState + 0, // 91: livekit.DataChannelInfo.target:type_name -> livekit.SignalTarget + 2, // 92: livekit.SimulateScenario.switch_candidate_protocol:type_name -> livekit.CandidateProtocol + 47, // 93: livekit.RegionSettings.regions:type_name -> livekit.RegionInfo + 77, // 94: livekit.SubscriptionResponse.err:type_name -> livekit.SubscriptionError + 4, // 95: livekit.RequestResponse.reason:type_name -> livekit.RequestResponse.Reason + 10, // 96: livekit.RequestResponse.trickle:type_name -> livekit.TrickleRequest + 9, // 97: livekit.RequestResponse.add_track:type_name -> livekit.AddTrackRequest + 11, // 98: livekit.RequestResponse.mute:type_name -> livekit.MuteTrackRequest + 24, // 99: livekit.RequestResponse.update_metadata:type_name -> livekit.UpdateParticipantMetadata + 20, // 100: livekit.RequestResponse.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack + 21, // 101: livekit.RequestResponse.update_video_track:type_name -> livekit.UpdateLocalVideoTrack + 78, // 102: livekit.JoinRequest.client_info:type_name -> livekit.ClientInfo + 51, // 103: livekit.JoinRequest.connection_settings:type_name -> livekit.ConnectionSettings + 57, // 104: livekit.JoinRequest.participant_attributes:type_name -> livekit.JoinRequest.ParticipantAttributesEntry + 9, // 105: livekit.JoinRequest.add_track_requests:type_name -> livekit.AddTrackRequest + 16, // 106: livekit.JoinRequest.publisher_offer:type_name -> livekit.SessionDescription + 79, // 107: livekit.JoinRequest.reconnect_reason:type_name -> livekit.ReconnectReason + 40, // 108: livekit.JoinRequest.sync_state:type_name -> livekit.SyncState + 5, // 109: livekit.WrappedJoinRequest.compression:type_name -> livekit.WrappedJoinRequest.Compression + 110, // [110:110] is the sub-list for method output_type + 110, // [110:110] is the sub-list for method input_type + 110, // [110:110] is the sub-list for extension type_name + 110, // [110:110] is the sub-list for extension extendee + 0, // [0:110] is the sub-list for field type_name } func init() { file_livekit_rtc_proto_init() } @@ -5110,9 +5043,8 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_RoomMoved)(nil), (*SignalResponse_MediaSectionsRequirement)(nil), (*SignalResponse_SubscribedAudioCodecUpdate)(nil), - (*SignalResponse_MappedAnswer)(nil), } - file_livekit_rtc_proto_msgTypes[38].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[37].OneofWrappers = []any{ (*SimulateScenario_SpeakerUpdate)(nil), (*SimulateScenario_NodeFailure)(nil), (*SimulateScenario_Migration)(nil), @@ -5123,7 +5055,7 @@ func file_livekit_rtc_proto_init() { (*SimulateScenario_DisconnectSignalOnResumeNoMessages)(nil), (*SimulateScenario_LeaveRequestFullReconnect)(nil), } - file_livekit_rtc_proto_msgTypes[44].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[43].OneofWrappers = []any{ (*RequestResponse_Trickle)(nil), (*RequestResponse_AddTrack)(nil), (*RequestResponse_Mute)(nil), @@ -5131,14 +5063,14 @@ func file_livekit_rtc_proto_init() { (*RequestResponse_UpdateAudioTrack)(nil), (*RequestResponse_UpdateVideoTrack)(nil), } - file_livekit_rtc_proto_msgTypes[46].OneofWrappers = []any{} + file_livekit_rtc_proto_msgTypes[45].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc)), NumEnums: 6, - NumMessages: 53, + NumMessages: 52, NumExtensions: 0, NumServices: 0, }, diff --git a/protobufs/livekit_rtc.proto b/protobufs/livekit_rtc.proto index 85b291295..b60d90217 100644 --- a/protobufs/livekit_rtc.proto +++ b/protobufs/livekit_rtc.proto @@ -111,8 +111,6 @@ message SignalResponse { MediaSectionsRequirement media_sections_requirement = 25; // when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26; - // sent when server answers publisher, includes the mid -> trackID mapping - MappedSessionDescription mapped_answer = 27; } } @@ -220,11 +218,7 @@ message SessionDescription { string type = 1; // "answer" | "offer" | "pranswer" | "rollback" string sdp = 2; uint32 id = 3; -} - -message MappedSessionDescription { - SessionDescription session_description = 1; - map mid_to_track_id = 2; + map mid_to_track_id = 4; } message ParticipantUpdate { diff --git a/signalling/utils.go b/signalling/utils.go index 886ff72ef..7e01b9a9f 100644 --- a/signalling/utils.go +++ b/signalling/utils.go @@ -21,19 +21,20 @@ import ( "github.com/pion/webrtc/v4" ) -func ToProtoSessionDescription(sd webrtc.SessionDescription, id uint32) *livekit.SessionDescription { +func ToProtoSessionDescription(sd webrtc.SessionDescription, id uint32, midToTrackID map[string]string) *livekit.SessionDescription { if sd.SDP == "" { return nil } return &livekit.SessionDescription{ - Type: sd.Type.String(), - Sdp: sd.SDP, - Id: id, + Type: sd.Type.String(), + Sdp: sd.SDP, + Id: id, + MidToTrackId: midToTrackID, } } -func FromProtoSessionDescription(sd *livekit.SessionDescription) (webrtc.SessionDescription, uint32) { +func FromProtoSessionDescription(sd *livekit.SessionDescription) (webrtc.SessionDescription, uint32, map[string]string) { var sdType webrtc.SDPType switch sd.Type { case webrtc.SDPTypeOffer.String(): @@ -48,22 +49,7 @@ func FromProtoSessionDescription(sd *livekit.SessionDescription) (webrtc.Session return webrtc.SessionDescription{ Type: sdType, SDP: sd.Sdp, - }, sd.Id -} - -func ToProtoMappedSessionDescription(sd webrtc.SessionDescription, id uint32, midToTrackID map[string]string) *livekit.MappedSessionDescription { - if sd.SDP == "" { - return nil - } - - return &livekit.MappedSessionDescription{ - SessionDescription: &livekit.SessionDescription{ - Type: sd.Type.String(), - Sdp: sd.SDP, - Id: id, - }, - MidToTrackId: midToTrackID, - } + }, sd.Id, sd.MidToTrackId } func ToProtoTrickle(candidateInit webrtc.ICECandidateInit, target livekit.SignalTarget, final bool) *livekit.TrickleRequest {