@livekit/protocol 1.10.3 → 1.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.10.3",
3
+ "version": "1.11.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -13,33 +13,9 @@
13
13
  "types": "./src/index.d.ts",
14
14
  "default": "./src/index.js"
15
15
  },
16
- "./models": {
17
- "types": "./src/gen/livekit_models.pb.d.ts",
18
- "default": "./src/gen/livekit_models.pb.js"
19
- },
20
- "./room": {
21
- "types": "./src/gen/livekit_room.pb.d.ts",
22
- "default": "./src/gen/livekit_room.pb.js"
23
- },
24
- "./sip": {
25
- "types": "./src/gen/livekit_sip.pb.d.ts",
26
- "default": "./src/gen/livekit_sip.pb.js"
27
- },
28
- "./egress": {
29
- "types": "./src/gen/livekit_egress.pb.d.ts",
30
- "default": "./src/gen/livekit_egress.pb.js"
31
- },
32
- "./ingress": {
33
- "types": "./src/gen/livekit_ingress.pb.d.ts",
34
- "default": "./src/gen/livekit_ingress.pb.js"
35
- },
36
- "./agent": {
37
- "types": "./src/gen/livekit_agent.pb.d.ts",
38
- "default": "./src/gen/livekit_agent.pb.js"
39
- },
40
- "./webhook": {
41
- "types": "./src/gen/livekit_webhook.pb.d.ts",
42
- "default": "./src/gen/livekit_webhook.pb.js"
16
+ "./*": {
17
+ "types": "./src/gen/livekit_*_pb.d.ts",
18
+ "default": "./src/gen/livekit_*_pb.js"
43
19
  }
44
20
  },
45
21
  "keywords": [],
@@ -1067,6 +1067,11 @@ export declare class S3Upload extends Message<S3Upload> {
1067
1067
  */
1068
1068
  contentDisposition: string;
1069
1069
 
1070
+ /**
1071
+ * @generated from field: livekit.ProxyConfig proxy = 10;
1072
+ */
1073
+ proxy?: ProxyConfig;
1074
+
1070
1075
  constructor(data?: PartialMessage<S3Upload>);
1071
1076
 
1072
1077
  static readonly runtime: typeof proto3;
@@ -1099,9 +1104,9 @@ export declare class GCPUpload extends Message<GCPUpload> {
1099
1104
  bucket: string;
1100
1105
 
1101
1106
  /**
1102
- * @generated from field: string endpoint = 3;
1107
+ * @generated from field: livekit.ProxyConfig proxy = 3;
1103
1108
  */
1104
- endpoint: string;
1109
+ proxy?: ProxyConfig;
1105
1110
 
1106
1111
  constructor(data?: PartialMessage<GCPUpload>);
1107
1112
 
@@ -1196,6 +1201,40 @@ export declare class AliOSSUpload extends Message<AliOSSUpload> {
1196
1201
  static equals(a: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined, b: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined): boolean;
1197
1202
  }
1198
1203
 
1204
+ /**
1205
+ * @generated from message livekit.ProxyConfig
1206
+ */
1207
+ export declare class ProxyConfig extends Message<ProxyConfig> {
1208
+ /**
1209
+ * @generated from field: string url = 1;
1210
+ */
1211
+ url: string;
1212
+
1213
+ /**
1214
+ * @generated from field: string username = 2;
1215
+ */
1216
+ username: string;
1217
+
1218
+ /**
1219
+ * @generated from field: string password = 3;
1220
+ */
1221
+ password: string;
1222
+
1223
+ constructor(data?: PartialMessage<ProxyConfig>);
1224
+
1225
+ static readonly runtime: typeof proto3;
1226
+ static readonly typeName = "livekit.ProxyConfig";
1227
+ static readonly fields: FieldList;
1228
+
1229
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProxyConfig;
1230
+
1231
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProxyConfig;
1232
+
1233
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProxyConfig;
1234
+
1235
+ static equals(a: ProxyConfig | PlainMessage<ProxyConfig> | undefined, b: ProxyConfig | PlainMessage<ProxyConfig> | undefined): boolean;
1236
+ }
1237
+
1199
1238
  /**
1200
1239
  * @generated from message livekit.StreamOutput
1201
1240
  */
@@ -304,6 +304,7 @@ export const S3Upload = proto3.makeMessageType(
304
304
  { no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
305
305
  { no: 8, name: "tagging", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
306
  { no: 9, name: "content_disposition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
307
+ { no: 10, name: "proxy", kind: "message", T: ProxyConfig },
307
308
  ],
308
309
  );
309
310
 
@@ -315,7 +316,7 @@ export const GCPUpload = proto3.makeMessageType(
315
316
  () => [
316
317
  { no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
318
  { no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
- { no: 3, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
319
+ { no: 3, name: "proxy", kind: "message", T: ProxyConfig },
319
320
  ],
320
321
  );
321
322
 
@@ -345,6 +346,18 @@ export const AliOSSUpload = proto3.makeMessageType(
345
346
  ],
346
347
  );
347
348
 
349
+ /**
350
+ * @generated from message livekit.ProxyConfig
351
+ */
352
+ export const ProxyConfig = proto3.makeMessageType(
353
+ "livekit.ProxyConfig",
354
+ () => [
355
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
356
+ { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
357
+ { no: 3, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
358
+ ],
359
+ );
360
+
348
361
  /**
349
362
  * @generated from message livekit.StreamOutput
350
363
  */
@@ -1789,12 +1789,17 @@ export declare class RTPStats extends Message<RTPStats> {
1789
1789
  packetDrift?: RTPDrift;
1790
1790
 
1791
1791
  /**
1792
- * NEXT_ID: 46
1793
- *
1794
1792
  * @generated from field: livekit.RTPDrift report_drift = 45;
1795
1793
  */
1796
1794
  reportDrift?: RTPDrift;
1797
1795
 
1796
+ /**
1797
+ * NEXT_ID: 47
1798
+ *
1799
+ * @generated from field: livekit.RTPDrift rebased_report_drift = 46;
1800
+ */
1801
+ rebasedReportDrift?: RTPDrift;
1802
+
1798
1803
  constructor(data?: PartialMessage<RTPStats>);
1799
1804
 
1800
1805
  static readonly runtime: typeof proto3;
@@ -611,6 +611,7 @@ export const RTPStats = proto3.makeMessageType(
611
611
  { no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp },
612
612
  { no: 44, name: "packet_drift", kind: "message", T: RTPDrift },
613
613
  { no: 45, name: "report_drift", kind: "message", T: RTPDrift },
614
+ { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
614
615
  ],
615
616
  );
616
617
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.10.3';
2
+ export const version = '1.11.0';
package/src/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export * from "./gen/livekit_webhook_pb.js";
7
7
  export * from "./gen/livekit_egress_pb.js";
8
8
  export * from "./gen/livekit_ingress_pb.js";
9
9
  export * from "./gen/livekit_sip_pb.js";
10
+ export { protoInt64 } from "@bufbuild/protobuf";
package/src/index.js CHANGED
@@ -8,3 +8,4 @@ export * from "./gen/livekit_webhook_pb.js";
8
8
  export * from "./gen/livekit_egress_pb.js";
9
9
  export * from "./gen/livekit_ingress_pb.js";
10
10
  export * from "./gen/livekit_sip_pb.js";
11
+ export { protoInt64 } from "@bufbuild/protobuf";