@livekit/protocol 1.11.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_room.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -24,7 +24,7 @@ import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTra
24
24
  /**
25
25
  * @generated from message livekit.CreateRoomRequest
26
26
  */
27
- export const CreateRoomRequest = proto3.makeMessageType(
27
+ export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
28
28
  "livekit.CreateRoomRequest",
29
29
  () => [
30
30
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -43,7 +43,7 @@ export const CreateRoomRequest = proto3.makeMessageType(
43
43
  /**
44
44
  * @generated from message livekit.RoomEgress
45
45
  */
46
- export const RoomEgress = proto3.makeMessageType(
46
+ export const RoomEgress = /*@__PURE__*/ proto3.makeMessageType(
47
47
  "livekit.RoomEgress",
48
48
  () => [
49
49
  { no: 1, name: "room", kind: "message", T: RoomCompositeEgressRequest },
@@ -55,7 +55,7 @@ export const RoomEgress = proto3.makeMessageType(
55
55
  /**
56
56
  * @generated from message livekit.ListRoomsRequest
57
57
  */
58
- export const ListRoomsRequest = proto3.makeMessageType(
58
+ export const ListRoomsRequest = /*@__PURE__*/ proto3.makeMessageType(
59
59
  "livekit.ListRoomsRequest",
60
60
  () => [
61
61
  { no: 1, name: "names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
@@ -65,7 +65,7 @@ export const ListRoomsRequest = proto3.makeMessageType(
65
65
  /**
66
66
  * @generated from message livekit.ListRoomsResponse
67
67
  */
68
- export const ListRoomsResponse = proto3.makeMessageType(
68
+ export const ListRoomsResponse = /*@__PURE__*/ proto3.makeMessageType(
69
69
  "livekit.ListRoomsResponse",
70
70
  () => [
71
71
  { no: 1, name: "rooms", kind: "message", T: Room, repeated: true },
@@ -75,7 +75,7 @@ export const ListRoomsResponse = proto3.makeMessageType(
75
75
  /**
76
76
  * @generated from message livekit.DeleteRoomRequest
77
77
  */
78
- export const DeleteRoomRequest = proto3.makeMessageType(
78
+ export const DeleteRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
79
79
  "livekit.DeleteRoomRequest",
80
80
  () => [
81
81
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -85,7 +85,7 @@ export const DeleteRoomRequest = proto3.makeMessageType(
85
85
  /**
86
86
  * @generated from message livekit.DeleteRoomResponse
87
87
  */
88
- export const DeleteRoomResponse = proto3.makeMessageType(
88
+ export const DeleteRoomResponse = /*@__PURE__*/ proto3.makeMessageType(
89
89
  "livekit.DeleteRoomResponse",
90
90
  [],
91
91
  );
@@ -93,7 +93,7 @@ export const DeleteRoomResponse = proto3.makeMessageType(
93
93
  /**
94
94
  * @generated from message livekit.ListParticipantsRequest
95
95
  */
96
- export const ListParticipantsRequest = proto3.makeMessageType(
96
+ export const ListParticipantsRequest = /*@__PURE__*/ proto3.makeMessageType(
97
97
  "livekit.ListParticipantsRequest",
98
98
  () => [
99
99
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -103,7 +103,7 @@ export const ListParticipantsRequest = proto3.makeMessageType(
103
103
  /**
104
104
  * @generated from message livekit.ListParticipantsResponse
105
105
  */
106
- export const ListParticipantsResponse = proto3.makeMessageType(
106
+ export const ListParticipantsResponse = /*@__PURE__*/ proto3.makeMessageType(
107
107
  "livekit.ListParticipantsResponse",
108
108
  () => [
109
109
  { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true },
@@ -113,7 +113,7 @@ export const ListParticipantsResponse = proto3.makeMessageType(
113
113
  /**
114
114
  * @generated from message livekit.RoomParticipantIdentity
115
115
  */
116
- export const RoomParticipantIdentity = proto3.makeMessageType(
116
+ export const RoomParticipantIdentity = /*@__PURE__*/ proto3.makeMessageType(
117
117
  "livekit.RoomParticipantIdentity",
118
118
  () => [
119
119
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -124,7 +124,7 @@ export const RoomParticipantIdentity = proto3.makeMessageType(
124
124
  /**
125
125
  * @generated from message livekit.RemoveParticipantResponse
126
126
  */
127
- export const RemoveParticipantResponse = proto3.makeMessageType(
127
+ export const RemoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
128
128
  "livekit.RemoveParticipantResponse",
129
129
  [],
130
130
  );
@@ -132,7 +132,7 @@ export const RemoveParticipantResponse = proto3.makeMessageType(
132
132
  /**
133
133
  * @generated from message livekit.MuteRoomTrackRequest
134
134
  */
135
- export const MuteRoomTrackRequest = proto3.makeMessageType(
135
+ export const MuteRoomTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
136
136
  "livekit.MuteRoomTrackRequest",
137
137
  () => [
138
138
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -145,7 +145,7 @@ export const MuteRoomTrackRequest = proto3.makeMessageType(
145
145
  /**
146
146
  * @generated from message livekit.MuteRoomTrackResponse
147
147
  */
148
- export const MuteRoomTrackResponse = proto3.makeMessageType(
148
+ export const MuteRoomTrackResponse = /*@__PURE__*/ proto3.makeMessageType(
149
149
  "livekit.MuteRoomTrackResponse",
150
150
  () => [
151
151
  { no: 1, name: "track", kind: "message", T: TrackInfo },
@@ -155,7 +155,7 @@ export const MuteRoomTrackResponse = proto3.makeMessageType(
155
155
  /**
156
156
  * @generated from message livekit.UpdateParticipantRequest
157
157
  */
158
- export const UpdateParticipantRequest = proto3.makeMessageType(
158
+ export const UpdateParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
159
159
  "livekit.UpdateParticipantRequest",
160
160
  () => [
161
161
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -169,7 +169,7 @@ export const UpdateParticipantRequest = proto3.makeMessageType(
169
169
  /**
170
170
  * @generated from message livekit.UpdateSubscriptionsRequest
171
171
  */
172
- export const UpdateSubscriptionsRequest = proto3.makeMessageType(
172
+ export const UpdateSubscriptionsRequest = /*@__PURE__*/ proto3.makeMessageType(
173
173
  "livekit.UpdateSubscriptionsRequest",
174
174
  () => [
175
175
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -185,7 +185,7 @@ export const UpdateSubscriptionsRequest = proto3.makeMessageType(
185
185
  *
186
186
  * @generated from message livekit.UpdateSubscriptionsResponse
187
187
  */
188
- export const UpdateSubscriptionsResponse = proto3.makeMessageType(
188
+ export const UpdateSubscriptionsResponse = /*@__PURE__*/ proto3.makeMessageType(
189
189
  "livekit.UpdateSubscriptionsResponse",
190
190
  [],
191
191
  );
@@ -193,7 +193,7 @@ export const UpdateSubscriptionsResponse = proto3.makeMessageType(
193
193
  /**
194
194
  * @generated from message livekit.SendDataRequest
195
195
  */
196
- export const SendDataRequest = proto3.makeMessageType(
196
+ export const SendDataRequest = /*@__PURE__*/ proto3.makeMessageType(
197
197
  "livekit.SendDataRequest",
198
198
  () => [
199
199
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -208,7 +208,7 @@ export const SendDataRequest = proto3.makeMessageType(
208
208
  /**
209
209
  * @generated from message livekit.SendDataResponse
210
210
  */
211
- export const SendDataResponse = proto3.makeMessageType(
211
+ export const SendDataResponse = /*@__PURE__*/ proto3.makeMessageType(
212
212
  "livekit.SendDataResponse",
213
213
  [],
214
214
  );
@@ -216,7 +216,7 @@ export const SendDataResponse = proto3.makeMessageType(
216
216
  /**
217
217
  * @generated from message livekit.UpdateRoomMetadataRequest
218
218
  */
219
- export const UpdateRoomMetadataRequest = proto3.makeMessageType(
219
+ export const UpdateRoomMetadataRequest = /*@__PURE__*/ proto3.makeMessageType(
220
220
  "livekit.UpdateRoomMetadataRequest",
221
221
  () => [
222
222
  { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -12,14 +12,14 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_rtc.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
22
+ import type { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
25
  * @generated from enum livekit.SignalTarget
@@ -194,6 +194,22 @@ export declare class SignalRequest extends Message<SignalRequest> {
194
194
  */
195
195
  value: Ping;
196
196
  case: "pingReq";
197
+ } | {
198
+ /**
199
+ * Update local audio track settings
200
+ *
201
+ * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17;
202
+ */
203
+ value: UpdateLocalAudioTrack;
204
+ case: "updateAudioTrack";
205
+ } | {
206
+ /**
207
+ * Update local video track settings
208
+ *
209
+ * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18;
210
+ */
211
+ value: UpdateLocalVideoTrack;
212
+ case: "updateVideoTrack";
197
213
  } | { case: undefined; value?: undefined };
198
214
 
199
215
  constructor(data?: PartialMessage<SignalRequest>);
@@ -930,6 +946,69 @@ export declare class UpdateTrackSettings extends Message<UpdateTrackSettings> {
930
946
  static equals(a: UpdateTrackSettings | PlainMessage<UpdateTrackSettings> | undefined, b: UpdateTrackSettings | PlainMessage<UpdateTrackSettings> | undefined): boolean;
931
947
  }
932
948
 
949
+ /**
950
+ * @generated from message livekit.UpdateLocalAudioTrack
951
+ */
952
+ export declare class UpdateLocalAudioTrack extends Message<UpdateLocalAudioTrack> {
953
+ /**
954
+ * @generated from field: string track_sid = 1;
955
+ */
956
+ trackSid: string;
957
+
958
+ /**
959
+ * @generated from field: repeated livekit.AudioTrackFeature features = 2;
960
+ */
961
+ features: AudioTrackFeature[];
962
+
963
+ constructor(data?: PartialMessage<UpdateLocalAudioTrack>);
964
+
965
+ static readonly runtime: typeof proto3;
966
+ static readonly typeName = "livekit.UpdateLocalAudioTrack";
967
+ static readonly fields: FieldList;
968
+
969
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocalAudioTrack;
970
+
971
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocalAudioTrack;
972
+
973
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocalAudioTrack;
974
+
975
+ static equals(a: UpdateLocalAudioTrack | PlainMessage<UpdateLocalAudioTrack> | undefined, b: UpdateLocalAudioTrack | PlainMessage<UpdateLocalAudioTrack> | undefined): boolean;
976
+ }
977
+
978
+ /**
979
+ * @generated from message livekit.UpdateLocalVideoTrack
980
+ */
981
+ export declare class UpdateLocalVideoTrack extends Message<UpdateLocalVideoTrack> {
982
+ /**
983
+ * @generated from field: string track_sid = 1;
984
+ */
985
+ trackSid: string;
986
+
987
+ /**
988
+ * @generated from field: uint32 width = 2;
989
+ */
990
+ width: number;
991
+
992
+ /**
993
+ * @generated from field: uint32 height = 3;
994
+ */
995
+ height: number;
996
+
997
+ constructor(data?: PartialMessage<UpdateLocalVideoTrack>);
998
+
999
+ static readonly runtime: typeof proto3;
1000
+ static readonly typeName = "livekit.UpdateLocalVideoTrack";
1001
+ static readonly fields: FieldList;
1002
+
1003
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocalVideoTrack;
1004
+
1005
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocalVideoTrack;
1006
+
1007
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocalVideoTrack;
1008
+
1009
+ static equals(a: UpdateLocalVideoTrack | PlainMessage<UpdateLocalVideoTrack> | undefined, b: UpdateLocalVideoTrack | PlainMessage<UpdateLocalVideoTrack> | undefined): boolean;
1010
+ }
1011
+
933
1012
  /**
934
1013
  * @generated from message livekit.LeaveRequest
935
1014
  */