livekit-server-sdk 1.0.1 → 1.0.3

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.
@@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
22
22
  return (mod && mod.__esModule) ? mod : { "default": mod };
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.SegmentsInfo = exports.FileInfo = exports.StreamInfo = exports.StreamInfoList = exports.EgressInfo = exports.StopEgressRequest = exports.ListEgressResponse = exports.ListEgressRequest = exports.UpdateStreamRequest = exports.UpdateLayoutRequest = exports.EncodingOptions = exports.StreamOutput = exports.AzureBlobUpload = exports.GCPUpload = exports.S3Upload = exports.DirectFileOutput = exports.SegmentedFileOutput = exports.EncodedFileOutput = exports.TrackEgressRequest = exports.TrackCompositeEgressRequest = exports.RoomCompositeEgressRequest = exports.egressStatusToJSON = exports.egressStatusFromJSON = exports.EgressStatus = exports.encodingOptionsPresetToJSON = exports.encodingOptionsPresetFromJSON = exports.EncodingOptionsPreset = exports.videoCodecToJSON = exports.videoCodecFromJSON = exports.VideoCodec = exports.audioCodecToJSON = exports.audioCodecFromJSON = exports.AudioCodec = exports.segmentedFileProtocolToJSON = exports.segmentedFileProtocolFromJSON = exports.SegmentedFileProtocol = exports.streamProtocolToJSON = exports.streamProtocolFromJSON = exports.StreamProtocol = exports.encodedFileTypeToJSON = exports.encodedFileTypeFromJSON = exports.EncodedFileType = exports.protobufPackage = void 0;
25
+ exports.AutoTrackEgress = exports.SegmentsInfo = exports.FileInfo = exports.StreamInfo = exports.StreamInfoList = exports.EgressInfo = exports.StopEgressRequest = exports.ListEgressResponse = exports.ListEgressRequest = exports.UpdateStreamRequest = exports.UpdateLayoutRequest = exports.EncodingOptions = exports.StreamOutput = exports.AzureBlobUpload = exports.GCPUpload = exports.S3Upload = exports.DirectFileOutput = exports.SegmentedFileOutput = exports.EncodedFileOutput = exports.TrackEgressRequest = exports.TrackCompositeEgressRequest = exports.RoomCompositeEgressRequest = exports.streamInfo_StatusToJSON = exports.streamInfo_StatusFromJSON = exports.StreamInfo_Status = exports.egressStatusToJSON = exports.egressStatusFromJSON = exports.EgressStatus = exports.encodingOptionsPresetToJSON = exports.encodingOptionsPresetFromJSON = exports.EncodingOptionsPreset = exports.videoCodecToJSON = exports.videoCodecFromJSON = exports.VideoCodec = exports.audioCodecToJSON = exports.audioCodecFromJSON = exports.AudioCodec = exports.segmentedFileProtocolToJSON = exports.segmentedFileProtocolFromJSON = exports.SegmentedFileProtocol = exports.streamProtocolToJSON = exports.streamProtocolFromJSON = exports.StreamProtocol = exports.encodedFileTypeToJSON = exports.encodedFileTypeFromJSON = exports.EncodedFileType = exports.protobufPackage = void 0;
26
26
  /* eslint-disable */
27
27
  const long_1 = __importDefault(require("long"));
28
28
  const _m0 = __importStar(require("protobufjs/minimal"));
@@ -215,14 +215,22 @@ function videoCodecToJSON(object) {
215
215
  exports.videoCodecToJSON = videoCodecToJSON;
216
216
  var EncodingOptionsPreset;
217
217
  (function (EncodingOptionsPreset) {
218
- /** H264_720P_30 - 720p, 30fps, 3000kpbs, H.264_MAIN / OPUS */
218
+ /** H264_720P_30 - 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS */
219
219
  EncodingOptionsPreset[EncodingOptionsPreset["H264_720P_30"] = 0] = "H264_720P_30";
220
- /** H264_720P_60 - 720p, 60fps, 4500kbps, H.264_MAIN / OPUS */
220
+ /** H264_720P_60 - 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS */
221
221
  EncodingOptionsPreset[EncodingOptionsPreset["H264_720P_60"] = 1] = "H264_720P_60";
222
- /** H264_1080P_30 - 1080p, 30fps, 4500kbps, H.264_MAIN / OPUS */
222
+ /** H264_1080P_30 - 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS */
223
223
  EncodingOptionsPreset[EncodingOptionsPreset["H264_1080P_30"] = 2] = "H264_1080P_30";
224
- /** H264_1080P_60 - 1080p, 60fps, 6000kbps, H.264_MAIN / OPUS */
224
+ /** H264_1080P_60 - 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS */
225
225
  EncodingOptionsPreset[EncodingOptionsPreset["H264_1080P_60"] = 3] = "H264_1080P_60";
226
+ /** PORTRAIT_H264_720P_30 - 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS */
227
+ EncodingOptionsPreset[EncodingOptionsPreset["PORTRAIT_H264_720P_30"] = 4] = "PORTRAIT_H264_720P_30";
228
+ /** PORTRAIT_H264_720P_60 - 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS */
229
+ EncodingOptionsPreset[EncodingOptionsPreset["PORTRAIT_H264_720P_60"] = 5] = "PORTRAIT_H264_720P_60";
230
+ /** PORTRAIT_H264_1080P_30 - 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS */
231
+ EncodingOptionsPreset[EncodingOptionsPreset["PORTRAIT_H264_1080P_30"] = 6] = "PORTRAIT_H264_1080P_30";
232
+ /** PORTRAIT_H264_1080P_60 - 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS */
233
+ EncodingOptionsPreset[EncodingOptionsPreset["PORTRAIT_H264_1080P_60"] = 7] = "PORTRAIT_H264_1080P_60";
226
234
  EncodingOptionsPreset[EncodingOptionsPreset["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
227
235
  })(EncodingOptionsPreset = exports.EncodingOptionsPreset || (exports.EncodingOptionsPreset = {}));
228
236
  function encodingOptionsPresetFromJSON(object) {
@@ -239,6 +247,18 @@ function encodingOptionsPresetFromJSON(object) {
239
247
  case 3:
240
248
  case 'H264_1080P_60':
241
249
  return EncodingOptionsPreset.H264_1080P_60;
250
+ case 4:
251
+ case 'PORTRAIT_H264_720P_30':
252
+ return EncodingOptionsPreset.PORTRAIT_H264_720P_30;
253
+ case 5:
254
+ case 'PORTRAIT_H264_720P_60':
255
+ return EncodingOptionsPreset.PORTRAIT_H264_720P_60;
256
+ case 6:
257
+ case 'PORTRAIT_H264_1080P_30':
258
+ return EncodingOptionsPreset.PORTRAIT_H264_1080P_30;
259
+ case 7:
260
+ case 'PORTRAIT_H264_1080P_60':
261
+ return EncodingOptionsPreset.PORTRAIT_H264_1080P_60;
242
262
  case -1:
243
263
  case 'UNRECOGNIZED':
244
264
  default:
@@ -256,6 +276,14 @@ function encodingOptionsPresetToJSON(object) {
256
276
  return 'H264_1080P_30';
257
277
  case EncodingOptionsPreset.H264_1080P_60:
258
278
  return 'H264_1080P_60';
279
+ case EncodingOptionsPreset.PORTRAIT_H264_720P_30:
280
+ return 'PORTRAIT_H264_720P_30';
281
+ case EncodingOptionsPreset.PORTRAIT_H264_720P_60:
282
+ return 'PORTRAIT_H264_720P_60';
283
+ case EncodingOptionsPreset.PORTRAIT_H264_1080P_30:
284
+ return 'PORTRAIT_H264_1080P_30';
285
+ case EncodingOptionsPreset.PORTRAIT_H264_1080P_60:
286
+ return 'PORTRAIT_H264_1080P_60';
259
287
  default:
260
288
  return 'UNKNOWN';
261
289
  }
@@ -269,6 +297,7 @@ var EgressStatus;
269
297
  EgressStatus[EgressStatus["EGRESS_COMPLETE"] = 3] = "EGRESS_COMPLETE";
270
298
  EgressStatus[EgressStatus["EGRESS_FAILED"] = 4] = "EGRESS_FAILED";
271
299
  EgressStatus[EgressStatus["EGRESS_ABORTED"] = 5] = "EGRESS_ABORTED";
300
+ EgressStatus[EgressStatus["EGRESS_LIMIT_REACHED"] = 6] = "EGRESS_LIMIT_REACHED";
272
301
  EgressStatus[EgressStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
273
302
  })(EgressStatus = exports.EgressStatus || (exports.EgressStatus = {}));
274
303
  function egressStatusFromJSON(object) {
@@ -291,6 +320,9 @@ function egressStatusFromJSON(object) {
291
320
  case 5:
292
321
  case 'EGRESS_ABORTED':
293
322
  return EgressStatus.EGRESS_ABORTED;
323
+ case 6:
324
+ case 'EGRESS_LIMIT_REACHED':
325
+ return EgressStatus.EGRESS_LIMIT_REACHED;
294
326
  case -1:
295
327
  case 'UNRECOGNIZED':
296
328
  default:
@@ -312,11 +344,51 @@ function egressStatusToJSON(object) {
312
344
  return 'EGRESS_FAILED';
313
345
  case EgressStatus.EGRESS_ABORTED:
314
346
  return 'EGRESS_ABORTED';
347
+ case EgressStatus.EGRESS_LIMIT_REACHED:
348
+ return 'EGRESS_LIMIT_REACHED';
315
349
  default:
316
350
  return 'UNKNOWN';
317
351
  }
318
352
  }
319
353
  exports.egressStatusToJSON = egressStatusToJSON;
354
+ var StreamInfo_Status;
355
+ (function (StreamInfo_Status) {
356
+ StreamInfo_Status[StreamInfo_Status["ACTIVE"] = 0] = "ACTIVE";
357
+ StreamInfo_Status[StreamInfo_Status["FINISHED"] = 1] = "FINISHED";
358
+ StreamInfo_Status[StreamInfo_Status["FAILED"] = 2] = "FAILED";
359
+ StreamInfo_Status[StreamInfo_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
360
+ })(StreamInfo_Status = exports.StreamInfo_Status || (exports.StreamInfo_Status = {}));
361
+ function streamInfo_StatusFromJSON(object) {
362
+ switch (object) {
363
+ case 0:
364
+ case 'ACTIVE':
365
+ return StreamInfo_Status.ACTIVE;
366
+ case 1:
367
+ case 'FINISHED':
368
+ return StreamInfo_Status.FINISHED;
369
+ case 2:
370
+ case 'FAILED':
371
+ return StreamInfo_Status.FAILED;
372
+ case -1:
373
+ case 'UNRECOGNIZED':
374
+ default:
375
+ return StreamInfo_Status.UNRECOGNIZED;
376
+ }
377
+ }
378
+ exports.streamInfo_StatusFromJSON = streamInfo_StatusFromJSON;
379
+ function streamInfo_StatusToJSON(object) {
380
+ switch (object) {
381
+ case StreamInfo_Status.ACTIVE:
382
+ return 'ACTIVE';
383
+ case StreamInfo_Status.FINISHED:
384
+ return 'FINISHED';
385
+ case StreamInfo_Status.FAILED:
386
+ return 'FAILED';
387
+ default:
388
+ return 'UNKNOWN';
389
+ }
390
+ }
391
+ exports.streamInfo_StatusToJSON = streamInfo_StatusToJSON;
320
392
  function createBaseRoomCompositeEgressRequest() {
321
393
  return {
322
394
  roomName: '',
@@ -681,7 +753,14 @@ exports.TrackEgressRequest = {
681
753
  },
682
754
  };
683
755
  function createBaseEncodedFileOutput() {
684
- return { fileType: 0, filepath: '', s3: undefined, gcp: undefined, azure: undefined };
756
+ return {
757
+ fileType: 0,
758
+ filepath: '',
759
+ disableManifest: false,
760
+ s3: undefined,
761
+ gcp: undefined,
762
+ azure: undefined,
763
+ };
685
764
  }
686
765
  exports.EncodedFileOutput = {
687
766
  encode(message, writer = _m0.Writer.create()) {
@@ -691,6 +770,9 @@ exports.EncodedFileOutput = {
691
770
  if (message.filepath !== '') {
692
771
  writer.uint32(18).string(message.filepath);
693
772
  }
773
+ if (message.disableManifest === true) {
774
+ writer.uint32(48).bool(message.disableManifest);
775
+ }
694
776
  if (message.s3 !== undefined) {
695
777
  exports.S3Upload.encode(message.s3, writer.uint32(26).fork()).ldelim();
696
778
  }
@@ -715,6 +797,9 @@ exports.EncodedFileOutput = {
715
797
  case 2:
716
798
  message.filepath = reader.string();
717
799
  break;
800
+ case 6:
801
+ message.disableManifest = reader.bool();
802
+ break;
718
803
  case 3:
719
804
  message.s3 = exports.S3Upload.decode(reader, reader.uint32());
720
805
  break;
@@ -735,6 +820,7 @@ exports.EncodedFileOutput = {
735
820
  return {
736
821
  fileType: isSet(object.fileType) ? encodedFileTypeFromJSON(object.fileType) : 0,
737
822
  filepath: isSet(object.filepath) ? String(object.filepath) : '',
823
+ disableManifest: isSet(object.disableManifest) ? Boolean(object.disableManifest) : false,
738
824
  s3: isSet(object.s3) ? exports.S3Upload.fromJSON(object.s3) : undefined,
739
825
  gcp: isSet(object.gcp) ? exports.GCPUpload.fromJSON(object.gcp) : undefined,
740
826
  azure: isSet(object.azure) ? exports.AzureBlobUpload.fromJSON(object.azure) : undefined,
@@ -744,6 +830,7 @@ exports.EncodedFileOutput = {
744
830
  const obj = {};
745
831
  message.fileType !== undefined && (obj.fileType = encodedFileTypeToJSON(message.fileType));
746
832
  message.filepath !== undefined && (obj.filepath = message.filepath);
833
+ message.disableManifest !== undefined && (obj.disableManifest = message.disableManifest);
747
834
  message.s3 !== undefined && (obj.s3 = message.s3 ? exports.S3Upload.toJSON(message.s3) : undefined);
748
835
  message.gcp !== undefined &&
749
836
  (obj.gcp = message.gcp ? exports.GCPUpload.toJSON(message.gcp) : undefined);
@@ -752,10 +839,11 @@ exports.EncodedFileOutput = {
752
839
  return obj;
753
840
  },
754
841
  fromPartial(object) {
755
- var _a, _b;
842
+ var _a, _b, _c;
756
843
  const message = createBaseEncodedFileOutput();
757
844
  message.fileType = (_a = object.fileType) !== null && _a !== void 0 ? _a : 0;
758
845
  message.filepath = (_b = object.filepath) !== null && _b !== void 0 ? _b : '';
846
+ message.disableManifest = (_c = object.disableManifest) !== null && _c !== void 0 ? _c : false;
759
847
  message.s3 =
760
848
  object.s3 !== undefined && object.s3 !== null ? exports.S3Upload.fromPartial(object.s3) : undefined;
761
849
  message.gcp =
@@ -775,6 +863,7 @@ function createBaseSegmentedFileOutput() {
775
863
  filenamePrefix: '',
776
864
  playlistName: '',
777
865
  segmentDuration: 0,
866
+ disableManifest: false,
778
867
  s3: undefined,
779
868
  gcp: undefined,
780
869
  azure: undefined,
@@ -794,6 +883,9 @@ exports.SegmentedFileOutput = {
794
883
  if (message.segmentDuration !== 0) {
795
884
  writer.uint32(32).uint32(message.segmentDuration);
796
885
  }
886
+ if (message.disableManifest === true) {
887
+ writer.uint32(64).bool(message.disableManifest);
888
+ }
797
889
  if (message.s3 !== undefined) {
798
890
  exports.S3Upload.encode(message.s3, writer.uint32(42).fork()).ldelim();
799
891
  }
@@ -824,6 +916,9 @@ exports.SegmentedFileOutput = {
824
916
  case 4:
825
917
  message.segmentDuration = reader.uint32();
826
918
  break;
919
+ case 8:
920
+ message.disableManifest = reader.bool();
921
+ break;
827
922
  case 5:
828
923
  message.s3 = exports.S3Upload.decode(reader, reader.uint32());
829
924
  break;
@@ -846,6 +941,7 @@ exports.SegmentedFileOutput = {
846
941
  filenamePrefix: isSet(object.filenamePrefix) ? String(object.filenamePrefix) : '',
847
942
  playlistName: isSet(object.playlistName) ? String(object.playlistName) : '',
848
943
  segmentDuration: isSet(object.segmentDuration) ? Number(object.segmentDuration) : 0,
944
+ disableManifest: isSet(object.disableManifest) ? Boolean(object.disableManifest) : false,
849
945
  s3: isSet(object.s3) ? exports.S3Upload.fromJSON(object.s3) : undefined,
850
946
  gcp: isSet(object.gcp) ? exports.GCPUpload.fromJSON(object.gcp) : undefined,
851
947
  azure: isSet(object.azure) ? exports.AzureBlobUpload.fromJSON(object.azure) : undefined,
@@ -859,6 +955,7 @@ exports.SegmentedFileOutput = {
859
955
  message.playlistName !== undefined && (obj.playlistName = message.playlistName);
860
956
  message.segmentDuration !== undefined &&
861
957
  (obj.segmentDuration = Math.round(message.segmentDuration));
958
+ message.disableManifest !== undefined && (obj.disableManifest = message.disableManifest);
862
959
  message.s3 !== undefined && (obj.s3 = message.s3 ? exports.S3Upload.toJSON(message.s3) : undefined);
863
960
  message.gcp !== undefined &&
864
961
  (obj.gcp = message.gcp ? exports.GCPUpload.toJSON(message.gcp) : undefined);
@@ -867,12 +964,13 @@ exports.SegmentedFileOutput = {
867
964
  return obj;
868
965
  },
869
966
  fromPartial(object) {
870
- var _a, _b, _c, _d;
967
+ var _a, _b, _c, _d, _e;
871
968
  const message = createBaseSegmentedFileOutput();
872
969
  message.protocol = (_a = object.protocol) !== null && _a !== void 0 ? _a : 0;
873
970
  message.filenamePrefix = (_b = object.filenamePrefix) !== null && _b !== void 0 ? _b : '';
874
971
  message.playlistName = (_c = object.playlistName) !== null && _c !== void 0 ? _c : '';
875
972
  message.segmentDuration = (_d = object.segmentDuration) !== null && _d !== void 0 ? _d : 0;
973
+ message.disableManifest = (_e = object.disableManifest) !== null && _e !== void 0 ? _e : false;
876
974
  message.s3 =
877
975
  object.s3 !== undefined && object.s3 !== null ? exports.S3Upload.fromPartial(object.s3) : undefined;
878
976
  message.gcp =
@@ -887,13 +985,16 @@ exports.SegmentedFileOutput = {
887
985
  },
888
986
  };
889
987
  function createBaseDirectFileOutput() {
890
- return { filepath: '', s3: undefined, gcp: undefined, azure: undefined };
988
+ return { filepath: '', disableManifest: false, s3: undefined, gcp: undefined, azure: undefined };
891
989
  }
892
990
  exports.DirectFileOutput = {
893
991
  encode(message, writer = _m0.Writer.create()) {
894
992
  if (message.filepath !== '') {
895
993
  writer.uint32(10).string(message.filepath);
896
994
  }
995
+ if (message.disableManifest === true) {
996
+ writer.uint32(40).bool(message.disableManifest);
997
+ }
897
998
  if (message.s3 !== undefined) {
898
999
  exports.S3Upload.encode(message.s3, writer.uint32(18).fork()).ldelim();
899
1000
  }
@@ -915,6 +1016,9 @@ exports.DirectFileOutput = {
915
1016
  case 1:
916
1017
  message.filepath = reader.string();
917
1018
  break;
1019
+ case 5:
1020
+ message.disableManifest = reader.bool();
1021
+ break;
918
1022
  case 2:
919
1023
  message.s3 = exports.S3Upload.decode(reader, reader.uint32());
920
1024
  break;
@@ -934,6 +1038,7 @@ exports.DirectFileOutput = {
934
1038
  fromJSON(object) {
935
1039
  return {
936
1040
  filepath: isSet(object.filepath) ? String(object.filepath) : '',
1041
+ disableManifest: isSet(object.disableManifest) ? Boolean(object.disableManifest) : false,
937
1042
  s3: isSet(object.s3) ? exports.S3Upload.fromJSON(object.s3) : undefined,
938
1043
  gcp: isSet(object.gcp) ? exports.GCPUpload.fromJSON(object.gcp) : undefined,
939
1044
  azure: isSet(object.azure) ? exports.AzureBlobUpload.fromJSON(object.azure) : undefined,
@@ -942,6 +1047,7 @@ exports.DirectFileOutput = {
942
1047
  toJSON(message) {
943
1048
  const obj = {};
944
1049
  message.filepath !== undefined && (obj.filepath = message.filepath);
1050
+ message.disableManifest !== undefined && (obj.disableManifest = message.disableManifest);
945
1051
  message.s3 !== undefined && (obj.s3 = message.s3 ? exports.S3Upload.toJSON(message.s3) : undefined);
946
1052
  message.gcp !== undefined &&
947
1053
  (obj.gcp = message.gcp ? exports.GCPUpload.toJSON(message.gcp) : undefined);
@@ -950,9 +1056,10 @@ exports.DirectFileOutput = {
950
1056
  return obj;
951
1057
  },
952
1058
  fromPartial(object) {
953
- var _a;
1059
+ var _a, _b;
954
1060
  const message = createBaseDirectFileOutput();
955
1061
  message.filepath = (_a = object.filepath) !== null && _a !== void 0 ? _a : '';
1062
+ message.disableManifest = (_b = object.disableManifest) !== null && _b !== void 0 ? _b : false;
956
1063
  message.s3 =
957
1064
  object.s3 !== undefined && object.s3 !== null ? exports.S3Upload.fromPartial(object.s3) : undefined;
958
1065
  message.gcp =
@@ -1621,6 +1728,7 @@ function createBaseEgressInfo() {
1621
1728
  return {
1622
1729
  egressId: '',
1623
1730
  roomId: '',
1731
+ roomName: '',
1624
1732
  status: 0,
1625
1733
  startedAt: 0,
1626
1734
  endedAt: 0,
@@ -1641,6 +1749,9 @@ exports.EgressInfo = {
1641
1749
  if (message.roomId !== '') {
1642
1750
  writer.uint32(18).string(message.roomId);
1643
1751
  }
1752
+ if (message.roomName !== '') {
1753
+ writer.uint32(106).string(message.roomName);
1754
+ }
1644
1755
  if (message.status !== 0) {
1645
1756
  writer.uint32(24).int32(message.status);
1646
1757
  }
@@ -1686,6 +1797,9 @@ exports.EgressInfo = {
1686
1797
  case 2:
1687
1798
  message.roomId = reader.string();
1688
1799
  break;
1800
+ case 13:
1801
+ message.roomName = reader.string();
1802
+ break;
1689
1803
  case 3:
1690
1804
  message.status = reader.int32();
1691
1805
  break;
@@ -1727,6 +1841,7 @@ exports.EgressInfo = {
1727
1841
  return {
1728
1842
  egressId: isSet(object.egressId) ? String(object.egressId) : '',
1729
1843
  roomId: isSet(object.roomId) ? String(object.roomId) : '',
1844
+ roomName: isSet(object.roomName) ? String(object.roomName) : '',
1730
1845
  status: isSet(object.status) ? egressStatusFromJSON(object.status) : 0,
1731
1846
  startedAt: isSet(object.startedAt) ? Number(object.startedAt) : 0,
1732
1847
  endedAt: isSet(object.endedAt) ? Number(object.endedAt) : 0,
@@ -1747,6 +1862,7 @@ exports.EgressInfo = {
1747
1862
  const obj = {};
1748
1863
  message.egressId !== undefined && (obj.egressId = message.egressId);
1749
1864
  message.roomId !== undefined && (obj.roomId = message.roomId);
1865
+ message.roomName !== undefined && (obj.roomName = message.roomName);
1750
1866
  message.status !== undefined && (obj.status = egressStatusToJSON(message.status));
1751
1867
  message.startedAt !== undefined && (obj.startedAt = Math.round(message.startedAt));
1752
1868
  message.endedAt !== undefined && (obj.endedAt = Math.round(message.endedAt));
@@ -1770,14 +1886,15 @@ exports.EgressInfo = {
1770
1886
  return obj;
1771
1887
  },
1772
1888
  fromPartial(object) {
1773
- var _a, _b, _c, _d, _e, _f;
1889
+ var _a, _b, _c, _d, _e, _f, _g;
1774
1890
  const message = createBaseEgressInfo();
1775
1891
  message.egressId = (_a = object.egressId) !== null && _a !== void 0 ? _a : '';
1776
1892
  message.roomId = (_b = object.roomId) !== null && _b !== void 0 ? _b : '';
1777
- message.status = (_c = object.status) !== null && _c !== void 0 ? _c : 0;
1778
- message.startedAt = (_d = object.startedAt) !== null && _d !== void 0 ? _d : 0;
1779
- message.endedAt = (_e = object.endedAt) !== null && _e !== void 0 ? _e : 0;
1780
- message.error = (_f = object.error) !== null && _f !== void 0 ? _f : '';
1893
+ message.roomName = (_c = object.roomName) !== null && _c !== void 0 ? _c : '';
1894
+ message.status = (_d = object.status) !== null && _d !== void 0 ? _d : 0;
1895
+ message.startedAt = (_e = object.startedAt) !== null && _e !== void 0 ? _e : 0;
1896
+ message.endedAt = (_f = object.endedAt) !== null && _f !== void 0 ? _f : 0;
1897
+ message.error = (_g = object.error) !== null && _g !== void 0 ? _g : '';
1781
1898
  message.roomComposite =
1782
1899
  object.roomComposite !== undefined && object.roomComposite !== null
1783
1900
  ? exports.RoomCompositeEgressRequest.fromPartial(object.roomComposite)
@@ -1855,16 +1972,25 @@ exports.StreamInfoList = {
1855
1972
  },
1856
1973
  };
1857
1974
  function createBaseStreamInfo() {
1858
- return { url: '', duration: 0 };
1975
+ return { url: '', startedAt: 0, endedAt: 0, duration: 0, status: 0 };
1859
1976
  }
1860
1977
  exports.StreamInfo = {
1861
1978
  encode(message, writer = _m0.Writer.create()) {
1862
1979
  if (message.url !== '') {
1863
1980
  writer.uint32(10).string(message.url);
1864
1981
  }
1982
+ if (message.startedAt !== 0) {
1983
+ writer.uint32(16).int64(message.startedAt);
1984
+ }
1985
+ if (message.endedAt !== 0) {
1986
+ writer.uint32(24).int64(message.endedAt);
1987
+ }
1865
1988
  if (message.duration !== 0) {
1866
1989
  writer.uint32(32).int64(message.duration);
1867
1990
  }
1991
+ if (message.status !== 0) {
1992
+ writer.uint32(40).int32(message.status);
1993
+ }
1868
1994
  return writer;
1869
1995
  },
1870
1996
  decode(input, length) {
@@ -1877,9 +2003,18 @@ exports.StreamInfo = {
1877
2003
  case 1:
1878
2004
  message.url = reader.string();
1879
2005
  break;
2006
+ case 2:
2007
+ message.startedAt = longToNumber(reader.int64());
2008
+ break;
2009
+ case 3:
2010
+ message.endedAt = longToNumber(reader.int64());
2011
+ break;
1880
2012
  case 4:
1881
2013
  message.duration = longToNumber(reader.int64());
1882
2014
  break;
2015
+ case 5:
2016
+ message.status = reader.int32();
2017
+ break;
1883
2018
  default:
1884
2019
  reader.skipType(tag & 7);
1885
2020
  break;
@@ -1890,20 +2025,29 @@ exports.StreamInfo = {
1890
2025
  fromJSON(object) {
1891
2026
  return {
1892
2027
  url: isSet(object.url) ? String(object.url) : '',
2028
+ startedAt: isSet(object.startedAt) ? Number(object.startedAt) : 0,
2029
+ endedAt: isSet(object.endedAt) ? Number(object.endedAt) : 0,
1893
2030
  duration: isSet(object.duration) ? Number(object.duration) : 0,
2031
+ status: isSet(object.status) ? streamInfo_StatusFromJSON(object.status) : 0,
1894
2032
  };
1895
2033
  },
1896
2034
  toJSON(message) {
1897
2035
  const obj = {};
1898
2036
  message.url !== undefined && (obj.url = message.url);
2037
+ message.startedAt !== undefined && (obj.startedAt = Math.round(message.startedAt));
2038
+ message.endedAt !== undefined && (obj.endedAt = Math.round(message.endedAt));
1899
2039
  message.duration !== undefined && (obj.duration = Math.round(message.duration));
2040
+ message.status !== undefined && (obj.status = streamInfo_StatusToJSON(message.status));
1900
2041
  return obj;
1901
2042
  },
1902
2043
  fromPartial(object) {
1903
- var _a, _b;
2044
+ var _a, _b, _c, _d, _e;
1904
2045
  const message = createBaseStreamInfo();
1905
2046
  message.url = (_a = object.url) !== null && _a !== void 0 ? _a : '';
1906
- message.duration = (_b = object.duration) !== null && _b !== void 0 ? _b : 0;
2047
+ message.startedAt = (_b = object.startedAt) !== null && _b !== void 0 ? _b : 0;
2048
+ message.endedAt = (_c = object.endedAt) !== null && _c !== void 0 ? _c : 0;
2049
+ message.duration = (_d = object.duration) !== null && _d !== void 0 ? _d : 0;
2050
+ message.status = (_e = object.status) !== null && _e !== void 0 ? _e : 0;
1907
2051
  return message;
1908
2052
  },
1909
2053
  };
@@ -2058,6 +2202,95 @@ exports.SegmentsInfo = {
2058
2202
  return message;
2059
2203
  },
2060
2204
  };
2205
+ function createBaseAutoTrackEgress() {
2206
+ return { filepath: '', disableManifest: false, s3: undefined, gcp: undefined, azure: undefined };
2207
+ }
2208
+ exports.AutoTrackEgress = {
2209
+ encode(message, writer = _m0.Writer.create()) {
2210
+ if (message.filepath !== '') {
2211
+ writer.uint32(10).string(message.filepath);
2212
+ }
2213
+ if (message.disableManifest === true) {
2214
+ writer.uint32(40).bool(message.disableManifest);
2215
+ }
2216
+ if (message.s3 !== undefined) {
2217
+ exports.S3Upload.encode(message.s3, writer.uint32(18).fork()).ldelim();
2218
+ }
2219
+ if (message.gcp !== undefined) {
2220
+ exports.GCPUpload.encode(message.gcp, writer.uint32(26).fork()).ldelim();
2221
+ }
2222
+ if (message.azure !== undefined) {
2223
+ exports.AzureBlobUpload.encode(message.azure, writer.uint32(34).fork()).ldelim();
2224
+ }
2225
+ return writer;
2226
+ },
2227
+ decode(input, length) {
2228
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
2229
+ let end = length === undefined ? reader.len : reader.pos + length;
2230
+ const message = createBaseAutoTrackEgress();
2231
+ while (reader.pos < end) {
2232
+ const tag = reader.uint32();
2233
+ switch (tag >>> 3) {
2234
+ case 1:
2235
+ message.filepath = reader.string();
2236
+ break;
2237
+ case 5:
2238
+ message.disableManifest = reader.bool();
2239
+ break;
2240
+ case 2:
2241
+ message.s3 = exports.S3Upload.decode(reader, reader.uint32());
2242
+ break;
2243
+ case 3:
2244
+ message.gcp = exports.GCPUpload.decode(reader, reader.uint32());
2245
+ break;
2246
+ case 4:
2247
+ message.azure = exports.AzureBlobUpload.decode(reader, reader.uint32());
2248
+ break;
2249
+ default:
2250
+ reader.skipType(tag & 7);
2251
+ break;
2252
+ }
2253
+ }
2254
+ return message;
2255
+ },
2256
+ fromJSON(object) {
2257
+ return {
2258
+ filepath: isSet(object.filepath) ? String(object.filepath) : '',
2259
+ disableManifest: isSet(object.disableManifest) ? Boolean(object.disableManifest) : false,
2260
+ s3: isSet(object.s3) ? exports.S3Upload.fromJSON(object.s3) : undefined,
2261
+ gcp: isSet(object.gcp) ? exports.GCPUpload.fromJSON(object.gcp) : undefined,
2262
+ azure: isSet(object.azure) ? exports.AzureBlobUpload.fromJSON(object.azure) : undefined,
2263
+ };
2264
+ },
2265
+ toJSON(message) {
2266
+ const obj = {};
2267
+ message.filepath !== undefined && (obj.filepath = message.filepath);
2268
+ message.disableManifest !== undefined && (obj.disableManifest = message.disableManifest);
2269
+ message.s3 !== undefined && (obj.s3 = message.s3 ? exports.S3Upload.toJSON(message.s3) : undefined);
2270
+ message.gcp !== undefined &&
2271
+ (obj.gcp = message.gcp ? exports.GCPUpload.toJSON(message.gcp) : undefined);
2272
+ message.azure !== undefined &&
2273
+ (obj.azure = message.azure ? exports.AzureBlobUpload.toJSON(message.azure) : undefined);
2274
+ return obj;
2275
+ },
2276
+ fromPartial(object) {
2277
+ var _a, _b;
2278
+ const message = createBaseAutoTrackEgress();
2279
+ message.filepath = (_a = object.filepath) !== null && _a !== void 0 ? _a : '';
2280
+ message.disableManifest = (_b = object.disableManifest) !== null && _b !== void 0 ? _b : false;
2281
+ message.s3 =
2282
+ object.s3 !== undefined && object.s3 !== null ? exports.S3Upload.fromPartial(object.s3) : undefined;
2283
+ message.gcp =
2284
+ object.gcp !== undefined && object.gcp !== null
2285
+ ? exports.GCPUpload.fromPartial(object.gcp)
2286
+ : undefined;
2287
+ message.azure =
2288
+ object.azure !== undefined && object.azure !== null
2289
+ ? exports.AzureBlobUpload.fromPartial(object.azure)
2290
+ : undefined;
2291
+ return message;
2292
+ },
2293
+ };
2061
2294
  var globalThis = (() => {
2062
2295
  if (typeof globalThis !== 'undefined')
2063
2296
  return globalThis;