@stinkycomputing/sesame-api-client 1.6.0 → 1.9.0-alpha.1

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/proto/api.js CHANGED
@@ -5992,6 +5992,9 @@ export const sesame = $root.sesame = (() => {
5992
5992
  * @property {sesame.v1.outputs.IEncoderUpdateRequest|null} [updateEncoder] CommandListItem updateEncoder
5993
5993
  * @property {sesame.v1.outputs.IEncoderRemoveRequest|null} [removeEncoder] CommandListItem removeEncoder
5994
5994
  * @property {sesame.v1.sources.ITakePlaylistRequest|null} [takePlaylist] CommandListItem takePlaylist
5995
+ * @property {sesame.v1.outputs.IOutputControlRequest|null} [outputControl] CommandListItem outputControl
5996
+ * @property {sesame.v1.compositor.ISideDataSetRequest|null} [setSideData] CommandListItem setSideData
5997
+ * @property {sesame.v1.compositor.ISideDataRemoveRequest|null} [removeSideData] CommandListItem removeSideData
5995
5998
  * @property {number|null} [transactionId] CommandListItem transactionId
5996
5999
  * @property {Array.<number>|null} [transactionDeps] CommandListItem transactionDeps
5997
6000
  */
@@ -6244,6 +6247,30 @@ export const sesame = $root.sesame = (() => {
6244
6247
  */
6245
6248
  CommandListItem.prototype.takePlaylist = null;
6246
6249
 
6250
+ /**
6251
+ * CommandListItem outputControl.
6252
+ * @member {sesame.v1.outputs.IOutputControlRequest|null|undefined} outputControl
6253
+ * @memberof sesame.v1.commands.CommandListItem
6254
+ * @instance
6255
+ */
6256
+ CommandListItem.prototype.outputControl = null;
6257
+
6258
+ /**
6259
+ * CommandListItem setSideData.
6260
+ * @member {sesame.v1.compositor.ISideDataSetRequest|null|undefined} setSideData
6261
+ * @memberof sesame.v1.commands.CommandListItem
6262
+ * @instance
6263
+ */
6264
+ CommandListItem.prototype.setSideData = null;
6265
+
6266
+ /**
6267
+ * CommandListItem removeSideData.
6268
+ * @member {sesame.v1.compositor.ISideDataRemoveRequest|null|undefined} removeSideData
6269
+ * @memberof sesame.v1.commands.CommandListItem
6270
+ * @instance
6271
+ */
6272
+ CommandListItem.prototype.removeSideData = null;
6273
+
6247
6274
  /**
6248
6275
  * CommandListItem transactionId.
6249
6276
  * @member {number|null|undefined} transactionId
@@ -6265,12 +6292,12 @@ export const sesame = $root.sesame = (() => {
6265
6292
 
6266
6293
  /**
6267
6294
  * CommandListItem item.
6268
- * @member {"addSource"|"updateSource"|"removeSource"|"addOutput"|"updateOutput"|"removeOutput"|"addCompositor"|"removeCompositor"|"clearCompositor"|"addNode"|"removeNode"|"setProperty"|"animateProperty"|"addAudioMixer"|"updateAudioMixer"|"removeAudioMixer"|"addAudioChannel"|"removeAudioChannel"|"updateSourceTransport"|"loadPlaylist"|"ejectPlaylist"|"callback"|"setSourceMetadata"|"setMetadataBindings"|"addEncoder"|"updateEncoder"|"removeEncoder"|"takePlaylist"|undefined} item
6295
+ * @member {"addSource"|"updateSource"|"removeSource"|"addOutput"|"updateOutput"|"removeOutput"|"addCompositor"|"removeCompositor"|"clearCompositor"|"addNode"|"removeNode"|"setProperty"|"animateProperty"|"addAudioMixer"|"updateAudioMixer"|"removeAudioMixer"|"addAudioChannel"|"removeAudioChannel"|"updateSourceTransport"|"loadPlaylist"|"ejectPlaylist"|"callback"|"setSourceMetadata"|"setMetadataBindings"|"addEncoder"|"updateEncoder"|"removeEncoder"|"takePlaylist"|"outputControl"|"setSideData"|"removeSideData"|undefined} item
6269
6296
  * @memberof sesame.v1.commands.CommandListItem
6270
6297
  * @instance
6271
6298
  */
6272
6299
  Object.defineProperty(CommandListItem.prototype, "item", {
6273
- get: $util.oneOfGetter($oneOfFields = ["addSource", "updateSource", "removeSource", "addOutput", "updateOutput", "removeOutput", "addCompositor", "removeCompositor", "clearCompositor", "addNode", "removeNode", "setProperty", "animateProperty", "addAudioMixer", "updateAudioMixer", "removeAudioMixer", "addAudioChannel", "removeAudioChannel", "updateSourceTransport", "loadPlaylist", "ejectPlaylist", "callback", "setSourceMetadata", "setMetadataBindings", "addEncoder", "updateEncoder", "removeEncoder", "takePlaylist"]),
6300
+ get: $util.oneOfGetter($oneOfFields = ["addSource", "updateSource", "removeSource", "addOutput", "updateOutput", "removeOutput", "addCompositor", "removeCompositor", "clearCompositor", "addNode", "removeNode", "setProperty", "animateProperty", "addAudioMixer", "updateAudioMixer", "removeAudioMixer", "addAudioChannel", "removeAudioChannel", "updateSourceTransport", "loadPlaylist", "ejectPlaylist", "callback", "setSourceMetadata", "setMetadataBindings", "addEncoder", "updateEncoder", "removeEncoder", "takePlaylist", "outputControl", "setSideData", "removeSideData"]),
6274
6301
  set: $util.oneOfSetter($oneOfFields)
6275
6302
  });
6276
6303
 
@@ -6370,6 +6397,12 @@ export const sesame = $root.sesame = (() => {
6370
6397
  $root.sesame.v1.outputs.EncoderRemoveRequest.encode(message.removeEncoder, writer.uint32(/* id 30, wireType 2 =*/242).fork()).ldelim();
6371
6398
  if (message.takePlaylist != null && Object.hasOwnProperty.call(message, "takePlaylist"))
6372
6399
  $root.sesame.v1.sources.TakePlaylistRequest.encode(message.takePlaylist, writer.uint32(/* id 31, wireType 2 =*/250).fork()).ldelim();
6400
+ if (message.outputControl != null && Object.hasOwnProperty.call(message, "outputControl"))
6401
+ $root.sesame.v1.outputs.OutputControlRequest.encode(message.outputControl, writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim();
6402
+ if (message.setSideData != null && Object.hasOwnProperty.call(message, "setSideData"))
6403
+ $root.sesame.v1.compositor.SideDataSetRequest.encode(message.setSideData, writer.uint32(/* id 33, wireType 2 =*/266).fork()).ldelim();
6404
+ if (message.removeSideData != null && Object.hasOwnProperty.call(message, "removeSideData"))
6405
+ $root.sesame.v1.compositor.SideDataRemoveRequest.encode(message.removeSideData, writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
6373
6406
  return writer;
6374
6407
  };
6375
6408
 
@@ -6522,6 +6555,18 @@ export const sesame = $root.sesame = (() => {
6522
6555
  message.takePlaylist = $root.sesame.v1.sources.TakePlaylistRequest.decode(reader, reader.uint32());
6523
6556
  break;
6524
6557
  }
6558
+ case 32: {
6559
+ message.outputControl = $root.sesame.v1.outputs.OutputControlRequest.decode(reader, reader.uint32());
6560
+ break;
6561
+ }
6562
+ case 33: {
6563
+ message.setSideData = $root.sesame.v1.compositor.SideDataSetRequest.decode(reader, reader.uint32());
6564
+ break;
6565
+ }
6566
+ case 34: {
6567
+ message.removeSideData = $root.sesame.v1.compositor.SideDataRemoveRequest.decode(reader, reader.uint32());
6568
+ break;
6569
+ }
6525
6570
  case 25: {
6526
6571
  message.transactionId = reader.uint32();
6527
6572
  break;
@@ -6854,6 +6899,36 @@ export const sesame = $root.sesame = (() => {
6854
6899
  return "takePlaylist." + error;
6855
6900
  }
6856
6901
  }
6902
+ if (message.outputControl != null && message.hasOwnProperty("outputControl")) {
6903
+ if (properties.item === 1)
6904
+ return "item: multiple values";
6905
+ properties.item = 1;
6906
+ {
6907
+ let error = $root.sesame.v1.outputs.OutputControlRequest.verify(message.outputControl);
6908
+ if (error)
6909
+ return "outputControl." + error;
6910
+ }
6911
+ }
6912
+ if (message.setSideData != null && message.hasOwnProperty("setSideData")) {
6913
+ if (properties.item === 1)
6914
+ return "item: multiple values";
6915
+ properties.item = 1;
6916
+ {
6917
+ let error = $root.sesame.v1.compositor.SideDataSetRequest.verify(message.setSideData);
6918
+ if (error)
6919
+ return "setSideData." + error;
6920
+ }
6921
+ }
6922
+ if (message.removeSideData != null && message.hasOwnProperty("removeSideData")) {
6923
+ if (properties.item === 1)
6924
+ return "item: multiple values";
6925
+ properties.item = 1;
6926
+ {
6927
+ let error = $root.sesame.v1.compositor.SideDataRemoveRequest.verify(message.removeSideData);
6928
+ if (error)
6929
+ return "removeSideData." + error;
6930
+ }
6931
+ }
6857
6932
  if (message.transactionId != null && message.hasOwnProperty("transactionId")) {
6858
6933
  properties._transactionId = 1;
6859
6934
  if (!$util.isInteger(message.transactionId))
@@ -7030,6 +7105,21 @@ export const sesame = $root.sesame = (() => {
7030
7105
  throw TypeError(".sesame.v1.commands.CommandListItem.takePlaylist: object expected");
7031
7106
  message.takePlaylist = $root.sesame.v1.sources.TakePlaylistRequest.fromObject(object.takePlaylist);
7032
7107
  }
7108
+ if (object.outputControl != null) {
7109
+ if (typeof object.outputControl !== "object")
7110
+ throw TypeError(".sesame.v1.commands.CommandListItem.outputControl: object expected");
7111
+ message.outputControl = $root.sesame.v1.outputs.OutputControlRequest.fromObject(object.outputControl);
7112
+ }
7113
+ if (object.setSideData != null) {
7114
+ if (typeof object.setSideData !== "object")
7115
+ throw TypeError(".sesame.v1.commands.CommandListItem.setSideData: object expected");
7116
+ message.setSideData = $root.sesame.v1.compositor.SideDataSetRequest.fromObject(object.setSideData);
7117
+ }
7118
+ if (object.removeSideData != null) {
7119
+ if (typeof object.removeSideData !== "object")
7120
+ throw TypeError(".sesame.v1.commands.CommandListItem.removeSideData: object expected");
7121
+ message.removeSideData = $root.sesame.v1.compositor.SideDataRemoveRequest.fromObject(object.removeSideData);
7122
+ }
7033
7123
  if (object.transactionId != null)
7034
7124
  message.transactionId = object.transactionId >>> 0;
7035
7125
  if (object.transactionDeps) {
@@ -7218,6 +7308,21 @@ export const sesame = $root.sesame = (() => {
7218
7308
  if (options.oneofs)
7219
7309
  object.item = "takePlaylist";
7220
7310
  }
7311
+ if (message.outputControl != null && message.hasOwnProperty("outputControl")) {
7312
+ object.outputControl = $root.sesame.v1.outputs.OutputControlRequest.toObject(message.outputControl, options);
7313
+ if (options.oneofs)
7314
+ object.item = "outputControl";
7315
+ }
7316
+ if (message.setSideData != null && message.hasOwnProperty("setSideData")) {
7317
+ object.setSideData = $root.sesame.v1.compositor.SideDataSetRequest.toObject(message.setSideData, options);
7318
+ if (options.oneofs)
7319
+ object.item = "setSideData";
7320
+ }
7321
+ if (message.removeSideData != null && message.hasOwnProperty("removeSideData")) {
7322
+ object.removeSideData = $root.sesame.v1.compositor.SideDataRemoveRequest.toObject(message.removeSideData, options);
7323
+ if (options.oneofs)
7324
+ object.item = "removeSideData";
7325
+ }
7221
7326
  return object;
7222
7327
  };
7223
7328
 
@@ -8200,6 +8305,7 @@ export const sesame = $root.sesame = (() => {
8200
8305
  * @property {number} CONNECTION_STATE_DEGRADED=4 CONNECTION_STATE_DEGRADED value
8201
8306
  * @property {number} CONNECTION_STATE_OFFLINE=5 CONNECTION_STATE_OFFLINE value
8202
8307
  * @property {number} CONNECTION_STATE_ERROR=6 CONNECTION_STATE_ERROR value
8308
+ * @property {number} CONNECTION_STATE_DISABLED=7 CONNECTION_STATE_DISABLED value
8203
8309
  */
8204
8310
  common.ConnectionState = (function() {
8205
8311
  const valuesById = {}, values = Object.create(valuesById);
@@ -8210,6 +8316,7 @@ export const sesame = $root.sesame = (() => {
8210
8316
  values[valuesById[4] = "CONNECTION_STATE_DEGRADED"] = 4;
8211
8317
  values[valuesById[5] = "CONNECTION_STATE_OFFLINE"] = 5;
8212
8318
  values[valuesById[6] = "CONNECTION_STATE_ERROR"] = 6;
8319
+ values[valuesById[7] = "CONNECTION_STATE_DISABLED"] = 7;
8213
8320
  return values;
8214
8321
  })();
8215
8322
 
@@ -12671,6 +12778,22 @@ export const sesame = $root.sesame = (() => {
12671
12778
  return values;
12672
12779
  })();
12673
12780
 
12781
+ /**
12782
+ * SignalGeneratorTimecodeMode enum.
12783
+ * @name sesame.v1.sources.SignalGeneratorTimecodeMode
12784
+ * @enum {number}
12785
+ * @property {number} SIGNAL_GENERATOR_TIMECODE_MODE_NONE=0 SIGNAL_GENERATOR_TIMECODE_MODE_NONE value
12786
+ * @property {number} SIGNAL_GENERATOR_TIMECODE_MODE_FREE_RUN=1 SIGNAL_GENERATOR_TIMECODE_MODE_FREE_RUN value
12787
+ * @property {number} SIGNAL_GENERATOR_TIMECODE_MODE_TIME_OF_DAY=2 SIGNAL_GENERATOR_TIMECODE_MODE_TIME_OF_DAY value
12788
+ */
12789
+ sources.SignalGeneratorTimecodeMode = (function() {
12790
+ const valuesById = {}, values = Object.create(valuesById);
12791
+ values[valuesById[0] = "SIGNAL_GENERATOR_TIMECODE_MODE_NONE"] = 0;
12792
+ values[valuesById[1] = "SIGNAL_GENERATOR_TIMECODE_MODE_FREE_RUN"] = 1;
12793
+ values[valuesById[2] = "SIGNAL_GENERATOR_TIMECODE_MODE_TIME_OF_DAY"] = 2;
12794
+ return values;
12795
+ })();
12796
+
12674
12797
  sources.SignalGeneratorSourceConfig = (function() {
12675
12798
 
12676
12799
  /**
@@ -12680,6 +12803,8 @@ export const sesame = $root.sesame = (() => {
12680
12803
  * @property {boolean|null} [freeze] SignalGeneratorSourceConfig freeze
12681
12804
  * @property {sesame.v1.sources.SignalGeneratorVideoPattern|null} [videoPattern] SignalGeneratorSourceConfig videoPattern
12682
12805
  * @property {sesame.v1.sources.SignalGeneratorAudioMode|null} [audioMode] SignalGeneratorSourceConfig audioMode
12806
+ * @property {sesame.v1.sources.SignalGeneratorTimecodeMode|null} [timecodeMode] SignalGeneratorSourceConfig timecodeMode
12807
+ * @property {number|null} [timecodeStartFrame] SignalGeneratorSourceConfig timecodeStartFrame
12683
12808
  */
12684
12809
 
12685
12810
  /**
@@ -12721,6 +12846,22 @@ export const sesame = $root.sesame = (() => {
12721
12846
  */
12722
12847
  SignalGeneratorSourceConfig.prototype.audioMode = 0;
12723
12848
 
12849
+ /**
12850
+ * SignalGeneratorSourceConfig timecodeMode.
12851
+ * @member {sesame.v1.sources.SignalGeneratorTimecodeMode} timecodeMode
12852
+ * @memberof sesame.v1.sources.SignalGeneratorSourceConfig
12853
+ * @instance
12854
+ */
12855
+ SignalGeneratorSourceConfig.prototype.timecodeMode = 0;
12856
+
12857
+ /**
12858
+ * SignalGeneratorSourceConfig timecodeStartFrame.
12859
+ * @member {number} timecodeStartFrame
12860
+ * @memberof sesame.v1.sources.SignalGeneratorSourceConfig
12861
+ * @instance
12862
+ */
12863
+ SignalGeneratorSourceConfig.prototype.timecodeStartFrame = 0;
12864
+
12724
12865
  /**
12725
12866
  * Creates a new SignalGeneratorSourceConfig instance using the specified properties.
12726
12867
  * @function create
@@ -12751,6 +12892,10 @@ export const sesame = $root.sesame = (() => {
12751
12892
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.videoPattern);
12752
12893
  if (message.audioMode != null && Object.hasOwnProperty.call(message, "audioMode"))
12753
12894
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.audioMode);
12895
+ if (message.timecodeMode != null && Object.hasOwnProperty.call(message, "timecodeMode"))
12896
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.timecodeMode);
12897
+ if (message.timecodeStartFrame != null && Object.hasOwnProperty.call(message, "timecodeStartFrame"))
12898
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.timecodeStartFrame);
12754
12899
  return writer;
12755
12900
  };
12756
12901
 
@@ -12799,6 +12944,14 @@ export const sesame = $root.sesame = (() => {
12799
12944
  message.audioMode = reader.int32();
12800
12945
  break;
12801
12946
  }
12947
+ case 4: {
12948
+ message.timecodeMode = reader.int32();
12949
+ break;
12950
+ }
12951
+ case 5: {
12952
+ message.timecodeStartFrame = reader.uint32();
12953
+ break;
12954
+ }
12802
12955
  default:
12803
12956
  reader.skipType(tag & 7);
12804
12957
  break;
@@ -12857,6 +13010,18 @@ export const sesame = $root.sesame = (() => {
12857
13010
  case 3:
12858
13011
  break;
12859
13012
  }
13013
+ if (message.timecodeMode != null && message.hasOwnProperty("timecodeMode"))
13014
+ switch (message.timecodeMode) {
13015
+ default:
13016
+ return "timecodeMode: enum value expected";
13017
+ case 0:
13018
+ case 1:
13019
+ case 2:
13020
+ break;
13021
+ }
13022
+ if (message.timecodeStartFrame != null && message.hasOwnProperty("timecodeStartFrame"))
13023
+ if (!$util.isInteger(message.timecodeStartFrame))
13024
+ return "timecodeStartFrame: integer expected";
12860
13025
  return null;
12861
13026
  };
12862
13027
 
@@ -12922,6 +13087,28 @@ export const sesame = $root.sesame = (() => {
12922
13087
  message.audioMode = 3;
12923
13088
  break;
12924
13089
  }
13090
+ switch (object.timecodeMode) {
13091
+ default:
13092
+ if (typeof object.timecodeMode === "number") {
13093
+ message.timecodeMode = object.timecodeMode;
13094
+ break;
13095
+ }
13096
+ break;
13097
+ case "SIGNAL_GENERATOR_TIMECODE_MODE_NONE":
13098
+ case 0:
13099
+ message.timecodeMode = 0;
13100
+ break;
13101
+ case "SIGNAL_GENERATOR_TIMECODE_MODE_FREE_RUN":
13102
+ case 1:
13103
+ message.timecodeMode = 1;
13104
+ break;
13105
+ case "SIGNAL_GENERATOR_TIMECODE_MODE_TIME_OF_DAY":
13106
+ case 2:
13107
+ message.timecodeMode = 2;
13108
+ break;
13109
+ }
13110
+ if (object.timecodeStartFrame != null)
13111
+ message.timecodeStartFrame = object.timecodeStartFrame >>> 0;
12925
13112
  return message;
12926
13113
  };
12927
13114
 
@@ -12942,6 +13129,8 @@ export const sesame = $root.sesame = (() => {
12942
13129
  object.freeze = false;
12943
13130
  object.videoPattern = options.enums === String ? "SIGNAL_GENERATOR_VIDEO_PATTERN_BARS" : 0;
12944
13131
  object.audioMode = options.enums === String ? "SIGNAL_GENERATOR_AUDIO_MODE_SYNC" : 0;
13132
+ object.timecodeMode = options.enums === String ? "SIGNAL_GENERATOR_TIMECODE_MODE_NONE" : 0;
13133
+ object.timecodeStartFrame = 0;
12945
13134
  }
12946
13135
  if (message.freeze != null && message.hasOwnProperty("freeze"))
12947
13136
  object.freeze = message.freeze;
@@ -12949,6 +13138,10 @@ export const sesame = $root.sesame = (() => {
12949
13138
  object.videoPattern = options.enums === String ? $root.sesame.v1.sources.SignalGeneratorVideoPattern[message.videoPattern] === undefined ? message.videoPattern : $root.sesame.v1.sources.SignalGeneratorVideoPattern[message.videoPattern] : message.videoPattern;
12950
13139
  if (message.audioMode != null && message.hasOwnProperty("audioMode"))
12951
13140
  object.audioMode = options.enums === String ? $root.sesame.v1.sources.SignalGeneratorAudioMode[message.audioMode] === undefined ? message.audioMode : $root.sesame.v1.sources.SignalGeneratorAudioMode[message.audioMode] : message.audioMode;
13141
+ if (message.timecodeMode != null && message.hasOwnProperty("timecodeMode"))
13142
+ object.timecodeMode = options.enums === String ? $root.sesame.v1.sources.SignalGeneratorTimecodeMode[message.timecodeMode] === undefined ? message.timecodeMode : $root.sesame.v1.sources.SignalGeneratorTimecodeMode[message.timecodeMode] : message.timecodeMode;
13143
+ if (message.timecodeStartFrame != null && message.hasOwnProperty("timecodeStartFrame"))
13144
+ object.timecodeStartFrame = message.timecodeStartFrame;
12952
13145
  return object;
12953
13146
  };
12954
13147
 
@@ -15728,6 +15921,7 @@ export const sesame = $root.sesame = (() => {
15728
15921
  case 4:
15729
15922
  case 5:
15730
15923
  case 6:
15924
+ case 7:
15731
15925
  break;
15732
15926
  }
15733
15927
  if (message.transportState != null && message.hasOwnProperty("transportState"))
@@ -15904,6 +16098,10 @@ export const sesame = $root.sesame = (() => {
15904
16098
  case 6:
15905
16099
  message.state = 6;
15906
16100
  break;
16101
+ case "CONNECTION_STATE_DISABLED":
16102
+ case 7:
16103
+ message.state = 7;
16104
+ break;
15907
16105
  }
15908
16106
  switch (object.transportState) {
15909
16107
  default:
@@ -25218,6 +25416,8 @@ export const sesame = $root.sesame = (() => {
25218
25416
  * @property {string|null} [gpuName] SystemStatus gpuName
25219
25417
  * @property {number|Long|null} [vmaBytes] SystemStatus vmaBytes
25220
25418
  * @property {string|null} [version] SystemStatus version
25419
+ * @property {number|null} [nvencSessions] SystemStatus nvencSessions
25420
+ * @property {number|null} [nvdecSessions] SystemStatus nvdecSessions
25221
25421
  */
25222
25422
 
25223
25423
  /**
@@ -25379,6 +25579,22 @@ export const sesame = $root.sesame = (() => {
25379
25579
  */
25380
25580
  SystemStatus.prototype.version = "";
25381
25581
 
25582
+ /**
25583
+ * SystemStatus nvencSessions.
25584
+ * @member {number} nvencSessions
25585
+ * @memberof sesame.v1.status.SystemStatus
25586
+ * @instance
25587
+ */
25588
+ SystemStatus.prototype.nvencSessions = 0;
25589
+
25590
+ /**
25591
+ * SystemStatus nvdecSessions.
25592
+ * @member {number} nvdecSessions
25593
+ * @memberof sesame.v1.status.SystemStatus
25594
+ * @instance
25595
+ */
25596
+ SystemStatus.prototype.nvdecSessions = 0;
25597
+
25382
25598
  /**
25383
25599
  * Creates a new SystemStatus instance using the specified properties.
25384
25600
  * @function create
@@ -25439,6 +25655,10 @@ export const sesame = $root.sesame = (() => {
25439
25655
  writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.vmaBytes);
25440
25656
  if (message.version != null && Object.hasOwnProperty.call(message, "version"))
25441
25657
  writer.uint32(/* id 18, wireType 2 =*/146).string(message.version);
25658
+ if (message.nvencSessions != null && Object.hasOwnProperty.call(message, "nvencSessions"))
25659
+ writer.uint32(/* id 19, wireType 0 =*/152).uint32(message.nvencSessions);
25660
+ if (message.nvdecSessions != null && Object.hasOwnProperty.call(message, "nvdecSessions"))
25661
+ writer.uint32(/* id 20, wireType 0 =*/160).uint32(message.nvdecSessions);
25442
25662
  return writer;
25443
25663
  };
25444
25664
 
@@ -25547,6 +25767,14 @@ export const sesame = $root.sesame = (() => {
25547
25767
  message.version = reader.string();
25548
25768
  break;
25549
25769
  }
25770
+ case 19: {
25771
+ message.nvencSessions = reader.uint32();
25772
+ break;
25773
+ }
25774
+ case 20: {
25775
+ message.nvdecSessions = reader.uint32();
25776
+ break;
25777
+ }
25550
25778
  default:
25551
25779
  reader.skipType(tag & 7);
25552
25780
  break;
@@ -25644,6 +25872,12 @@ export const sesame = $root.sesame = (() => {
25644
25872
  if (message.version != null && message.hasOwnProperty("version"))
25645
25873
  if (!$util.isString(message.version))
25646
25874
  return "version: string expected";
25875
+ if (message.nvencSessions != null && message.hasOwnProperty("nvencSessions"))
25876
+ if (!$util.isInteger(message.nvencSessions))
25877
+ return "nvencSessions: integer expected";
25878
+ if (message.nvdecSessions != null && message.hasOwnProperty("nvdecSessions"))
25879
+ if (!$util.isInteger(message.nvdecSessions))
25880
+ return "nvdecSessions: integer expected";
25647
25881
  return null;
25648
25882
  };
25649
25883
 
@@ -25749,6 +25983,10 @@ export const sesame = $root.sesame = (() => {
25749
25983
  message.vmaBytes = new $util.LongBits(object.vmaBytes.low >>> 0, object.vmaBytes.high >>> 0).toNumber(true);
25750
25984
  if (object.version != null)
25751
25985
  message.version = String(object.version);
25986
+ if (object.nvencSessions != null)
25987
+ message.nvencSessions = object.nvencSessions >>> 0;
25988
+ if (object.nvdecSessions != null)
25989
+ message.nvdecSessions = object.nvdecSessions >>> 0;
25752
25990
  return message;
25753
25991
  };
25754
25992
 
@@ -25808,6 +26046,8 @@ export const sesame = $root.sesame = (() => {
25808
26046
  } else
25809
26047
  object.vmaBytes = options.longs === String ? "0" : 0;
25810
26048
  object.version = "";
26049
+ object.nvencSessions = 0;
26050
+ object.nvdecSessions = 0;
25811
26051
  }
25812
26052
  if (message.uptime != null && message.hasOwnProperty("uptime"))
25813
26053
  if (typeof message.uptime === "number")
@@ -25863,6 +26103,10 @@ export const sesame = $root.sesame = (() => {
25863
26103
  object.vmaBytes = options.longs === String ? $util.Long.prototype.toString.call(message.vmaBytes) : options.longs === Number ? new $util.LongBits(message.vmaBytes.low >>> 0, message.vmaBytes.high >>> 0).toNumber(true) : message.vmaBytes;
25864
26104
  if (message.version != null && message.hasOwnProperty("version"))
25865
26105
  object.version = message.version;
26106
+ if (message.nvencSessions != null && message.hasOwnProperty("nvencSessions"))
26107
+ object.nvencSessions = message.nvencSessions;
26108
+ if (message.nvdecSessions != null && message.hasOwnProperty("nvdecSessions"))
26109
+ object.nvdecSessions = message.nvdecSessions;
25866
26110
  return object;
25867
26111
  };
25868
26112
 
@@ -29204,23 +29448,747 @@ export const sesame = $root.sesame = (() => {
29204
29448
  })();
29205
29449
 
29206
29450
  /**
29207
- * EncoderPreset enum.
29208
- * @name sesame.v1.outputs.EncoderPreset
29451
+ * EncoderTuning enum.
29452
+ * @name sesame.v1.outputs.EncoderTuning
29209
29453
  * @enum {number}
29210
- * @property {number} ENCODER_PRESET_UNSPECIFIED=0 ENCODER_PRESET_UNSPECIFIED value
29211
- * @property {number} ENCODER_PRESET_LOW_LATENCY=1 ENCODER_PRESET_LOW_LATENCY value
29212
- * @property {number} ENCODER_PRESET_LOW_LATENCY_IDR_ONLY=2 ENCODER_PRESET_LOW_LATENCY_IDR_ONLY value
29213
- * @property {number} ENCODER_PRESET_HIGH_QUALITY=3 ENCODER_PRESET_HIGH_QUALITY value
29454
+ * @property {number} ENCODER_TUNING_UNSPECIFIED=0 ENCODER_TUNING_UNSPECIFIED value
29455
+ * @property {number} ENCODER_TUNING_ULTRA_LOW_LATENCY=1 ENCODER_TUNING_ULTRA_LOW_LATENCY value
29456
+ * @property {number} ENCODER_TUNING_LOW_LATENCY=2 ENCODER_TUNING_LOW_LATENCY value
29457
+ * @property {number} ENCODER_TUNING_HIGH_QUALITY=3 ENCODER_TUNING_HIGH_QUALITY value
29214
29458
  */
29215
- outputs.EncoderPreset = (function() {
29459
+ outputs.EncoderTuning = (function() {
29216
29460
  const valuesById = {}, values = Object.create(valuesById);
29217
- values[valuesById[0] = "ENCODER_PRESET_UNSPECIFIED"] = 0;
29218
- values[valuesById[1] = "ENCODER_PRESET_LOW_LATENCY"] = 1;
29219
- values[valuesById[2] = "ENCODER_PRESET_LOW_LATENCY_IDR_ONLY"] = 2;
29220
- values[valuesById[3] = "ENCODER_PRESET_HIGH_QUALITY"] = 3;
29461
+ values[valuesById[0] = "ENCODER_TUNING_UNSPECIFIED"] = 0;
29462
+ values[valuesById[1] = "ENCODER_TUNING_ULTRA_LOW_LATENCY"] = 1;
29463
+ values[valuesById[2] = "ENCODER_TUNING_LOW_LATENCY"] = 2;
29464
+ values[valuesById[3] = "ENCODER_TUNING_HIGH_QUALITY"] = 3;
29221
29465
  return values;
29222
29466
  })();
29223
29467
 
29468
+ /**
29469
+ * EncoderRateControl enum.
29470
+ * @name sesame.v1.outputs.EncoderRateControl
29471
+ * @enum {number}
29472
+ * @property {number} ENCODER_RATE_CONTROL_UNSPECIFIED=0 ENCODER_RATE_CONTROL_UNSPECIFIED value
29473
+ * @property {number} ENCODER_RATE_CONTROL_CBR=1 ENCODER_RATE_CONTROL_CBR value
29474
+ * @property {number} ENCODER_RATE_CONTROL_VBR=2 ENCODER_RATE_CONTROL_VBR value
29475
+ */
29476
+ outputs.EncoderRateControl = (function() {
29477
+ const valuesById = {}, values = Object.create(valuesById);
29478
+ values[valuesById[0] = "ENCODER_RATE_CONTROL_UNSPECIFIED"] = 0;
29479
+ values[valuesById[1] = "ENCODER_RATE_CONTROL_CBR"] = 1;
29480
+ values[valuesById[2] = "ENCODER_RATE_CONTROL_VBR"] = 2;
29481
+ return values;
29482
+ })();
29483
+
29484
+ /**
29485
+ * EncoderProfile enum.
29486
+ * @name sesame.v1.outputs.EncoderProfile
29487
+ * @enum {number}
29488
+ * @property {number} ENCODER_PROFILE_AUTO=0 ENCODER_PROFILE_AUTO value
29489
+ * @property {number} ENCODER_PROFILE_BASELINE=1 ENCODER_PROFILE_BASELINE value
29490
+ * @property {number} ENCODER_PROFILE_MAIN=2 ENCODER_PROFILE_MAIN value
29491
+ * @property {number} ENCODER_PROFILE_MAIN10=3 ENCODER_PROFILE_MAIN10 value
29492
+ * @property {number} ENCODER_PROFILE_HIGH=4 ENCODER_PROFILE_HIGH value
29493
+ */
29494
+ outputs.EncoderProfile = (function() {
29495
+ const valuesById = {}, values = Object.create(valuesById);
29496
+ values[valuesById[0] = "ENCODER_PROFILE_AUTO"] = 0;
29497
+ values[valuesById[1] = "ENCODER_PROFILE_BASELINE"] = 1;
29498
+ values[valuesById[2] = "ENCODER_PROFILE_MAIN"] = 2;
29499
+ values[valuesById[3] = "ENCODER_PROFILE_MAIN10"] = 3;
29500
+ values[valuesById[4] = "ENCODER_PROFILE_HIGH"] = 4;
29501
+ return values;
29502
+ })();
29503
+
29504
+ /**
29505
+ * EncoderMultipass enum.
29506
+ * @name sesame.v1.outputs.EncoderMultipass
29507
+ * @enum {number}
29508
+ * @property {number} ENCODER_MULTIPASS_DISABLED=0 ENCODER_MULTIPASS_DISABLED value
29509
+ * @property {number} ENCODER_MULTIPASS_QUARTER_RESOLUTION=1 ENCODER_MULTIPASS_QUARTER_RESOLUTION value
29510
+ * @property {number} ENCODER_MULTIPASS_FULL_RESOLUTION=2 ENCODER_MULTIPASS_FULL_RESOLUTION value
29511
+ */
29512
+ outputs.EncoderMultipass = (function() {
29513
+ const valuesById = {}, values = Object.create(valuesById);
29514
+ values[valuesById[0] = "ENCODER_MULTIPASS_DISABLED"] = 0;
29515
+ values[valuesById[1] = "ENCODER_MULTIPASS_QUARTER_RESOLUTION"] = 1;
29516
+ values[valuesById[2] = "ENCODER_MULTIPASS_FULL_RESOLUTION"] = 2;
29517
+ return values;
29518
+ })();
29519
+
29520
+ /**
29521
+ * EncoderChromaFormat enum.
29522
+ * @name sesame.v1.outputs.EncoderChromaFormat
29523
+ * @enum {number}
29524
+ * @property {number} ENCODER_CHROMA_FORMAT_420=0 ENCODER_CHROMA_FORMAT_420 value
29525
+ * @property {number} ENCODER_CHROMA_FORMAT_444=1 ENCODER_CHROMA_FORMAT_444 value
29526
+ */
29527
+ outputs.EncoderChromaFormat = (function() {
29528
+ const valuesById = {}, values = Object.create(valuesById);
29529
+ values[valuesById[0] = "ENCODER_CHROMA_FORMAT_420"] = 0;
29530
+ values[valuesById[1] = "ENCODER_CHROMA_FORMAT_444"] = 1;
29531
+ return values;
29532
+ })();
29533
+
29534
+ outputs.EncoderSettings = (function() {
29535
+
29536
+ /**
29537
+ * Properties of an EncoderSettings.
29538
+ * @memberof sesame.v1.outputs
29539
+ * @interface IEncoderSettings
29540
+ * @property {sesame.v1.outputs.EncoderTuning|null} [tuning] EncoderSettings tuning
29541
+ * @property {number|null} [effort] EncoderSettings effort
29542
+ * @property {sesame.v1.outputs.EncoderRateControl|null} [rateControl] EncoderSettings rateControl
29543
+ * @property {number|null} [maxBitrateKbps] EncoderSettings maxBitrateKbps
29544
+ * @property {sesame.v1.outputs.EncoderProfile|null} [profile] EncoderSettings profile
29545
+ * @property {number|null} [bframes] EncoderSettings bframes
29546
+ * @property {boolean|null} [idrOnly] EncoderSettings idrOnly
29547
+ * @property {boolean|null} [spatialAq] EncoderSettings spatialAq
29548
+ * @property {sesame.v1.outputs.EncoderMultipass|null} [multipass] EncoderSettings multipass
29549
+ * @property {number|null} [lookaheadDepth] EncoderSettings lookaheadDepth
29550
+ * @property {boolean|null} [zeroReorderDelay] EncoderSettings zeroReorderDelay
29551
+ * @property {number|null} [bitDepth] EncoderSettings bitDepth
29552
+ * @property {sesame.v1.outputs.EncoderChromaFormat|null} [chromaFormat] EncoderSettings chromaFormat
29553
+ * @property {boolean|null} [outputAud] EncoderSettings outputAud
29554
+ * @property {string|null} [level] EncoderSettings level
29555
+ */
29556
+
29557
+ /**
29558
+ * Constructs a new EncoderSettings.
29559
+ * @memberof sesame.v1.outputs
29560
+ * @classdesc Represents an EncoderSettings.
29561
+ * @implements IEncoderSettings
29562
+ * @constructor
29563
+ * @param {sesame.v1.outputs.IEncoderSettings=} [properties] Properties to set
29564
+ */
29565
+ function EncoderSettings(properties) {
29566
+ if (properties)
29567
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
29568
+ if (properties[keys[i]] != null)
29569
+ this[keys[i]] = properties[keys[i]];
29570
+ }
29571
+
29572
+ /**
29573
+ * EncoderSettings tuning.
29574
+ * @member {sesame.v1.outputs.EncoderTuning} tuning
29575
+ * @memberof sesame.v1.outputs.EncoderSettings
29576
+ * @instance
29577
+ */
29578
+ EncoderSettings.prototype.tuning = 0;
29579
+
29580
+ /**
29581
+ * EncoderSettings effort.
29582
+ * @member {number} effort
29583
+ * @memberof sesame.v1.outputs.EncoderSettings
29584
+ * @instance
29585
+ */
29586
+ EncoderSettings.prototype.effort = 0;
29587
+
29588
+ /**
29589
+ * EncoderSettings rateControl.
29590
+ * @member {sesame.v1.outputs.EncoderRateControl} rateControl
29591
+ * @memberof sesame.v1.outputs.EncoderSettings
29592
+ * @instance
29593
+ */
29594
+ EncoderSettings.prototype.rateControl = 0;
29595
+
29596
+ /**
29597
+ * EncoderSettings maxBitrateKbps.
29598
+ * @member {number} maxBitrateKbps
29599
+ * @memberof sesame.v1.outputs.EncoderSettings
29600
+ * @instance
29601
+ */
29602
+ EncoderSettings.prototype.maxBitrateKbps = 0;
29603
+
29604
+ /**
29605
+ * EncoderSettings profile.
29606
+ * @member {sesame.v1.outputs.EncoderProfile} profile
29607
+ * @memberof sesame.v1.outputs.EncoderSettings
29608
+ * @instance
29609
+ */
29610
+ EncoderSettings.prototype.profile = 0;
29611
+
29612
+ /**
29613
+ * EncoderSettings bframes.
29614
+ * @member {number} bframes
29615
+ * @memberof sesame.v1.outputs.EncoderSettings
29616
+ * @instance
29617
+ */
29618
+ EncoderSettings.prototype.bframes = 0;
29619
+
29620
+ /**
29621
+ * EncoderSettings idrOnly.
29622
+ * @member {boolean} idrOnly
29623
+ * @memberof sesame.v1.outputs.EncoderSettings
29624
+ * @instance
29625
+ */
29626
+ EncoderSettings.prototype.idrOnly = false;
29627
+
29628
+ /**
29629
+ * EncoderSettings spatialAq.
29630
+ * @member {boolean} spatialAq
29631
+ * @memberof sesame.v1.outputs.EncoderSettings
29632
+ * @instance
29633
+ */
29634
+ EncoderSettings.prototype.spatialAq = false;
29635
+
29636
+ /**
29637
+ * EncoderSettings multipass.
29638
+ * @member {sesame.v1.outputs.EncoderMultipass} multipass
29639
+ * @memberof sesame.v1.outputs.EncoderSettings
29640
+ * @instance
29641
+ */
29642
+ EncoderSettings.prototype.multipass = 0;
29643
+
29644
+ /**
29645
+ * EncoderSettings lookaheadDepth.
29646
+ * @member {number} lookaheadDepth
29647
+ * @memberof sesame.v1.outputs.EncoderSettings
29648
+ * @instance
29649
+ */
29650
+ EncoderSettings.prototype.lookaheadDepth = 0;
29651
+
29652
+ /**
29653
+ * EncoderSettings zeroReorderDelay.
29654
+ * @member {boolean} zeroReorderDelay
29655
+ * @memberof sesame.v1.outputs.EncoderSettings
29656
+ * @instance
29657
+ */
29658
+ EncoderSettings.prototype.zeroReorderDelay = false;
29659
+
29660
+ /**
29661
+ * EncoderSettings bitDepth.
29662
+ * @member {number} bitDepth
29663
+ * @memberof sesame.v1.outputs.EncoderSettings
29664
+ * @instance
29665
+ */
29666
+ EncoderSettings.prototype.bitDepth = 0;
29667
+
29668
+ /**
29669
+ * EncoderSettings chromaFormat.
29670
+ * @member {sesame.v1.outputs.EncoderChromaFormat} chromaFormat
29671
+ * @memberof sesame.v1.outputs.EncoderSettings
29672
+ * @instance
29673
+ */
29674
+ EncoderSettings.prototype.chromaFormat = 0;
29675
+
29676
+ /**
29677
+ * EncoderSettings outputAud.
29678
+ * @member {boolean} outputAud
29679
+ * @memberof sesame.v1.outputs.EncoderSettings
29680
+ * @instance
29681
+ */
29682
+ EncoderSettings.prototype.outputAud = false;
29683
+
29684
+ /**
29685
+ * EncoderSettings level.
29686
+ * @member {string} level
29687
+ * @memberof sesame.v1.outputs.EncoderSettings
29688
+ * @instance
29689
+ */
29690
+ EncoderSettings.prototype.level = "";
29691
+
29692
+ /**
29693
+ * Creates a new EncoderSettings instance using the specified properties.
29694
+ * @function create
29695
+ * @memberof sesame.v1.outputs.EncoderSettings
29696
+ * @static
29697
+ * @param {sesame.v1.outputs.IEncoderSettings=} [properties] Properties to set
29698
+ * @returns {sesame.v1.outputs.EncoderSettings} EncoderSettings instance
29699
+ */
29700
+ EncoderSettings.create = function create(properties) {
29701
+ return new EncoderSettings(properties);
29702
+ };
29703
+
29704
+ /**
29705
+ * Encodes the specified EncoderSettings message. Does not implicitly {@link sesame.v1.outputs.EncoderSettings.verify|verify} messages.
29706
+ * @function encode
29707
+ * @memberof sesame.v1.outputs.EncoderSettings
29708
+ * @static
29709
+ * @param {sesame.v1.outputs.IEncoderSettings} message EncoderSettings message or plain object to encode
29710
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29711
+ * @returns {$protobuf.Writer} Writer
29712
+ */
29713
+ EncoderSettings.encode = function encode(message, writer) {
29714
+ if (!writer)
29715
+ writer = $Writer.create();
29716
+ if (message.tuning != null && Object.hasOwnProperty.call(message, "tuning"))
29717
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.tuning);
29718
+ if (message.effort != null && Object.hasOwnProperty.call(message, "effort"))
29719
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.effort);
29720
+ if (message.rateControl != null && Object.hasOwnProperty.call(message, "rateControl"))
29721
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.rateControl);
29722
+ if (message.maxBitrateKbps != null && Object.hasOwnProperty.call(message, "maxBitrateKbps"))
29723
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.maxBitrateKbps);
29724
+ if (message.profile != null && Object.hasOwnProperty.call(message, "profile"))
29725
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.profile);
29726
+ if (message.bframes != null && Object.hasOwnProperty.call(message, "bframes"))
29727
+ writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.bframes);
29728
+ if (message.idrOnly != null && Object.hasOwnProperty.call(message, "idrOnly"))
29729
+ writer.uint32(/* id 7, wireType 0 =*/56).bool(message.idrOnly);
29730
+ if (message.spatialAq != null && Object.hasOwnProperty.call(message, "spatialAq"))
29731
+ writer.uint32(/* id 8, wireType 0 =*/64).bool(message.spatialAq);
29732
+ if (message.multipass != null && Object.hasOwnProperty.call(message, "multipass"))
29733
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.multipass);
29734
+ if (message.lookaheadDepth != null && Object.hasOwnProperty.call(message, "lookaheadDepth"))
29735
+ writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.lookaheadDepth);
29736
+ if (message.zeroReorderDelay != null && Object.hasOwnProperty.call(message, "zeroReorderDelay"))
29737
+ writer.uint32(/* id 11, wireType 0 =*/88).bool(message.zeroReorderDelay);
29738
+ if (message.bitDepth != null && Object.hasOwnProperty.call(message, "bitDepth"))
29739
+ writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.bitDepth);
29740
+ if (message.chromaFormat != null && Object.hasOwnProperty.call(message, "chromaFormat"))
29741
+ writer.uint32(/* id 13, wireType 0 =*/104).int32(message.chromaFormat);
29742
+ if (message.outputAud != null && Object.hasOwnProperty.call(message, "outputAud"))
29743
+ writer.uint32(/* id 14, wireType 0 =*/112).bool(message.outputAud);
29744
+ if (message.level != null && Object.hasOwnProperty.call(message, "level"))
29745
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.level);
29746
+ return writer;
29747
+ };
29748
+
29749
+ /**
29750
+ * Encodes the specified EncoderSettings message, length delimited. Does not implicitly {@link sesame.v1.outputs.EncoderSettings.verify|verify} messages.
29751
+ * @function encodeDelimited
29752
+ * @memberof sesame.v1.outputs.EncoderSettings
29753
+ * @static
29754
+ * @param {sesame.v1.outputs.IEncoderSettings} message EncoderSettings message or plain object to encode
29755
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29756
+ * @returns {$protobuf.Writer} Writer
29757
+ */
29758
+ EncoderSettings.encodeDelimited = function encodeDelimited(message, writer) {
29759
+ return this.encode(message, writer).ldelim();
29760
+ };
29761
+
29762
+ /**
29763
+ * Decodes an EncoderSettings message from the specified reader or buffer.
29764
+ * @function decode
29765
+ * @memberof sesame.v1.outputs.EncoderSettings
29766
+ * @static
29767
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29768
+ * @param {number} [length] Message length if known beforehand
29769
+ * @returns {sesame.v1.outputs.EncoderSettings} EncoderSettings
29770
+ * @throws {Error} If the payload is not a reader or valid buffer
29771
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29772
+ */
29773
+ EncoderSettings.decode = function decode(reader, length, error) {
29774
+ if (!(reader instanceof $Reader))
29775
+ reader = $Reader.create(reader);
29776
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.outputs.EncoderSettings();
29777
+ while (reader.pos < end) {
29778
+ let tag = reader.uint32();
29779
+ if (tag === error)
29780
+ break;
29781
+ switch (tag >>> 3) {
29782
+ case 1: {
29783
+ message.tuning = reader.int32();
29784
+ break;
29785
+ }
29786
+ case 2: {
29787
+ message.effort = reader.uint32();
29788
+ break;
29789
+ }
29790
+ case 3: {
29791
+ message.rateControl = reader.int32();
29792
+ break;
29793
+ }
29794
+ case 4: {
29795
+ message.maxBitrateKbps = reader.uint32();
29796
+ break;
29797
+ }
29798
+ case 5: {
29799
+ message.profile = reader.int32();
29800
+ break;
29801
+ }
29802
+ case 6: {
29803
+ message.bframes = reader.uint32();
29804
+ break;
29805
+ }
29806
+ case 7: {
29807
+ message.idrOnly = reader.bool();
29808
+ break;
29809
+ }
29810
+ case 8: {
29811
+ message.spatialAq = reader.bool();
29812
+ break;
29813
+ }
29814
+ case 9: {
29815
+ message.multipass = reader.int32();
29816
+ break;
29817
+ }
29818
+ case 10: {
29819
+ message.lookaheadDepth = reader.uint32();
29820
+ break;
29821
+ }
29822
+ case 11: {
29823
+ message.zeroReorderDelay = reader.bool();
29824
+ break;
29825
+ }
29826
+ case 12: {
29827
+ message.bitDepth = reader.uint32();
29828
+ break;
29829
+ }
29830
+ case 13: {
29831
+ message.chromaFormat = reader.int32();
29832
+ break;
29833
+ }
29834
+ case 14: {
29835
+ message.outputAud = reader.bool();
29836
+ break;
29837
+ }
29838
+ case 15: {
29839
+ message.level = reader.string();
29840
+ break;
29841
+ }
29842
+ default:
29843
+ reader.skipType(tag & 7);
29844
+ break;
29845
+ }
29846
+ }
29847
+ return message;
29848
+ };
29849
+
29850
+ /**
29851
+ * Decodes an EncoderSettings message from the specified reader or buffer, length delimited.
29852
+ * @function decodeDelimited
29853
+ * @memberof sesame.v1.outputs.EncoderSettings
29854
+ * @static
29855
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29856
+ * @returns {sesame.v1.outputs.EncoderSettings} EncoderSettings
29857
+ * @throws {Error} If the payload is not a reader or valid buffer
29858
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29859
+ */
29860
+ EncoderSettings.decodeDelimited = function decodeDelimited(reader) {
29861
+ if (!(reader instanceof $Reader))
29862
+ reader = new $Reader(reader);
29863
+ return this.decode(reader, reader.uint32());
29864
+ };
29865
+
29866
+ /**
29867
+ * Verifies an EncoderSettings message.
29868
+ * @function verify
29869
+ * @memberof sesame.v1.outputs.EncoderSettings
29870
+ * @static
29871
+ * @param {Object.<string,*>} message Plain object to verify
29872
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
29873
+ */
29874
+ EncoderSettings.verify = function verify(message) {
29875
+ if (typeof message !== "object" || message === null)
29876
+ return "object expected";
29877
+ if (message.tuning != null && message.hasOwnProperty("tuning"))
29878
+ switch (message.tuning) {
29879
+ default:
29880
+ return "tuning: enum value expected";
29881
+ case 0:
29882
+ case 1:
29883
+ case 2:
29884
+ case 3:
29885
+ break;
29886
+ }
29887
+ if (message.effort != null && message.hasOwnProperty("effort"))
29888
+ if (!$util.isInteger(message.effort))
29889
+ return "effort: integer expected";
29890
+ if (message.rateControl != null && message.hasOwnProperty("rateControl"))
29891
+ switch (message.rateControl) {
29892
+ default:
29893
+ return "rateControl: enum value expected";
29894
+ case 0:
29895
+ case 1:
29896
+ case 2:
29897
+ break;
29898
+ }
29899
+ if (message.maxBitrateKbps != null && message.hasOwnProperty("maxBitrateKbps"))
29900
+ if (!$util.isInteger(message.maxBitrateKbps))
29901
+ return "maxBitrateKbps: integer expected";
29902
+ if (message.profile != null && message.hasOwnProperty("profile"))
29903
+ switch (message.profile) {
29904
+ default:
29905
+ return "profile: enum value expected";
29906
+ case 0:
29907
+ case 1:
29908
+ case 2:
29909
+ case 3:
29910
+ case 4:
29911
+ break;
29912
+ }
29913
+ if (message.bframes != null && message.hasOwnProperty("bframes"))
29914
+ if (!$util.isInteger(message.bframes))
29915
+ return "bframes: integer expected";
29916
+ if (message.idrOnly != null && message.hasOwnProperty("idrOnly"))
29917
+ if (typeof message.idrOnly !== "boolean")
29918
+ return "idrOnly: boolean expected";
29919
+ if (message.spatialAq != null && message.hasOwnProperty("spatialAq"))
29920
+ if (typeof message.spatialAq !== "boolean")
29921
+ return "spatialAq: boolean expected";
29922
+ if (message.multipass != null && message.hasOwnProperty("multipass"))
29923
+ switch (message.multipass) {
29924
+ default:
29925
+ return "multipass: enum value expected";
29926
+ case 0:
29927
+ case 1:
29928
+ case 2:
29929
+ break;
29930
+ }
29931
+ if (message.lookaheadDepth != null && message.hasOwnProperty("lookaheadDepth"))
29932
+ if (!$util.isInteger(message.lookaheadDepth))
29933
+ return "lookaheadDepth: integer expected";
29934
+ if (message.zeroReorderDelay != null && message.hasOwnProperty("zeroReorderDelay"))
29935
+ if (typeof message.zeroReorderDelay !== "boolean")
29936
+ return "zeroReorderDelay: boolean expected";
29937
+ if (message.bitDepth != null && message.hasOwnProperty("bitDepth"))
29938
+ if (!$util.isInteger(message.bitDepth))
29939
+ return "bitDepth: integer expected";
29940
+ if (message.chromaFormat != null && message.hasOwnProperty("chromaFormat"))
29941
+ switch (message.chromaFormat) {
29942
+ default:
29943
+ return "chromaFormat: enum value expected";
29944
+ case 0:
29945
+ case 1:
29946
+ break;
29947
+ }
29948
+ if (message.outputAud != null && message.hasOwnProperty("outputAud"))
29949
+ if (typeof message.outputAud !== "boolean")
29950
+ return "outputAud: boolean expected";
29951
+ if (message.level != null && message.hasOwnProperty("level"))
29952
+ if (!$util.isString(message.level))
29953
+ return "level: string expected";
29954
+ return null;
29955
+ };
29956
+
29957
+ /**
29958
+ * Creates an EncoderSettings message from a plain object. Also converts values to their respective internal types.
29959
+ * @function fromObject
29960
+ * @memberof sesame.v1.outputs.EncoderSettings
29961
+ * @static
29962
+ * @param {Object.<string,*>} object Plain object
29963
+ * @returns {sesame.v1.outputs.EncoderSettings} EncoderSettings
29964
+ */
29965
+ EncoderSettings.fromObject = function fromObject(object) {
29966
+ if (object instanceof $root.sesame.v1.outputs.EncoderSettings)
29967
+ return object;
29968
+ let message = new $root.sesame.v1.outputs.EncoderSettings();
29969
+ switch (object.tuning) {
29970
+ default:
29971
+ if (typeof object.tuning === "number") {
29972
+ message.tuning = object.tuning;
29973
+ break;
29974
+ }
29975
+ break;
29976
+ case "ENCODER_TUNING_UNSPECIFIED":
29977
+ case 0:
29978
+ message.tuning = 0;
29979
+ break;
29980
+ case "ENCODER_TUNING_ULTRA_LOW_LATENCY":
29981
+ case 1:
29982
+ message.tuning = 1;
29983
+ break;
29984
+ case "ENCODER_TUNING_LOW_LATENCY":
29985
+ case 2:
29986
+ message.tuning = 2;
29987
+ break;
29988
+ case "ENCODER_TUNING_HIGH_QUALITY":
29989
+ case 3:
29990
+ message.tuning = 3;
29991
+ break;
29992
+ }
29993
+ if (object.effort != null)
29994
+ message.effort = object.effort >>> 0;
29995
+ switch (object.rateControl) {
29996
+ default:
29997
+ if (typeof object.rateControl === "number") {
29998
+ message.rateControl = object.rateControl;
29999
+ break;
30000
+ }
30001
+ break;
30002
+ case "ENCODER_RATE_CONTROL_UNSPECIFIED":
30003
+ case 0:
30004
+ message.rateControl = 0;
30005
+ break;
30006
+ case "ENCODER_RATE_CONTROL_CBR":
30007
+ case 1:
30008
+ message.rateControl = 1;
30009
+ break;
30010
+ case "ENCODER_RATE_CONTROL_VBR":
30011
+ case 2:
30012
+ message.rateControl = 2;
30013
+ break;
30014
+ }
30015
+ if (object.maxBitrateKbps != null)
30016
+ message.maxBitrateKbps = object.maxBitrateKbps >>> 0;
30017
+ switch (object.profile) {
30018
+ default:
30019
+ if (typeof object.profile === "number") {
30020
+ message.profile = object.profile;
30021
+ break;
30022
+ }
30023
+ break;
30024
+ case "ENCODER_PROFILE_AUTO":
30025
+ case 0:
30026
+ message.profile = 0;
30027
+ break;
30028
+ case "ENCODER_PROFILE_BASELINE":
30029
+ case 1:
30030
+ message.profile = 1;
30031
+ break;
30032
+ case "ENCODER_PROFILE_MAIN":
30033
+ case 2:
30034
+ message.profile = 2;
30035
+ break;
30036
+ case "ENCODER_PROFILE_MAIN10":
30037
+ case 3:
30038
+ message.profile = 3;
30039
+ break;
30040
+ case "ENCODER_PROFILE_HIGH":
30041
+ case 4:
30042
+ message.profile = 4;
30043
+ break;
30044
+ }
30045
+ if (object.bframes != null)
30046
+ message.bframes = object.bframes >>> 0;
30047
+ if (object.idrOnly != null)
30048
+ message.idrOnly = Boolean(object.idrOnly);
30049
+ if (object.spatialAq != null)
30050
+ message.spatialAq = Boolean(object.spatialAq);
30051
+ switch (object.multipass) {
30052
+ default:
30053
+ if (typeof object.multipass === "number") {
30054
+ message.multipass = object.multipass;
30055
+ break;
30056
+ }
30057
+ break;
30058
+ case "ENCODER_MULTIPASS_DISABLED":
30059
+ case 0:
30060
+ message.multipass = 0;
30061
+ break;
30062
+ case "ENCODER_MULTIPASS_QUARTER_RESOLUTION":
30063
+ case 1:
30064
+ message.multipass = 1;
30065
+ break;
30066
+ case "ENCODER_MULTIPASS_FULL_RESOLUTION":
30067
+ case 2:
30068
+ message.multipass = 2;
30069
+ break;
30070
+ }
30071
+ if (object.lookaheadDepth != null)
30072
+ message.lookaheadDepth = object.lookaheadDepth >>> 0;
30073
+ if (object.zeroReorderDelay != null)
30074
+ message.zeroReorderDelay = Boolean(object.zeroReorderDelay);
30075
+ if (object.bitDepth != null)
30076
+ message.bitDepth = object.bitDepth >>> 0;
30077
+ switch (object.chromaFormat) {
30078
+ default:
30079
+ if (typeof object.chromaFormat === "number") {
30080
+ message.chromaFormat = object.chromaFormat;
30081
+ break;
30082
+ }
30083
+ break;
30084
+ case "ENCODER_CHROMA_FORMAT_420":
30085
+ case 0:
30086
+ message.chromaFormat = 0;
30087
+ break;
30088
+ case "ENCODER_CHROMA_FORMAT_444":
30089
+ case 1:
30090
+ message.chromaFormat = 1;
30091
+ break;
30092
+ }
30093
+ if (object.outputAud != null)
30094
+ message.outputAud = Boolean(object.outputAud);
30095
+ if (object.level != null)
30096
+ message.level = String(object.level);
30097
+ return message;
30098
+ };
30099
+
30100
+ /**
30101
+ * Creates a plain object from an EncoderSettings message. Also converts values to other types if specified.
30102
+ * @function toObject
30103
+ * @memberof sesame.v1.outputs.EncoderSettings
30104
+ * @static
30105
+ * @param {sesame.v1.outputs.EncoderSettings} message EncoderSettings
30106
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
30107
+ * @returns {Object.<string,*>} Plain object
30108
+ */
30109
+ EncoderSettings.toObject = function toObject(message, options) {
30110
+ if (!options)
30111
+ options = {};
30112
+ let object = {};
30113
+ if (options.defaults) {
30114
+ object.tuning = options.enums === String ? "ENCODER_TUNING_UNSPECIFIED" : 0;
30115
+ object.effort = 0;
30116
+ object.rateControl = options.enums === String ? "ENCODER_RATE_CONTROL_UNSPECIFIED" : 0;
30117
+ object.maxBitrateKbps = 0;
30118
+ object.profile = options.enums === String ? "ENCODER_PROFILE_AUTO" : 0;
30119
+ object.bframes = 0;
30120
+ object.idrOnly = false;
30121
+ object.spatialAq = false;
30122
+ object.multipass = options.enums === String ? "ENCODER_MULTIPASS_DISABLED" : 0;
30123
+ object.lookaheadDepth = 0;
30124
+ object.zeroReorderDelay = false;
30125
+ object.bitDepth = 0;
30126
+ object.chromaFormat = options.enums === String ? "ENCODER_CHROMA_FORMAT_420" : 0;
30127
+ object.outputAud = false;
30128
+ object.level = "";
30129
+ }
30130
+ if (message.tuning != null && message.hasOwnProperty("tuning"))
30131
+ object.tuning = options.enums === String ? $root.sesame.v1.outputs.EncoderTuning[message.tuning] === undefined ? message.tuning : $root.sesame.v1.outputs.EncoderTuning[message.tuning] : message.tuning;
30132
+ if (message.effort != null && message.hasOwnProperty("effort"))
30133
+ object.effort = message.effort;
30134
+ if (message.rateControl != null && message.hasOwnProperty("rateControl"))
30135
+ object.rateControl = options.enums === String ? $root.sesame.v1.outputs.EncoderRateControl[message.rateControl] === undefined ? message.rateControl : $root.sesame.v1.outputs.EncoderRateControl[message.rateControl] : message.rateControl;
30136
+ if (message.maxBitrateKbps != null && message.hasOwnProperty("maxBitrateKbps"))
30137
+ object.maxBitrateKbps = message.maxBitrateKbps;
30138
+ if (message.profile != null && message.hasOwnProperty("profile"))
30139
+ object.profile = options.enums === String ? $root.sesame.v1.outputs.EncoderProfile[message.profile] === undefined ? message.profile : $root.sesame.v1.outputs.EncoderProfile[message.profile] : message.profile;
30140
+ if (message.bframes != null && message.hasOwnProperty("bframes"))
30141
+ object.bframes = message.bframes;
30142
+ if (message.idrOnly != null && message.hasOwnProperty("idrOnly"))
30143
+ object.idrOnly = message.idrOnly;
30144
+ if (message.spatialAq != null && message.hasOwnProperty("spatialAq"))
30145
+ object.spatialAq = message.spatialAq;
30146
+ if (message.multipass != null && message.hasOwnProperty("multipass"))
30147
+ object.multipass = options.enums === String ? $root.sesame.v1.outputs.EncoderMultipass[message.multipass] === undefined ? message.multipass : $root.sesame.v1.outputs.EncoderMultipass[message.multipass] : message.multipass;
30148
+ if (message.lookaheadDepth != null && message.hasOwnProperty("lookaheadDepth"))
30149
+ object.lookaheadDepth = message.lookaheadDepth;
30150
+ if (message.zeroReorderDelay != null && message.hasOwnProperty("zeroReorderDelay"))
30151
+ object.zeroReorderDelay = message.zeroReorderDelay;
30152
+ if (message.bitDepth != null && message.hasOwnProperty("bitDepth"))
30153
+ object.bitDepth = message.bitDepth;
30154
+ if (message.chromaFormat != null && message.hasOwnProperty("chromaFormat"))
30155
+ object.chromaFormat = options.enums === String ? $root.sesame.v1.outputs.EncoderChromaFormat[message.chromaFormat] === undefined ? message.chromaFormat : $root.sesame.v1.outputs.EncoderChromaFormat[message.chromaFormat] : message.chromaFormat;
30156
+ if (message.outputAud != null && message.hasOwnProperty("outputAud"))
30157
+ object.outputAud = message.outputAud;
30158
+ if (message.level != null && message.hasOwnProperty("level"))
30159
+ object.level = message.level;
30160
+ return object;
30161
+ };
30162
+
30163
+ /**
30164
+ * Converts this EncoderSettings to JSON.
30165
+ * @function toJSON
30166
+ * @memberof sesame.v1.outputs.EncoderSettings
30167
+ * @instance
30168
+ * @returns {Object.<string,*>} JSON object
30169
+ */
30170
+ EncoderSettings.prototype.toJSON = function toJSON() {
30171
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
30172
+ };
30173
+
30174
+ /**
30175
+ * Gets the default type url for EncoderSettings
30176
+ * @function getTypeUrl
30177
+ * @memberof sesame.v1.outputs.EncoderSettings
30178
+ * @static
30179
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30180
+ * @returns {string} The default type url
30181
+ */
30182
+ EncoderSettings.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
30183
+ if (typeUrlPrefix === undefined) {
30184
+ typeUrlPrefix = "type.googleapis.com";
30185
+ }
30186
+ return typeUrlPrefix + "/sesame.v1.outputs.EncoderSettings";
30187
+ };
30188
+
30189
+ return EncoderSettings;
30190
+ })();
30191
+
29224
30192
  /**
29225
30193
  * RecorderType enum.
29226
30194
  * @name sesame.v1.outputs.RecorderType
@@ -29237,6 +30205,22 @@ export const sesame = $root.sesame = (() => {
29237
30205
  return values;
29238
30206
  })();
29239
30207
 
30208
+ /**
30209
+ * TimecodeMode enum.
30210
+ * @name sesame.v1.outputs.TimecodeMode
30211
+ * @enum {number}
30212
+ * @property {number} TIMECODE_MODE_UNSPECIFIED=0 TIMECODE_MODE_UNSPECIFIED value
30213
+ * @property {number} TIMECODE_MODE_WALLCLOCK=1 TIMECODE_MODE_WALLCLOCK value
30214
+ * @property {number} TIMECODE_MODE_SOURCE=2 TIMECODE_MODE_SOURCE value
30215
+ */
30216
+ outputs.TimecodeMode = (function() {
30217
+ const valuesById = {}, values = Object.create(valuesById);
30218
+ values[valuesById[0] = "TIMECODE_MODE_UNSPECIFIED"] = 0;
30219
+ values[valuesById[1] = "TIMECODE_MODE_WALLCLOCK"] = 1;
30220
+ values[valuesById[2] = "TIMECODE_MODE_SOURCE"] = 2;
30221
+ return values;
30222
+ })();
30223
+
29240
30224
  outputs.EncoderConfig = (function() {
29241
30225
 
29242
30226
  /**
@@ -29244,12 +30228,14 @@ export const sesame = $root.sesame = (() => {
29244
30228
  * @memberof sesame.v1.outputs
29245
30229
  * @interface IEncoderConfig
29246
30230
  * @property {sesame.v1.common.CodecType|null} [codec] EncoderConfig codec
29247
- * @property {sesame.v1.outputs.EncoderPreset|null} [preset] EncoderConfig preset
29248
30231
  * @property {number|null} [bitrateKbps] EncoderConfig bitrateKbps
29249
30232
  * @property {number|null} [keyframeInterval] EncoderConfig keyframeInterval
29250
30233
  * @property {number|null} [width] EncoderConfig width
29251
30234
  * @property {number|null} [height] EncoderConfig height
29252
30235
  * @property {number|null} [fps] EncoderConfig fps
30236
+ * @property {sesame.v1.outputs.TimecodeMode|null} [timecodeMode] EncoderConfig timecodeMode
30237
+ * @property {string|null} [timecodeSourceId] EncoderConfig timecodeSourceId
30238
+ * @property {sesame.v1.outputs.IEncoderSettings|null} [settings] EncoderConfig settings
29253
30239
  */
29254
30240
 
29255
30241
  /**
@@ -29275,14 +30261,6 @@ export const sesame = $root.sesame = (() => {
29275
30261
  */
29276
30262
  EncoderConfig.prototype.codec = 0;
29277
30263
 
29278
- /**
29279
- * EncoderConfig preset.
29280
- * @member {sesame.v1.outputs.EncoderPreset} preset
29281
- * @memberof sesame.v1.outputs.EncoderConfig
29282
- * @instance
29283
- */
29284
- EncoderConfig.prototype.preset = 0;
29285
-
29286
30264
  /**
29287
30265
  * EncoderConfig bitrateKbps.
29288
30266
  * @member {number} bitrateKbps
@@ -29323,6 +30301,30 @@ export const sesame = $root.sesame = (() => {
29323
30301
  */
29324
30302
  EncoderConfig.prototype.fps = 0;
29325
30303
 
30304
+ /**
30305
+ * EncoderConfig timecodeMode.
30306
+ * @member {sesame.v1.outputs.TimecodeMode} timecodeMode
30307
+ * @memberof sesame.v1.outputs.EncoderConfig
30308
+ * @instance
30309
+ */
30310
+ EncoderConfig.prototype.timecodeMode = 0;
30311
+
30312
+ /**
30313
+ * EncoderConfig timecodeSourceId.
30314
+ * @member {string} timecodeSourceId
30315
+ * @memberof sesame.v1.outputs.EncoderConfig
30316
+ * @instance
30317
+ */
30318
+ EncoderConfig.prototype.timecodeSourceId = "";
30319
+
30320
+ /**
30321
+ * EncoderConfig settings.
30322
+ * @member {sesame.v1.outputs.IEncoderSettings|null|undefined} settings
30323
+ * @memberof sesame.v1.outputs.EncoderConfig
30324
+ * @instance
30325
+ */
30326
+ EncoderConfig.prototype.settings = null;
30327
+
29326
30328
  /**
29327
30329
  * Creates a new EncoderConfig instance using the specified properties.
29328
30330
  * @function create
@@ -29349,8 +30351,6 @@ export const sesame = $root.sesame = (() => {
29349
30351
  writer = $Writer.create();
29350
30352
  if (message.codec != null && Object.hasOwnProperty.call(message, "codec"))
29351
30353
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.codec);
29352
- if (message.preset != null && Object.hasOwnProperty.call(message, "preset"))
29353
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.preset);
29354
30354
  if (message.bitrateKbps != null && Object.hasOwnProperty.call(message, "bitrateKbps"))
29355
30355
  writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.bitrateKbps);
29356
30356
  if (message.keyframeInterval != null && Object.hasOwnProperty.call(message, "keyframeInterval"))
@@ -29361,6 +30361,12 @@ export const sesame = $root.sesame = (() => {
29361
30361
  writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.height);
29362
30362
  if (message.fps != null && Object.hasOwnProperty.call(message, "fps"))
29363
30363
  writer.uint32(/* id 7, wireType 5 =*/61).float(message.fps);
30364
+ if (message.timecodeMode != null && Object.hasOwnProperty.call(message, "timecodeMode"))
30365
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.timecodeMode);
30366
+ if (message.timecodeSourceId != null && Object.hasOwnProperty.call(message, "timecodeSourceId"))
30367
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.timecodeSourceId);
30368
+ if (message.settings != null && Object.hasOwnProperty.call(message, "settings"))
30369
+ $root.sesame.v1.outputs.EncoderSettings.encode(message.settings, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
29364
30370
  return writer;
29365
30371
  };
29366
30372
 
@@ -29401,10 +30407,6 @@ export const sesame = $root.sesame = (() => {
29401
30407
  message.codec = reader.int32();
29402
30408
  break;
29403
30409
  }
29404
- case 2: {
29405
- message.preset = reader.int32();
29406
- break;
29407
- }
29408
30410
  case 3: {
29409
30411
  message.bitrateKbps = reader.uint32();
29410
30412
  break;
@@ -29425,6 +30427,18 @@ export const sesame = $root.sesame = (() => {
29425
30427
  message.fps = reader.float();
29426
30428
  break;
29427
30429
  }
30430
+ case 8: {
30431
+ message.timecodeMode = reader.int32();
30432
+ break;
30433
+ }
30434
+ case 9: {
30435
+ message.timecodeSourceId = reader.string();
30436
+ break;
30437
+ }
30438
+ case 10: {
30439
+ message.settings = $root.sesame.v1.outputs.EncoderSettings.decode(reader, reader.uint32());
30440
+ break;
30441
+ }
29428
30442
  default:
29429
30443
  reader.skipType(tag & 7);
29430
30444
  break;
@@ -29478,16 +30492,6 @@ export const sesame = $root.sesame = (() => {
29478
30492
  case 67:
29479
30493
  break;
29480
30494
  }
29481
- if (message.preset != null && message.hasOwnProperty("preset"))
29482
- switch (message.preset) {
29483
- default:
29484
- return "preset: enum value expected";
29485
- case 0:
29486
- case 1:
29487
- case 2:
29488
- case 3:
29489
- break;
29490
- }
29491
30495
  if (message.bitrateKbps != null && message.hasOwnProperty("bitrateKbps"))
29492
30496
  if (!$util.isInteger(message.bitrateKbps))
29493
30497
  return "bitrateKbps: integer expected";
@@ -29503,6 +30507,23 @@ export const sesame = $root.sesame = (() => {
29503
30507
  if (message.fps != null && message.hasOwnProperty("fps"))
29504
30508
  if (typeof message.fps !== "number")
29505
30509
  return "fps: number expected";
30510
+ if (message.timecodeMode != null && message.hasOwnProperty("timecodeMode"))
30511
+ switch (message.timecodeMode) {
30512
+ default:
30513
+ return "timecodeMode: enum value expected";
30514
+ case 0:
30515
+ case 1:
30516
+ case 2:
30517
+ break;
30518
+ }
30519
+ if (message.timecodeSourceId != null && message.hasOwnProperty("timecodeSourceId"))
30520
+ if (!$util.isString(message.timecodeSourceId))
30521
+ return "timecodeSourceId: string expected";
30522
+ if (message.settings != null && message.hasOwnProperty("settings")) {
30523
+ let error = $root.sesame.v1.outputs.EncoderSettings.verify(message.settings);
30524
+ if (error)
30525
+ return "settings." + error;
30526
+ }
29506
30527
  return null;
29507
30528
  };
29508
30529
 
@@ -29574,40 +30595,43 @@ export const sesame = $root.sesame = (() => {
29574
30595
  message.codec = 67;
29575
30596
  break;
29576
30597
  }
29577
- switch (object.preset) {
30598
+ if (object.bitrateKbps != null)
30599
+ message.bitrateKbps = object.bitrateKbps >>> 0;
30600
+ if (object.keyframeInterval != null)
30601
+ message.keyframeInterval = object.keyframeInterval >>> 0;
30602
+ if (object.width != null)
30603
+ message.width = object.width >>> 0;
30604
+ if (object.height != null)
30605
+ message.height = object.height >>> 0;
30606
+ if (object.fps != null)
30607
+ message.fps = Number(object.fps);
30608
+ switch (object.timecodeMode) {
29578
30609
  default:
29579
- if (typeof object.preset === "number") {
29580
- message.preset = object.preset;
30610
+ if (typeof object.timecodeMode === "number") {
30611
+ message.timecodeMode = object.timecodeMode;
29581
30612
  break;
29582
30613
  }
29583
30614
  break;
29584
- case "ENCODER_PRESET_UNSPECIFIED":
30615
+ case "TIMECODE_MODE_UNSPECIFIED":
29585
30616
  case 0:
29586
- message.preset = 0;
30617
+ message.timecodeMode = 0;
29587
30618
  break;
29588
- case "ENCODER_PRESET_LOW_LATENCY":
30619
+ case "TIMECODE_MODE_WALLCLOCK":
29589
30620
  case 1:
29590
- message.preset = 1;
30621
+ message.timecodeMode = 1;
29591
30622
  break;
29592
- case "ENCODER_PRESET_LOW_LATENCY_IDR_ONLY":
30623
+ case "TIMECODE_MODE_SOURCE":
29593
30624
  case 2:
29594
- message.preset = 2;
29595
- break;
29596
- case "ENCODER_PRESET_HIGH_QUALITY":
29597
- case 3:
29598
- message.preset = 3;
30625
+ message.timecodeMode = 2;
29599
30626
  break;
29600
30627
  }
29601
- if (object.bitrateKbps != null)
29602
- message.bitrateKbps = object.bitrateKbps >>> 0;
29603
- if (object.keyframeInterval != null)
29604
- message.keyframeInterval = object.keyframeInterval >>> 0;
29605
- if (object.width != null)
29606
- message.width = object.width >>> 0;
29607
- if (object.height != null)
29608
- message.height = object.height >>> 0;
29609
- if (object.fps != null)
29610
- message.fps = Number(object.fps);
30628
+ if (object.timecodeSourceId != null)
30629
+ message.timecodeSourceId = String(object.timecodeSourceId);
30630
+ if (object.settings != null) {
30631
+ if (typeof object.settings !== "object")
30632
+ throw TypeError(".sesame.v1.outputs.EncoderConfig.settings: object expected");
30633
+ message.settings = $root.sesame.v1.outputs.EncoderSettings.fromObject(object.settings);
30634
+ }
29611
30635
  return message;
29612
30636
  };
29613
30637
 
@@ -29626,17 +30650,17 @@ export const sesame = $root.sesame = (() => {
29626
30650
  let object = {};
29627
30651
  if (options.defaults) {
29628
30652
  object.codec = options.enums === String ? "CODEC_TYPE_UNSPECIFIED" : 0;
29629
- object.preset = options.enums === String ? "ENCODER_PRESET_UNSPECIFIED" : 0;
29630
30653
  object.bitrateKbps = 0;
29631
30654
  object.keyframeInterval = 0;
29632
30655
  object.width = 0;
29633
30656
  object.height = 0;
29634
30657
  object.fps = 0;
30658
+ object.timecodeMode = options.enums === String ? "TIMECODE_MODE_UNSPECIFIED" : 0;
30659
+ object.timecodeSourceId = "";
30660
+ object.settings = null;
29635
30661
  }
29636
30662
  if (message.codec != null && message.hasOwnProperty("codec"))
29637
30663
  object.codec = options.enums === String ? $root.sesame.v1.common.CodecType[message.codec] === undefined ? message.codec : $root.sesame.v1.common.CodecType[message.codec] : message.codec;
29638
- if (message.preset != null && message.hasOwnProperty("preset"))
29639
- object.preset = options.enums === String ? $root.sesame.v1.outputs.EncoderPreset[message.preset] === undefined ? message.preset : $root.sesame.v1.outputs.EncoderPreset[message.preset] : message.preset;
29640
30664
  if (message.bitrateKbps != null && message.hasOwnProperty("bitrateKbps"))
29641
30665
  object.bitrateKbps = message.bitrateKbps;
29642
30666
  if (message.keyframeInterval != null && message.hasOwnProperty("keyframeInterval"))
@@ -29647,6 +30671,12 @@ export const sesame = $root.sesame = (() => {
29647
30671
  object.height = message.height;
29648
30672
  if (message.fps != null && message.hasOwnProperty("fps"))
29649
30673
  object.fps = options.json && !isFinite(message.fps) ? String(message.fps) : message.fps;
30674
+ if (message.timecodeMode != null && message.hasOwnProperty("timecodeMode"))
30675
+ object.timecodeMode = options.enums === String ? $root.sesame.v1.outputs.TimecodeMode[message.timecodeMode] === undefined ? message.timecodeMode : $root.sesame.v1.outputs.TimecodeMode[message.timecodeMode] : message.timecodeMode;
30676
+ if (message.timecodeSourceId != null && message.hasOwnProperty("timecodeSourceId"))
30677
+ object.timecodeSourceId = message.timecodeSourceId;
30678
+ if (message.settings != null && message.hasOwnProperty("settings"))
30679
+ object.settings = $root.sesame.v1.outputs.EncoderSettings.toObject(message.settings, options);
29650
30680
  return object;
29651
30681
  };
29652
30682
 
@@ -30407,6 +31437,8 @@ export const sesame = $root.sesame = (() => {
30407
31437
  * @property {number|null} [deviceIndex] DecklinkOutputConfig deviceIndex
30408
31438
  * @property {sesame.v1.common.VideoFormat|null} [videoFormat] DecklinkOutputConfig videoFormat
30409
31439
  * @property {boolean|null} [keyAndFill] DecklinkOutputConfig keyAndFill
31440
+ * @property {sesame.v1.outputs.TimecodeMode|null} [timecodeMode] DecklinkOutputConfig timecodeMode
31441
+ * @property {string|null} [timecodeSourceId] DecklinkOutputConfig timecodeSourceId
30410
31442
  */
30411
31443
 
30412
31444
  /**
@@ -30448,6 +31480,22 @@ export const sesame = $root.sesame = (() => {
30448
31480
  */
30449
31481
  DecklinkOutputConfig.prototype.keyAndFill = false;
30450
31482
 
31483
+ /**
31484
+ * DecklinkOutputConfig timecodeMode.
31485
+ * @member {sesame.v1.outputs.TimecodeMode} timecodeMode
31486
+ * @memberof sesame.v1.outputs.DecklinkOutputConfig
31487
+ * @instance
31488
+ */
31489
+ DecklinkOutputConfig.prototype.timecodeMode = 0;
31490
+
31491
+ /**
31492
+ * DecklinkOutputConfig timecodeSourceId.
31493
+ * @member {string} timecodeSourceId
31494
+ * @memberof sesame.v1.outputs.DecklinkOutputConfig
31495
+ * @instance
31496
+ */
31497
+ DecklinkOutputConfig.prototype.timecodeSourceId = "";
31498
+
30451
31499
  /**
30452
31500
  * Creates a new DecklinkOutputConfig instance using the specified properties.
30453
31501
  * @function create
@@ -30478,6 +31526,10 @@ export const sesame = $root.sesame = (() => {
30478
31526
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.videoFormat);
30479
31527
  if (message.keyAndFill != null && Object.hasOwnProperty.call(message, "keyAndFill"))
30480
31528
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.keyAndFill);
31529
+ if (message.timecodeMode != null && Object.hasOwnProperty.call(message, "timecodeMode"))
31530
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.timecodeMode);
31531
+ if (message.timecodeSourceId != null && Object.hasOwnProperty.call(message, "timecodeSourceId"))
31532
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.timecodeSourceId);
30481
31533
  return writer;
30482
31534
  };
30483
31535
 
@@ -30526,6 +31578,14 @@ export const sesame = $root.sesame = (() => {
30526
31578
  message.keyAndFill = reader.bool();
30527
31579
  break;
30528
31580
  }
31581
+ case 4: {
31582
+ message.timecodeMode = reader.int32();
31583
+ break;
31584
+ }
31585
+ case 5: {
31586
+ message.timecodeSourceId = reader.string();
31587
+ break;
31588
+ }
30529
31589
  default:
30530
31590
  reader.skipType(tag & 7);
30531
31591
  break;
@@ -30578,6 +31638,18 @@ export const sesame = $root.sesame = (() => {
30578
31638
  if (message.keyAndFill != null && message.hasOwnProperty("keyAndFill"))
30579
31639
  if (typeof message.keyAndFill !== "boolean")
30580
31640
  return "keyAndFill: boolean expected";
31641
+ if (message.timecodeMode != null && message.hasOwnProperty("timecodeMode"))
31642
+ switch (message.timecodeMode) {
31643
+ default:
31644
+ return "timecodeMode: enum value expected";
31645
+ case 0:
31646
+ case 1:
31647
+ case 2:
31648
+ break;
31649
+ }
31650
+ if (message.timecodeSourceId != null && message.hasOwnProperty("timecodeSourceId"))
31651
+ if (!$util.isString(message.timecodeSourceId))
31652
+ return "timecodeSourceId: string expected";
30581
31653
  return null;
30582
31654
  };
30583
31655
 
@@ -30625,6 +31697,28 @@ export const sesame = $root.sesame = (() => {
30625
31697
  }
30626
31698
  if (object.keyAndFill != null)
30627
31699
  message.keyAndFill = Boolean(object.keyAndFill);
31700
+ switch (object.timecodeMode) {
31701
+ default:
31702
+ if (typeof object.timecodeMode === "number") {
31703
+ message.timecodeMode = object.timecodeMode;
31704
+ break;
31705
+ }
31706
+ break;
31707
+ case "TIMECODE_MODE_UNSPECIFIED":
31708
+ case 0:
31709
+ message.timecodeMode = 0;
31710
+ break;
31711
+ case "TIMECODE_MODE_WALLCLOCK":
31712
+ case 1:
31713
+ message.timecodeMode = 1;
31714
+ break;
31715
+ case "TIMECODE_MODE_SOURCE":
31716
+ case 2:
31717
+ message.timecodeMode = 2;
31718
+ break;
31719
+ }
31720
+ if (object.timecodeSourceId != null)
31721
+ message.timecodeSourceId = String(object.timecodeSourceId);
30628
31722
  return message;
30629
31723
  };
30630
31724
 
@@ -30645,6 +31739,8 @@ export const sesame = $root.sesame = (() => {
30645
31739
  object.deviceIndex = 0;
30646
31740
  object.videoFormat = options.enums === String ? "VIDEO_FORMAT_UNSPECIFIED" : 0;
30647
31741
  object.keyAndFill = false;
31742
+ object.timecodeMode = options.enums === String ? "TIMECODE_MODE_UNSPECIFIED" : 0;
31743
+ object.timecodeSourceId = "";
30648
31744
  }
30649
31745
  if (message.deviceIndex != null && message.hasOwnProperty("deviceIndex"))
30650
31746
  object.deviceIndex = message.deviceIndex;
@@ -30652,6 +31748,10 @@ export const sesame = $root.sesame = (() => {
30652
31748
  object.videoFormat = options.enums === String ? $root.sesame.v1.common.VideoFormat[message.videoFormat] === undefined ? message.videoFormat : $root.sesame.v1.common.VideoFormat[message.videoFormat] : message.videoFormat;
30653
31749
  if (message.keyAndFill != null && message.hasOwnProperty("keyAndFill"))
30654
31750
  object.keyAndFill = message.keyAndFill;
31751
+ if (message.timecodeMode != null && message.hasOwnProperty("timecodeMode"))
31752
+ object.timecodeMode = options.enums === String ? $root.sesame.v1.outputs.TimecodeMode[message.timecodeMode] === undefined ? message.timecodeMode : $root.sesame.v1.outputs.TimecodeMode[message.timecodeMode] : message.timecodeMode;
31753
+ if (message.timecodeSourceId != null && message.hasOwnProperty("timecodeSourceId"))
31754
+ object.timecodeSourceId = message.timecodeSourceId;
30655
31755
  return object;
30656
31756
  };
30657
31757
 
@@ -31682,6 +32782,22 @@ export const sesame = $root.sesame = (() => {
31682
32782
  return EncodedSuperSlowMoRecorderOutputConfig;
31683
32783
  })();
31684
32784
 
32785
+ /**
32786
+ * SrtStreamControl enum.
32787
+ * @name sesame.v1.outputs.SrtStreamControl
32788
+ * @enum {number}
32789
+ * @property {number} SRT_STREAM_CONTROL_UNSPECIFIED=0 SRT_STREAM_CONTROL_UNSPECIFIED value
32790
+ * @property {number} SRT_STREAM_CONTROL_STARTED=1 SRT_STREAM_CONTROL_STARTED value
32791
+ * @property {number} SRT_STREAM_CONTROL_MANUAL=2 SRT_STREAM_CONTROL_MANUAL value
32792
+ */
32793
+ outputs.SrtStreamControl = (function() {
32794
+ const valuesById = {}, values = Object.create(valuesById);
32795
+ values[valuesById[0] = "SRT_STREAM_CONTROL_UNSPECIFIED"] = 0;
32796
+ values[valuesById[1] = "SRT_STREAM_CONTROL_STARTED"] = 1;
32797
+ values[valuesById[2] = "SRT_STREAM_CONTROL_MANUAL"] = 2;
32798
+ return values;
32799
+ })();
32800
+
31685
32801
  outputs.EncodedSrtOutputConfig = (function() {
31686
32802
 
31687
32803
  /**
@@ -31690,6 +32806,7 @@ export const sesame = $root.sesame = (() => {
31690
32806
  * @interface IEncodedSrtOutputConfig
31691
32807
  * @property {string|null} [url] EncodedSrtOutputConfig url
31692
32808
  * @property {string|null} [encoderId] EncodedSrtOutputConfig encoderId
32809
+ * @property {sesame.v1.outputs.SrtStreamControl|null} [control] EncodedSrtOutputConfig control
31693
32810
  */
31694
32811
 
31695
32812
  /**
@@ -31723,6 +32840,14 @@ export const sesame = $root.sesame = (() => {
31723
32840
  */
31724
32841
  EncodedSrtOutputConfig.prototype.encoderId = "";
31725
32842
 
32843
+ /**
32844
+ * EncodedSrtOutputConfig control.
32845
+ * @member {sesame.v1.outputs.SrtStreamControl} control
32846
+ * @memberof sesame.v1.outputs.EncodedSrtOutputConfig
32847
+ * @instance
32848
+ */
32849
+ EncodedSrtOutputConfig.prototype.control = 0;
32850
+
31726
32851
  /**
31727
32852
  * Creates a new EncodedSrtOutputConfig instance using the specified properties.
31728
32853
  * @function create
@@ -31751,6 +32876,8 @@ export const sesame = $root.sesame = (() => {
31751
32876
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.url);
31752
32877
  if (message.encoderId != null && Object.hasOwnProperty.call(message, "encoderId"))
31753
32878
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.encoderId);
32879
+ if (message.control != null && Object.hasOwnProperty.call(message, "control"))
32880
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.control);
31754
32881
  return writer;
31755
32882
  };
31756
32883
 
@@ -31795,6 +32922,10 @@ export const sesame = $root.sesame = (() => {
31795
32922
  message.encoderId = reader.string();
31796
32923
  break;
31797
32924
  }
32925
+ case 3: {
32926
+ message.control = reader.int32();
32927
+ break;
32928
+ }
31798
32929
  default:
31799
32930
  reader.skipType(tag & 7);
31800
32931
  break;
@@ -31836,6 +32967,15 @@ export const sesame = $root.sesame = (() => {
31836
32967
  if (message.encoderId != null && message.hasOwnProperty("encoderId"))
31837
32968
  if (!$util.isString(message.encoderId))
31838
32969
  return "encoderId: string expected";
32970
+ if (message.control != null && message.hasOwnProperty("control"))
32971
+ switch (message.control) {
32972
+ default:
32973
+ return "control: enum value expected";
32974
+ case 0:
32975
+ case 1:
32976
+ case 2:
32977
+ break;
32978
+ }
31839
32979
  return null;
31840
32980
  };
31841
32981
 
@@ -31855,6 +32995,26 @@ export const sesame = $root.sesame = (() => {
31855
32995
  message.url = String(object.url);
31856
32996
  if (object.encoderId != null)
31857
32997
  message.encoderId = String(object.encoderId);
32998
+ switch (object.control) {
32999
+ default:
33000
+ if (typeof object.control === "number") {
33001
+ message.control = object.control;
33002
+ break;
33003
+ }
33004
+ break;
33005
+ case "SRT_STREAM_CONTROL_UNSPECIFIED":
33006
+ case 0:
33007
+ message.control = 0;
33008
+ break;
33009
+ case "SRT_STREAM_CONTROL_STARTED":
33010
+ case 1:
33011
+ message.control = 1;
33012
+ break;
33013
+ case "SRT_STREAM_CONTROL_MANUAL":
33014
+ case 2:
33015
+ message.control = 2;
33016
+ break;
33017
+ }
31858
33018
  return message;
31859
33019
  };
31860
33020
 
@@ -31874,11 +33034,14 @@ export const sesame = $root.sesame = (() => {
31874
33034
  if (options.defaults) {
31875
33035
  object.url = "";
31876
33036
  object.encoderId = "";
33037
+ object.control = options.enums === String ? "SRT_STREAM_CONTROL_UNSPECIFIED" : 0;
31877
33038
  }
31878
33039
  if (message.url != null && message.hasOwnProperty("url"))
31879
33040
  object.url = message.url;
31880
33041
  if (message.encoderId != null && message.hasOwnProperty("encoderId"))
31881
33042
  object.encoderId = message.encoderId;
33043
+ if (message.control != null && message.hasOwnProperty("control"))
33044
+ object.control = options.enums === String ? $root.sesame.v1.outputs.SrtStreamControl[message.control] === undefined ? message.control : $root.sesame.v1.outputs.SrtStreamControl[message.control] : message.control;
31882
33045
  return object;
31883
33046
  };
31884
33047
 
@@ -33736,6 +34899,275 @@ export const sesame = $root.sesame = (() => {
33736
34899
  return OutputRemoveRequest;
33737
34900
  })();
33738
34901
 
34902
+ /**
34903
+ * OutputControlAction enum.
34904
+ * @name sesame.v1.outputs.OutputControlAction
34905
+ * @enum {number}
34906
+ * @property {number} OUTPUT_CONTROL_ACTION_UNSPECIFIED=0 OUTPUT_CONTROL_ACTION_UNSPECIFIED value
34907
+ * @property {number} OUTPUT_CONTROL_ACTION_START=1 OUTPUT_CONTROL_ACTION_START value
34908
+ * @property {number} OUTPUT_CONTROL_ACTION_STOP=2 OUTPUT_CONTROL_ACTION_STOP value
34909
+ */
34910
+ outputs.OutputControlAction = (function() {
34911
+ const valuesById = {}, values = Object.create(valuesById);
34912
+ values[valuesById[0] = "OUTPUT_CONTROL_ACTION_UNSPECIFIED"] = 0;
34913
+ values[valuesById[1] = "OUTPUT_CONTROL_ACTION_START"] = 1;
34914
+ values[valuesById[2] = "OUTPUT_CONTROL_ACTION_STOP"] = 2;
34915
+ return values;
34916
+ })();
34917
+
34918
+ outputs.OutputControlRequest = (function() {
34919
+
34920
+ /**
34921
+ * Properties of an OutputControlRequest.
34922
+ * @memberof sesame.v1.outputs
34923
+ * @interface IOutputControlRequest
34924
+ * @property {string|null} [id] OutputControlRequest id
34925
+ * @property {sesame.v1.outputs.OutputControlAction|null} [action] OutputControlRequest action
34926
+ */
34927
+
34928
+ /**
34929
+ * Constructs a new OutputControlRequest.
34930
+ * @memberof sesame.v1.outputs
34931
+ * @classdesc Represents an OutputControlRequest.
34932
+ * @implements IOutputControlRequest
34933
+ * @constructor
34934
+ * @param {sesame.v1.outputs.IOutputControlRequest=} [properties] Properties to set
34935
+ */
34936
+ function OutputControlRequest(properties) {
34937
+ if (properties)
34938
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
34939
+ if (properties[keys[i]] != null)
34940
+ this[keys[i]] = properties[keys[i]];
34941
+ }
34942
+
34943
+ /**
34944
+ * OutputControlRequest id.
34945
+ * @member {string} id
34946
+ * @memberof sesame.v1.outputs.OutputControlRequest
34947
+ * @instance
34948
+ */
34949
+ OutputControlRequest.prototype.id = "";
34950
+
34951
+ /**
34952
+ * OutputControlRequest action.
34953
+ * @member {sesame.v1.outputs.OutputControlAction} action
34954
+ * @memberof sesame.v1.outputs.OutputControlRequest
34955
+ * @instance
34956
+ */
34957
+ OutputControlRequest.prototype.action = 0;
34958
+
34959
+ /**
34960
+ * Creates a new OutputControlRequest instance using the specified properties.
34961
+ * @function create
34962
+ * @memberof sesame.v1.outputs.OutputControlRequest
34963
+ * @static
34964
+ * @param {sesame.v1.outputs.IOutputControlRequest=} [properties] Properties to set
34965
+ * @returns {sesame.v1.outputs.OutputControlRequest} OutputControlRequest instance
34966
+ */
34967
+ OutputControlRequest.create = function create(properties) {
34968
+ return new OutputControlRequest(properties);
34969
+ };
34970
+
34971
+ /**
34972
+ * Encodes the specified OutputControlRequest message. Does not implicitly {@link sesame.v1.outputs.OutputControlRequest.verify|verify} messages.
34973
+ * @function encode
34974
+ * @memberof sesame.v1.outputs.OutputControlRequest
34975
+ * @static
34976
+ * @param {sesame.v1.outputs.IOutputControlRequest} message OutputControlRequest message or plain object to encode
34977
+ * @param {$protobuf.Writer} [writer] Writer to encode to
34978
+ * @returns {$protobuf.Writer} Writer
34979
+ */
34980
+ OutputControlRequest.encode = function encode(message, writer) {
34981
+ if (!writer)
34982
+ writer = $Writer.create();
34983
+ if (message.id != null && Object.hasOwnProperty.call(message, "id"))
34984
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
34985
+ if (message.action != null && Object.hasOwnProperty.call(message, "action"))
34986
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.action);
34987
+ return writer;
34988
+ };
34989
+
34990
+ /**
34991
+ * Encodes the specified OutputControlRequest message, length delimited. Does not implicitly {@link sesame.v1.outputs.OutputControlRequest.verify|verify} messages.
34992
+ * @function encodeDelimited
34993
+ * @memberof sesame.v1.outputs.OutputControlRequest
34994
+ * @static
34995
+ * @param {sesame.v1.outputs.IOutputControlRequest} message OutputControlRequest message or plain object to encode
34996
+ * @param {$protobuf.Writer} [writer] Writer to encode to
34997
+ * @returns {$protobuf.Writer} Writer
34998
+ */
34999
+ OutputControlRequest.encodeDelimited = function encodeDelimited(message, writer) {
35000
+ return this.encode(message, writer).ldelim();
35001
+ };
35002
+
35003
+ /**
35004
+ * Decodes an OutputControlRequest message from the specified reader or buffer.
35005
+ * @function decode
35006
+ * @memberof sesame.v1.outputs.OutputControlRequest
35007
+ * @static
35008
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
35009
+ * @param {number} [length] Message length if known beforehand
35010
+ * @returns {sesame.v1.outputs.OutputControlRequest} OutputControlRequest
35011
+ * @throws {Error} If the payload is not a reader or valid buffer
35012
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35013
+ */
35014
+ OutputControlRequest.decode = function decode(reader, length, error) {
35015
+ if (!(reader instanceof $Reader))
35016
+ reader = $Reader.create(reader);
35017
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.outputs.OutputControlRequest();
35018
+ while (reader.pos < end) {
35019
+ let tag = reader.uint32();
35020
+ if (tag === error)
35021
+ break;
35022
+ switch (tag >>> 3) {
35023
+ case 1: {
35024
+ message.id = reader.string();
35025
+ break;
35026
+ }
35027
+ case 2: {
35028
+ message.action = reader.int32();
35029
+ break;
35030
+ }
35031
+ default:
35032
+ reader.skipType(tag & 7);
35033
+ break;
35034
+ }
35035
+ }
35036
+ return message;
35037
+ };
35038
+
35039
+ /**
35040
+ * Decodes an OutputControlRequest message from the specified reader or buffer, length delimited.
35041
+ * @function decodeDelimited
35042
+ * @memberof sesame.v1.outputs.OutputControlRequest
35043
+ * @static
35044
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
35045
+ * @returns {sesame.v1.outputs.OutputControlRequest} OutputControlRequest
35046
+ * @throws {Error} If the payload is not a reader or valid buffer
35047
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35048
+ */
35049
+ OutputControlRequest.decodeDelimited = function decodeDelimited(reader) {
35050
+ if (!(reader instanceof $Reader))
35051
+ reader = new $Reader(reader);
35052
+ return this.decode(reader, reader.uint32());
35053
+ };
35054
+
35055
+ /**
35056
+ * Verifies an OutputControlRequest message.
35057
+ * @function verify
35058
+ * @memberof sesame.v1.outputs.OutputControlRequest
35059
+ * @static
35060
+ * @param {Object.<string,*>} message Plain object to verify
35061
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
35062
+ */
35063
+ OutputControlRequest.verify = function verify(message) {
35064
+ if (typeof message !== "object" || message === null)
35065
+ return "object expected";
35066
+ if (message.id != null && message.hasOwnProperty("id"))
35067
+ if (!$util.isString(message.id))
35068
+ return "id: string expected";
35069
+ if (message.action != null && message.hasOwnProperty("action"))
35070
+ switch (message.action) {
35071
+ default:
35072
+ return "action: enum value expected";
35073
+ case 0:
35074
+ case 1:
35075
+ case 2:
35076
+ break;
35077
+ }
35078
+ return null;
35079
+ };
35080
+
35081
+ /**
35082
+ * Creates an OutputControlRequest message from a plain object. Also converts values to their respective internal types.
35083
+ * @function fromObject
35084
+ * @memberof sesame.v1.outputs.OutputControlRequest
35085
+ * @static
35086
+ * @param {Object.<string,*>} object Plain object
35087
+ * @returns {sesame.v1.outputs.OutputControlRequest} OutputControlRequest
35088
+ */
35089
+ OutputControlRequest.fromObject = function fromObject(object) {
35090
+ if (object instanceof $root.sesame.v1.outputs.OutputControlRequest)
35091
+ return object;
35092
+ let message = new $root.sesame.v1.outputs.OutputControlRequest();
35093
+ if (object.id != null)
35094
+ message.id = String(object.id);
35095
+ switch (object.action) {
35096
+ default:
35097
+ if (typeof object.action === "number") {
35098
+ message.action = object.action;
35099
+ break;
35100
+ }
35101
+ break;
35102
+ case "OUTPUT_CONTROL_ACTION_UNSPECIFIED":
35103
+ case 0:
35104
+ message.action = 0;
35105
+ break;
35106
+ case "OUTPUT_CONTROL_ACTION_START":
35107
+ case 1:
35108
+ message.action = 1;
35109
+ break;
35110
+ case "OUTPUT_CONTROL_ACTION_STOP":
35111
+ case 2:
35112
+ message.action = 2;
35113
+ break;
35114
+ }
35115
+ return message;
35116
+ };
35117
+
35118
+ /**
35119
+ * Creates a plain object from an OutputControlRequest message. Also converts values to other types if specified.
35120
+ * @function toObject
35121
+ * @memberof sesame.v1.outputs.OutputControlRequest
35122
+ * @static
35123
+ * @param {sesame.v1.outputs.OutputControlRequest} message OutputControlRequest
35124
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
35125
+ * @returns {Object.<string,*>} Plain object
35126
+ */
35127
+ OutputControlRequest.toObject = function toObject(message, options) {
35128
+ if (!options)
35129
+ options = {};
35130
+ let object = {};
35131
+ if (options.defaults) {
35132
+ object.id = "";
35133
+ object.action = options.enums === String ? "OUTPUT_CONTROL_ACTION_UNSPECIFIED" : 0;
35134
+ }
35135
+ if (message.id != null && message.hasOwnProperty("id"))
35136
+ object.id = message.id;
35137
+ if (message.action != null && message.hasOwnProperty("action"))
35138
+ object.action = options.enums === String ? $root.sesame.v1.outputs.OutputControlAction[message.action] === undefined ? message.action : $root.sesame.v1.outputs.OutputControlAction[message.action] : message.action;
35139
+ return object;
35140
+ };
35141
+
35142
+ /**
35143
+ * Converts this OutputControlRequest to JSON.
35144
+ * @function toJSON
35145
+ * @memberof sesame.v1.outputs.OutputControlRequest
35146
+ * @instance
35147
+ * @returns {Object.<string,*>} JSON object
35148
+ */
35149
+ OutputControlRequest.prototype.toJSON = function toJSON() {
35150
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
35151
+ };
35152
+
35153
+ /**
35154
+ * Gets the default type url for OutputControlRequest
35155
+ * @function getTypeUrl
35156
+ * @memberof sesame.v1.outputs.OutputControlRequest
35157
+ * @static
35158
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35159
+ * @returns {string} The default type url
35160
+ */
35161
+ OutputControlRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
35162
+ if (typeUrlPrefix === undefined) {
35163
+ typeUrlPrefix = "type.googleapis.com";
35164
+ }
35165
+ return typeUrlPrefix + "/sesame.v1.outputs.OutputControlRequest";
35166
+ };
35167
+
35168
+ return OutputControlRequest;
35169
+ })();
35170
+
33739
35171
  outputs.KeyframeRequest = (function() {
33740
35172
 
33741
35173
  /**
@@ -33955,6 +35387,7 @@ export const sesame = $root.sesame = (() => {
33955
35387
  * @property {number|null} [bufferSize] OutputStatus bufferSize
33956
35388
  * @property {sesame.v1.status.ISRTSendStatistics|null} [srtStats] OutputStatus srtStats
33957
35389
  * @property {string|null} [encoderId] OutputStatus encoderId
35390
+ * @property {sesame.v1.outputs.SrtStreamControl|null} [control] OutputStatus control
33958
35391
  */
33959
35392
 
33960
35393
  /**
@@ -34036,6 +35469,14 @@ export const sesame = $root.sesame = (() => {
34036
35469
  */
34037
35470
  OutputStatus.prototype.encoderId = "";
34038
35471
 
35472
+ /**
35473
+ * OutputStatus control.
35474
+ * @member {sesame.v1.outputs.SrtStreamControl} control
35475
+ * @memberof sesame.v1.outputs.OutputStatus
35476
+ * @instance
35477
+ */
35478
+ OutputStatus.prototype.control = 0;
35479
+
34039
35480
  // OneOf field names bound to virtual getters and setters
34040
35481
  let $oneOfFields;
34041
35482
 
@@ -34091,6 +35532,8 @@ export const sesame = $root.sesame = (() => {
34091
35532
  $root.sesame.v1.status.SRTSendStatistics.encode(message.srtStats, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
34092
35533
  if (message.encoderId != null && Object.hasOwnProperty.call(message, "encoderId"))
34093
35534
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.encoderId);
35535
+ if (message.control != null && Object.hasOwnProperty.call(message, "control"))
35536
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.control);
34094
35537
  return writer;
34095
35538
  };
34096
35539
 
@@ -34159,6 +35602,10 @@ export const sesame = $root.sesame = (() => {
34159
35602
  message.encoderId = reader.string();
34160
35603
  break;
34161
35604
  }
35605
+ case 9: {
35606
+ message.control = reader.int32();
35607
+ break;
35608
+ }
34162
35609
  default:
34163
35610
  reader.skipType(tag & 7);
34164
35611
  break;
@@ -34223,6 +35670,7 @@ export const sesame = $root.sesame = (() => {
34223
35670
  case 4:
34224
35671
  case 5:
34225
35672
  case 6:
35673
+ case 7:
34226
35674
  break;
34227
35675
  }
34228
35676
  if (message.msg != null && message.hasOwnProperty("msg")) {
@@ -34247,6 +35695,15 @@ export const sesame = $root.sesame = (() => {
34247
35695
  if (message.encoderId != null && message.hasOwnProperty("encoderId"))
34248
35696
  if (!$util.isString(message.encoderId))
34249
35697
  return "encoderId: string expected";
35698
+ if (message.control != null && message.hasOwnProperty("control"))
35699
+ switch (message.control) {
35700
+ default:
35701
+ return "control: enum value expected";
35702
+ case 0:
35703
+ case 1:
35704
+ case 2:
35705
+ break;
35706
+ }
34250
35707
  return null;
34251
35708
  };
34252
35709
 
@@ -34339,6 +35796,10 @@ export const sesame = $root.sesame = (() => {
34339
35796
  case 6:
34340
35797
  message.state = 6;
34341
35798
  break;
35799
+ case "CONNECTION_STATE_DISABLED":
35800
+ case 7:
35801
+ message.state = 7;
35802
+ break;
34342
35803
  }
34343
35804
  if (object.msg != null)
34344
35805
  message.msg = String(object.msg);
@@ -34353,6 +35814,26 @@ export const sesame = $root.sesame = (() => {
34353
35814
  }
34354
35815
  if (object.encoderId != null)
34355
35816
  message.encoderId = String(object.encoderId);
35817
+ switch (object.control) {
35818
+ default:
35819
+ if (typeof object.control === "number") {
35820
+ message.control = object.control;
35821
+ break;
35822
+ }
35823
+ break;
35824
+ case "SRT_STREAM_CONTROL_UNSPECIFIED":
35825
+ case 0:
35826
+ message.control = 0;
35827
+ break;
35828
+ case "SRT_STREAM_CONTROL_STARTED":
35829
+ case 1:
35830
+ message.control = 1;
35831
+ break;
35832
+ case "SRT_STREAM_CONTROL_MANUAL":
35833
+ case 2:
35834
+ message.control = 2;
35835
+ break;
35836
+ }
34356
35837
  return message;
34357
35838
  };
34358
35839
 
@@ -34376,6 +35857,7 @@ export const sesame = $root.sesame = (() => {
34376
35857
  object.url = "";
34377
35858
  object.bufferSize = 0;
34378
35859
  object.encoderId = "";
35860
+ object.control = options.enums === String ? "SRT_STREAM_CONTROL_UNSPECIFIED" : 0;
34379
35861
  }
34380
35862
  if (message.id != null && message.hasOwnProperty("id"))
34381
35863
  object.id = message.id;
@@ -34399,6 +35881,8 @@ export const sesame = $root.sesame = (() => {
34399
35881
  }
34400
35882
  if (message.encoderId != null && message.hasOwnProperty("encoderId"))
34401
35883
  object.encoderId = message.encoderId;
35884
+ if (message.control != null && message.hasOwnProperty("control"))
35885
+ object.control = options.enums === String ? $root.sesame.v1.outputs.SrtStreamControl[message.control] === undefined ? message.control : $root.sesame.v1.outputs.SrtStreamControl[message.control] : message.control;
34402
35886
  return object;
34403
35887
  };
34404
35888
 
@@ -34442,6 +35926,7 @@ export const sesame = $root.sesame = (() => {
34442
35926
  * @property {sesame.v1.common.ConnectionState|null} [state] EncoderStatus state
34443
35927
  * @property {string|null} [msg] EncoderStatus msg
34444
35928
  * @property {string|null} [compositionId] EncoderStatus compositionId
35929
+ * @property {number|null} [droppedFrames] EncoderStatus droppedFrames
34445
35930
  */
34446
35931
 
34447
35932
  /**
@@ -34499,6 +35984,14 @@ export const sesame = $root.sesame = (() => {
34499
35984
  */
34500
35985
  EncoderStatus.prototype.compositionId = "";
34501
35986
 
35987
+ /**
35988
+ * EncoderStatus droppedFrames.
35989
+ * @member {number} droppedFrames
35990
+ * @memberof sesame.v1.outputs.EncoderStatus
35991
+ * @instance
35992
+ */
35993
+ EncoderStatus.prototype.droppedFrames = 0;
35994
+
34502
35995
  // OneOf field names bound to virtual getters and setters
34503
35996
  let $oneOfFields;
34504
35997
 
@@ -34542,6 +36035,8 @@ export const sesame = $root.sesame = (() => {
34542
36035
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.msg);
34543
36036
  if (message.compositionId != null && Object.hasOwnProperty.call(message, "compositionId"))
34544
36037
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.compositionId);
36038
+ if (message.droppedFrames != null && Object.hasOwnProperty.call(message, "droppedFrames"))
36039
+ writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.droppedFrames);
34545
36040
  return writer;
34546
36041
  };
34547
36042
 
@@ -34598,6 +36093,10 @@ export const sesame = $root.sesame = (() => {
34598
36093
  message.compositionId = reader.string();
34599
36094
  break;
34600
36095
  }
36096
+ case 6: {
36097
+ message.droppedFrames = reader.uint32();
36098
+ break;
36099
+ }
34601
36100
  default:
34602
36101
  reader.skipType(tag & 7);
34603
36102
  break;
@@ -34656,6 +36155,7 @@ export const sesame = $root.sesame = (() => {
34656
36155
  case 4:
34657
36156
  case 5:
34658
36157
  case 6:
36158
+ case 7:
34659
36159
  break;
34660
36160
  }
34661
36161
  if (message.msg != null && message.hasOwnProperty("msg")) {
@@ -34666,6 +36166,9 @@ export const sesame = $root.sesame = (() => {
34666
36166
  if (message.compositionId != null && message.hasOwnProperty("compositionId"))
34667
36167
  if (!$util.isString(message.compositionId))
34668
36168
  return "compositionId: string expected";
36169
+ if (message.droppedFrames != null && message.hasOwnProperty("droppedFrames"))
36170
+ if (!$util.isInteger(message.droppedFrames))
36171
+ return "droppedFrames: integer expected";
34669
36172
  return null;
34670
36173
  };
34671
36174
 
@@ -34734,11 +36237,17 @@ export const sesame = $root.sesame = (() => {
34734
36237
  case 6:
34735
36238
  message.state = 6;
34736
36239
  break;
36240
+ case "CONNECTION_STATE_DISABLED":
36241
+ case 7:
36242
+ message.state = 7;
36243
+ break;
34737
36244
  }
34738
36245
  if (object.msg != null)
34739
36246
  message.msg = String(object.msg);
34740
36247
  if (object.compositionId != null)
34741
36248
  message.compositionId = String(object.compositionId);
36249
+ if (object.droppedFrames != null)
36250
+ message.droppedFrames = object.droppedFrames >>> 0;
34742
36251
  return message;
34743
36252
  };
34744
36253
 
@@ -34760,6 +36269,7 @@ export const sesame = $root.sesame = (() => {
34760
36269
  object.type = options.enums === String ? "ENCODER_TYPE_UNSPECIFIED" : 0;
34761
36270
  object.state = options.enums === String ? "CONNECTION_STATE_UNSPECIFIED" : 0;
34762
36271
  object.compositionId = "";
36272
+ object.droppedFrames = 0;
34763
36273
  }
34764
36274
  if (message.id != null && message.hasOwnProperty("id"))
34765
36275
  object.id = message.id;
@@ -34774,6 +36284,8 @@ export const sesame = $root.sesame = (() => {
34774
36284
  }
34775
36285
  if (message.compositionId != null && message.hasOwnProperty("compositionId"))
34776
36286
  object.compositionId = message.compositionId;
36287
+ if (message.droppedFrames != null && message.hasOwnProperty("droppedFrames"))
36288
+ object.droppedFrames = message.droppedFrames;
34777
36289
  return object;
34778
36290
  };
34779
36291
 
@@ -36394,6 +37906,469 @@ export const sesame = $root.sesame = (() => {
36394
37906
  return NodeRemoveRequest;
36395
37907
  })();
36396
37908
 
37909
+ compositor.SideDataSetRequest = (function() {
37910
+
37911
+ /**
37912
+ * Properties of a SideDataSetRequest.
37913
+ * @memberof sesame.v1.compositor
37914
+ * @interface ISideDataSetRequest
37915
+ * @property {string|null} [compositorId] SideDataSetRequest compositorId
37916
+ * @property {sesame.v1.sidedata.ISideData|null} [sideData] SideDataSetRequest sideData
37917
+ */
37918
+
37919
+ /**
37920
+ * Constructs a new SideDataSetRequest.
37921
+ * @memberof sesame.v1.compositor
37922
+ * @classdesc Represents a SideDataSetRequest.
37923
+ * @implements ISideDataSetRequest
37924
+ * @constructor
37925
+ * @param {sesame.v1.compositor.ISideDataSetRequest=} [properties] Properties to set
37926
+ */
37927
+ function SideDataSetRequest(properties) {
37928
+ if (properties)
37929
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
37930
+ if (properties[keys[i]] != null)
37931
+ this[keys[i]] = properties[keys[i]];
37932
+ }
37933
+
37934
+ /**
37935
+ * SideDataSetRequest compositorId.
37936
+ * @member {string} compositorId
37937
+ * @memberof sesame.v1.compositor.SideDataSetRequest
37938
+ * @instance
37939
+ */
37940
+ SideDataSetRequest.prototype.compositorId = "";
37941
+
37942
+ /**
37943
+ * SideDataSetRequest sideData.
37944
+ * @member {sesame.v1.sidedata.ISideData|null|undefined} sideData
37945
+ * @memberof sesame.v1.compositor.SideDataSetRequest
37946
+ * @instance
37947
+ */
37948
+ SideDataSetRequest.prototype.sideData = null;
37949
+
37950
+ /**
37951
+ * Creates a new SideDataSetRequest instance using the specified properties.
37952
+ * @function create
37953
+ * @memberof sesame.v1.compositor.SideDataSetRequest
37954
+ * @static
37955
+ * @param {sesame.v1.compositor.ISideDataSetRequest=} [properties] Properties to set
37956
+ * @returns {sesame.v1.compositor.SideDataSetRequest} SideDataSetRequest instance
37957
+ */
37958
+ SideDataSetRequest.create = function create(properties) {
37959
+ return new SideDataSetRequest(properties);
37960
+ };
37961
+
37962
+ /**
37963
+ * Encodes the specified SideDataSetRequest message. Does not implicitly {@link sesame.v1.compositor.SideDataSetRequest.verify|verify} messages.
37964
+ * @function encode
37965
+ * @memberof sesame.v1.compositor.SideDataSetRequest
37966
+ * @static
37967
+ * @param {sesame.v1.compositor.ISideDataSetRequest} message SideDataSetRequest message or plain object to encode
37968
+ * @param {$protobuf.Writer} [writer] Writer to encode to
37969
+ * @returns {$protobuf.Writer} Writer
37970
+ */
37971
+ SideDataSetRequest.encode = function encode(message, writer) {
37972
+ if (!writer)
37973
+ writer = $Writer.create();
37974
+ if (message.compositorId != null && Object.hasOwnProperty.call(message, "compositorId"))
37975
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.compositorId);
37976
+ if (message.sideData != null && Object.hasOwnProperty.call(message, "sideData"))
37977
+ $root.sesame.v1.sidedata.SideData.encode(message.sideData, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
37978
+ return writer;
37979
+ };
37980
+
37981
+ /**
37982
+ * Encodes the specified SideDataSetRequest message, length delimited. Does not implicitly {@link sesame.v1.compositor.SideDataSetRequest.verify|verify} messages.
37983
+ * @function encodeDelimited
37984
+ * @memberof sesame.v1.compositor.SideDataSetRequest
37985
+ * @static
37986
+ * @param {sesame.v1.compositor.ISideDataSetRequest} message SideDataSetRequest message or plain object to encode
37987
+ * @param {$protobuf.Writer} [writer] Writer to encode to
37988
+ * @returns {$protobuf.Writer} Writer
37989
+ */
37990
+ SideDataSetRequest.encodeDelimited = function encodeDelimited(message, writer) {
37991
+ return this.encode(message, writer).ldelim();
37992
+ };
37993
+
37994
+ /**
37995
+ * Decodes a SideDataSetRequest message from the specified reader or buffer.
37996
+ * @function decode
37997
+ * @memberof sesame.v1.compositor.SideDataSetRequest
37998
+ * @static
37999
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
38000
+ * @param {number} [length] Message length if known beforehand
38001
+ * @returns {sesame.v1.compositor.SideDataSetRequest} SideDataSetRequest
38002
+ * @throws {Error} If the payload is not a reader or valid buffer
38003
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38004
+ */
38005
+ SideDataSetRequest.decode = function decode(reader, length, error) {
38006
+ if (!(reader instanceof $Reader))
38007
+ reader = $Reader.create(reader);
38008
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.compositor.SideDataSetRequest();
38009
+ while (reader.pos < end) {
38010
+ let tag = reader.uint32();
38011
+ if (tag === error)
38012
+ break;
38013
+ switch (tag >>> 3) {
38014
+ case 1: {
38015
+ message.compositorId = reader.string();
38016
+ break;
38017
+ }
38018
+ case 2: {
38019
+ message.sideData = $root.sesame.v1.sidedata.SideData.decode(reader, reader.uint32());
38020
+ break;
38021
+ }
38022
+ default:
38023
+ reader.skipType(tag & 7);
38024
+ break;
38025
+ }
38026
+ }
38027
+ return message;
38028
+ };
38029
+
38030
+ /**
38031
+ * Decodes a SideDataSetRequest message from the specified reader or buffer, length delimited.
38032
+ * @function decodeDelimited
38033
+ * @memberof sesame.v1.compositor.SideDataSetRequest
38034
+ * @static
38035
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
38036
+ * @returns {sesame.v1.compositor.SideDataSetRequest} SideDataSetRequest
38037
+ * @throws {Error} If the payload is not a reader or valid buffer
38038
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38039
+ */
38040
+ SideDataSetRequest.decodeDelimited = function decodeDelimited(reader) {
38041
+ if (!(reader instanceof $Reader))
38042
+ reader = new $Reader(reader);
38043
+ return this.decode(reader, reader.uint32());
38044
+ };
38045
+
38046
+ /**
38047
+ * Verifies a SideDataSetRequest message.
38048
+ * @function verify
38049
+ * @memberof sesame.v1.compositor.SideDataSetRequest
38050
+ * @static
38051
+ * @param {Object.<string,*>} message Plain object to verify
38052
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
38053
+ */
38054
+ SideDataSetRequest.verify = function verify(message) {
38055
+ if (typeof message !== "object" || message === null)
38056
+ return "object expected";
38057
+ if (message.compositorId != null && message.hasOwnProperty("compositorId"))
38058
+ if (!$util.isString(message.compositorId))
38059
+ return "compositorId: string expected";
38060
+ if (message.sideData != null && message.hasOwnProperty("sideData")) {
38061
+ let error = $root.sesame.v1.sidedata.SideData.verify(message.sideData);
38062
+ if (error)
38063
+ return "sideData." + error;
38064
+ }
38065
+ return null;
38066
+ };
38067
+
38068
+ /**
38069
+ * Creates a SideDataSetRequest message from a plain object. Also converts values to their respective internal types.
38070
+ * @function fromObject
38071
+ * @memberof sesame.v1.compositor.SideDataSetRequest
38072
+ * @static
38073
+ * @param {Object.<string,*>} object Plain object
38074
+ * @returns {sesame.v1.compositor.SideDataSetRequest} SideDataSetRequest
38075
+ */
38076
+ SideDataSetRequest.fromObject = function fromObject(object) {
38077
+ if (object instanceof $root.sesame.v1.compositor.SideDataSetRequest)
38078
+ return object;
38079
+ let message = new $root.sesame.v1.compositor.SideDataSetRequest();
38080
+ if (object.compositorId != null)
38081
+ message.compositorId = String(object.compositorId);
38082
+ if (object.sideData != null) {
38083
+ if (typeof object.sideData !== "object")
38084
+ throw TypeError(".sesame.v1.compositor.SideDataSetRequest.sideData: object expected");
38085
+ message.sideData = $root.sesame.v1.sidedata.SideData.fromObject(object.sideData);
38086
+ }
38087
+ return message;
38088
+ };
38089
+
38090
+ /**
38091
+ * Creates a plain object from a SideDataSetRequest message. Also converts values to other types if specified.
38092
+ * @function toObject
38093
+ * @memberof sesame.v1.compositor.SideDataSetRequest
38094
+ * @static
38095
+ * @param {sesame.v1.compositor.SideDataSetRequest} message SideDataSetRequest
38096
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
38097
+ * @returns {Object.<string,*>} Plain object
38098
+ */
38099
+ SideDataSetRequest.toObject = function toObject(message, options) {
38100
+ if (!options)
38101
+ options = {};
38102
+ let object = {};
38103
+ if (options.defaults) {
38104
+ object.compositorId = "";
38105
+ object.sideData = null;
38106
+ }
38107
+ if (message.compositorId != null && message.hasOwnProperty("compositorId"))
38108
+ object.compositorId = message.compositorId;
38109
+ if (message.sideData != null && message.hasOwnProperty("sideData"))
38110
+ object.sideData = $root.sesame.v1.sidedata.SideData.toObject(message.sideData, options);
38111
+ return object;
38112
+ };
38113
+
38114
+ /**
38115
+ * Converts this SideDataSetRequest to JSON.
38116
+ * @function toJSON
38117
+ * @memberof sesame.v1.compositor.SideDataSetRequest
38118
+ * @instance
38119
+ * @returns {Object.<string,*>} JSON object
38120
+ */
38121
+ SideDataSetRequest.prototype.toJSON = function toJSON() {
38122
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
38123
+ };
38124
+
38125
+ /**
38126
+ * Gets the default type url for SideDataSetRequest
38127
+ * @function getTypeUrl
38128
+ * @memberof sesame.v1.compositor.SideDataSetRequest
38129
+ * @static
38130
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
38131
+ * @returns {string} The default type url
38132
+ */
38133
+ SideDataSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
38134
+ if (typeUrlPrefix === undefined) {
38135
+ typeUrlPrefix = "type.googleapis.com";
38136
+ }
38137
+ return typeUrlPrefix + "/sesame.v1.compositor.SideDataSetRequest";
38138
+ };
38139
+
38140
+ return SideDataSetRequest;
38141
+ })();
38142
+
38143
+ compositor.SideDataRemoveRequest = (function() {
38144
+
38145
+ /**
38146
+ * Properties of a SideDataRemoveRequest.
38147
+ * @memberof sesame.v1.compositor
38148
+ * @interface ISideDataRemoveRequest
38149
+ * @property {string|null} [compositorId] SideDataRemoveRequest compositorId
38150
+ * @property {string|null} [id] SideDataRemoveRequest id
38151
+ */
38152
+
38153
+ /**
38154
+ * Constructs a new SideDataRemoveRequest.
38155
+ * @memberof sesame.v1.compositor
38156
+ * @classdesc Represents a SideDataRemoveRequest.
38157
+ * @implements ISideDataRemoveRequest
38158
+ * @constructor
38159
+ * @param {sesame.v1.compositor.ISideDataRemoveRequest=} [properties] Properties to set
38160
+ */
38161
+ function SideDataRemoveRequest(properties) {
38162
+ if (properties)
38163
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
38164
+ if (properties[keys[i]] != null)
38165
+ this[keys[i]] = properties[keys[i]];
38166
+ }
38167
+
38168
+ /**
38169
+ * SideDataRemoveRequest compositorId.
38170
+ * @member {string} compositorId
38171
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38172
+ * @instance
38173
+ */
38174
+ SideDataRemoveRequest.prototype.compositorId = "";
38175
+
38176
+ /**
38177
+ * SideDataRemoveRequest id.
38178
+ * @member {string} id
38179
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38180
+ * @instance
38181
+ */
38182
+ SideDataRemoveRequest.prototype.id = "";
38183
+
38184
+ /**
38185
+ * Creates a new SideDataRemoveRequest instance using the specified properties.
38186
+ * @function create
38187
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38188
+ * @static
38189
+ * @param {sesame.v1.compositor.ISideDataRemoveRequest=} [properties] Properties to set
38190
+ * @returns {sesame.v1.compositor.SideDataRemoveRequest} SideDataRemoveRequest instance
38191
+ */
38192
+ SideDataRemoveRequest.create = function create(properties) {
38193
+ return new SideDataRemoveRequest(properties);
38194
+ };
38195
+
38196
+ /**
38197
+ * Encodes the specified SideDataRemoveRequest message. Does not implicitly {@link sesame.v1.compositor.SideDataRemoveRequest.verify|verify} messages.
38198
+ * @function encode
38199
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38200
+ * @static
38201
+ * @param {sesame.v1.compositor.ISideDataRemoveRequest} message SideDataRemoveRequest message or plain object to encode
38202
+ * @param {$protobuf.Writer} [writer] Writer to encode to
38203
+ * @returns {$protobuf.Writer} Writer
38204
+ */
38205
+ SideDataRemoveRequest.encode = function encode(message, writer) {
38206
+ if (!writer)
38207
+ writer = $Writer.create();
38208
+ if (message.compositorId != null && Object.hasOwnProperty.call(message, "compositorId"))
38209
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.compositorId);
38210
+ if (message.id != null && Object.hasOwnProperty.call(message, "id"))
38211
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.id);
38212
+ return writer;
38213
+ };
38214
+
38215
+ /**
38216
+ * Encodes the specified SideDataRemoveRequest message, length delimited. Does not implicitly {@link sesame.v1.compositor.SideDataRemoveRequest.verify|verify} messages.
38217
+ * @function encodeDelimited
38218
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38219
+ * @static
38220
+ * @param {sesame.v1.compositor.ISideDataRemoveRequest} message SideDataRemoveRequest message or plain object to encode
38221
+ * @param {$protobuf.Writer} [writer] Writer to encode to
38222
+ * @returns {$protobuf.Writer} Writer
38223
+ */
38224
+ SideDataRemoveRequest.encodeDelimited = function encodeDelimited(message, writer) {
38225
+ return this.encode(message, writer).ldelim();
38226
+ };
38227
+
38228
+ /**
38229
+ * Decodes a SideDataRemoveRequest message from the specified reader or buffer.
38230
+ * @function decode
38231
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38232
+ * @static
38233
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
38234
+ * @param {number} [length] Message length if known beforehand
38235
+ * @returns {sesame.v1.compositor.SideDataRemoveRequest} SideDataRemoveRequest
38236
+ * @throws {Error} If the payload is not a reader or valid buffer
38237
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38238
+ */
38239
+ SideDataRemoveRequest.decode = function decode(reader, length, error) {
38240
+ if (!(reader instanceof $Reader))
38241
+ reader = $Reader.create(reader);
38242
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.compositor.SideDataRemoveRequest();
38243
+ while (reader.pos < end) {
38244
+ let tag = reader.uint32();
38245
+ if (tag === error)
38246
+ break;
38247
+ switch (tag >>> 3) {
38248
+ case 1: {
38249
+ message.compositorId = reader.string();
38250
+ break;
38251
+ }
38252
+ case 2: {
38253
+ message.id = reader.string();
38254
+ break;
38255
+ }
38256
+ default:
38257
+ reader.skipType(tag & 7);
38258
+ break;
38259
+ }
38260
+ }
38261
+ return message;
38262
+ };
38263
+
38264
+ /**
38265
+ * Decodes a SideDataRemoveRequest message from the specified reader or buffer, length delimited.
38266
+ * @function decodeDelimited
38267
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38268
+ * @static
38269
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
38270
+ * @returns {sesame.v1.compositor.SideDataRemoveRequest} SideDataRemoveRequest
38271
+ * @throws {Error} If the payload is not a reader or valid buffer
38272
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38273
+ */
38274
+ SideDataRemoveRequest.decodeDelimited = function decodeDelimited(reader) {
38275
+ if (!(reader instanceof $Reader))
38276
+ reader = new $Reader(reader);
38277
+ return this.decode(reader, reader.uint32());
38278
+ };
38279
+
38280
+ /**
38281
+ * Verifies a SideDataRemoveRequest message.
38282
+ * @function verify
38283
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38284
+ * @static
38285
+ * @param {Object.<string,*>} message Plain object to verify
38286
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
38287
+ */
38288
+ SideDataRemoveRequest.verify = function verify(message) {
38289
+ if (typeof message !== "object" || message === null)
38290
+ return "object expected";
38291
+ if (message.compositorId != null && message.hasOwnProperty("compositorId"))
38292
+ if (!$util.isString(message.compositorId))
38293
+ return "compositorId: string expected";
38294
+ if (message.id != null && message.hasOwnProperty("id"))
38295
+ if (!$util.isString(message.id))
38296
+ return "id: string expected";
38297
+ return null;
38298
+ };
38299
+
38300
+ /**
38301
+ * Creates a SideDataRemoveRequest message from a plain object. Also converts values to their respective internal types.
38302
+ * @function fromObject
38303
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38304
+ * @static
38305
+ * @param {Object.<string,*>} object Plain object
38306
+ * @returns {sesame.v1.compositor.SideDataRemoveRequest} SideDataRemoveRequest
38307
+ */
38308
+ SideDataRemoveRequest.fromObject = function fromObject(object) {
38309
+ if (object instanceof $root.sesame.v1.compositor.SideDataRemoveRequest)
38310
+ return object;
38311
+ let message = new $root.sesame.v1.compositor.SideDataRemoveRequest();
38312
+ if (object.compositorId != null)
38313
+ message.compositorId = String(object.compositorId);
38314
+ if (object.id != null)
38315
+ message.id = String(object.id);
38316
+ return message;
38317
+ };
38318
+
38319
+ /**
38320
+ * Creates a plain object from a SideDataRemoveRequest message. Also converts values to other types if specified.
38321
+ * @function toObject
38322
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38323
+ * @static
38324
+ * @param {sesame.v1.compositor.SideDataRemoveRequest} message SideDataRemoveRequest
38325
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
38326
+ * @returns {Object.<string,*>} Plain object
38327
+ */
38328
+ SideDataRemoveRequest.toObject = function toObject(message, options) {
38329
+ if (!options)
38330
+ options = {};
38331
+ let object = {};
38332
+ if (options.defaults) {
38333
+ object.compositorId = "";
38334
+ object.id = "";
38335
+ }
38336
+ if (message.compositorId != null && message.hasOwnProperty("compositorId"))
38337
+ object.compositorId = message.compositorId;
38338
+ if (message.id != null && message.hasOwnProperty("id"))
38339
+ object.id = message.id;
38340
+ return object;
38341
+ };
38342
+
38343
+ /**
38344
+ * Converts this SideDataRemoveRequest to JSON.
38345
+ * @function toJSON
38346
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38347
+ * @instance
38348
+ * @returns {Object.<string,*>} JSON object
38349
+ */
38350
+ SideDataRemoveRequest.prototype.toJSON = function toJSON() {
38351
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
38352
+ };
38353
+
38354
+ /**
38355
+ * Gets the default type url for SideDataRemoveRequest
38356
+ * @function getTypeUrl
38357
+ * @memberof sesame.v1.compositor.SideDataRemoveRequest
38358
+ * @static
38359
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
38360
+ * @returns {string} The default type url
38361
+ */
38362
+ SideDataRemoveRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
38363
+ if (typeUrlPrefix === undefined) {
38364
+ typeUrlPrefix = "type.googleapis.com";
38365
+ }
38366
+ return typeUrlPrefix + "/sesame.v1.compositor.SideDataRemoveRequest";
38367
+ };
38368
+
38369
+ return SideDataRemoveRequest;
38370
+ })();
38371
+
36397
38372
  compositor.PropertySetRequest = (function() {
36398
38373
 
36399
38374
  /**
@@ -37088,6 +39063,1214 @@ export const sesame = $root.sesame = (() => {
37088
39063
  return compositor;
37089
39064
  })();
37090
39065
 
39066
+ v1.sidedata = (function() {
39067
+
39068
+ /**
39069
+ * Namespace sidedata.
39070
+ * @memberof sesame.v1
39071
+ * @namespace
39072
+ */
39073
+ const sidedata = {};
39074
+
39075
+ sidedata.AtlasEntry = (function() {
39076
+
39077
+ /**
39078
+ * Properties of an AtlasEntry.
39079
+ * @memberof sesame.v1.sidedata
39080
+ * @interface IAtlasEntry
39081
+ * @property {string|null} [sourceId] AtlasEntry sourceId
39082
+ * @property {number|null} [x] AtlasEntry x
39083
+ * @property {number|null} [y] AtlasEntry y
39084
+ * @property {number|null} [width] AtlasEntry width
39085
+ * @property {number|null} [height] AtlasEntry height
39086
+ * @property {number|null} [sourceWidth] AtlasEntry sourceWidth
39087
+ * @property {number|null} [sourceHeight] AtlasEntry sourceHeight
39088
+ */
39089
+
39090
+ /**
39091
+ * Constructs a new AtlasEntry.
39092
+ * @memberof sesame.v1.sidedata
39093
+ * @classdesc Represents an AtlasEntry.
39094
+ * @implements IAtlasEntry
39095
+ * @constructor
39096
+ * @param {sesame.v1.sidedata.IAtlasEntry=} [properties] Properties to set
39097
+ */
39098
+ function AtlasEntry(properties) {
39099
+ if (properties)
39100
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39101
+ if (properties[keys[i]] != null)
39102
+ this[keys[i]] = properties[keys[i]];
39103
+ }
39104
+
39105
+ /**
39106
+ * AtlasEntry sourceId.
39107
+ * @member {string} sourceId
39108
+ * @memberof sesame.v1.sidedata.AtlasEntry
39109
+ * @instance
39110
+ */
39111
+ AtlasEntry.prototype.sourceId = "";
39112
+
39113
+ /**
39114
+ * AtlasEntry x.
39115
+ * @member {number} x
39116
+ * @memberof sesame.v1.sidedata.AtlasEntry
39117
+ * @instance
39118
+ */
39119
+ AtlasEntry.prototype.x = 0;
39120
+
39121
+ /**
39122
+ * AtlasEntry y.
39123
+ * @member {number} y
39124
+ * @memberof sesame.v1.sidedata.AtlasEntry
39125
+ * @instance
39126
+ */
39127
+ AtlasEntry.prototype.y = 0;
39128
+
39129
+ /**
39130
+ * AtlasEntry width.
39131
+ * @member {number} width
39132
+ * @memberof sesame.v1.sidedata.AtlasEntry
39133
+ * @instance
39134
+ */
39135
+ AtlasEntry.prototype.width = 0;
39136
+
39137
+ /**
39138
+ * AtlasEntry height.
39139
+ * @member {number} height
39140
+ * @memberof sesame.v1.sidedata.AtlasEntry
39141
+ * @instance
39142
+ */
39143
+ AtlasEntry.prototype.height = 0;
39144
+
39145
+ /**
39146
+ * AtlasEntry sourceWidth.
39147
+ * @member {number} sourceWidth
39148
+ * @memberof sesame.v1.sidedata.AtlasEntry
39149
+ * @instance
39150
+ */
39151
+ AtlasEntry.prototype.sourceWidth = 0;
39152
+
39153
+ /**
39154
+ * AtlasEntry sourceHeight.
39155
+ * @member {number} sourceHeight
39156
+ * @memberof sesame.v1.sidedata.AtlasEntry
39157
+ * @instance
39158
+ */
39159
+ AtlasEntry.prototype.sourceHeight = 0;
39160
+
39161
+ /**
39162
+ * Creates a new AtlasEntry instance using the specified properties.
39163
+ * @function create
39164
+ * @memberof sesame.v1.sidedata.AtlasEntry
39165
+ * @static
39166
+ * @param {sesame.v1.sidedata.IAtlasEntry=} [properties] Properties to set
39167
+ * @returns {sesame.v1.sidedata.AtlasEntry} AtlasEntry instance
39168
+ */
39169
+ AtlasEntry.create = function create(properties) {
39170
+ return new AtlasEntry(properties);
39171
+ };
39172
+
39173
+ /**
39174
+ * Encodes the specified AtlasEntry message. Does not implicitly {@link sesame.v1.sidedata.AtlasEntry.verify|verify} messages.
39175
+ * @function encode
39176
+ * @memberof sesame.v1.sidedata.AtlasEntry
39177
+ * @static
39178
+ * @param {sesame.v1.sidedata.IAtlasEntry} message AtlasEntry message or plain object to encode
39179
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39180
+ * @returns {$protobuf.Writer} Writer
39181
+ */
39182
+ AtlasEntry.encode = function encode(message, writer) {
39183
+ if (!writer)
39184
+ writer = $Writer.create();
39185
+ if (message.sourceId != null && Object.hasOwnProperty.call(message, "sourceId"))
39186
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.sourceId);
39187
+ if (message.x != null && Object.hasOwnProperty.call(message, "x"))
39188
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.x);
39189
+ if (message.y != null && Object.hasOwnProperty.call(message, "y"))
39190
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.y);
39191
+ if (message.width != null && Object.hasOwnProperty.call(message, "width"))
39192
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.width);
39193
+ if (message.height != null && Object.hasOwnProperty.call(message, "height"))
39194
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.height);
39195
+ if (message.sourceWidth != null && Object.hasOwnProperty.call(message, "sourceWidth"))
39196
+ writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.sourceWidth);
39197
+ if (message.sourceHeight != null && Object.hasOwnProperty.call(message, "sourceHeight"))
39198
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.sourceHeight);
39199
+ return writer;
39200
+ };
39201
+
39202
+ /**
39203
+ * Encodes the specified AtlasEntry message, length delimited. Does not implicitly {@link sesame.v1.sidedata.AtlasEntry.verify|verify} messages.
39204
+ * @function encodeDelimited
39205
+ * @memberof sesame.v1.sidedata.AtlasEntry
39206
+ * @static
39207
+ * @param {sesame.v1.sidedata.IAtlasEntry} message AtlasEntry message or plain object to encode
39208
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39209
+ * @returns {$protobuf.Writer} Writer
39210
+ */
39211
+ AtlasEntry.encodeDelimited = function encodeDelimited(message, writer) {
39212
+ return this.encode(message, writer).ldelim();
39213
+ };
39214
+
39215
+ /**
39216
+ * Decodes an AtlasEntry message from the specified reader or buffer.
39217
+ * @function decode
39218
+ * @memberof sesame.v1.sidedata.AtlasEntry
39219
+ * @static
39220
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39221
+ * @param {number} [length] Message length if known beforehand
39222
+ * @returns {sesame.v1.sidedata.AtlasEntry} AtlasEntry
39223
+ * @throws {Error} If the payload is not a reader or valid buffer
39224
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39225
+ */
39226
+ AtlasEntry.decode = function decode(reader, length, error) {
39227
+ if (!(reader instanceof $Reader))
39228
+ reader = $Reader.create(reader);
39229
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.sidedata.AtlasEntry();
39230
+ while (reader.pos < end) {
39231
+ let tag = reader.uint32();
39232
+ if (tag === error)
39233
+ break;
39234
+ switch (tag >>> 3) {
39235
+ case 1: {
39236
+ message.sourceId = reader.string();
39237
+ break;
39238
+ }
39239
+ case 2: {
39240
+ message.x = reader.uint32();
39241
+ break;
39242
+ }
39243
+ case 3: {
39244
+ message.y = reader.uint32();
39245
+ break;
39246
+ }
39247
+ case 4: {
39248
+ message.width = reader.uint32();
39249
+ break;
39250
+ }
39251
+ case 5: {
39252
+ message.height = reader.uint32();
39253
+ break;
39254
+ }
39255
+ case 6: {
39256
+ message.sourceWidth = reader.uint32();
39257
+ break;
39258
+ }
39259
+ case 7: {
39260
+ message.sourceHeight = reader.uint32();
39261
+ break;
39262
+ }
39263
+ default:
39264
+ reader.skipType(tag & 7);
39265
+ break;
39266
+ }
39267
+ }
39268
+ return message;
39269
+ };
39270
+
39271
+ /**
39272
+ * Decodes an AtlasEntry message from the specified reader or buffer, length delimited.
39273
+ * @function decodeDelimited
39274
+ * @memberof sesame.v1.sidedata.AtlasEntry
39275
+ * @static
39276
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39277
+ * @returns {sesame.v1.sidedata.AtlasEntry} AtlasEntry
39278
+ * @throws {Error} If the payload is not a reader or valid buffer
39279
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39280
+ */
39281
+ AtlasEntry.decodeDelimited = function decodeDelimited(reader) {
39282
+ if (!(reader instanceof $Reader))
39283
+ reader = new $Reader(reader);
39284
+ return this.decode(reader, reader.uint32());
39285
+ };
39286
+
39287
+ /**
39288
+ * Verifies an AtlasEntry message.
39289
+ * @function verify
39290
+ * @memberof sesame.v1.sidedata.AtlasEntry
39291
+ * @static
39292
+ * @param {Object.<string,*>} message Plain object to verify
39293
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
39294
+ */
39295
+ AtlasEntry.verify = function verify(message) {
39296
+ if (typeof message !== "object" || message === null)
39297
+ return "object expected";
39298
+ if (message.sourceId != null && message.hasOwnProperty("sourceId"))
39299
+ if (!$util.isString(message.sourceId))
39300
+ return "sourceId: string expected";
39301
+ if (message.x != null && message.hasOwnProperty("x"))
39302
+ if (!$util.isInteger(message.x))
39303
+ return "x: integer expected";
39304
+ if (message.y != null && message.hasOwnProperty("y"))
39305
+ if (!$util.isInteger(message.y))
39306
+ return "y: integer expected";
39307
+ if (message.width != null && message.hasOwnProperty("width"))
39308
+ if (!$util.isInteger(message.width))
39309
+ return "width: integer expected";
39310
+ if (message.height != null && message.hasOwnProperty("height"))
39311
+ if (!$util.isInteger(message.height))
39312
+ return "height: integer expected";
39313
+ if (message.sourceWidth != null && message.hasOwnProperty("sourceWidth"))
39314
+ if (!$util.isInteger(message.sourceWidth))
39315
+ return "sourceWidth: integer expected";
39316
+ if (message.sourceHeight != null && message.hasOwnProperty("sourceHeight"))
39317
+ if (!$util.isInteger(message.sourceHeight))
39318
+ return "sourceHeight: integer expected";
39319
+ return null;
39320
+ };
39321
+
39322
+ /**
39323
+ * Creates an AtlasEntry message from a plain object. Also converts values to their respective internal types.
39324
+ * @function fromObject
39325
+ * @memberof sesame.v1.sidedata.AtlasEntry
39326
+ * @static
39327
+ * @param {Object.<string,*>} object Plain object
39328
+ * @returns {sesame.v1.sidedata.AtlasEntry} AtlasEntry
39329
+ */
39330
+ AtlasEntry.fromObject = function fromObject(object) {
39331
+ if (object instanceof $root.sesame.v1.sidedata.AtlasEntry)
39332
+ return object;
39333
+ let message = new $root.sesame.v1.sidedata.AtlasEntry();
39334
+ if (object.sourceId != null)
39335
+ message.sourceId = String(object.sourceId);
39336
+ if (object.x != null)
39337
+ message.x = object.x >>> 0;
39338
+ if (object.y != null)
39339
+ message.y = object.y >>> 0;
39340
+ if (object.width != null)
39341
+ message.width = object.width >>> 0;
39342
+ if (object.height != null)
39343
+ message.height = object.height >>> 0;
39344
+ if (object.sourceWidth != null)
39345
+ message.sourceWidth = object.sourceWidth >>> 0;
39346
+ if (object.sourceHeight != null)
39347
+ message.sourceHeight = object.sourceHeight >>> 0;
39348
+ return message;
39349
+ };
39350
+
39351
+ /**
39352
+ * Creates a plain object from an AtlasEntry message. Also converts values to other types if specified.
39353
+ * @function toObject
39354
+ * @memberof sesame.v1.sidedata.AtlasEntry
39355
+ * @static
39356
+ * @param {sesame.v1.sidedata.AtlasEntry} message AtlasEntry
39357
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
39358
+ * @returns {Object.<string,*>} Plain object
39359
+ */
39360
+ AtlasEntry.toObject = function toObject(message, options) {
39361
+ if (!options)
39362
+ options = {};
39363
+ let object = {};
39364
+ if (options.defaults) {
39365
+ object.sourceId = "";
39366
+ object.x = 0;
39367
+ object.y = 0;
39368
+ object.width = 0;
39369
+ object.height = 0;
39370
+ object.sourceWidth = 0;
39371
+ object.sourceHeight = 0;
39372
+ }
39373
+ if (message.sourceId != null && message.hasOwnProperty("sourceId"))
39374
+ object.sourceId = message.sourceId;
39375
+ if (message.x != null && message.hasOwnProperty("x"))
39376
+ object.x = message.x;
39377
+ if (message.y != null && message.hasOwnProperty("y"))
39378
+ object.y = message.y;
39379
+ if (message.width != null && message.hasOwnProperty("width"))
39380
+ object.width = message.width;
39381
+ if (message.height != null && message.hasOwnProperty("height"))
39382
+ object.height = message.height;
39383
+ if (message.sourceWidth != null && message.hasOwnProperty("sourceWidth"))
39384
+ object.sourceWidth = message.sourceWidth;
39385
+ if (message.sourceHeight != null && message.hasOwnProperty("sourceHeight"))
39386
+ object.sourceHeight = message.sourceHeight;
39387
+ return object;
39388
+ };
39389
+
39390
+ /**
39391
+ * Converts this AtlasEntry to JSON.
39392
+ * @function toJSON
39393
+ * @memberof sesame.v1.sidedata.AtlasEntry
39394
+ * @instance
39395
+ * @returns {Object.<string,*>} JSON object
39396
+ */
39397
+ AtlasEntry.prototype.toJSON = function toJSON() {
39398
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
39399
+ };
39400
+
39401
+ /**
39402
+ * Gets the default type url for AtlasEntry
39403
+ * @function getTypeUrl
39404
+ * @memberof sesame.v1.sidedata.AtlasEntry
39405
+ * @static
39406
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
39407
+ * @returns {string} The default type url
39408
+ */
39409
+ AtlasEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
39410
+ if (typeUrlPrefix === undefined) {
39411
+ typeUrlPrefix = "type.googleapis.com";
39412
+ }
39413
+ return typeUrlPrefix + "/sesame.v1.sidedata.AtlasEntry";
39414
+ };
39415
+
39416
+ return AtlasEntry;
39417
+ })();
39418
+
39419
+ sidedata.AtlasLayout = (function() {
39420
+
39421
+ /**
39422
+ * Properties of an AtlasLayout.
39423
+ * @memberof sesame.v1.sidedata
39424
+ * @interface IAtlasLayout
39425
+ * @property {number|null} [width] AtlasLayout width
39426
+ * @property {number|null} [height] AtlasLayout height
39427
+ * @property {Array.<sesame.v1.sidedata.IAtlasEntry>|null} [entries] AtlasLayout entries
39428
+ */
39429
+
39430
+ /**
39431
+ * Constructs a new AtlasLayout.
39432
+ * @memberof sesame.v1.sidedata
39433
+ * @classdesc Represents an AtlasLayout.
39434
+ * @implements IAtlasLayout
39435
+ * @constructor
39436
+ * @param {sesame.v1.sidedata.IAtlasLayout=} [properties] Properties to set
39437
+ */
39438
+ function AtlasLayout(properties) {
39439
+ this.entries = [];
39440
+ if (properties)
39441
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39442
+ if (properties[keys[i]] != null)
39443
+ this[keys[i]] = properties[keys[i]];
39444
+ }
39445
+
39446
+ /**
39447
+ * AtlasLayout width.
39448
+ * @member {number} width
39449
+ * @memberof sesame.v1.sidedata.AtlasLayout
39450
+ * @instance
39451
+ */
39452
+ AtlasLayout.prototype.width = 0;
39453
+
39454
+ /**
39455
+ * AtlasLayout height.
39456
+ * @member {number} height
39457
+ * @memberof sesame.v1.sidedata.AtlasLayout
39458
+ * @instance
39459
+ */
39460
+ AtlasLayout.prototype.height = 0;
39461
+
39462
+ /**
39463
+ * AtlasLayout entries.
39464
+ * @member {Array.<sesame.v1.sidedata.IAtlasEntry>} entries
39465
+ * @memberof sesame.v1.sidedata.AtlasLayout
39466
+ * @instance
39467
+ */
39468
+ AtlasLayout.prototype.entries = $util.emptyArray;
39469
+
39470
+ /**
39471
+ * Creates a new AtlasLayout instance using the specified properties.
39472
+ * @function create
39473
+ * @memberof sesame.v1.sidedata.AtlasLayout
39474
+ * @static
39475
+ * @param {sesame.v1.sidedata.IAtlasLayout=} [properties] Properties to set
39476
+ * @returns {sesame.v1.sidedata.AtlasLayout} AtlasLayout instance
39477
+ */
39478
+ AtlasLayout.create = function create(properties) {
39479
+ return new AtlasLayout(properties);
39480
+ };
39481
+
39482
+ /**
39483
+ * Encodes the specified AtlasLayout message. Does not implicitly {@link sesame.v1.sidedata.AtlasLayout.verify|verify} messages.
39484
+ * @function encode
39485
+ * @memberof sesame.v1.sidedata.AtlasLayout
39486
+ * @static
39487
+ * @param {sesame.v1.sidedata.IAtlasLayout} message AtlasLayout message or plain object to encode
39488
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39489
+ * @returns {$protobuf.Writer} Writer
39490
+ */
39491
+ AtlasLayout.encode = function encode(message, writer) {
39492
+ if (!writer)
39493
+ writer = $Writer.create();
39494
+ if (message.width != null && Object.hasOwnProperty.call(message, "width"))
39495
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.width);
39496
+ if (message.height != null && Object.hasOwnProperty.call(message, "height"))
39497
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.height);
39498
+ if (message.entries != null && message.entries.length)
39499
+ for (let i = 0; i < message.entries.length; ++i)
39500
+ $root.sesame.v1.sidedata.AtlasEntry.encode(message.entries[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
39501
+ return writer;
39502
+ };
39503
+
39504
+ /**
39505
+ * Encodes the specified AtlasLayout message, length delimited. Does not implicitly {@link sesame.v1.sidedata.AtlasLayout.verify|verify} messages.
39506
+ * @function encodeDelimited
39507
+ * @memberof sesame.v1.sidedata.AtlasLayout
39508
+ * @static
39509
+ * @param {sesame.v1.sidedata.IAtlasLayout} message AtlasLayout message or plain object to encode
39510
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39511
+ * @returns {$protobuf.Writer} Writer
39512
+ */
39513
+ AtlasLayout.encodeDelimited = function encodeDelimited(message, writer) {
39514
+ return this.encode(message, writer).ldelim();
39515
+ };
39516
+
39517
+ /**
39518
+ * Decodes an AtlasLayout message from the specified reader or buffer.
39519
+ * @function decode
39520
+ * @memberof sesame.v1.sidedata.AtlasLayout
39521
+ * @static
39522
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39523
+ * @param {number} [length] Message length if known beforehand
39524
+ * @returns {sesame.v1.sidedata.AtlasLayout} AtlasLayout
39525
+ * @throws {Error} If the payload is not a reader or valid buffer
39526
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39527
+ */
39528
+ AtlasLayout.decode = function decode(reader, length, error) {
39529
+ if (!(reader instanceof $Reader))
39530
+ reader = $Reader.create(reader);
39531
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.sidedata.AtlasLayout();
39532
+ while (reader.pos < end) {
39533
+ let tag = reader.uint32();
39534
+ if (tag === error)
39535
+ break;
39536
+ switch (tag >>> 3) {
39537
+ case 1: {
39538
+ message.width = reader.uint32();
39539
+ break;
39540
+ }
39541
+ case 2: {
39542
+ message.height = reader.uint32();
39543
+ break;
39544
+ }
39545
+ case 3: {
39546
+ if (!(message.entries && message.entries.length))
39547
+ message.entries = [];
39548
+ message.entries.push($root.sesame.v1.sidedata.AtlasEntry.decode(reader, reader.uint32()));
39549
+ break;
39550
+ }
39551
+ default:
39552
+ reader.skipType(tag & 7);
39553
+ break;
39554
+ }
39555
+ }
39556
+ return message;
39557
+ };
39558
+
39559
+ /**
39560
+ * Decodes an AtlasLayout message from the specified reader or buffer, length delimited.
39561
+ * @function decodeDelimited
39562
+ * @memberof sesame.v1.sidedata.AtlasLayout
39563
+ * @static
39564
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39565
+ * @returns {sesame.v1.sidedata.AtlasLayout} AtlasLayout
39566
+ * @throws {Error} If the payload is not a reader or valid buffer
39567
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39568
+ */
39569
+ AtlasLayout.decodeDelimited = function decodeDelimited(reader) {
39570
+ if (!(reader instanceof $Reader))
39571
+ reader = new $Reader(reader);
39572
+ return this.decode(reader, reader.uint32());
39573
+ };
39574
+
39575
+ /**
39576
+ * Verifies an AtlasLayout message.
39577
+ * @function verify
39578
+ * @memberof sesame.v1.sidedata.AtlasLayout
39579
+ * @static
39580
+ * @param {Object.<string,*>} message Plain object to verify
39581
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
39582
+ */
39583
+ AtlasLayout.verify = function verify(message) {
39584
+ if (typeof message !== "object" || message === null)
39585
+ return "object expected";
39586
+ if (message.width != null && message.hasOwnProperty("width"))
39587
+ if (!$util.isInteger(message.width))
39588
+ return "width: integer expected";
39589
+ if (message.height != null && message.hasOwnProperty("height"))
39590
+ if (!$util.isInteger(message.height))
39591
+ return "height: integer expected";
39592
+ if (message.entries != null && message.hasOwnProperty("entries")) {
39593
+ if (!Array.isArray(message.entries))
39594
+ return "entries: array expected";
39595
+ for (let i = 0; i < message.entries.length; ++i) {
39596
+ let error = $root.sesame.v1.sidedata.AtlasEntry.verify(message.entries[i]);
39597
+ if (error)
39598
+ return "entries." + error;
39599
+ }
39600
+ }
39601
+ return null;
39602
+ };
39603
+
39604
+ /**
39605
+ * Creates an AtlasLayout message from a plain object. Also converts values to their respective internal types.
39606
+ * @function fromObject
39607
+ * @memberof sesame.v1.sidedata.AtlasLayout
39608
+ * @static
39609
+ * @param {Object.<string,*>} object Plain object
39610
+ * @returns {sesame.v1.sidedata.AtlasLayout} AtlasLayout
39611
+ */
39612
+ AtlasLayout.fromObject = function fromObject(object) {
39613
+ if (object instanceof $root.sesame.v1.sidedata.AtlasLayout)
39614
+ return object;
39615
+ let message = new $root.sesame.v1.sidedata.AtlasLayout();
39616
+ if (object.width != null)
39617
+ message.width = object.width >>> 0;
39618
+ if (object.height != null)
39619
+ message.height = object.height >>> 0;
39620
+ if (object.entries) {
39621
+ if (!Array.isArray(object.entries))
39622
+ throw TypeError(".sesame.v1.sidedata.AtlasLayout.entries: array expected");
39623
+ message.entries = [];
39624
+ for (let i = 0; i < object.entries.length; ++i) {
39625
+ if (typeof object.entries[i] !== "object")
39626
+ throw TypeError(".sesame.v1.sidedata.AtlasLayout.entries: object expected");
39627
+ message.entries[i] = $root.sesame.v1.sidedata.AtlasEntry.fromObject(object.entries[i]);
39628
+ }
39629
+ }
39630
+ return message;
39631
+ };
39632
+
39633
+ /**
39634
+ * Creates a plain object from an AtlasLayout message. Also converts values to other types if specified.
39635
+ * @function toObject
39636
+ * @memberof sesame.v1.sidedata.AtlasLayout
39637
+ * @static
39638
+ * @param {sesame.v1.sidedata.AtlasLayout} message AtlasLayout
39639
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
39640
+ * @returns {Object.<string,*>} Plain object
39641
+ */
39642
+ AtlasLayout.toObject = function toObject(message, options) {
39643
+ if (!options)
39644
+ options = {};
39645
+ let object = {};
39646
+ if (options.arrays || options.defaults)
39647
+ object.entries = [];
39648
+ if (options.defaults) {
39649
+ object.width = 0;
39650
+ object.height = 0;
39651
+ }
39652
+ if (message.width != null && message.hasOwnProperty("width"))
39653
+ object.width = message.width;
39654
+ if (message.height != null && message.hasOwnProperty("height"))
39655
+ object.height = message.height;
39656
+ if (message.entries && message.entries.length) {
39657
+ object.entries = [];
39658
+ for (let j = 0; j < message.entries.length; ++j)
39659
+ object.entries[j] = $root.sesame.v1.sidedata.AtlasEntry.toObject(message.entries[j], options);
39660
+ }
39661
+ return object;
39662
+ };
39663
+
39664
+ /**
39665
+ * Converts this AtlasLayout to JSON.
39666
+ * @function toJSON
39667
+ * @memberof sesame.v1.sidedata.AtlasLayout
39668
+ * @instance
39669
+ * @returns {Object.<string,*>} JSON object
39670
+ */
39671
+ AtlasLayout.prototype.toJSON = function toJSON() {
39672
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
39673
+ };
39674
+
39675
+ /**
39676
+ * Gets the default type url for AtlasLayout
39677
+ * @function getTypeUrl
39678
+ * @memberof sesame.v1.sidedata.AtlasLayout
39679
+ * @static
39680
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
39681
+ * @returns {string} The default type url
39682
+ */
39683
+ AtlasLayout.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
39684
+ if (typeUrlPrefix === undefined) {
39685
+ typeUrlPrefix = "type.googleapis.com";
39686
+ }
39687
+ return typeUrlPrefix + "/sesame.v1.sidedata.AtlasLayout";
39688
+ };
39689
+
39690
+ return AtlasLayout;
39691
+ })();
39692
+
39693
+ sidedata.SideData = (function() {
39694
+
39695
+ /**
39696
+ * Properties of a SideData.
39697
+ * @memberof sesame.v1.sidedata
39698
+ * @interface ISideData
39699
+ * @property {string|null} [id] SideData id
39700
+ * @property {number|Long|null} [version] SideData version
39701
+ * @property {sesame.v1.sidedata.IAtlasLayout|null} [atlas] SideData atlas
39702
+ * @property {string|null} [json] SideData json
39703
+ * @property {Uint8Array|null} [binary] SideData binary
39704
+ */
39705
+
39706
+ /**
39707
+ * Constructs a new SideData.
39708
+ * @memberof sesame.v1.sidedata
39709
+ * @classdesc Represents a SideData.
39710
+ * @implements ISideData
39711
+ * @constructor
39712
+ * @param {sesame.v1.sidedata.ISideData=} [properties] Properties to set
39713
+ */
39714
+ function SideData(properties) {
39715
+ if (properties)
39716
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39717
+ if (properties[keys[i]] != null)
39718
+ this[keys[i]] = properties[keys[i]];
39719
+ }
39720
+
39721
+ /**
39722
+ * SideData id.
39723
+ * @member {string} id
39724
+ * @memberof sesame.v1.sidedata.SideData
39725
+ * @instance
39726
+ */
39727
+ SideData.prototype.id = "";
39728
+
39729
+ /**
39730
+ * SideData version.
39731
+ * @member {number|Long} version
39732
+ * @memberof sesame.v1.sidedata.SideData
39733
+ * @instance
39734
+ */
39735
+ SideData.prototype.version = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
39736
+
39737
+ /**
39738
+ * SideData atlas.
39739
+ * @member {sesame.v1.sidedata.IAtlasLayout|null|undefined} atlas
39740
+ * @memberof sesame.v1.sidedata.SideData
39741
+ * @instance
39742
+ */
39743
+ SideData.prototype.atlas = null;
39744
+
39745
+ /**
39746
+ * SideData json.
39747
+ * @member {string|null|undefined} json
39748
+ * @memberof sesame.v1.sidedata.SideData
39749
+ * @instance
39750
+ */
39751
+ SideData.prototype.json = null;
39752
+
39753
+ /**
39754
+ * SideData binary.
39755
+ * @member {Uint8Array|null|undefined} binary
39756
+ * @memberof sesame.v1.sidedata.SideData
39757
+ * @instance
39758
+ */
39759
+ SideData.prototype.binary = null;
39760
+
39761
+ // OneOf field names bound to virtual getters and setters
39762
+ let $oneOfFields;
39763
+
39764
+ /**
39765
+ * SideData payload.
39766
+ * @member {"atlas"|"json"|"binary"|undefined} payload
39767
+ * @memberof sesame.v1.sidedata.SideData
39768
+ * @instance
39769
+ */
39770
+ Object.defineProperty(SideData.prototype, "payload", {
39771
+ get: $util.oneOfGetter($oneOfFields = ["atlas", "json", "binary"]),
39772
+ set: $util.oneOfSetter($oneOfFields)
39773
+ });
39774
+
39775
+ /**
39776
+ * Creates a new SideData instance using the specified properties.
39777
+ * @function create
39778
+ * @memberof sesame.v1.sidedata.SideData
39779
+ * @static
39780
+ * @param {sesame.v1.sidedata.ISideData=} [properties] Properties to set
39781
+ * @returns {sesame.v1.sidedata.SideData} SideData instance
39782
+ */
39783
+ SideData.create = function create(properties) {
39784
+ return new SideData(properties);
39785
+ };
39786
+
39787
+ /**
39788
+ * Encodes the specified SideData message. Does not implicitly {@link sesame.v1.sidedata.SideData.verify|verify} messages.
39789
+ * @function encode
39790
+ * @memberof sesame.v1.sidedata.SideData
39791
+ * @static
39792
+ * @param {sesame.v1.sidedata.ISideData} message SideData message or plain object to encode
39793
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39794
+ * @returns {$protobuf.Writer} Writer
39795
+ */
39796
+ SideData.encode = function encode(message, writer) {
39797
+ if (!writer)
39798
+ writer = $Writer.create();
39799
+ if (message.id != null && Object.hasOwnProperty.call(message, "id"))
39800
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
39801
+ if (message.version != null && Object.hasOwnProperty.call(message, "version"))
39802
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.version);
39803
+ if (message.atlas != null && Object.hasOwnProperty.call(message, "atlas"))
39804
+ $root.sesame.v1.sidedata.AtlasLayout.encode(message.atlas, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
39805
+ if (message.json != null && Object.hasOwnProperty.call(message, "json"))
39806
+ writer.uint32(/* id 20, wireType 2 =*/162).string(message.json);
39807
+ if (message.binary != null && Object.hasOwnProperty.call(message, "binary"))
39808
+ writer.uint32(/* id 21, wireType 2 =*/170).bytes(message.binary);
39809
+ return writer;
39810
+ };
39811
+
39812
+ /**
39813
+ * Encodes the specified SideData message, length delimited. Does not implicitly {@link sesame.v1.sidedata.SideData.verify|verify} messages.
39814
+ * @function encodeDelimited
39815
+ * @memberof sesame.v1.sidedata.SideData
39816
+ * @static
39817
+ * @param {sesame.v1.sidedata.ISideData} message SideData message or plain object to encode
39818
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39819
+ * @returns {$protobuf.Writer} Writer
39820
+ */
39821
+ SideData.encodeDelimited = function encodeDelimited(message, writer) {
39822
+ return this.encode(message, writer).ldelim();
39823
+ };
39824
+
39825
+ /**
39826
+ * Decodes a SideData message from the specified reader or buffer.
39827
+ * @function decode
39828
+ * @memberof sesame.v1.sidedata.SideData
39829
+ * @static
39830
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39831
+ * @param {number} [length] Message length if known beforehand
39832
+ * @returns {sesame.v1.sidedata.SideData} SideData
39833
+ * @throws {Error} If the payload is not a reader or valid buffer
39834
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39835
+ */
39836
+ SideData.decode = function decode(reader, length, error) {
39837
+ if (!(reader instanceof $Reader))
39838
+ reader = $Reader.create(reader);
39839
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.sidedata.SideData();
39840
+ while (reader.pos < end) {
39841
+ let tag = reader.uint32();
39842
+ if (tag === error)
39843
+ break;
39844
+ switch (tag >>> 3) {
39845
+ case 1: {
39846
+ message.id = reader.string();
39847
+ break;
39848
+ }
39849
+ case 2: {
39850
+ message.version = reader.uint64();
39851
+ break;
39852
+ }
39853
+ case 10: {
39854
+ message.atlas = $root.sesame.v1.sidedata.AtlasLayout.decode(reader, reader.uint32());
39855
+ break;
39856
+ }
39857
+ case 20: {
39858
+ message.json = reader.string();
39859
+ break;
39860
+ }
39861
+ case 21: {
39862
+ message.binary = reader.bytes();
39863
+ break;
39864
+ }
39865
+ default:
39866
+ reader.skipType(tag & 7);
39867
+ break;
39868
+ }
39869
+ }
39870
+ return message;
39871
+ };
39872
+
39873
+ /**
39874
+ * Decodes a SideData message from the specified reader or buffer, length delimited.
39875
+ * @function decodeDelimited
39876
+ * @memberof sesame.v1.sidedata.SideData
39877
+ * @static
39878
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39879
+ * @returns {sesame.v1.sidedata.SideData} SideData
39880
+ * @throws {Error} If the payload is not a reader or valid buffer
39881
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39882
+ */
39883
+ SideData.decodeDelimited = function decodeDelimited(reader) {
39884
+ if (!(reader instanceof $Reader))
39885
+ reader = new $Reader(reader);
39886
+ return this.decode(reader, reader.uint32());
39887
+ };
39888
+
39889
+ /**
39890
+ * Verifies a SideData message.
39891
+ * @function verify
39892
+ * @memberof sesame.v1.sidedata.SideData
39893
+ * @static
39894
+ * @param {Object.<string,*>} message Plain object to verify
39895
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
39896
+ */
39897
+ SideData.verify = function verify(message) {
39898
+ if (typeof message !== "object" || message === null)
39899
+ return "object expected";
39900
+ let properties = {};
39901
+ if (message.id != null && message.hasOwnProperty("id"))
39902
+ if (!$util.isString(message.id))
39903
+ return "id: string expected";
39904
+ if (message.version != null && message.hasOwnProperty("version"))
39905
+ if (!$util.isInteger(message.version) && !(message.version && $util.isInteger(message.version.low) && $util.isInteger(message.version.high)))
39906
+ return "version: integer|Long expected";
39907
+ if (message.atlas != null && message.hasOwnProperty("atlas")) {
39908
+ properties.payload = 1;
39909
+ {
39910
+ let error = $root.sesame.v1.sidedata.AtlasLayout.verify(message.atlas);
39911
+ if (error)
39912
+ return "atlas." + error;
39913
+ }
39914
+ }
39915
+ if (message.json != null && message.hasOwnProperty("json")) {
39916
+ if (properties.payload === 1)
39917
+ return "payload: multiple values";
39918
+ properties.payload = 1;
39919
+ if (!$util.isString(message.json))
39920
+ return "json: string expected";
39921
+ }
39922
+ if (message.binary != null && message.hasOwnProperty("binary")) {
39923
+ if (properties.payload === 1)
39924
+ return "payload: multiple values";
39925
+ properties.payload = 1;
39926
+ if (!(message.binary && typeof message.binary.length === "number" || $util.isString(message.binary)))
39927
+ return "binary: buffer expected";
39928
+ }
39929
+ return null;
39930
+ };
39931
+
39932
+ /**
39933
+ * Creates a SideData message from a plain object. Also converts values to their respective internal types.
39934
+ * @function fromObject
39935
+ * @memberof sesame.v1.sidedata.SideData
39936
+ * @static
39937
+ * @param {Object.<string,*>} object Plain object
39938
+ * @returns {sesame.v1.sidedata.SideData} SideData
39939
+ */
39940
+ SideData.fromObject = function fromObject(object) {
39941
+ if (object instanceof $root.sesame.v1.sidedata.SideData)
39942
+ return object;
39943
+ let message = new $root.sesame.v1.sidedata.SideData();
39944
+ if (object.id != null)
39945
+ message.id = String(object.id);
39946
+ if (object.version != null)
39947
+ if ($util.Long)
39948
+ (message.version = $util.Long.fromValue(object.version)).unsigned = true;
39949
+ else if (typeof object.version === "string")
39950
+ message.version = parseInt(object.version, 10);
39951
+ else if (typeof object.version === "number")
39952
+ message.version = object.version;
39953
+ else if (typeof object.version === "object")
39954
+ message.version = new $util.LongBits(object.version.low >>> 0, object.version.high >>> 0).toNumber(true);
39955
+ if (object.atlas != null) {
39956
+ if (typeof object.atlas !== "object")
39957
+ throw TypeError(".sesame.v1.sidedata.SideData.atlas: object expected");
39958
+ message.atlas = $root.sesame.v1.sidedata.AtlasLayout.fromObject(object.atlas);
39959
+ }
39960
+ if (object.json != null)
39961
+ message.json = String(object.json);
39962
+ if (object.binary != null)
39963
+ if (typeof object.binary === "string")
39964
+ $util.base64.decode(object.binary, message.binary = $util.newBuffer($util.base64.length(object.binary)), 0);
39965
+ else if (object.binary.length >= 0)
39966
+ message.binary = object.binary;
39967
+ return message;
39968
+ };
39969
+
39970
+ /**
39971
+ * Creates a plain object from a SideData message. Also converts values to other types if specified.
39972
+ * @function toObject
39973
+ * @memberof sesame.v1.sidedata.SideData
39974
+ * @static
39975
+ * @param {sesame.v1.sidedata.SideData} message SideData
39976
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
39977
+ * @returns {Object.<string,*>} Plain object
39978
+ */
39979
+ SideData.toObject = function toObject(message, options) {
39980
+ if (!options)
39981
+ options = {};
39982
+ let object = {};
39983
+ if (options.defaults) {
39984
+ object.id = "";
39985
+ if ($util.Long) {
39986
+ let long = new $util.Long(0, 0, true);
39987
+ object.version = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
39988
+ } else
39989
+ object.version = options.longs === String ? "0" : 0;
39990
+ }
39991
+ if (message.id != null && message.hasOwnProperty("id"))
39992
+ object.id = message.id;
39993
+ if (message.version != null && message.hasOwnProperty("version"))
39994
+ if (typeof message.version === "number")
39995
+ object.version = options.longs === String ? String(message.version) : message.version;
39996
+ else
39997
+ object.version = options.longs === String ? $util.Long.prototype.toString.call(message.version) : options.longs === Number ? new $util.LongBits(message.version.low >>> 0, message.version.high >>> 0).toNumber(true) : message.version;
39998
+ if (message.atlas != null && message.hasOwnProperty("atlas")) {
39999
+ object.atlas = $root.sesame.v1.sidedata.AtlasLayout.toObject(message.atlas, options);
40000
+ if (options.oneofs)
40001
+ object.payload = "atlas";
40002
+ }
40003
+ if (message.json != null && message.hasOwnProperty("json")) {
40004
+ object.json = message.json;
40005
+ if (options.oneofs)
40006
+ object.payload = "json";
40007
+ }
40008
+ if (message.binary != null && message.hasOwnProperty("binary")) {
40009
+ object.binary = options.bytes === String ? $util.base64.encode(message.binary, 0, message.binary.length) : options.bytes === Array ? Array.prototype.slice.call(message.binary) : message.binary;
40010
+ if (options.oneofs)
40011
+ object.payload = "binary";
40012
+ }
40013
+ return object;
40014
+ };
40015
+
40016
+ /**
40017
+ * Converts this SideData to JSON.
40018
+ * @function toJSON
40019
+ * @memberof sesame.v1.sidedata.SideData
40020
+ * @instance
40021
+ * @returns {Object.<string,*>} JSON object
40022
+ */
40023
+ SideData.prototype.toJSON = function toJSON() {
40024
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
40025
+ };
40026
+
40027
+ /**
40028
+ * Gets the default type url for SideData
40029
+ * @function getTypeUrl
40030
+ * @memberof sesame.v1.sidedata.SideData
40031
+ * @static
40032
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40033
+ * @returns {string} The default type url
40034
+ */
40035
+ SideData.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
40036
+ if (typeUrlPrefix === undefined) {
40037
+ typeUrlPrefix = "type.googleapis.com";
40038
+ }
40039
+ return typeUrlPrefix + "/sesame.v1.sidedata.SideData";
40040
+ };
40041
+
40042
+ return SideData;
40043
+ })();
40044
+
40045
+ sidedata.SideDataSet = (function() {
40046
+
40047
+ /**
40048
+ * Properties of a SideDataSet.
40049
+ * @memberof sesame.v1.sidedata
40050
+ * @interface ISideDataSet
40051
+ * @property {Array.<sesame.v1.sidedata.ISideData>|null} [entries] SideDataSet entries
40052
+ */
40053
+
40054
+ /**
40055
+ * Constructs a new SideDataSet.
40056
+ * @memberof sesame.v1.sidedata
40057
+ * @classdesc Represents a SideDataSet.
40058
+ * @implements ISideDataSet
40059
+ * @constructor
40060
+ * @param {sesame.v1.sidedata.ISideDataSet=} [properties] Properties to set
40061
+ */
40062
+ function SideDataSet(properties) {
40063
+ this.entries = [];
40064
+ if (properties)
40065
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
40066
+ if (properties[keys[i]] != null)
40067
+ this[keys[i]] = properties[keys[i]];
40068
+ }
40069
+
40070
+ /**
40071
+ * SideDataSet entries.
40072
+ * @member {Array.<sesame.v1.sidedata.ISideData>} entries
40073
+ * @memberof sesame.v1.sidedata.SideDataSet
40074
+ * @instance
40075
+ */
40076
+ SideDataSet.prototype.entries = $util.emptyArray;
40077
+
40078
+ /**
40079
+ * Creates a new SideDataSet instance using the specified properties.
40080
+ * @function create
40081
+ * @memberof sesame.v1.sidedata.SideDataSet
40082
+ * @static
40083
+ * @param {sesame.v1.sidedata.ISideDataSet=} [properties] Properties to set
40084
+ * @returns {sesame.v1.sidedata.SideDataSet} SideDataSet instance
40085
+ */
40086
+ SideDataSet.create = function create(properties) {
40087
+ return new SideDataSet(properties);
40088
+ };
40089
+
40090
+ /**
40091
+ * Encodes the specified SideDataSet message. Does not implicitly {@link sesame.v1.sidedata.SideDataSet.verify|verify} messages.
40092
+ * @function encode
40093
+ * @memberof sesame.v1.sidedata.SideDataSet
40094
+ * @static
40095
+ * @param {sesame.v1.sidedata.ISideDataSet} message SideDataSet message or plain object to encode
40096
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40097
+ * @returns {$protobuf.Writer} Writer
40098
+ */
40099
+ SideDataSet.encode = function encode(message, writer) {
40100
+ if (!writer)
40101
+ writer = $Writer.create();
40102
+ if (message.entries != null && message.entries.length)
40103
+ for (let i = 0; i < message.entries.length; ++i)
40104
+ $root.sesame.v1.sidedata.SideData.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
40105
+ return writer;
40106
+ };
40107
+
40108
+ /**
40109
+ * Encodes the specified SideDataSet message, length delimited. Does not implicitly {@link sesame.v1.sidedata.SideDataSet.verify|verify} messages.
40110
+ * @function encodeDelimited
40111
+ * @memberof sesame.v1.sidedata.SideDataSet
40112
+ * @static
40113
+ * @param {sesame.v1.sidedata.ISideDataSet} message SideDataSet message or plain object to encode
40114
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40115
+ * @returns {$protobuf.Writer} Writer
40116
+ */
40117
+ SideDataSet.encodeDelimited = function encodeDelimited(message, writer) {
40118
+ return this.encode(message, writer).ldelim();
40119
+ };
40120
+
40121
+ /**
40122
+ * Decodes a SideDataSet message from the specified reader or buffer.
40123
+ * @function decode
40124
+ * @memberof sesame.v1.sidedata.SideDataSet
40125
+ * @static
40126
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40127
+ * @param {number} [length] Message length if known beforehand
40128
+ * @returns {sesame.v1.sidedata.SideDataSet} SideDataSet
40129
+ * @throws {Error} If the payload is not a reader or valid buffer
40130
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40131
+ */
40132
+ SideDataSet.decode = function decode(reader, length, error) {
40133
+ if (!(reader instanceof $Reader))
40134
+ reader = $Reader.create(reader);
40135
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.sidedata.SideDataSet();
40136
+ while (reader.pos < end) {
40137
+ let tag = reader.uint32();
40138
+ if (tag === error)
40139
+ break;
40140
+ switch (tag >>> 3) {
40141
+ case 1: {
40142
+ if (!(message.entries && message.entries.length))
40143
+ message.entries = [];
40144
+ message.entries.push($root.sesame.v1.sidedata.SideData.decode(reader, reader.uint32()));
40145
+ break;
40146
+ }
40147
+ default:
40148
+ reader.skipType(tag & 7);
40149
+ break;
40150
+ }
40151
+ }
40152
+ return message;
40153
+ };
40154
+
40155
+ /**
40156
+ * Decodes a SideDataSet message from the specified reader or buffer, length delimited.
40157
+ * @function decodeDelimited
40158
+ * @memberof sesame.v1.sidedata.SideDataSet
40159
+ * @static
40160
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40161
+ * @returns {sesame.v1.sidedata.SideDataSet} SideDataSet
40162
+ * @throws {Error} If the payload is not a reader or valid buffer
40163
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40164
+ */
40165
+ SideDataSet.decodeDelimited = function decodeDelimited(reader) {
40166
+ if (!(reader instanceof $Reader))
40167
+ reader = new $Reader(reader);
40168
+ return this.decode(reader, reader.uint32());
40169
+ };
40170
+
40171
+ /**
40172
+ * Verifies a SideDataSet message.
40173
+ * @function verify
40174
+ * @memberof sesame.v1.sidedata.SideDataSet
40175
+ * @static
40176
+ * @param {Object.<string,*>} message Plain object to verify
40177
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
40178
+ */
40179
+ SideDataSet.verify = function verify(message) {
40180
+ if (typeof message !== "object" || message === null)
40181
+ return "object expected";
40182
+ if (message.entries != null && message.hasOwnProperty("entries")) {
40183
+ if (!Array.isArray(message.entries))
40184
+ return "entries: array expected";
40185
+ for (let i = 0; i < message.entries.length; ++i) {
40186
+ let error = $root.sesame.v1.sidedata.SideData.verify(message.entries[i]);
40187
+ if (error)
40188
+ return "entries." + error;
40189
+ }
40190
+ }
40191
+ return null;
40192
+ };
40193
+
40194
+ /**
40195
+ * Creates a SideDataSet message from a plain object. Also converts values to their respective internal types.
40196
+ * @function fromObject
40197
+ * @memberof sesame.v1.sidedata.SideDataSet
40198
+ * @static
40199
+ * @param {Object.<string,*>} object Plain object
40200
+ * @returns {sesame.v1.sidedata.SideDataSet} SideDataSet
40201
+ */
40202
+ SideDataSet.fromObject = function fromObject(object) {
40203
+ if (object instanceof $root.sesame.v1.sidedata.SideDataSet)
40204
+ return object;
40205
+ let message = new $root.sesame.v1.sidedata.SideDataSet();
40206
+ if (object.entries) {
40207
+ if (!Array.isArray(object.entries))
40208
+ throw TypeError(".sesame.v1.sidedata.SideDataSet.entries: array expected");
40209
+ message.entries = [];
40210
+ for (let i = 0; i < object.entries.length; ++i) {
40211
+ if (typeof object.entries[i] !== "object")
40212
+ throw TypeError(".sesame.v1.sidedata.SideDataSet.entries: object expected");
40213
+ message.entries[i] = $root.sesame.v1.sidedata.SideData.fromObject(object.entries[i]);
40214
+ }
40215
+ }
40216
+ return message;
40217
+ };
40218
+
40219
+ /**
40220
+ * Creates a plain object from a SideDataSet message. Also converts values to other types if specified.
40221
+ * @function toObject
40222
+ * @memberof sesame.v1.sidedata.SideDataSet
40223
+ * @static
40224
+ * @param {sesame.v1.sidedata.SideDataSet} message SideDataSet
40225
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
40226
+ * @returns {Object.<string,*>} Plain object
40227
+ */
40228
+ SideDataSet.toObject = function toObject(message, options) {
40229
+ if (!options)
40230
+ options = {};
40231
+ let object = {};
40232
+ if (options.arrays || options.defaults)
40233
+ object.entries = [];
40234
+ if (message.entries && message.entries.length) {
40235
+ object.entries = [];
40236
+ for (let j = 0; j < message.entries.length; ++j)
40237
+ object.entries[j] = $root.sesame.v1.sidedata.SideData.toObject(message.entries[j], options);
40238
+ }
40239
+ return object;
40240
+ };
40241
+
40242
+ /**
40243
+ * Converts this SideDataSet to JSON.
40244
+ * @function toJSON
40245
+ * @memberof sesame.v1.sidedata.SideDataSet
40246
+ * @instance
40247
+ * @returns {Object.<string,*>} JSON object
40248
+ */
40249
+ SideDataSet.prototype.toJSON = function toJSON() {
40250
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
40251
+ };
40252
+
40253
+ /**
40254
+ * Gets the default type url for SideDataSet
40255
+ * @function getTypeUrl
40256
+ * @memberof sesame.v1.sidedata.SideDataSet
40257
+ * @static
40258
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40259
+ * @returns {string} The default type url
40260
+ */
40261
+ SideDataSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
40262
+ if (typeUrlPrefix === undefined) {
40263
+ typeUrlPrefix = "type.googleapis.com";
40264
+ }
40265
+ return typeUrlPrefix + "/sesame.v1.sidedata.SideDataSet";
40266
+ };
40267
+
40268
+ return SideDataSet;
40269
+ })();
40270
+
40271
+ return sidedata;
40272
+ })();
40273
+
37091
40274
  v1.jobs = (function() {
37092
40275
 
37093
40276
  /**
@@ -42140,6 +45323,9 @@ export const sesame = $root.sesame = (() => {
42140
45323
  case 4:
42141
45324
  case 5:
42142
45325
  case 6:
45326
+ case 7:
45327
+ case 8:
45328
+ case 9:
42143
45329
  break;
42144
45330
  }
42145
45331
  return null;
@@ -42201,6 +45387,18 @@ export const sesame = $root.sesame = (() => {
42201
45387
  case 6:
42202
45388
  message.dataType = 6;
42203
45389
  break;
45390
+ case "DATA_TYPE_OUTPUT_STATUS":
45391
+ case 7:
45392
+ message.dataType = 7;
45393
+ break;
45394
+ case "DATA_TYPE_OUTPUT_CONTROL":
45395
+ case 8:
45396
+ message.dataType = 8;
45397
+ break;
45398
+ case "DATA_TYPE_ENGINE_STATUS":
45399
+ case 9:
45400
+ message.dataType = 9;
45401
+ break;
42204
45402
  }
42205
45403
  return message;
42206
45404
  };
@@ -43523,6 +46721,7 @@ export const sesame = $root.sesame = (() => {
43523
46721
  * @property {number|Long|null} [pts] MediaFrameData pts
43524
46722
  * @property {boolean|null} [keyframe] MediaFrameData keyframe
43525
46723
  * @property {sesame.v1.wire.IMediaCodecData|null} [codecData] MediaFrameData codecData
46724
+ * @property {sesame.v1.sidedata.ISideDataSet|null} [sideData] MediaFrameData sideData
43526
46725
  */
43527
46726
 
43528
46727
  /**
@@ -43564,6 +46763,14 @@ export const sesame = $root.sesame = (() => {
43564
46763
  */
43565
46764
  MediaFrameData.prototype.codecData = null;
43566
46765
 
46766
+ /**
46767
+ * MediaFrameData sideData.
46768
+ * @member {sesame.v1.sidedata.ISideDataSet|null|undefined} sideData
46769
+ * @memberof sesame.v1.wire.MediaFrameData
46770
+ * @instance
46771
+ */
46772
+ MediaFrameData.prototype.sideData = null;
46773
+
43567
46774
  /**
43568
46775
  * Creates a new MediaFrameData instance using the specified properties.
43569
46776
  * @function create
@@ -43594,6 +46801,8 @@ export const sesame = $root.sesame = (() => {
43594
46801
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.keyframe);
43595
46802
  if (message.codecData != null && Object.hasOwnProperty.call(message, "codecData"))
43596
46803
  $root.sesame.v1.wire.MediaCodecData.encode(message.codecData, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
46804
+ if (message.sideData != null && Object.hasOwnProperty.call(message, "sideData"))
46805
+ $root.sesame.v1.sidedata.SideDataSet.encode(message.sideData, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
43597
46806
  return writer;
43598
46807
  };
43599
46808
 
@@ -43642,6 +46851,10 @@ export const sesame = $root.sesame = (() => {
43642
46851
  message.codecData = $root.sesame.v1.wire.MediaCodecData.decode(reader, reader.uint32());
43643
46852
  break;
43644
46853
  }
46854
+ case 4: {
46855
+ message.sideData = $root.sesame.v1.sidedata.SideDataSet.decode(reader, reader.uint32());
46856
+ break;
46857
+ }
43645
46858
  default:
43646
46859
  reader.skipType(tag & 7);
43647
46860
  break;
@@ -43688,6 +46901,11 @@ export const sesame = $root.sesame = (() => {
43688
46901
  if (error)
43689
46902
  return "codecData." + error;
43690
46903
  }
46904
+ if (message.sideData != null && message.hasOwnProperty("sideData")) {
46905
+ let error = $root.sesame.v1.sidedata.SideDataSet.verify(message.sideData);
46906
+ if (error)
46907
+ return "sideData." + error;
46908
+ }
43691
46909
  return null;
43692
46910
  };
43693
46911
 
@@ -43719,6 +46937,11 @@ export const sesame = $root.sesame = (() => {
43719
46937
  throw TypeError(".sesame.v1.wire.MediaFrameData.codecData: object expected");
43720
46938
  message.codecData = $root.sesame.v1.wire.MediaCodecData.fromObject(object.codecData);
43721
46939
  }
46940
+ if (object.sideData != null) {
46941
+ if (typeof object.sideData !== "object")
46942
+ throw TypeError(".sesame.v1.wire.MediaFrameData.sideData: object expected");
46943
+ message.sideData = $root.sesame.v1.sidedata.SideDataSet.fromObject(object.sideData);
46944
+ }
43722
46945
  return message;
43723
46946
  };
43724
46947
 
@@ -43743,6 +46966,7 @@ export const sesame = $root.sesame = (() => {
43743
46966
  object.pts = options.longs === String ? "0" : 0;
43744
46967
  object.keyframe = false;
43745
46968
  object.codecData = null;
46969
+ object.sideData = null;
43746
46970
  }
43747
46971
  if (message.pts != null && message.hasOwnProperty("pts"))
43748
46972
  if (typeof message.pts === "number")
@@ -43753,6 +46977,8 @@ export const sesame = $root.sesame = (() => {
43753
46977
  object.keyframe = message.keyframe;
43754
46978
  if (message.codecData != null && message.hasOwnProperty("codecData"))
43755
46979
  object.codecData = $root.sesame.v1.wire.MediaCodecData.toObject(message.codecData, options);
46980
+ if (message.sideData != null && message.hasOwnProperty("sideData"))
46981
+ object.sideData = $root.sesame.v1.sidedata.SideDataSet.toObject(message.sideData, options);
43756
46982
  return object;
43757
46983
  };
43758
46984
 
@@ -43796,6 +47022,9 @@ export const sesame = $root.sesame = (() => {
43796
47022
  * @property {number} DATA_TYPE_TRANSPORT_CONTROL=4 DATA_TYPE_TRANSPORT_CONTROL value
43797
47023
  * @property {number} DATA_TYPE_AUDIO_CONTROL=5 DATA_TYPE_AUDIO_CONTROL value
43798
47024
  * @property {number} DATA_TYPE_BINARY=6 DATA_TYPE_BINARY value
47025
+ * @property {number} DATA_TYPE_OUTPUT_STATUS=7 DATA_TYPE_OUTPUT_STATUS value
47026
+ * @property {number} DATA_TYPE_OUTPUT_CONTROL=8 DATA_TYPE_OUTPUT_CONTROL value
47027
+ * @property {number} DATA_TYPE_ENGINE_STATUS=9 DATA_TYPE_ENGINE_STATUS value
43799
47028
  */
43800
47029
  wire.DataType = (function() {
43801
47030
  const valuesById = {}, values = Object.create(valuesById);
@@ -43806,6 +47035,9 @@ export const sesame = $root.sesame = (() => {
43806
47035
  values[valuesById[4] = "DATA_TYPE_TRANSPORT_CONTROL"] = 4;
43807
47036
  values[valuesById[5] = "DATA_TYPE_AUDIO_CONTROL"] = 5;
43808
47037
  values[valuesById[6] = "DATA_TYPE_BINARY"] = 6;
47038
+ values[valuesById[7] = "DATA_TYPE_OUTPUT_STATUS"] = 7;
47039
+ values[valuesById[8] = "DATA_TYPE_OUTPUT_CONTROL"] = 8;
47040
+ values[valuesById[9] = "DATA_TYPE_ENGINE_STATUS"] = 9;
43809
47041
  return values;
43810
47042
  })();
43811
47043
 
@@ -43968,6 +47200,9 @@ export const sesame = $root.sesame = (() => {
43968
47200
  case 4:
43969
47201
  case 5:
43970
47202
  case 6:
47203
+ case 7:
47204
+ case 8:
47205
+ case 9:
43971
47206
  break;
43972
47207
  }
43973
47208
  if (message.trackName != null && message.hasOwnProperty("trackName"))
@@ -44023,6 +47258,18 @@ export const sesame = $root.sesame = (() => {
44023
47258
  case 6:
44024
47259
  message.dataType = 6;
44025
47260
  break;
47261
+ case "DATA_TYPE_OUTPUT_STATUS":
47262
+ case 7:
47263
+ message.dataType = 7;
47264
+ break;
47265
+ case "DATA_TYPE_OUTPUT_CONTROL":
47266
+ case 8:
47267
+ message.dataType = 8;
47268
+ break;
47269
+ case "DATA_TYPE_ENGINE_STATUS":
47270
+ case 9:
47271
+ message.dataType = 9;
47272
+ break;
44026
47273
  }
44027
47274
  if (object.trackName != null)
44028
47275
  message.trackName = String(object.trackName);