@stinkycomputing/sesame-api-client 1.4.1-alpha.8 → 1.4.1-alpha.9

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/dist/index.cjs CHANGED
@@ -54,11 +54,11 @@ __export(index_exports, {
54
54
  module.exports = __toCommonJS(index_exports);
55
55
 
56
56
  // src/proto/api.js
57
- var $protobuf = __toESM(require("protobufjs/minimal"));
58
- var $Reader = $protobuf.Reader;
59
- var $Writer = $protobuf.Writer;
60
- var $util = $protobuf.util;
61
- var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
57
+ var import_minimal = __toESM(require("protobufjs/minimal.js"));
58
+ var $Reader = import_minimal.default.Reader;
59
+ var $Writer = import_minimal.default.Writer;
60
+ var $util = import_minimal.default.util;
61
+ var $root = import_minimal.default.roots["default"] || (import_minimal.default.roots["default"] = {});
62
62
  var sesame = $root.sesame = (() => {
63
63
  const sesame2 = {};
64
64
  sesame2.v1 = function() {
@@ -170,7 +170,7 @@ var sesame = $root.sesame = (() => {
170
170
  return object;
171
171
  };
172
172
  AudioPluginParam.prototype.toJSON = function toJSON() {
173
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
173
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
174
174
  };
175
175
  AudioPluginParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
176
176
  if (typeUrlPrefix === void 0) {
@@ -316,7 +316,7 @@ var sesame = $root.sesame = (() => {
316
316
  return object;
317
317
  };
318
318
  AudioPluginParamStatus.prototype.toJSON = function toJSON() {
319
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
319
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
320
320
  };
321
321
  AudioPluginParamStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
322
322
  if (typeUrlPrefix === void 0) {
@@ -499,7 +499,7 @@ var sesame = $root.sesame = (() => {
499
499
  return object;
500
500
  };
501
501
  AudioPlugin.prototype.toJSON = function toJSON() {
502
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
502
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
503
503
  };
504
504
  AudioPlugin.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
505
505
  if (typeUrlPrefix === void 0) {
@@ -770,7 +770,7 @@ var sesame = $root.sesame = (() => {
770
770
  return object;
771
771
  };
772
772
  AudioMixerChannel.prototype.toJSON = function toJSON() {
773
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
773
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
774
774
  };
775
775
  AudioMixerChannel.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
776
776
  if (typeUrlPrefix === void 0) {
@@ -941,7 +941,7 @@ var sesame = $root.sesame = (() => {
941
941
  return object;
942
942
  };
943
943
  AudioMixerConfig.prototype.toJSON = function toJSON() {
944
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
944
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
945
945
  };
946
946
  AudioMixerConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
947
947
  if (typeUrlPrefix === void 0) {
@@ -1053,7 +1053,7 @@ var sesame = $root.sesame = (() => {
1053
1053
  return object;
1054
1054
  };
1055
1055
  AudioMixerAddRequest.prototype.toJSON = function toJSON() {
1056
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1056
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1057
1057
  };
1058
1058
  AudioMixerAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1059
1059
  if (typeUrlPrefix === void 0) {
@@ -1165,7 +1165,7 @@ var sesame = $root.sesame = (() => {
1165
1165
  return object;
1166
1166
  };
1167
1167
  AudioMixerUpdateRequest.prototype.toJSON = function toJSON() {
1168
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1168
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1169
1169
  };
1170
1170
  AudioMixerUpdateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1171
1171
  if (typeUrlPrefix === void 0) {
@@ -1253,7 +1253,7 @@ var sesame = $root.sesame = (() => {
1253
1253
  return object;
1254
1254
  };
1255
1255
  AudioMixerRemoveRequest.prototype.toJSON = function toJSON() {
1256
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1256
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1257
1257
  };
1258
1258
  AudioMixerRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1259
1259
  if (typeUrlPrefix === void 0) {
@@ -1365,7 +1365,7 @@ var sesame = $root.sesame = (() => {
1365
1365
  return object;
1366
1366
  };
1367
1367
  AudioChannelAddRequest.prototype.toJSON = function toJSON() {
1368
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1368
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1369
1369
  };
1370
1370
  AudioChannelAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1371
1371
  if (typeUrlPrefix === void 0) {
@@ -1473,7 +1473,7 @@ var sesame = $root.sesame = (() => {
1473
1473
  return object;
1474
1474
  };
1475
1475
  AudioChannelRemoveRequest.prototype.toJSON = function toJSON() {
1476
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1476
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1477
1477
  };
1478
1478
  AudioChannelRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1479
1479
  if (typeUrlPrefix === void 0) {
@@ -1621,7 +1621,7 @@ var sesame = $root.sesame = (() => {
1621
1621
  return object;
1622
1622
  };
1623
1623
  AudioChannelPluginStatus.prototype.toJSON = function toJSON() {
1624
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1624
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1625
1625
  };
1626
1626
  AudioChannelPluginStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1627
1627
  if (typeUrlPrefix === void 0) {
@@ -1911,7 +1911,7 @@ var sesame = $root.sesame = (() => {
1911
1911
  return object;
1912
1912
  };
1913
1913
  AudioChannelStatus.prototype.toJSON = function toJSON() {
1914
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
1914
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
1915
1915
  };
1916
1916
  AudioChannelStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
1917
1917
  if (typeUrlPrefix === void 0) {
@@ -2125,7 +2125,7 @@ var sesame = $root.sesame = (() => {
2125
2125
  return object;
2126
2126
  };
2127
2127
  AudioMixerStatus.prototype.toJSON = function toJSON() {
2128
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
2128
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
2129
2129
  };
2130
2130
  AudioMixerStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
2131
2131
  if (typeUrlPrefix === void 0) {
@@ -2995,7 +2995,7 @@ var sesame = $root.sesame = (() => {
2995
2995
  return object;
2996
2996
  };
2997
2997
  CommandListItem.prototype.toJSON = function toJSON() {
2998
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
2998
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
2999
2999
  };
3000
3000
  CommandListItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3001
3001
  if (typeUrlPrefix === void 0) {
@@ -3103,7 +3103,7 @@ var sesame = $root.sesame = (() => {
3103
3103
  return object;
3104
3104
  };
3105
3105
  CommandList2.prototype.toJSON = function toJSON() {
3106
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3106
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3107
3107
  };
3108
3108
  CommandList2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3109
3109
  if (typeUrlPrefix === void 0) {
@@ -3167,7 +3167,7 @@ var sesame = $root.sesame = (() => {
3167
3167
  return {};
3168
3168
  };
3169
3169
  CommandExecutionResponse.prototype.toJSON = function toJSON() {
3170
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3170
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3171
3171
  };
3172
3172
  CommandExecutionResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3173
3173
  if (typeUrlPrefix === void 0) {
@@ -3266,7 +3266,7 @@ var sesame = $root.sesame = (() => {
3266
3266
  return {};
3267
3267
  };
3268
3268
  Empty.prototype.toJSON = function toJSON() {
3269
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3269
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3270
3270
  };
3271
3271
  Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3272
3272
  if (typeUrlPrefix === void 0) {
@@ -3412,7 +3412,7 @@ var sesame = $root.sesame = (() => {
3412
3412
  return object;
3413
3413
  };
3414
3414
  Vec4.prototype.toJSON = function toJSON() {
3415
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3415
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3416
3416
  };
3417
3417
  Vec4.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3418
3418
  if (typeUrlPrefix === void 0) {
@@ -3610,7 +3610,7 @@ var sesame = $root.sesame = (() => {
3610
3610
  return object;
3611
3611
  };
3612
3612
  PropValue.prototype.toJSON = function toJSON() {
3613
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3613
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3614
3614
  };
3615
3615
  PropValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3616
3616
  if (typeUrlPrefix === void 0) {
@@ -3778,7 +3778,7 @@ var sesame = $root.sesame = (() => {
3778
3778
  return object;
3779
3779
  };
3780
3780
  PropertyDomain.prototype.toJSON = function toJSON() {
3781
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3781
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3782
3782
  };
3783
3783
  PropertyDomain.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3784
3784
  if (typeUrlPrefix === void 0) {
@@ -3886,7 +3886,7 @@ var sesame = $root.sesame = (() => {
3886
3886
  return object;
3887
3887
  };
3888
3888
  NameValue.prototype.toJSON = function toJSON() {
3889
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3889
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3890
3890
  };
3891
3891
  NameValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
3892
3892
  if (typeUrlPrefix === void 0) {
@@ -3994,7 +3994,7 @@ var sesame = $root.sesame = (() => {
3994
3994
  return object;
3995
3995
  };
3996
3996
  TransportMetadata.prototype.toJSON = function toJSON() {
3997
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
3997
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
3998
3998
  };
3999
3999
  TransportMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
4000
4000
  if (typeUrlPrefix === void 0) {
@@ -4102,7 +4102,7 @@ var sesame = $root.sesame = (() => {
4102
4102
  return object;
4103
4103
  };
4104
4104
  Callback.prototype.toJSON = function toJSON() {
4105
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4105
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
4106
4106
  };
4107
4107
  Callback.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
4108
4108
  if (typeUrlPrefix === void 0) {
@@ -4300,7 +4300,7 @@ var sesame = $root.sesame = (() => {
4300
4300
  return object;
4301
4301
  };
4302
4302
  VideoProcessorParam.prototype.toJSON = function toJSON() {
4303
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4303
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
4304
4304
  };
4305
4305
  VideoProcessorParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
4306
4306
  if (typeUrlPrefix === void 0) {
@@ -4476,7 +4476,7 @@ var sesame = $root.sesame = (() => {
4476
4476
  return object;
4477
4477
  };
4478
4478
  VideoProcessor.prototype.toJSON = function toJSON() {
4479
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4479
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
4480
4480
  };
4481
4481
  VideoProcessor.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
4482
4482
  if (typeUrlPrefix === void 0) {
@@ -4841,7 +4841,7 @@ var sesame = $root.sesame = (() => {
4841
4841
  return object;
4842
4842
  };
4843
4843
  SourceCommonConfig.prototype.toJSON = function toJSON() {
4844
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4844
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
4845
4845
  };
4846
4846
  SourceCommonConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
4847
4847
  if (typeUrlPrefix === void 0) {
@@ -4929,7 +4929,7 @@ var sesame = $root.sesame = (() => {
4929
4929
  return object;
4930
4930
  };
4931
4931
  FileSourceConfig.prototype.toJSON = function toJSON() {
4932
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4932
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
4933
4933
  };
4934
4934
  FileSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
4935
4935
  if (typeUrlPrefix === void 0) {
@@ -5065,7 +5065,7 @@ var sesame = $root.sesame = (() => {
5065
5065
  return object;
5066
5066
  };
5067
5067
  RecorderSourceConfig.prototype.toJSON = function toJSON() {
5068
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5068
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5069
5069
  };
5070
5070
  RecorderSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5071
5071
  if (typeUrlPrefix === void 0) {
@@ -5192,7 +5192,7 @@ var sesame = $root.sesame = (() => {
5192
5192
  return object;
5193
5193
  };
5194
5194
  BrowserSourceConfig.prototype.toJSON = function toJSON() {
5195
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5195
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5196
5196
  };
5197
5197
  BrowserSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5198
5198
  if (typeUrlPrefix === void 0) {
@@ -5335,7 +5335,7 @@ var sesame = $root.sesame = (() => {
5335
5335
  return object;
5336
5336
  };
5337
5337
  RTTSourceConfig.prototype.toJSON = function toJSON() {
5338
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5338
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5339
5339
  };
5340
5340
  RTTSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5341
5341
  if (typeUrlPrefix === void 0) {
@@ -5504,7 +5504,7 @@ var sesame = $root.sesame = (() => {
5504
5504
  return object;
5505
5505
  };
5506
5506
  DecklinkSourceConfig.prototype.toJSON = function toJSON() {
5507
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5507
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5508
5508
  };
5509
5509
  DecklinkSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5510
5510
  if (typeUrlPrefix === void 0) {
@@ -5568,7 +5568,7 @@ var sesame = $root.sesame = (() => {
5568
5568
  return {};
5569
5569
  };
5570
5570
  SignalGeneratorSourceConfig.prototype.toJSON = function toJSON() {
5571
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5571
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5572
5572
  };
5573
5573
  SignalGeneratorSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5574
5574
  if (typeUrlPrefix === void 0) {
@@ -5656,7 +5656,7 @@ var sesame = $root.sesame = (() => {
5656
5656
  return object;
5657
5657
  };
5658
5658
  SystemAudioSourceConfig.prototype.toJSON = function toJSON() {
5659
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5659
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5660
5660
  };
5661
5661
  SystemAudioSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5662
5662
  if (typeUrlPrefix === void 0) {
@@ -5764,7 +5764,7 @@ var sesame = $root.sesame = (() => {
5764
5764
  return object;
5765
5765
  };
5766
5766
  SrtSourceConfig.prototype.toJSON = function toJSON() {
5767
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5767
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5768
5768
  };
5769
5769
  SrtSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5770
5770
  if (typeUrlPrefix === void 0) {
@@ -5872,7 +5872,7 @@ var sesame = $root.sesame = (() => {
5872
5872
  return object;
5873
5873
  };
5874
5874
  WebsocketSourceConfig.prototype.toJSON = function toJSON() {
5875
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5875
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
5876
5876
  };
5877
5877
  WebsocketSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
5878
5878
  if (typeUrlPrefix === void 0) {
@@ -6018,7 +6018,7 @@ var sesame = $root.sesame = (() => {
6018
6018
  return object;
6019
6019
  };
6020
6020
  MoqSourceConfig.prototype.toJSON = function toJSON() {
6021
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
6021
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
6022
6022
  };
6023
6023
  MoqSourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
6024
6024
  if (typeUrlPrefix === void 0) {
@@ -6414,7 +6414,7 @@ var sesame = $root.sesame = (() => {
6414
6414
  return object;
6415
6415
  };
6416
6416
  SourceConfig.prototype.toJSON = function toJSON() {
6417
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
6417
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
6418
6418
  };
6419
6419
  SourceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
6420
6420
  if (typeUrlPrefix === void 0) {
@@ -6526,7 +6526,7 @@ var sesame = $root.sesame = (() => {
6526
6526
  return object;
6527
6527
  };
6528
6528
  SourceAddRequest.prototype.toJSON = function toJSON() {
6529
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
6529
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
6530
6530
  };
6531
6531
  SourceAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
6532
6532
  if (typeUrlPrefix === void 0) {
@@ -6638,7 +6638,7 @@ var sesame = $root.sesame = (() => {
6638
6638
  return object;
6639
6639
  };
6640
6640
  SourceUpdateRequest.prototype.toJSON = function toJSON() {
6641
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
6641
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
6642
6642
  };
6643
6643
  SourceUpdateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
6644
6644
  if (typeUrlPrefix === void 0) {
@@ -6726,7 +6726,7 @@ var sesame = $root.sesame = (() => {
6726
6726
  return object;
6727
6727
  };
6728
6728
  SourceRemoveRequest.prototype.toJSON = function toJSON() {
6729
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
6729
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
6730
6730
  };
6731
6731
  SourceRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
6732
6732
  if (typeUrlPrefix === void 0) {
@@ -7405,7 +7405,7 @@ var sesame = $root.sesame = (() => {
7405
7405
  return object;
7406
7406
  };
7407
7407
  SourceStatus.prototype.toJSON = function toJSON() {
7408
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
7408
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
7409
7409
  };
7410
7410
  SourceStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
7411
7411
  if (typeUrlPrefix === void 0) {
@@ -7517,7 +7517,7 @@ var sesame = $root.sesame = (() => {
7517
7517
  return object;
7518
7518
  };
7519
7519
  SourceMetadataSetRequest.prototype.toJSON = function toJSON() {
7520
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
7520
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
7521
7521
  };
7522
7522
  SourceMetadataSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
7523
7523
  if (typeUrlPrefix === void 0) {
@@ -7629,7 +7629,7 @@ var sesame = $root.sesame = (() => {
7629
7629
  return object;
7630
7630
  };
7631
7631
  SourceMetadataEvent.prototype.toJSON = function toJSON() {
7632
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
7632
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
7633
7633
  };
7634
7634
  SourceMetadataEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
7635
7635
  if (typeUrlPrefix === void 0) {
@@ -7848,7 +7848,7 @@ var sesame = $root.sesame = (() => {
7848
7848
  return object;
7849
7849
  };
7850
7850
  SourceTransportCommand.prototype.toJSON = function toJSON() {
7851
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
7851
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
7852
7852
  };
7853
7853
  SourceTransportCommand.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
7854
7854
  if (typeUrlPrefix === void 0) {
@@ -8109,7 +8109,7 @@ var sesame = $root.sesame = (() => {
8109
8109
  return object;
8110
8110
  };
8111
8111
  LoadPlaylistRequest.prototype.toJSON = function toJSON() {
8112
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
8112
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
8113
8113
  };
8114
8114
  LoadPlaylistRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
8115
8115
  if (typeUrlPrefix === void 0) {
@@ -8197,7 +8197,7 @@ var sesame = $root.sesame = (() => {
8197
8197
  return object;
8198
8198
  };
8199
8199
  EjectPlaylistRequest.prototype.toJSON = function toJSON() {
8200
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
8200
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
8201
8201
  };
8202
8202
  EjectPlaylistRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
8203
8203
  if (typeUrlPrefix === void 0) {
@@ -8555,7 +8555,7 @@ var sesame = $root.sesame = (() => {
8555
8555
  return object;
8556
8556
  };
8557
8557
  RecorderClip.prototype.toJSON = function toJSON() {
8558
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
8558
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
8559
8559
  };
8560
8560
  RecorderClip.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
8561
8561
  if (typeUrlPrefix === void 0) {
@@ -8963,7 +8963,7 @@ var sesame = $root.sesame = (() => {
8963
8963
  return object;
8964
8964
  };
8965
8965
  PlaylistItem.prototype.toJSON = function toJSON() {
8966
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
8966
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
8967
8967
  };
8968
8968
  PlaylistItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
8969
8969
  if (typeUrlPrefix === void 0) {
@@ -9101,7 +9101,7 @@ var sesame = $root.sesame = (() => {
9101
9101
  return object;
9102
9102
  };
9103
9103
  RecorderClipRange.prototype.toJSON = function toJSON() {
9104
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9104
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9105
9105
  };
9106
9106
  RecorderClipRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9107
9107
  if (typeUrlPrefix === void 0) {
@@ -9165,7 +9165,7 @@ var sesame = $root.sesame = (() => {
9165
9165
  return {};
9166
9166
  };
9167
9167
  RecorderClipsGetRequest.prototype.toJSON = function toJSON() {
9168
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9168
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9169
9169
  };
9170
9170
  RecorderClipsGetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9171
9171
  if (typeUrlPrefix === void 0) {
@@ -9273,7 +9273,7 @@ var sesame = $root.sesame = (() => {
9273
9273
  return object;
9274
9274
  };
9275
9275
  RecorderClipsGetResponse.prototype.toJSON = function toJSON() {
9276
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9276
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9277
9277
  };
9278
9278
  RecorderClipsGetResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9279
9279
  if (typeUrlPrefix === void 0) {
@@ -9365,7 +9365,7 @@ var sesame = $root.sesame = (() => {
9365
9365
  return object;
9366
9366
  };
9367
9367
  RecorderClipAddRequest.prototype.toJSON = function toJSON() {
9368
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9368
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9369
9369
  };
9370
9370
  RecorderClipAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9371
9371
  if (typeUrlPrefix === void 0) {
@@ -9503,7 +9503,7 @@ var sesame = $root.sesame = (() => {
9503
9503
  return object;
9504
9504
  };
9505
9505
  RecorderClipCopyRequest.prototype.toJSON = function toJSON() {
9506
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9506
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9507
9507
  };
9508
9508
  RecorderClipCopyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9509
9509
  if (typeUrlPrefix === void 0) {
@@ -9606,7 +9606,7 @@ var sesame = $root.sesame = (() => {
9606
9606
  return object;
9607
9607
  };
9608
9608
  RecorderClipRemoveRequest.prototype.toJSON = function toJSON() {
9609
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9609
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9610
9610
  };
9611
9611
  RecorderClipRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9612
9612
  if (typeUrlPrefix === void 0) {
@@ -9784,7 +9784,7 @@ var sesame = $root.sesame = (() => {
9784
9784
  return object;
9785
9785
  };
9786
9786
  RecorderClipsClearRequest.prototype.toJSON = function toJSON() {
9787
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9787
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9788
9788
  };
9789
9789
  RecorderClipsClearRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9790
9790
  if (typeUrlPrefix === void 0) {
@@ -9876,7 +9876,7 @@ var sesame = $root.sesame = (() => {
9876
9876
  return object;
9877
9877
  };
9878
9878
  RecorderMetadataSetRequest.prototype.toJSON = function toJSON() {
9879
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9879
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
9880
9880
  };
9881
9881
  RecorderMetadataSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9882
9882
  if (typeUrlPrefix === void 0) {
@@ -10033,7 +10033,7 @@ var sesame = $root.sesame = (() => {
10033
10033
  return object;
10034
10034
  };
10035
10035
  RecorderClipFlagSetRequest.prototype.toJSON = function toJSON() {
10036
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10036
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10037
10037
  };
10038
10038
  RecorderClipFlagSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10039
10039
  if (typeUrlPrefix === void 0) {
@@ -10097,7 +10097,7 @@ var sesame = $root.sesame = (() => {
10097
10097
  return {};
10098
10098
  };
10099
10099
  RecorderClipsVerifyRequest.prototype.toJSON = function toJSON() {
10100
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10100
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10101
10101
  };
10102
10102
  RecorderClipsVerifyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10103
10103
  if (typeUrlPrefix === void 0) {
@@ -10200,7 +10200,7 @@ var sesame = $root.sesame = (() => {
10200
10200
  return object;
10201
10201
  };
10202
10202
  RecorderClipsVerifyResponse.prototype.toJSON = function toJSON() {
10203
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10203
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10204
10204
  };
10205
10205
  RecorderClipsVerifyResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10206
10206
  if (typeUrlPrefix === void 0) {
@@ -10288,7 +10288,7 @@ var sesame = $root.sesame = (() => {
10288
10288
  return object;
10289
10289
  };
10290
10290
  RecorderLockedDurationSetRequest.prototype.toJSON = function toJSON() {
10291
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10291
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10292
10292
  };
10293
10293
  RecorderLockedDurationSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10294
10294
  if (typeUrlPrefix === void 0) {
@@ -10352,7 +10352,7 @@ var sesame = $root.sesame = (() => {
10352
10352
  return {};
10353
10353
  };
10354
10354
  RecorderOkResponse.prototype.toJSON = function toJSON() {
10355
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10355
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10356
10356
  };
10357
10357
  RecorderOkResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10358
10358
  if (typeUrlPrefix === void 0) {
@@ -10714,7 +10714,7 @@ var sesame = $root.sesame = (() => {
10714
10714
  return object;
10715
10715
  };
10716
10716
  RecorderRequest.prototype.toJSON = function toJSON() {
10717
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10717
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10718
10718
  };
10719
10719
  RecorderRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10720
10720
  if (typeUrlPrefix === void 0) {
@@ -10876,7 +10876,7 @@ var sesame = $root.sesame = (() => {
10876
10876
  return object;
10877
10877
  };
10878
10878
  RecorderResponse.prototype.toJSON = function toJSON() {
10879
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10879
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10880
10880
  };
10881
10881
  RecorderResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10882
10882
  if (typeUrlPrefix === void 0) {
@@ -10964,7 +10964,7 @@ var sesame = $root.sesame = (() => {
10964
10964
  return object;
10965
10965
  };
10966
10966
  RecorderStatus.prototype.toJSON = function toJSON() {
10967
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10967
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
10968
10968
  };
10969
10969
  RecorderStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
10970
10970
  if (typeUrlPrefix === void 0) {
@@ -11100,7 +11100,7 @@ var sesame = $root.sesame = (() => {
11100
11100
  return object;
11101
11101
  };
11102
11102
  RecorderEvent.prototype.toJSON = function toJSON() {
11103
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11103
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
11104
11104
  };
11105
11105
  RecorderEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11106
11106
  if (typeUrlPrefix === void 0) {
@@ -11250,7 +11250,7 @@ var sesame = $root.sesame = (() => {
11250
11250
  return object;
11251
11251
  };
11252
11252
  FrameTiming.prototype.toJSON = function toJSON() {
11253
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11253
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
11254
11254
  };
11255
11255
  FrameTiming.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11256
11256
  if (typeUrlPrefix === void 0) {
@@ -11555,7 +11555,7 @@ var sesame = $root.sesame = (() => {
11555
11555
  return object;
11556
11556
  };
11557
11557
  SRTReceiveStatistics.prototype.toJSON = function toJSON() {
11558
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11558
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
11559
11559
  };
11560
11560
  SRTReceiveStatistics.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11561
11561
  if (typeUrlPrefix === void 0) {
@@ -11879,7 +11879,7 @@ var sesame = $root.sesame = (() => {
11879
11879
  return object;
11880
11880
  };
11881
11881
  SRTSendStatistics.prototype.toJSON = function toJSON() {
11882
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11882
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
11883
11883
  };
11884
11884
  SRTSendStatistics.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
11885
11885
  if (typeUrlPrefix === void 0) {
@@ -12051,7 +12051,7 @@ var sesame = $root.sesame = (() => {
12051
12051
  return object;
12052
12052
  };
12053
12053
  MemoryDomainStats.prototype.toJSON = function toJSON() {
12054
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12054
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
12055
12055
  };
12056
12056
  MemoryDomainStats.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12057
12057
  if (typeUrlPrefix === void 0) {
@@ -12550,7 +12550,7 @@ var sesame = $root.sesame = (() => {
12550
12550
  return object;
12551
12551
  };
12552
12552
  SystemStatus.prototype.toJSON = function toJSON() {
12553
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12553
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
12554
12554
  };
12555
12555
  SystemStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12556
12556
  if (typeUrlPrefix === void 0) {
@@ -12638,7 +12638,7 @@ var sesame = $root.sesame = (() => {
12638
12638
  return object;
12639
12639
  };
12640
12640
  CompositorStatus.prototype.toJSON = function toJSON() {
12641
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12641
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
12642
12642
  };
12643
12643
  CompositorStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12644
12644
  if (typeUrlPrefix === void 0) {
@@ -12807,7 +12807,7 @@ var sesame = $root.sesame = (() => {
12807
12807
  return object;
12808
12808
  };
12809
12809
  IODeviceItem.prototype.toJSON = function toJSON() {
12810
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12810
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
12811
12811
  };
12812
12812
  IODeviceItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12813
12813
  if (typeUrlPrefix === void 0) {
@@ -12915,7 +12915,7 @@ var sesame = $root.sesame = (() => {
12915
12915
  return object;
12916
12916
  };
12917
12917
  IODeviceListResponse.prototype.toJSON = function toJSON() {
12918
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12918
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
12919
12919
  };
12920
12920
  IODeviceListResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
12921
12921
  if (typeUrlPrefix === void 0) {
@@ -13251,7 +13251,7 @@ var sesame = $root.sesame = (() => {
13251
13251
  return object;
13252
13252
  };
13253
13253
  Status.prototype.toJSON = function toJSON() {
13254
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13254
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
13255
13255
  };
13256
13256
  Status.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
13257
13257
  if (typeUrlPrefix === void 0) {
@@ -13339,7 +13339,7 @@ var sesame = $root.sesame = (() => {
13339
13339
  return object;
13340
13340
  };
13341
13341
  ErrorEvent.prototype.toJSON = function toJSON() {
13342
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13342
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
13343
13343
  };
13344
13344
  ErrorEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
13345
13345
  if (typeUrlPrefix === void 0) {
@@ -13726,7 +13726,7 @@ var sesame = $root.sesame = (() => {
13726
13726
  return object;
13727
13727
  };
13728
13728
  TransportEvent.prototype.toJSON = function toJSON() {
13729
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13729
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
13730
13730
  };
13731
13731
  TransportEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
13732
13732
  if (typeUrlPrefix === void 0) {
@@ -13978,7 +13978,7 @@ var sesame = $root.sesame = (() => {
13978
13978
  return object;
13979
13979
  };
13980
13980
  Event2.prototype.toJSON = function toJSON() {
13981
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13981
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
13982
13982
  };
13983
13983
  Event2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
13984
13984
  if (typeUrlPrefix === void 0) {
@@ -14168,7 +14168,7 @@ var sesame = $root.sesame = (() => {
14168
14168
  return object;
14169
14169
  };
14170
14170
  SubscriptionRequest.prototype.toJSON = function toJSON() {
14171
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
14171
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
14172
14172
  };
14173
14173
  SubscriptionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
14174
14174
  if (typeUrlPrefix === void 0) {
@@ -14473,7 +14473,7 @@ var sesame = $root.sesame = (() => {
14473
14473
  return object;
14474
14474
  };
14475
14475
  EncoderConfig.prototype.toJSON = function toJSON() {
14476
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
14476
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
14477
14477
  };
14478
14478
  EncoderConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
14479
14479
  if (typeUrlPrefix === void 0) {
@@ -14633,7 +14633,7 @@ var sesame = $root.sesame = (() => {
14633
14633
  return object;
14634
14634
  };
14635
14635
  DecklinkOutputConfig.prototype.toJSON = function toJSON() {
14636
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
14636
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
14637
14637
  };
14638
14638
  DecklinkOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
14639
14639
  if (typeUrlPrefix === void 0) {
@@ -14745,7 +14745,7 @@ var sesame = $root.sesame = (() => {
14745
14745
  return object;
14746
14746
  };
14747
14747
  EncodedWebSocketOutputConfig.prototype.toJSON = function toJSON() {
14748
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
14748
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
14749
14749
  };
14750
14750
  EncodedWebSocketOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
14751
14751
  if (typeUrlPrefix === void 0) {
@@ -14937,7 +14937,7 @@ var sesame = $root.sesame = (() => {
14937
14937
  return object;
14938
14938
  };
14939
14939
  EncodedRecorderOutputConfig.prototype.toJSON = function toJSON() {
14940
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
14940
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
14941
14941
  };
14942
14942
  EncodedRecorderOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
14943
14943
  if (typeUrlPrefix === void 0) {
@@ -15199,7 +15199,7 @@ var sesame = $root.sesame = (() => {
15199
15199
  return object;
15200
15200
  };
15201
15201
  EncodedSuperSlowMoRecorderOutputConfig.prototype.toJSON = function toJSON() {
15202
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15202
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
15203
15203
  };
15204
15204
  EncodedSuperSlowMoRecorderOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
15205
15205
  if (typeUrlPrefix === void 0) {
@@ -15311,7 +15311,7 @@ var sesame = $root.sesame = (() => {
15311
15311
  return object;
15312
15312
  };
15313
15313
  EncodedSrtOutputConfig.prototype.toJSON = function toJSON() {
15314
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15314
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
15315
15315
  };
15316
15316
  EncodedSrtOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
15317
15317
  if (typeUrlPrefix === void 0) {
@@ -15461,7 +15461,7 @@ var sesame = $root.sesame = (() => {
15461
15461
  return object;
15462
15462
  };
15463
15463
  EncodedMoqOutputConfig.prototype.toJSON = function toJSON() {
15464
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15464
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
15465
15465
  };
15466
15466
  EncodedMoqOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
15467
15467
  if (typeUrlPrefix === void 0) {
@@ -15549,7 +15549,7 @@ var sesame = $root.sesame = (() => {
15549
15549
  return object;
15550
15550
  };
15551
15551
  SystemAudioOutputConfig.prototype.toJSON = function toJSON() {
15552
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15552
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
15553
15553
  };
15554
15554
  SystemAudioOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
15555
15555
  if (typeUrlPrefix === void 0) {
@@ -15925,7 +15925,7 @@ var sesame = $root.sesame = (() => {
15925
15925
  return object;
15926
15926
  };
15927
15927
  OutputAddRequest.prototype.toJSON = function toJSON() {
15928
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15928
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
15929
15929
  };
15930
15930
  OutputAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
15931
15931
  if (typeUrlPrefix === void 0) {
@@ -16301,7 +16301,7 @@ var sesame = $root.sesame = (() => {
16301
16301
  return object;
16302
16302
  };
16303
16303
  OutputUpdateRequest.prototype.toJSON = function toJSON() {
16304
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16304
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
16305
16305
  };
16306
16306
  OutputUpdateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16307
16307
  if (typeUrlPrefix === void 0) {
@@ -16389,7 +16389,7 @@ var sesame = $root.sesame = (() => {
16389
16389
  return object;
16390
16390
  };
16391
16391
  OutputRemoveRequest.prototype.toJSON = function toJSON() {
16392
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16392
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
16393
16393
  };
16394
16394
  OutputRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16395
16395
  if (typeUrlPrefix === void 0) {
@@ -16477,7 +16477,7 @@ var sesame = $root.sesame = (() => {
16477
16477
  return object;
16478
16478
  };
16479
16479
  KeyframeRequest.prototype.toJSON = function toJSON() {
16480
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16480
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
16481
16481
  };
16482
16482
  KeyframeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16483
16483
  if (typeUrlPrefix === void 0) {
@@ -16793,7 +16793,7 @@ var sesame = $root.sesame = (() => {
16793
16793
  return object;
16794
16794
  };
16795
16795
  OutputStatus.prototype.toJSON = function toJSON() {
16796
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16796
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
16797
16797
  };
16798
16798
  OutputStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16799
16799
  if (typeUrlPrefix === void 0) {
@@ -16982,7 +16982,7 @@ var sesame = $root.sesame = (() => {
16982
16982
  return object;
16983
16983
  };
16984
16984
  KeyFrame.prototype.toJSON = function toJSON() {
16985
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16985
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
16986
16986
  };
16987
16987
  KeyFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16988
16988
  if (typeUrlPrefix === void 0) {
@@ -17128,7 +17128,7 @@ var sesame = $root.sesame = (() => {
17128
17128
  return object;
17129
17129
  };
17130
17130
  CompositorAddRequest.prototype.toJSON = function toJSON() {
17131
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17131
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
17132
17132
  };
17133
17133
  CompositorAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17134
17134
  if (typeUrlPrefix === void 0) {
@@ -17216,7 +17216,7 @@ var sesame = $root.sesame = (() => {
17216
17216
  return object;
17217
17217
  };
17218
17218
  CompositorRemoveRequest.prototype.toJSON = function toJSON() {
17219
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17219
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
17220
17220
  };
17221
17221
  CompositorRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17222
17222
  if (typeUrlPrefix === void 0) {
@@ -17304,7 +17304,7 @@ var sesame = $root.sesame = (() => {
17304
17304
  return object;
17305
17305
  };
17306
17306
  CompositorClearRequest.prototype.toJSON = function toJSON() {
17307
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17307
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
17308
17308
  };
17309
17309
  CompositorClearRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17310
17310
  if (typeUrlPrefix === void 0) {
@@ -17498,7 +17498,7 @@ var sesame = $root.sesame = (() => {
17498
17498
  return object;
17499
17499
  };
17500
17500
  NodeAddRequest.prototype.toJSON = function toJSON() {
17501
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17501
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
17502
17502
  };
17503
17503
  NodeAddRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17504
17504
  if (typeUrlPrefix === void 0) {
@@ -17606,7 +17606,7 @@ var sesame = $root.sesame = (() => {
17606
17606
  return object;
17607
17607
  };
17608
17608
  NodeRemoveRequest.prototype.toJSON = function toJSON() {
17609
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17609
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
17610
17610
  };
17611
17611
  NodeRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17612
17612
  if (typeUrlPrefix === void 0) {
@@ -17760,7 +17760,7 @@ var sesame = $root.sesame = (() => {
17760
17760
  return object;
17761
17761
  };
17762
17762
  PropertySetRequest.prototype.toJSON = function toJSON() {
17763
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17763
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
17764
17764
  };
17765
17765
  PropertySetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17766
17766
  if (typeUrlPrefix === void 0) {
@@ -18025,7 +18025,7 @@ var sesame = $root.sesame = (() => {
18025
18025
  return object;
18026
18026
  };
18027
18027
  PropertyAnimateRequest.prototype.toJSON = function toJSON() {
18028
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
18028
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
18029
18029
  };
18030
18030
  PropertyAnimateRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
18031
18031
  if (typeUrlPrefix === void 0) {
@@ -18203,7 +18203,7 @@ var sesame = $root.sesame = (() => {
18203
18203
  return object;
18204
18204
  };
18205
18205
  TimingInfo.prototype.toJSON = function toJSON() {
18206
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
18206
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
18207
18207
  };
18208
18208
  TimingInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
18209
18209
  if (typeUrlPrefix === void 0) {
@@ -18453,7 +18453,7 @@ var sesame = $root.sesame = (() => {
18453
18453
  return object;
18454
18454
  };
18455
18455
  JobStatusResponse.prototype.toJSON = function toJSON() {
18456
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
18456
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
18457
18457
  };
18458
18458
  JobStatusResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
18459
18459
  if (typeUrlPrefix === void 0) {
@@ -18561,7 +18561,7 @@ var sesame = $root.sesame = (() => {
18561
18561
  return object;
18562
18562
  };
18563
18563
  JobListResponse.prototype.toJSON = function toJSON() {
18564
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
18564
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
18565
18565
  };
18566
18566
  JobListResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
18567
18567
  if (typeUrlPrefix === void 0) {
@@ -18805,7 +18805,7 @@ var sesame = $root.sesame = (() => {
18805
18805
  return object;
18806
18806
  };
18807
18807
  JobEvent.prototype.toJSON = function toJSON() {
18808
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
18808
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
18809
18809
  };
18810
18810
  JobEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
18811
18811
  if (typeUrlPrefix === void 0) {
@@ -19492,7 +19492,7 @@ var sesame = $root.sesame = (() => {
19492
19492
  return object;
19493
19493
  };
19494
19494
  ExportConfiguration.prototype.toJSON = function toJSON() {
19495
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
19495
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
19496
19496
  };
19497
19497
  ExportConfiguration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
19498
19498
  if (typeUrlPrefix === void 0) {
@@ -19624,7 +19624,7 @@ var sesame = $root.sesame = (() => {
19624
19624
  return object;
19625
19625
  };
19626
19626
  ExportStartRequest.prototype.toJSON = function toJSON() {
19627
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
19627
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
19628
19628
  };
19629
19629
  ExportStartRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
19630
19630
  if (typeUrlPrefix === void 0) {
@@ -19712,7 +19712,7 @@ var sesame = $root.sesame = (() => {
19712
19712
  return object;
19713
19713
  };
19714
19714
  ExportAbortRequest.prototype.toJSON = function toJSON() {
19715
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
19715
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
19716
19716
  };
19717
19717
  ExportAbortRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
19718
19718
  if (typeUrlPrefix === void 0) {
@@ -19800,7 +19800,7 @@ var sesame = $root.sesame = (() => {
19800
19800
  return object;
19801
19801
  };
19802
19802
  ExportStatusRequest.prototype.toJSON = function toJSON() {
19803
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
19803
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
19804
19804
  };
19805
19805
  ExportStatusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
19806
19806
  if (typeUrlPrefix === void 0) {
@@ -19864,7 +19864,7 @@ var sesame = $root.sesame = (() => {
19864
19864
  return {};
19865
19865
  };
19866
19866
  ExportListRequest.prototype.toJSON = function toJSON() {
19867
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
19867
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
19868
19868
  };
19869
19869
  ExportListRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
19870
19870
  if (typeUrlPrefix === void 0) {
@@ -20087,7 +20087,7 @@ var sesame = $root.sesame = (() => {
20087
20087
  return object;
20088
20088
  };
20089
20089
  ImportConfiguration.prototype.toJSON = function toJSON() {
20090
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20090
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20091
20091
  };
20092
20092
  ImportConfiguration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20093
20093
  if (typeUrlPrefix === void 0) {
@@ -20179,7 +20179,7 @@ var sesame = $root.sesame = (() => {
20179
20179
  return object;
20180
20180
  };
20181
20181
  ImportStartRequest.prototype.toJSON = function toJSON() {
20182
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20182
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20183
20183
  };
20184
20184
  ImportStartRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20185
20185
  if (typeUrlPrefix === void 0) {
@@ -20267,7 +20267,7 @@ var sesame = $root.sesame = (() => {
20267
20267
  return object;
20268
20268
  };
20269
20269
  ImportAbortRequest.prototype.toJSON = function toJSON() {
20270
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20270
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20271
20271
  };
20272
20272
  ImportAbortRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20273
20273
  if (typeUrlPrefix === void 0) {
@@ -20355,7 +20355,7 @@ var sesame = $root.sesame = (() => {
20355
20355
  return object;
20356
20356
  };
20357
20357
  ImportStatusRequest.prototype.toJSON = function toJSON() {
20358
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20358
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20359
20359
  };
20360
20360
  ImportStatusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20361
20361
  if (typeUrlPrefix === void 0) {
@@ -20419,7 +20419,7 @@ var sesame = $root.sesame = (() => {
20419
20419
  return {};
20420
20420
  };
20421
20421
  ImportListRequest.prototype.toJSON = function toJSON() {
20422
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20422
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20423
20423
  };
20424
20424
  ImportListRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20425
20425
  if (typeUrlPrefix === void 0) {
@@ -20432,8 +20432,8 @@ var sesame = $root.sesame = (() => {
20432
20432
  return jobs;
20433
20433
  }();
20434
20434
  v1.rpc = function() {
20435
- const rpc2 = {};
20436
- rpc2.Message = function() {
20435
+ const rpc = {};
20436
+ rpc.Message = function() {
20437
20437
  function Message2(properties) {
20438
20438
  if (properties) {
20439
20439
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
@@ -20585,7 +20585,7 @@ var sesame = $root.sesame = (() => {
20585
20585
  return object;
20586
20586
  };
20587
20587
  Message2.prototype.toJSON = function toJSON() {
20588
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20588
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20589
20589
  };
20590
20590
  Message2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20591
20591
  if (typeUrlPrefix === void 0) {
@@ -20595,7 +20595,7 @@ var sesame = $root.sesame = (() => {
20595
20595
  };
20596
20596
  return Message2;
20597
20597
  }();
20598
- rpc2.Request = function() {
20598
+ rpc.Request = function() {
20599
20599
  function Request2(properties) {
20600
20600
  if (properties) {
20601
20601
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
@@ -20722,7 +20722,7 @@ var sesame = $root.sesame = (() => {
20722
20722
  return object;
20723
20723
  };
20724
20724
  Request2.prototype.toJSON = function toJSON() {
20725
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20725
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20726
20726
  };
20727
20727
  Request2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20728
20728
  if (typeUrlPrefix === void 0) {
@@ -20732,7 +20732,7 @@ var sesame = $root.sesame = (() => {
20732
20732
  };
20733
20733
  return Request2;
20734
20734
  }();
20735
- rpc2.Response = function() {
20735
+ rpc.Response = function() {
20736
20736
  function Response2(properties) {
20737
20737
  if (properties) {
20738
20738
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
@@ -20878,7 +20878,7 @@ var sesame = $root.sesame = (() => {
20878
20878
  return object;
20879
20879
  };
20880
20880
  Response2.prototype.toJSON = function toJSON() {
20881
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20881
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
20882
20882
  };
20883
20883
  Response2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20884
20884
  if (typeUrlPrefix === void 0) {
@@ -20888,7 +20888,7 @@ var sesame = $root.sesame = (() => {
20888
20888
  };
20889
20889
  return Response2;
20890
20890
  }();
20891
- rpc2.Event = function() {
20891
+ rpc.Event = function() {
20892
20892
  function Event2(properties) {
20893
20893
  if (properties) {
20894
20894
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
@@ -21039,7 +21039,7 @@ var sesame = $root.sesame = (() => {
21039
21039
  return object;
21040
21040
  };
21041
21041
  Event2.prototype.toJSON = function toJSON() {
21042
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
21042
+ return this.constructor.toObject(this, import_minimal.default.util.toJSONOptions);
21043
21043
  };
21044
21044
  Event2.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
21045
21045
  if (typeUrlPrefix === void 0) {
@@ -21049,11 +21049,11 @@ var sesame = $root.sesame = (() => {
21049
21049
  };
21050
21050
  return Event2;
21051
21051
  }();
21052
- rpc2.SesameAPIService = function() {
21052
+ rpc.SesameAPIService = function() {
21053
21053
  function SesameAPIService(rpcImpl, requestDelimited, responseDelimited) {
21054
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
21054
+ import_minimal.default.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
21055
21055
  }
21056
- (SesameAPIService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SesameAPIService;
21056
+ (SesameAPIService.prototype = Object.create(import_minimal.default.rpc.Service.prototype)).constructor = SesameAPIService;
21057
21057
  SesameAPIService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
21058
21058
  return new this(rpcImpl, requestDelimited, responseDelimited);
21059
21059
  };
@@ -21107,7 +21107,7 @@ var sesame = $root.sesame = (() => {
21107
21107
  }, "name", { value: "RequestIODeviceList" });
21108
21108
  return SesameAPIService;
21109
21109
  }();
21110
- return rpc2;
21110
+ return rpc;
21111
21111
  }();
21112
21112
  return v1;
21113
21113
  }();
@@ -21123,7 +21123,7 @@ var CommandList = class {
21123
21123
  add(item, timeOffsetMs, transaction) {
21124
21124
  item.timeOffsetUs = (timeOffsetMs || 0) * 1e3;
21125
21125
  if (transaction) {
21126
- item.transactionDeps = (transaction == null ? void 0 : transaction.dependencies) || [];
21126
+ item.transactionDeps = transaction?.dependencies || [];
21127
21127
  item.transactionId = transaction.transactionId;
21128
21128
  }
21129
21129
  this.cl.commandList.push(item);
@@ -21160,7 +21160,7 @@ var CommandList = class {
21160
21160
  this.cl.commandList.splice(this.cl.commandList.indexOf(item.del), 1);
21161
21161
  });
21162
21162
  }
21163
- get_command_list_msg() {
21163
+ getCommandListMsg() {
21164
21164
  return this.cl;
21165
21165
  }
21166
21166
  callback(event, data, timeOffsetMs) {
@@ -21168,32 +21168,32 @@ var CommandList = class {
21168
21168
  item.callback = { event, data };
21169
21169
  return this.add(item, timeOffsetMs);
21170
21170
  }
21171
- add_compositor(id, width, height, multisample, timeOffsetMs) {
21171
+ compositorAdd(id, width, height, multisample, timeOffsetMs) {
21172
21172
  let item = new sesame.v1.commands.CommandListItem();
21173
21173
  item.addCompositor = { id, multisample, width, height };
21174
21174
  return this.add(item, timeOffsetMs);
21175
21175
  }
21176
- remove_compositor(id, timeOffsetMs) {
21176
+ compositorRemove(id, timeOffsetMs) {
21177
21177
  let item = new sesame.v1.commands.CommandListItem();
21178
21178
  item.removeCompositor = { id };
21179
21179
  return this.add(item, timeOffsetMs);
21180
21180
  }
21181
- clear_compositor(id, timeOffsetMs) {
21181
+ compositorClear(id, timeOffsetMs) {
21182
21182
  let item = new sesame.v1.commands.CommandListItem();
21183
21183
  item.clearCompositor = { id };
21184
21184
  return this.add(item, timeOffsetMs);
21185
21185
  }
21186
- add_source(id, cfg, timeOffsetMs) {
21186
+ sourceAdd(id, cfg, timeOffsetMs) {
21187
21187
  let item = new sesame.v1.commands.CommandListItem();
21188
21188
  item.addSource = { id, config: cfg };
21189
21189
  return this.add(item, timeOffsetMs);
21190
21190
  }
21191
- remove_source(id, timeOffsetMs) {
21191
+ sourceRemove(id, timeOffsetMs) {
21192
21192
  let item = new sesame.v1.commands.CommandListItem();
21193
21193
  item.removeSource = { id };
21194
21194
  return this.add(item, timeOffsetMs);
21195
21195
  }
21196
- add_node(id, cfg, timeOffsetMs) {
21196
+ nodeAdd(id, cfg, timeOffsetMs) {
21197
21197
  let item = new sesame.v1.commands.CommandListItem();
21198
21198
  item.addNode = {
21199
21199
  compositorId: cfg.compositorId,
@@ -21203,12 +21203,12 @@ var CommandList = class {
21203
21203
  };
21204
21204
  return this.add(item, timeOffsetMs);
21205
21205
  }
21206
- remove_node(compositorId, address, timeOffsetMs) {
21206
+ nodeRemove(compositorId, address, timeOffsetMs) {
21207
21207
  let item = new sesame.v1.commands.CommandListItem();
21208
21208
  item.removeNode = { compositorId, address };
21209
21209
  return this.add(item, timeOffsetMs);
21210
21210
  }
21211
- set_property(propertyDomain, addr, prop, val, timeOffsetMs) {
21211
+ propertySet(propertyDomain, addr, prop, val, timeOffsetMs) {
21212
21212
  let item = new sesame.v1.commands.CommandListItem();
21213
21213
  item.setProperty = {
21214
21214
  address: addr,
@@ -21218,7 +21218,7 @@ var CommandList = class {
21218
21218
  };
21219
21219
  return this.add(item, timeOffsetMs);
21220
21220
  }
21221
- add_load_playlist_command(sourceId, playlist) {
21221
+ playlistLoad(sourceId, playlist) {
21222
21222
  const item = new sesame.v1.commands.CommandListItem();
21223
21223
  const loadPlaylistCmd = {
21224
21224
  items: playlist.clips.map((clip) => ({
@@ -21241,13 +21241,13 @@ var CommandList = class {
21241
21241
  item.loadPlaylist = loadPlaylistCmd;
21242
21242
  return this.add(item, 0);
21243
21243
  }
21244
- add_eject_playlist_command(sourceId) {
21244
+ playlistEject(sourceId) {
21245
21245
  const item = new sesame.v1.commands.CommandListItem();
21246
21246
  const ejectPlaylistCmd = { sourceId };
21247
21247
  item.ejectPlaylist = ejectPlaylistCmd;
21248
21248
  return this.add(item, 0);
21249
21249
  }
21250
- add_transport_command(id, msg, timeOffsetMs) {
21250
+ transportCommand(id, msg, timeOffsetMs) {
21251
21251
  let item = new sesame.v1.commands.CommandListItem();
21252
21252
  let transportCmd = { sourceId: id };
21253
21253
  let cmd;
@@ -21320,17 +21320,17 @@ var CommandList = class {
21320
21320
  item.updateSourceTransport = transportCmd;
21321
21321
  return this.add(item, timeOffsetMs, { transactionId: msg.transactionId, dependencies: [] });
21322
21322
  }
21323
- update_source(id, cfg, timeOffsetMs) {
21323
+ sourceUpdate(id, cfg, timeOffsetMs) {
21324
21324
  let item = new sesame.v1.commands.CommandListItem();
21325
21325
  item.updateSource = { id, config: cfg };
21326
21326
  return this.add(item, timeOffsetMs);
21327
21327
  }
21328
- update_source_metadata(id, metadata, timeOffsetMs) {
21328
+ sourceUpdateMetadata(id, metadata, timeOffsetMs) {
21329
21329
  let item = new sesame.v1.commands.CommandListItem();
21330
21330
  item.setSourceMetadata = { sourceId: id, metadata };
21331
21331
  return this.add(item, timeOffsetMs);
21332
21332
  }
21333
- update_source_transport(id, cfg, timeOffsetMs) {
21333
+ sourceUpdateTransport(id, cfg, timeOffsetMs) {
21334
21334
  let item = new sesame.v1.commands.CommandListItem();
21335
21335
  item.updateSourceTransport = {
21336
21336
  sourceId: id,
@@ -21339,47 +21339,47 @@ var CommandList = class {
21339
21339
  };
21340
21340
  return this.add(item, timeOffsetMs);
21341
21341
  }
21342
- add_output(id, cfg, timeOffsetMs) {
21342
+ outputAdd(id, cfg, timeOffsetMs) {
21343
21343
  let item = new sesame.v1.commands.CommandListItem();
21344
21344
  item.addOutput = { id, ...cfg };
21345
21345
  return this.add(item, timeOffsetMs);
21346
21346
  }
21347
- update_output(id, cfg, timeOffsetMs) {
21347
+ outputUpdate(id, cfg, timeOffsetMs) {
21348
21348
  let item = new sesame.v1.commands.CommandListItem();
21349
21349
  item.updateOutput = { id, ...cfg };
21350
21350
  return this.add(item, timeOffsetMs);
21351
21351
  }
21352
- remove_output(id, timeOffsetMs) {
21352
+ outputRemove(id, timeOffsetMs) {
21353
21353
  let item = new sesame.v1.commands.CommandListItem();
21354
21354
  item.removeOutput = { id };
21355
21355
  return this.add(item, timeOffsetMs);
21356
21356
  }
21357
- add_audio_mixer(id, cfg, timeOffsetMs) {
21357
+ audioMixerAdd(id, cfg, timeOffsetMs) {
21358
21358
  let item = new sesame.v1.commands.CommandListItem();
21359
21359
  item.addAudioMixer = { id, config: cfg };
21360
21360
  return this.add(item, timeOffsetMs);
21361
21361
  }
21362
- update_audio_mixer(id, cfg, timeOffsetMs) {
21362
+ audioMixerUpdate(id, cfg, timeOffsetMs) {
21363
21363
  let item = new sesame.v1.commands.CommandListItem();
21364
21364
  item.updateAudioMixer = { id, config: cfg };
21365
21365
  return this.add(item, timeOffsetMs);
21366
21366
  }
21367
- add_audio_mixer_channel(mixerId, cfg, timeOffsetMs) {
21367
+ audioMixerChannelAdd(mixerId, cfg, timeOffsetMs) {
21368
21368
  let item = new sesame.v1.commands.CommandListItem();
21369
21369
  item.addAudioChannel = { mixerId, channelConfig: cfg };
21370
21370
  return this.add(item, timeOffsetMs);
21371
21371
  }
21372
- remove_audio_mixer(mixerId, timeOffsetMs) {
21372
+ audioMixerRemove(mixerId, timeOffsetMs) {
21373
21373
  let item = new sesame.v1.commands.CommandListItem();
21374
21374
  item.removeAudioMixer = { id: mixerId };
21375
21375
  return this.add(item, timeOffsetMs);
21376
21376
  }
21377
- remove_audio_mixer_channel(mixerId, channelId, timeOffsetMs) {
21377
+ audioMixerChannelRemove(mixerId, channelId, timeOffsetMs) {
21378
21378
  let item = new sesame.v1.commands.CommandListItem();
21379
21379
  item.removeAudioChannel = { mixerId, channelId };
21380
21380
  return this.add(item, timeOffsetMs);
21381
21381
  }
21382
- animate_property(propertyDomain, addr, prop, before, after, keyframes, timeOffsetMs) {
21382
+ propertyAnimate(propertyDomain, addr, prop, before, after, keyframes, timeOffsetMs) {
21383
21383
  let item = new sesame.v1.commands.CommandListItem();
21384
21384
  item.animateProperty = {
21385
21385
  address: addr,
@@ -21395,7 +21395,6 @@ var CommandList = class {
21395
21395
 
21396
21396
  // src/rpc-client.ts
21397
21397
  var import_events = require("events");
21398
- var WebSocket = __toESM(require("ws"));
21399
21398
 
21400
21399
  // src/logger.ts
21401
21400
  var ConsoleLogger = class {
@@ -21574,7 +21573,6 @@ var RPCClient = class extends import_events.EventEmitter {
21574
21573
 
21575
21574
  // src/sesame-connection.ts
21576
21575
  var import_events2 = require("events");
21577
- var import_ws = __toESM(require("ws"));
21578
21576
 
21579
21577
  // src/sesame-binary-protocol.ts
21580
21578
  var PROTOCOL_MAGIC = 1297302867;
@@ -21837,20 +21835,24 @@ var SesameConnection = class extends import_events2.EventEmitter {
21837
21835
  this.numRetries = 0;
21838
21836
  this.url = "";
21839
21837
  this.autoReconnect = true;
21838
+ /* Bound listeners so we can removeEventListener later */
21839
+ this.boundMessageHandler = (event) => this.messageHandler(event);
21840
+ this.boundOpenHandler = () => this.openHandler();
21841
+ this.boundCloseHandler = () => this.closeHandler();
21842
+ this.boundErrorHandler = (event) => this.errorHandler(event);
21840
21843
  this.openHandler = () => {
21841
21844
  this.numRetries = 0;
21842
21845
  this.emit("open");
21843
21846
  };
21844
21847
  this.messageHandler = (event) => {
21845
- var _a, _b, _c;
21846
21848
  if (event.data instanceof ArrayBuffer) {
21847
21849
  const parsed = SesameBinaryProtocol.parseData(new Uint8Array(event.data));
21848
21850
  if (!parsed.valid) this.emit("error", new Error("Invalid packet received"));
21849
- if (((_a = parsed.header) == null ? void 0 : _a.type) == 1 /* VIDEO_FRAME */) {
21851
+ if (parsed.header?.type == 1 /* VIDEO_FRAME */) {
21850
21852
  this.emit("video-packet", event.data);
21851
- } else if (((_b = parsed.header) == null ? void 0 : _b.type) == 2 /* AUDIO_FRAME */) {
21853
+ } else if (parsed.header?.type == 2 /* AUDIO_FRAME */) {
21852
21854
  this.emit("audio-packet", event.data);
21853
- } else if (((_c = parsed.header) == null ? void 0 : _c.type) == 3 /* RPC */) {
21855
+ } else if (parsed.header?.type == 3 /* RPC */) {
21854
21856
  this.emit("rpc", parsed.payload);
21855
21857
  }
21856
21858
  }
@@ -21860,7 +21862,7 @@ var SesameConnection = class extends import_events2.EventEmitter {
21860
21862
  if (options.autoConnect) this.connect().catch(() => log.debug("failed connect"));
21861
21863
  }
21862
21864
  isConnected() {
21863
- return this.socket !== void 0 && this.socket.readyState === import_ws.default.OPEN;
21865
+ return this.socket !== void 0 && this.socket.readyState === WebSocket.OPEN;
21864
21866
  }
21865
21867
  async send(data) {
21866
21868
  if (!this.isConnected()) throw new Error("Not connected");
@@ -21872,11 +21874,11 @@ var SesameConnection = class extends import_events2.EventEmitter {
21872
21874
  }
21873
21875
  async connect() {
21874
21876
  this.active = true;
21875
- this.socket = new import_ws.default(this.url);
21876
- this.socket.addEventListener("message", (event) => this.messageHandler(event));
21877
- this.socket.addEventListener("open", () => this.openHandler());
21878
- this.socket.addEventListener("close", () => this.closeHandler());
21879
- this.socket.addEventListener("error", (error) => this.errorHandler(error));
21877
+ this.socket = new WebSocket(this.url);
21878
+ this.socket.addEventListener("message", this.boundMessageHandler);
21879
+ this.socket.addEventListener("open", this.boundOpenHandler);
21880
+ this.socket.addEventListener("close", this.boundCloseHandler);
21881
+ this.socket.addEventListener("error", this.boundErrorHandler);
21880
21882
  this.socket.binaryType = "arraybuffer";
21881
21883
  await new Promise((resolve) => {
21882
21884
  const done = () => {
@@ -21897,11 +21899,17 @@ var SesameConnection = class extends import_events2.EventEmitter {
21897
21899
  return;
21898
21900
  }
21899
21901
  const sock = this.socket;
21900
- if (sock.readyState !== import_ws.default.CLOSED) {
21902
+ if (sock.readyState !== WebSocket.CLOSED) {
21901
21903
  sock.close();
21902
21904
  await waitForEvent(this, "close");
21903
21905
  }
21904
- sock.removeAllListeners();
21906
+ this.removeSocketListeners(sock);
21907
+ }
21908
+ removeSocketListeners(sock) {
21909
+ sock.removeEventListener("message", this.boundMessageHandler);
21910
+ sock.removeEventListener("open", this.boundOpenHandler);
21911
+ sock.removeEventListener("close", this.boundCloseHandler);
21912
+ sock.removeEventListener("error", this.boundErrorHandler);
21905
21913
  }
21906
21914
  retryHandler() {
21907
21915
  if (this.active && this.autoReconnect) {
@@ -21911,7 +21919,7 @@ var SesameConnection = class extends import_events2.EventEmitter {
21911
21919
  closeHandler() {
21912
21920
  this.emit("close");
21913
21921
  if (this.socket) {
21914
- this.socket.removeAllListeners();
21922
+ this.removeSocketListeners(this.socket);
21915
21923
  }
21916
21924
  this.socket = void 0;
21917
21925
  if (this.active) {
@@ -21938,8 +21946,8 @@ var import_events3 = require("events");
21938
21946
  // src/status-api.ts
21939
21947
  var StatusApi = class {
21940
21948
  /** @internal */
21941
- constructor(rpc2) {
21942
- this.rpc = rpc2;
21949
+ constructor(rpc) {
21950
+ this.rpc = rpc;
21943
21951
  }
21944
21952
  async getStatus() {
21945
21953
  return this.rpc.service.requestStatus(new sesame.v1.common.Empty());
@@ -21955,8 +21963,8 @@ var StatusApi = class {
21955
21963
  // src/recorder-api.ts
21956
21964
  var RecorderApi = class {
21957
21965
  /** @internal */
21958
- constructor(rpc2) {
21959
- this.rpc = rpc2;
21966
+ constructor(rpc) {
21967
+ this.rpc = rpc;
21960
21968
  }
21961
21969
  async addClip(recorderId, clip) {
21962
21970
  const msg = sesame.v1.recorder.RecorderClipAddRequest.create({ clip });
@@ -21976,16 +21984,14 @@ var RecorderApi = class {
21976
21984
  await this.rpc.service.requestRecorderOperation({ recorderId, clearClips: msg });
21977
21985
  }
21978
21986
  async verifyClips(recorderId) {
21979
- var _a;
21980
21987
  const msg = sesame.v1.recorder.RecorderClipsVerifyRequest.create();
21981
21988
  const reply = await this.rpc.service.requestRecorderOperation({ recorderId, verifyClips: msg });
21982
- return ((_a = reply.verifyClipsResponse) == null ? void 0 : _a.errors) || [];
21989
+ return reply.verifyClipsResponse?.errors || [];
21983
21990
  }
21984
21991
  async getClips(recorderId) {
21985
- var _a;
21986
21992
  const msg = sesame.v1.recorder.RecorderClipsGetRequest.create();
21987
21993
  const reply = await this.rpc.service.requestRecorderOperation({ recorderId, getClips: msg });
21988
- if ((_a = reply.getClipsResponse) == null ? void 0 : _a.clips) {
21994
+ if (reply.getClipsResponse?.clips) {
21989
21995
  return reply.getClipsResponse.clips;
21990
21996
  } else {
21991
21997
  throw new Error(`No clips returned: ${JSON.stringify(reply)}`);
@@ -22004,8 +22010,8 @@ var RecorderApi = class {
22004
22010
  // src/jobs-api.ts
22005
22011
  var JobsApi = class {
22006
22012
  /** @internal */
22007
- constructor(rpc2) {
22008
- this.rpc = rpc2;
22013
+ constructor(rpc) {
22014
+ this.rpc = rpc;
22009
22015
  }
22010
22016
  async importClip(config) {
22011
22017
  const msg = sesame.v1.jobs.ImportStartRequest.create();
@@ -22191,8 +22197,8 @@ var SesameClient = class extends import_events3.EventEmitter {
22191
22197
  }
22192
22198
  async execute(cl) {
22193
22199
  cl.filterCreatedAndDestroyedSources();
22194
- if (cl.get_command_list_msg().commandList.length > 0) {
22195
- await this.rpc.service.executeCommandList(cl.get_command_list_msg());
22200
+ if (cl.getCommandListMsg().commandList.length > 0) {
22201
+ await this.rpc.service.executeCommandList(cl.getCommandListMsg());
22196
22202
  }
22197
22203
  }
22198
22204
  disconnect() {