@stinkycomputing/sesame-api-client 1.4.1-alpha.3 → 1.4.1-alpha.6

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
@@ -7925,7 +7925,6 @@ export const sesame = $root.sesame = (() => {
7925
7925
  * @property {sesame.v1.sources.SourceTransportState|null} [playState] SourceCommonConfig playState
7926
7926
  * @property {boolean|null} [mipMap] SourceCommonConfig mipMap
7927
7927
  * @property {sesame.v1.sources.SourceTextureSize|null} [textureSize] SourceCommonConfig textureSize
7928
- * @property {sesame.v1.sources.DecoderType|null} [decoderType] SourceCommonConfig decoderType
7929
7928
  * @property {sesame.v1.sources.DeinterlaceType|null} [deinterlace] SourceCommonConfig deinterlace
7930
7929
  * @property {Array.<sesame.v1.sources.IVideoProcessor>|null} [videoProcessors] SourceCommonConfig videoProcessors
7931
7930
  */
@@ -8010,14 +8009,6 @@ export const sesame = $root.sesame = (() => {
8010
8009
  */
8011
8010
  SourceCommonConfig.prototype.textureSize = 0;
8012
8011
 
8013
- /**
8014
- * SourceCommonConfig decoderType.
8015
- * @member {sesame.v1.sources.DecoderType} decoderType
8016
- * @memberof sesame.v1.sources.SourceCommonConfig
8017
- * @instance
8018
- */
8019
- SourceCommonConfig.prototype.decoderType = 0;
8020
-
8021
8012
  /**
8022
8013
  * SourceCommonConfig deinterlace.
8023
8014
  * @member {sesame.v1.sources.DeinterlaceType} deinterlace
@@ -8074,8 +8065,6 @@ export const sesame = $root.sesame = (() => {
8074
8065
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.mipMap);
8075
8066
  if (message.textureSize != null && Object.hasOwnProperty.call(message, "textureSize"))
8076
8067
  writer.uint32(/* id 8, wireType 0 =*/64).int32(message.textureSize);
8077
- if (message.decoderType != null && Object.hasOwnProperty.call(message, "decoderType"))
8078
- writer.uint32(/* id 9, wireType 0 =*/72).int32(message.decoderType);
8079
8068
  if (message.deinterlace != null && Object.hasOwnProperty.call(message, "deinterlace"))
8080
8069
  writer.uint32(/* id 10, wireType 0 =*/80).int32(message.deinterlace);
8081
8070
  if (message.videoProcessors != null && message.videoProcessors.length)
@@ -8149,10 +8138,6 @@ export const sesame = $root.sesame = (() => {
8149
8138
  message.textureSize = reader.int32();
8150
8139
  break;
8151
8140
  }
8152
- case 9: {
8153
- message.decoderType = reader.int32();
8154
- break;
8155
- }
8156
8141
  case 10: {
8157
8142
  message.deinterlace = reader.int32();
8158
8143
  break;
@@ -8236,16 +8221,6 @@ export const sesame = $root.sesame = (() => {
8236
8221
  case 2:
8237
8222
  break;
8238
8223
  }
8239
- if (message.decoderType != null && message.hasOwnProperty("decoderType"))
8240
- switch (message.decoderType) {
8241
- default:
8242
- return "decoderType: enum value expected";
8243
- case 0:
8244
- case 1:
8245
- case 2:
8246
- case 3:
8247
- break;
8248
- }
8249
8224
  if (message.deinterlace != null && message.hasOwnProperty("deinterlace"))
8250
8225
  switch (message.deinterlace) {
8251
8226
  default:
@@ -8340,30 +8315,6 @@ export const sesame = $root.sesame = (() => {
8340
8315
  message.textureSize = 2;
8341
8316
  break;
8342
8317
  }
8343
- switch (object.decoderType) {
8344
- default:
8345
- if (typeof object.decoderType === "number") {
8346
- message.decoderType = object.decoderType;
8347
- break;
8348
- }
8349
- break;
8350
- case "DECODER_TYPE_UNSPECIFIED":
8351
- case 0:
8352
- message.decoderType = 0;
8353
- break;
8354
- case "DECODER_TYPE_H264":
8355
- case 1:
8356
- message.decoderType = 1;
8357
- break;
8358
- case "DECODER_TYPE_HEVC":
8359
- case 2:
8360
- message.decoderType = 2;
8361
- break;
8362
- case "DECODER_TYPE_AV1":
8363
- case 3:
8364
- message.decoderType = 3;
8365
- break;
8366
- }
8367
8318
  switch (object.deinterlace) {
8368
8319
  default:
8369
8320
  if (typeof object.deinterlace === "number") {
@@ -8425,7 +8376,6 @@ export const sesame = $root.sesame = (() => {
8425
8376
  object.playState = options.enums === String ? "SOURCE_TRANSPORT_STATE_STOPPED" : 0;
8426
8377
  object.mipMap = false;
8427
8378
  object.textureSize = options.enums === String ? "SOURCE_TEXTURE_SIZE_UNSPECIFIED" : 0;
8428
- object.decoderType = options.enums === String ? "DECODER_TYPE_UNSPECIFIED" : 0;
8429
8379
  object.deinterlace = options.enums === String ? "DEINTERLACE_TYPE_PROGRESSIVE" : 0;
8430
8380
  }
8431
8381
  if (message.userId != null && message.hasOwnProperty("userId"))
@@ -8444,8 +8394,6 @@ export const sesame = $root.sesame = (() => {
8444
8394
  object.mipMap = message.mipMap;
8445
8395
  if (message.textureSize != null && message.hasOwnProperty("textureSize"))
8446
8396
  object.textureSize = options.enums === String ? $root.sesame.v1.sources.SourceTextureSize[message.textureSize] === undefined ? message.textureSize : $root.sesame.v1.sources.SourceTextureSize[message.textureSize] : message.textureSize;
8447
- if (message.decoderType != null && message.hasOwnProperty("decoderType"))
8448
- object.decoderType = options.enums === String ? $root.sesame.v1.sources.DecoderType[message.decoderType] === undefined ? message.decoderType : $root.sesame.v1.sources.DecoderType[message.decoderType] : message.decoderType;
8449
8397
  if (message.deinterlace != null && message.hasOwnProperty("deinterlace"))
8450
8398
  object.deinterlace = options.enums === String ? $root.sesame.v1.sources.DeinterlaceType[message.deinterlace] === undefined ? message.deinterlace : $root.sesame.v1.sources.DeinterlaceType[message.deinterlace] : message.deinterlace;
8451
8399
  if (message.videoProcessors && message.videoProcessors.length) {
@@ -8697,6 +8645,7 @@ export const sesame = $root.sesame = (() => {
8697
8645
  * @memberof sesame.v1.sources
8698
8646
  * @interface IRecorderSourceConfig
8699
8647
  * @property {string|null} [recorderId] RecorderSourceConfig recorderId
8648
+ * @property {sesame.v1.sources.DecoderType|null} [decoderType] RecorderSourceConfig decoderType
8700
8649
  */
8701
8650
 
8702
8651
  /**
@@ -8722,6 +8671,14 @@ export const sesame = $root.sesame = (() => {
8722
8671
  */
8723
8672
  RecorderSourceConfig.prototype.recorderId = "";
8724
8673
 
8674
+ /**
8675
+ * RecorderSourceConfig decoderType.
8676
+ * @member {sesame.v1.sources.DecoderType} decoderType
8677
+ * @memberof sesame.v1.sources.RecorderSourceConfig
8678
+ * @instance
8679
+ */
8680
+ RecorderSourceConfig.prototype.decoderType = 0;
8681
+
8725
8682
  /**
8726
8683
  * Creates a new RecorderSourceConfig instance using the specified properties.
8727
8684
  * @function create
@@ -8748,6 +8705,8 @@ export const sesame = $root.sesame = (() => {
8748
8705
  writer = $Writer.create();
8749
8706
  if (message.recorderId != null && Object.hasOwnProperty.call(message, "recorderId"))
8750
8707
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.recorderId);
8708
+ if (message.decoderType != null && Object.hasOwnProperty.call(message, "decoderType"))
8709
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.decoderType);
8751
8710
  return writer;
8752
8711
  };
8753
8712
 
@@ -8788,6 +8747,10 @@ export const sesame = $root.sesame = (() => {
8788
8747
  message.recorderId = reader.string();
8789
8748
  break;
8790
8749
  }
8750
+ case 2: {
8751
+ message.decoderType = reader.int32();
8752
+ break;
8753
+ }
8791
8754
  default:
8792
8755
  reader.skipType(tag & 7);
8793
8756
  break;
@@ -8826,6 +8789,16 @@ export const sesame = $root.sesame = (() => {
8826
8789
  if (message.recorderId != null && message.hasOwnProperty("recorderId"))
8827
8790
  if (!$util.isString(message.recorderId))
8828
8791
  return "recorderId: string expected";
8792
+ if (message.decoderType != null && message.hasOwnProperty("decoderType"))
8793
+ switch (message.decoderType) {
8794
+ default:
8795
+ return "decoderType: enum value expected";
8796
+ case 0:
8797
+ case 1:
8798
+ case 2:
8799
+ case 3:
8800
+ break;
8801
+ }
8829
8802
  return null;
8830
8803
  };
8831
8804
 
@@ -8843,6 +8816,30 @@ export const sesame = $root.sesame = (() => {
8843
8816
  let message = new $root.sesame.v1.sources.RecorderSourceConfig();
8844
8817
  if (object.recorderId != null)
8845
8818
  message.recorderId = String(object.recorderId);
8819
+ switch (object.decoderType) {
8820
+ default:
8821
+ if (typeof object.decoderType === "number") {
8822
+ message.decoderType = object.decoderType;
8823
+ break;
8824
+ }
8825
+ break;
8826
+ case "DECODER_TYPE_UNSPECIFIED":
8827
+ case 0:
8828
+ message.decoderType = 0;
8829
+ break;
8830
+ case "DECODER_TYPE_H264":
8831
+ case 1:
8832
+ message.decoderType = 1;
8833
+ break;
8834
+ case "DECODER_TYPE_HEVC":
8835
+ case 2:
8836
+ message.decoderType = 2;
8837
+ break;
8838
+ case "DECODER_TYPE_AV1":
8839
+ case 3:
8840
+ message.decoderType = 3;
8841
+ break;
8842
+ }
8846
8843
  return message;
8847
8844
  };
8848
8845
 
@@ -8859,10 +8856,14 @@ export const sesame = $root.sesame = (() => {
8859
8856
  if (!options)
8860
8857
  options = {};
8861
8858
  let object = {};
8862
- if (options.defaults)
8859
+ if (options.defaults) {
8863
8860
  object.recorderId = "";
8861
+ object.decoderType = options.enums === String ? "DECODER_TYPE_UNSPECIFIED" : 0;
8862
+ }
8864
8863
  if (message.recorderId != null && message.hasOwnProperty("recorderId"))
8865
8864
  object.recorderId = message.recorderId;
8865
+ if (message.decoderType != null && message.hasOwnProperty("decoderType"))
8866
+ object.decoderType = options.enums === String ? $root.sesame.v1.sources.DecoderType[message.decoderType] === undefined ? message.decoderType : $root.sesame.v1.sources.DecoderType[message.decoderType] : message.decoderType;
8866
8867
  return object;
8867
8868
  };
8868
8869
 
@@ -24658,6 +24659,9 @@ export const sesame = $root.sesame = (() => {
24658
24659
  * @property {sesame.v1.outputs.EncoderPreset|null} [preset] EncoderConfig preset
24659
24660
  * @property {number|null} [bitrateKbps] EncoderConfig bitrateKbps
24660
24661
  * @property {number|null} [keyframeInterval] EncoderConfig keyframeInterval
24662
+ * @property {number|null} [width] EncoderConfig width
24663
+ * @property {number|null} [height] EncoderConfig height
24664
+ * @property {number|null} [fps] EncoderConfig fps
24661
24665
  */
24662
24666
 
24663
24667
  /**
@@ -24707,6 +24711,30 @@ export const sesame = $root.sesame = (() => {
24707
24711
  */
24708
24712
  EncoderConfig.prototype.keyframeInterval = 0;
24709
24713
 
24714
+ /**
24715
+ * EncoderConfig width.
24716
+ * @member {number} width
24717
+ * @memberof sesame.v1.outputs.EncoderConfig
24718
+ * @instance
24719
+ */
24720
+ EncoderConfig.prototype.width = 0;
24721
+
24722
+ /**
24723
+ * EncoderConfig height.
24724
+ * @member {number} height
24725
+ * @memberof sesame.v1.outputs.EncoderConfig
24726
+ * @instance
24727
+ */
24728
+ EncoderConfig.prototype.height = 0;
24729
+
24730
+ /**
24731
+ * EncoderConfig fps.
24732
+ * @member {number} fps
24733
+ * @memberof sesame.v1.outputs.EncoderConfig
24734
+ * @instance
24735
+ */
24736
+ EncoderConfig.prototype.fps = 0;
24737
+
24710
24738
  /**
24711
24739
  * Creates a new EncoderConfig instance using the specified properties.
24712
24740
  * @function create
@@ -24739,6 +24767,12 @@ export const sesame = $root.sesame = (() => {
24739
24767
  writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.bitrateKbps);
24740
24768
  if (message.keyframeInterval != null && Object.hasOwnProperty.call(message, "keyframeInterval"))
24741
24769
  writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.keyframeInterval);
24770
+ if (message.width != null && Object.hasOwnProperty.call(message, "width"))
24771
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.width);
24772
+ if (message.height != null && Object.hasOwnProperty.call(message, "height"))
24773
+ writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.height);
24774
+ if (message.fps != null && Object.hasOwnProperty.call(message, "fps"))
24775
+ writer.uint32(/* id 7, wireType 5 =*/61).float(message.fps);
24742
24776
  return writer;
24743
24777
  };
24744
24778
 
@@ -24791,6 +24825,18 @@ export const sesame = $root.sesame = (() => {
24791
24825
  message.keyframeInterval = reader.uint32();
24792
24826
  break;
24793
24827
  }
24828
+ case 5: {
24829
+ message.width = reader.uint32();
24830
+ break;
24831
+ }
24832
+ case 6: {
24833
+ message.height = reader.uint32();
24834
+ break;
24835
+ }
24836
+ case 7: {
24837
+ message.fps = reader.float();
24838
+ break;
24839
+ }
24794
24840
  default:
24795
24841
  reader.skipType(tag & 7);
24796
24842
  break;
@@ -24855,6 +24901,15 @@ export const sesame = $root.sesame = (() => {
24855
24901
  if (message.keyframeInterval != null && message.hasOwnProperty("keyframeInterval"))
24856
24902
  if (!$util.isInteger(message.keyframeInterval))
24857
24903
  return "keyframeInterval: integer expected";
24904
+ if (message.width != null && message.hasOwnProperty("width"))
24905
+ if (!$util.isInteger(message.width))
24906
+ return "width: integer expected";
24907
+ if (message.height != null && message.hasOwnProperty("height"))
24908
+ if (!$util.isInteger(message.height))
24909
+ return "height: integer expected";
24910
+ if (message.fps != null && message.hasOwnProperty("fps"))
24911
+ if (typeof message.fps !== "number")
24912
+ return "fps: number expected";
24858
24913
  return null;
24859
24914
  };
24860
24915
 
@@ -24934,6 +24989,12 @@ export const sesame = $root.sesame = (() => {
24934
24989
  message.bitrateKbps = object.bitrateKbps >>> 0;
24935
24990
  if (object.keyframeInterval != null)
24936
24991
  message.keyframeInterval = object.keyframeInterval >>> 0;
24992
+ if (object.width != null)
24993
+ message.width = object.width >>> 0;
24994
+ if (object.height != null)
24995
+ message.height = object.height >>> 0;
24996
+ if (object.fps != null)
24997
+ message.fps = Number(object.fps);
24937
24998
  return message;
24938
24999
  };
24939
25000
 
@@ -24955,6 +25016,9 @@ export const sesame = $root.sesame = (() => {
24955
25016
  object.preset = options.enums === String ? "ENCODER_PRESET_UNSPECIFIED" : 0;
24956
25017
  object.bitrateKbps = 0;
24957
25018
  object.keyframeInterval = 0;
25019
+ object.width = 0;
25020
+ object.height = 0;
25021
+ object.fps = 0;
24958
25022
  }
24959
25023
  if (message.codecId != null && message.hasOwnProperty("codecId"))
24960
25024
  object.codecId = options.enums === String ? $root.sesame.v1.common.CodecId[message.codecId] === undefined ? message.codecId : $root.sesame.v1.common.CodecId[message.codecId] : message.codecId;
@@ -24964,6 +25028,12 @@ export const sesame = $root.sesame = (() => {
24964
25028
  object.bitrateKbps = message.bitrateKbps;
24965
25029
  if (message.keyframeInterval != null && message.hasOwnProperty("keyframeInterval"))
24966
25030
  object.keyframeInterval = message.keyframeInterval;
25031
+ if (message.width != null && message.hasOwnProperty("width"))
25032
+ object.width = message.width;
25033
+ if (message.height != null && message.hasOwnProperty("height"))
25034
+ object.height = message.height;
25035
+ if (message.fps != null && message.hasOwnProperty("fps"))
25036
+ object.fps = options.json && !isFinite(message.fps) ? String(message.fps) : message.fps;
24967
25037
  return object;
24968
25038
  };
24969
25039
 
@@ -24996,286 +25066,6 @@ export const sesame = $root.sesame = (() => {
24996
25066
  return EncoderConfig;
24997
25067
  })();
24998
25068
 
24999
- outputs.OutputEncodedConfig = (function() {
25000
-
25001
- /**
25002
- * Properties of an OutputEncodedConfig.
25003
- * @memberof sesame.v1.outputs
25004
- * @interface IOutputEncodedConfig
25005
- * @property {number|null} [width] OutputEncodedConfig width
25006
- * @property {number|null} [height] OutputEncodedConfig height
25007
- * @property {number|null} [fps] OutputEncodedConfig fps
25008
- * @property {sesame.v1.outputs.IEncoderConfig|null} [encoderConfig] OutputEncodedConfig encoderConfig
25009
- */
25010
-
25011
- /**
25012
- * Constructs a new OutputEncodedConfig.
25013
- * @memberof sesame.v1.outputs
25014
- * @classdesc Represents an OutputEncodedConfig.
25015
- * @implements IOutputEncodedConfig
25016
- * @constructor
25017
- * @param {sesame.v1.outputs.IOutputEncodedConfig=} [properties] Properties to set
25018
- */
25019
- function OutputEncodedConfig(properties) {
25020
- if (properties)
25021
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
25022
- if (properties[keys[i]] != null)
25023
- this[keys[i]] = properties[keys[i]];
25024
- }
25025
-
25026
- /**
25027
- * OutputEncodedConfig width.
25028
- * @member {number} width
25029
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25030
- * @instance
25031
- */
25032
- OutputEncodedConfig.prototype.width = 0;
25033
-
25034
- /**
25035
- * OutputEncodedConfig height.
25036
- * @member {number} height
25037
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25038
- * @instance
25039
- */
25040
- OutputEncodedConfig.prototype.height = 0;
25041
-
25042
- /**
25043
- * OutputEncodedConfig fps.
25044
- * @member {number} fps
25045
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25046
- * @instance
25047
- */
25048
- OutputEncodedConfig.prototype.fps = 0;
25049
-
25050
- /**
25051
- * OutputEncodedConfig encoderConfig.
25052
- * @member {sesame.v1.outputs.IEncoderConfig|null|undefined} encoderConfig
25053
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25054
- * @instance
25055
- */
25056
- OutputEncodedConfig.prototype.encoderConfig = null;
25057
-
25058
- /**
25059
- * Creates a new OutputEncodedConfig instance using the specified properties.
25060
- * @function create
25061
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25062
- * @static
25063
- * @param {sesame.v1.outputs.IOutputEncodedConfig=} [properties] Properties to set
25064
- * @returns {sesame.v1.outputs.OutputEncodedConfig} OutputEncodedConfig instance
25065
- */
25066
- OutputEncodedConfig.create = function create(properties) {
25067
- return new OutputEncodedConfig(properties);
25068
- };
25069
-
25070
- /**
25071
- * Encodes the specified OutputEncodedConfig message. Does not implicitly {@link sesame.v1.outputs.OutputEncodedConfig.verify|verify} messages.
25072
- * @function encode
25073
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25074
- * @static
25075
- * @param {sesame.v1.outputs.IOutputEncodedConfig} message OutputEncodedConfig message or plain object to encode
25076
- * @param {$protobuf.Writer} [writer] Writer to encode to
25077
- * @returns {$protobuf.Writer} Writer
25078
- */
25079
- OutputEncodedConfig.encode = function encode(message, writer) {
25080
- if (!writer)
25081
- writer = $Writer.create();
25082
- if (message.width != null && Object.hasOwnProperty.call(message, "width"))
25083
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.width);
25084
- if (message.height != null && Object.hasOwnProperty.call(message, "height"))
25085
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.height);
25086
- if (message.fps != null && Object.hasOwnProperty.call(message, "fps"))
25087
- writer.uint32(/* id 3, wireType 5 =*/29).float(message.fps);
25088
- if (message.encoderConfig != null && Object.hasOwnProperty.call(message, "encoderConfig"))
25089
- $root.sesame.v1.outputs.EncoderConfig.encode(message.encoderConfig, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
25090
- return writer;
25091
- };
25092
-
25093
- /**
25094
- * Encodes the specified OutputEncodedConfig message, length delimited. Does not implicitly {@link sesame.v1.outputs.OutputEncodedConfig.verify|verify} messages.
25095
- * @function encodeDelimited
25096
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25097
- * @static
25098
- * @param {sesame.v1.outputs.IOutputEncodedConfig} message OutputEncodedConfig message or plain object to encode
25099
- * @param {$protobuf.Writer} [writer] Writer to encode to
25100
- * @returns {$protobuf.Writer} Writer
25101
- */
25102
- OutputEncodedConfig.encodeDelimited = function encodeDelimited(message, writer) {
25103
- return this.encode(message, writer).ldelim();
25104
- };
25105
-
25106
- /**
25107
- * Decodes an OutputEncodedConfig message from the specified reader or buffer.
25108
- * @function decode
25109
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25110
- * @static
25111
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
25112
- * @param {number} [length] Message length if known beforehand
25113
- * @returns {sesame.v1.outputs.OutputEncodedConfig} OutputEncodedConfig
25114
- * @throws {Error} If the payload is not a reader or valid buffer
25115
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
25116
- */
25117
- OutputEncodedConfig.decode = function decode(reader, length, error) {
25118
- if (!(reader instanceof $Reader))
25119
- reader = $Reader.create(reader);
25120
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.sesame.v1.outputs.OutputEncodedConfig();
25121
- while (reader.pos < end) {
25122
- let tag = reader.uint32();
25123
- if (tag === error)
25124
- break;
25125
- switch (tag >>> 3) {
25126
- case 1: {
25127
- message.width = reader.uint32();
25128
- break;
25129
- }
25130
- case 2: {
25131
- message.height = reader.uint32();
25132
- break;
25133
- }
25134
- case 3: {
25135
- message.fps = reader.float();
25136
- break;
25137
- }
25138
- case 4: {
25139
- message.encoderConfig = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
25140
- break;
25141
- }
25142
- default:
25143
- reader.skipType(tag & 7);
25144
- break;
25145
- }
25146
- }
25147
- return message;
25148
- };
25149
-
25150
- /**
25151
- * Decodes an OutputEncodedConfig message from the specified reader or buffer, length delimited.
25152
- * @function decodeDelimited
25153
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25154
- * @static
25155
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
25156
- * @returns {sesame.v1.outputs.OutputEncodedConfig} OutputEncodedConfig
25157
- * @throws {Error} If the payload is not a reader or valid buffer
25158
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
25159
- */
25160
- OutputEncodedConfig.decodeDelimited = function decodeDelimited(reader) {
25161
- if (!(reader instanceof $Reader))
25162
- reader = new $Reader(reader);
25163
- return this.decode(reader, reader.uint32());
25164
- };
25165
-
25166
- /**
25167
- * Verifies an OutputEncodedConfig message.
25168
- * @function verify
25169
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25170
- * @static
25171
- * @param {Object.<string,*>} message Plain object to verify
25172
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
25173
- */
25174
- OutputEncodedConfig.verify = function verify(message) {
25175
- if (typeof message !== "object" || message === null)
25176
- return "object expected";
25177
- if (message.width != null && message.hasOwnProperty("width"))
25178
- if (!$util.isInteger(message.width))
25179
- return "width: integer expected";
25180
- if (message.height != null && message.hasOwnProperty("height"))
25181
- if (!$util.isInteger(message.height))
25182
- return "height: integer expected";
25183
- if (message.fps != null && message.hasOwnProperty("fps"))
25184
- if (typeof message.fps !== "number")
25185
- return "fps: number expected";
25186
- if (message.encoderConfig != null && message.hasOwnProperty("encoderConfig")) {
25187
- let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoderConfig);
25188
- if (error)
25189
- return "encoderConfig." + error;
25190
- }
25191
- return null;
25192
- };
25193
-
25194
- /**
25195
- * Creates an OutputEncodedConfig message from a plain object. Also converts values to their respective internal types.
25196
- * @function fromObject
25197
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25198
- * @static
25199
- * @param {Object.<string,*>} object Plain object
25200
- * @returns {sesame.v1.outputs.OutputEncodedConfig} OutputEncodedConfig
25201
- */
25202
- OutputEncodedConfig.fromObject = function fromObject(object) {
25203
- if (object instanceof $root.sesame.v1.outputs.OutputEncodedConfig)
25204
- return object;
25205
- let message = new $root.sesame.v1.outputs.OutputEncodedConfig();
25206
- if (object.width != null)
25207
- message.width = object.width >>> 0;
25208
- if (object.height != null)
25209
- message.height = object.height >>> 0;
25210
- if (object.fps != null)
25211
- message.fps = Number(object.fps);
25212
- if (object.encoderConfig != null) {
25213
- if (typeof object.encoderConfig !== "object")
25214
- throw TypeError(".sesame.v1.outputs.OutputEncodedConfig.encoderConfig: object expected");
25215
- message.encoderConfig = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoderConfig);
25216
- }
25217
- return message;
25218
- };
25219
-
25220
- /**
25221
- * Creates a plain object from an OutputEncodedConfig message. Also converts values to other types if specified.
25222
- * @function toObject
25223
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25224
- * @static
25225
- * @param {sesame.v1.outputs.OutputEncodedConfig} message OutputEncodedConfig
25226
- * @param {$protobuf.IConversionOptions} [options] Conversion options
25227
- * @returns {Object.<string,*>} Plain object
25228
- */
25229
- OutputEncodedConfig.toObject = function toObject(message, options) {
25230
- if (!options)
25231
- options = {};
25232
- let object = {};
25233
- if (options.defaults) {
25234
- object.width = 0;
25235
- object.height = 0;
25236
- object.fps = 0;
25237
- object.encoderConfig = null;
25238
- }
25239
- if (message.width != null && message.hasOwnProperty("width"))
25240
- object.width = message.width;
25241
- if (message.height != null && message.hasOwnProperty("height"))
25242
- object.height = message.height;
25243
- if (message.fps != null && message.hasOwnProperty("fps"))
25244
- object.fps = options.json && !isFinite(message.fps) ? String(message.fps) : message.fps;
25245
- if (message.encoderConfig != null && message.hasOwnProperty("encoderConfig"))
25246
- object.encoderConfig = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoderConfig, options);
25247
- return object;
25248
- };
25249
-
25250
- /**
25251
- * Converts this OutputEncodedConfig to JSON.
25252
- * @function toJSON
25253
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25254
- * @instance
25255
- * @returns {Object.<string,*>} JSON object
25256
- */
25257
- OutputEncodedConfig.prototype.toJSON = function toJSON() {
25258
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
25259
- };
25260
-
25261
- /**
25262
- * Gets the default type url for OutputEncodedConfig
25263
- * @function getTypeUrl
25264
- * @memberof sesame.v1.outputs.OutputEncodedConfig
25265
- * @static
25266
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25267
- * @returns {string} The default type url
25268
- */
25269
- OutputEncodedConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
25270
- if (typeUrlPrefix === undefined) {
25271
- typeUrlPrefix = "type.googleapis.com";
25272
- }
25273
- return typeUrlPrefix + "/sesame.v1.outputs.OutputEncodedConfig";
25274
- };
25275
-
25276
- return OutputEncodedConfig;
25277
- })();
25278
-
25279
25069
  outputs.DecklinkOutputConfig = (function() {
25280
25070
 
25281
25071
  /**
@@ -25569,7 +25359,7 @@ export const sesame = $root.sesame = (() => {
25569
25359
  * @memberof sesame.v1.outputs
25570
25360
  * @interface IEncodedWebSocketOutputConfig
25571
25361
  * @property {string|null} [channel] EncodedWebSocketOutputConfig channel
25572
- * @property {sesame.v1.outputs.IOutputEncodedConfig|null} [encoded] EncodedWebSocketOutputConfig encoded
25362
+ * @property {sesame.v1.outputs.IEncoderConfig|null} [encoder] EncodedWebSocketOutputConfig encoder
25573
25363
  */
25574
25364
 
25575
25365
  /**
@@ -25596,12 +25386,12 @@ export const sesame = $root.sesame = (() => {
25596
25386
  EncodedWebSocketOutputConfig.prototype.channel = "";
25597
25387
 
25598
25388
  /**
25599
- * EncodedWebSocketOutputConfig encoded.
25600
- * @member {sesame.v1.outputs.IOutputEncodedConfig|null|undefined} encoded
25389
+ * EncodedWebSocketOutputConfig encoder.
25390
+ * @member {sesame.v1.outputs.IEncoderConfig|null|undefined} encoder
25601
25391
  * @memberof sesame.v1.outputs.EncodedWebSocketOutputConfig
25602
25392
  * @instance
25603
25393
  */
25604
- EncodedWebSocketOutputConfig.prototype.encoded = null;
25394
+ EncodedWebSocketOutputConfig.prototype.encoder = null;
25605
25395
 
25606
25396
  /**
25607
25397
  * Creates a new EncodedWebSocketOutputConfig instance using the specified properties.
@@ -25629,8 +25419,8 @@ export const sesame = $root.sesame = (() => {
25629
25419
  writer = $Writer.create();
25630
25420
  if (message.channel != null && Object.hasOwnProperty.call(message, "channel"))
25631
25421
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.channel);
25632
- if (message.encoded != null && Object.hasOwnProperty.call(message, "encoded"))
25633
- $root.sesame.v1.outputs.OutputEncodedConfig.encode(message.encoded, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
25422
+ if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
25423
+ $root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
25634
25424
  return writer;
25635
25425
  };
25636
25426
 
@@ -25672,7 +25462,7 @@ export const sesame = $root.sesame = (() => {
25672
25462
  break;
25673
25463
  }
25674
25464
  case 2: {
25675
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.decode(reader, reader.uint32());
25465
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
25676
25466
  break;
25677
25467
  }
25678
25468
  default:
@@ -25713,10 +25503,10 @@ export const sesame = $root.sesame = (() => {
25713
25503
  if (message.channel != null && message.hasOwnProperty("channel"))
25714
25504
  if (!$util.isString(message.channel))
25715
25505
  return "channel: string expected";
25716
- if (message.encoded != null && message.hasOwnProperty("encoded")) {
25717
- let error = $root.sesame.v1.outputs.OutputEncodedConfig.verify(message.encoded);
25506
+ if (message.encoder != null && message.hasOwnProperty("encoder")) {
25507
+ let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
25718
25508
  if (error)
25719
- return "encoded." + error;
25509
+ return "encoder." + error;
25720
25510
  }
25721
25511
  return null;
25722
25512
  };
@@ -25735,10 +25525,10 @@ export const sesame = $root.sesame = (() => {
25735
25525
  let message = new $root.sesame.v1.outputs.EncodedWebSocketOutputConfig();
25736
25526
  if (object.channel != null)
25737
25527
  message.channel = String(object.channel);
25738
- if (object.encoded != null) {
25739
- if (typeof object.encoded !== "object")
25740
- throw TypeError(".sesame.v1.outputs.EncodedWebSocketOutputConfig.encoded: object expected");
25741
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.fromObject(object.encoded);
25528
+ if (object.encoder != null) {
25529
+ if (typeof object.encoder !== "object")
25530
+ throw TypeError(".sesame.v1.outputs.EncodedWebSocketOutputConfig.encoder: object expected");
25531
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
25742
25532
  }
25743
25533
  return message;
25744
25534
  };
@@ -25758,12 +25548,12 @@ export const sesame = $root.sesame = (() => {
25758
25548
  let object = {};
25759
25549
  if (options.defaults) {
25760
25550
  object.channel = "";
25761
- object.encoded = null;
25551
+ object.encoder = null;
25762
25552
  }
25763
25553
  if (message.channel != null && message.hasOwnProperty("channel"))
25764
25554
  object.channel = message.channel;
25765
- if (message.encoded != null && message.hasOwnProperty("encoded"))
25766
- object.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.toObject(message.encoded, options);
25555
+ if (message.encoder != null && message.hasOwnProperty("encoder"))
25556
+ object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
25767
25557
  return object;
25768
25558
  };
25769
25559
 
@@ -25802,7 +25592,7 @@ export const sesame = $root.sesame = (() => {
25802
25592
  * Properties of an EncodedRecorderOutputConfig.
25803
25593
  * @memberof sesame.v1.outputs
25804
25594
  * @interface IEncodedRecorderOutputConfig
25805
- * @property {sesame.v1.outputs.IOutputEncodedConfig|null} [encoded] EncodedRecorderOutputConfig encoded
25595
+ * @property {sesame.v1.outputs.IEncoderConfig|null} [encoder] EncodedRecorderOutputConfig encoder
25806
25596
  * @property {string|null} [filename] EncodedRecorderOutputConfig filename
25807
25597
  * @property {number|null} [sizeGb] EncodedRecorderOutputConfig sizeGb
25808
25598
  * @property {string|null} [groupId] EncodedRecorderOutputConfig groupId
@@ -25825,12 +25615,12 @@ export const sesame = $root.sesame = (() => {
25825
25615
  }
25826
25616
 
25827
25617
  /**
25828
- * EncodedRecorderOutputConfig encoded.
25829
- * @member {sesame.v1.outputs.IOutputEncodedConfig|null|undefined} encoded
25618
+ * EncodedRecorderOutputConfig encoder.
25619
+ * @member {sesame.v1.outputs.IEncoderConfig|null|undefined} encoder
25830
25620
  * @memberof sesame.v1.outputs.EncodedRecorderOutputConfig
25831
25621
  * @instance
25832
25622
  */
25833
- EncodedRecorderOutputConfig.prototype.encoded = null;
25623
+ EncodedRecorderOutputConfig.prototype.encoder = null;
25834
25624
 
25835
25625
  /**
25836
25626
  * EncodedRecorderOutputConfig filename.
@@ -25888,8 +25678,8 @@ export const sesame = $root.sesame = (() => {
25888
25678
  EncodedRecorderOutputConfig.encode = function encode(message, writer) {
25889
25679
  if (!writer)
25890
25680
  writer = $Writer.create();
25891
- if (message.encoded != null && Object.hasOwnProperty.call(message, "encoded"))
25892
- $root.sesame.v1.outputs.OutputEncodedConfig.encode(message.encoded, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
25681
+ if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
25682
+ $root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
25893
25683
  if (message.filename != null && Object.hasOwnProperty.call(message, "filename"))
25894
25684
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.filename);
25895
25685
  if (message.sizeGb != null && Object.hasOwnProperty.call(message, "sizeGb"))
@@ -25935,7 +25725,7 @@ export const sesame = $root.sesame = (() => {
25935
25725
  break;
25936
25726
  switch (tag >>> 3) {
25937
25727
  case 1: {
25938
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.decode(reader, reader.uint32());
25728
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
25939
25729
  break;
25940
25730
  }
25941
25731
  case 2: {
@@ -25989,10 +25779,10 @@ export const sesame = $root.sesame = (() => {
25989
25779
  EncodedRecorderOutputConfig.verify = function verify(message) {
25990
25780
  if (typeof message !== "object" || message === null)
25991
25781
  return "object expected";
25992
- if (message.encoded != null && message.hasOwnProperty("encoded")) {
25993
- let error = $root.sesame.v1.outputs.OutputEncodedConfig.verify(message.encoded);
25782
+ if (message.encoder != null && message.hasOwnProperty("encoder")) {
25783
+ let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
25994
25784
  if (error)
25995
- return "encoded." + error;
25785
+ return "encoder." + error;
25996
25786
  }
25997
25787
  if (message.filename != null && message.hasOwnProperty("filename"))
25998
25788
  if (!$util.isString(message.filename))
@@ -26027,10 +25817,10 @@ export const sesame = $root.sesame = (() => {
26027
25817
  if (object instanceof $root.sesame.v1.outputs.EncodedRecorderOutputConfig)
26028
25818
  return object;
26029
25819
  let message = new $root.sesame.v1.outputs.EncodedRecorderOutputConfig();
26030
- if (object.encoded != null) {
26031
- if (typeof object.encoded !== "object")
26032
- throw TypeError(".sesame.v1.outputs.EncodedRecorderOutputConfig.encoded: object expected");
26033
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.fromObject(object.encoded);
25820
+ if (object.encoder != null) {
25821
+ if (typeof object.encoder !== "object")
25822
+ throw TypeError(".sesame.v1.outputs.EncodedRecorderOutputConfig.encoder: object expected");
25823
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
26034
25824
  }
26035
25825
  if (object.filename != null)
26036
25826
  message.filename = String(object.filename);
@@ -26075,14 +25865,14 @@ export const sesame = $root.sesame = (() => {
26075
25865
  options = {};
26076
25866
  let object = {};
26077
25867
  if (options.defaults) {
26078
- object.encoded = null;
25868
+ object.encoder = null;
26079
25869
  object.filename = "";
26080
25870
  object.sizeGb = 0;
26081
25871
  object.groupId = "";
26082
25872
  object.recorderType = options.enums === String ? "RECORDER_TYPE_UNSPECIFIED" : 0;
26083
25873
  }
26084
- if (message.encoded != null && message.hasOwnProperty("encoded"))
26085
- object.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.toObject(message.encoded, options);
25874
+ if (message.encoder != null && message.hasOwnProperty("encoder"))
25875
+ object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
26086
25876
  if (message.filename != null && message.hasOwnProperty("filename"))
26087
25877
  object.filename = message.filename;
26088
25878
  if (message.sizeGb != null && message.hasOwnProperty("sizeGb"))
@@ -26129,7 +25919,7 @@ export const sesame = $root.sesame = (() => {
26129
25919
  * Properties of an EncodedSuperSlowMoRecorderOutputConfig.
26130
25920
  * @memberof sesame.v1.outputs
26131
25921
  * @interface IEncodedSuperSlowMoRecorderOutputConfig
26132
- * @property {sesame.v1.outputs.IOutputEncodedConfig|null} [encoded] EncodedSuperSlowMoRecorderOutputConfig encoded
25922
+ * @property {sesame.v1.outputs.IEncoderConfig|null} [encoder] EncodedSuperSlowMoRecorderOutputConfig encoder
26133
25923
  * @property {string|null} [filename] EncodedSuperSlowMoRecorderOutputConfig filename
26134
25924
  * @property {number|null} [sizeGb] EncodedSuperSlowMoRecorderOutputConfig sizeGb
26135
25925
  * @property {string|null} [groupId] EncodedSuperSlowMoRecorderOutputConfig groupId
@@ -26156,12 +25946,12 @@ export const sesame = $root.sesame = (() => {
26156
25946
  }
26157
25947
 
26158
25948
  /**
26159
- * EncodedSuperSlowMoRecorderOutputConfig encoded.
26160
- * @member {sesame.v1.outputs.IOutputEncodedConfig|null|undefined} encoded
25949
+ * EncodedSuperSlowMoRecorderOutputConfig encoder.
25950
+ * @member {sesame.v1.outputs.IEncoderConfig|null|undefined} encoder
26161
25951
  * @memberof sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig
26162
25952
  * @instance
26163
25953
  */
26164
- EncodedSuperSlowMoRecorderOutputConfig.prototype.encoded = null;
25954
+ EncodedSuperSlowMoRecorderOutputConfig.prototype.encoder = null;
26165
25955
 
26166
25956
  /**
26167
25957
  * EncodedSuperSlowMoRecorderOutputConfig filename.
@@ -26235,8 +26025,8 @@ export const sesame = $root.sesame = (() => {
26235
26025
  EncodedSuperSlowMoRecorderOutputConfig.encode = function encode(message, writer) {
26236
26026
  if (!writer)
26237
26027
  writer = $Writer.create();
26238
- if (message.encoded != null && Object.hasOwnProperty.call(message, "encoded"))
26239
- $root.sesame.v1.outputs.OutputEncodedConfig.encode(message.encoded, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
26028
+ if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
26029
+ $root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
26240
26030
  if (message.filename != null && Object.hasOwnProperty.call(message, "filename"))
26241
26031
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.filename);
26242
26032
  if (message.sizeGb != null && Object.hasOwnProperty.call(message, "sizeGb"))
@@ -26288,7 +26078,7 @@ export const sesame = $root.sesame = (() => {
26288
26078
  break;
26289
26079
  switch (tag >>> 3) {
26290
26080
  case 1: {
26291
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.decode(reader, reader.uint32());
26081
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
26292
26082
  break;
26293
26083
  }
26294
26084
  case 2: {
@@ -26354,10 +26144,10 @@ export const sesame = $root.sesame = (() => {
26354
26144
  EncodedSuperSlowMoRecorderOutputConfig.verify = function verify(message) {
26355
26145
  if (typeof message !== "object" || message === null)
26356
26146
  return "object expected";
26357
- if (message.encoded != null && message.hasOwnProperty("encoded")) {
26358
- let error = $root.sesame.v1.outputs.OutputEncodedConfig.verify(message.encoded);
26147
+ if (message.encoder != null && message.hasOwnProperty("encoder")) {
26148
+ let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
26359
26149
  if (error)
26360
- return "encoded." + error;
26150
+ return "encoder." + error;
26361
26151
  }
26362
26152
  if (message.filename != null && message.hasOwnProperty("filename"))
26363
26153
  if (!$util.isString(message.filename))
@@ -26406,10 +26196,10 @@ export const sesame = $root.sesame = (() => {
26406
26196
  if (object instanceof $root.sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig)
26407
26197
  return object;
26408
26198
  let message = new $root.sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig();
26409
- if (object.encoded != null) {
26410
- if (typeof object.encoded !== "object")
26411
- throw TypeError(".sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig.encoded: object expected");
26412
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.fromObject(object.encoded);
26199
+ if (object.encoder != null) {
26200
+ if (typeof object.encoder !== "object")
26201
+ throw TypeError(".sesame.v1.outputs.EncodedSuperSlowMoRecorderOutputConfig.encoder: object expected");
26202
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
26413
26203
  }
26414
26204
  if (object.filename != null)
26415
26205
  message.filename = String(object.filename);
@@ -26472,14 +26262,14 @@ export const sesame = $root.sesame = (() => {
26472
26262
  object.sourceIds = [];
26473
26263
  }
26474
26264
  if (options.defaults) {
26475
- object.encoded = null;
26265
+ object.encoder = null;
26476
26266
  object.filename = "";
26477
26267
  object.sizeGb = 0;
26478
26268
  object.groupId = "";
26479
26269
  object.recorderType = options.enums === String ? "RECORDER_TYPE_UNSPECIFIED" : 0;
26480
26270
  }
26481
- if (message.encoded != null && message.hasOwnProperty("encoded"))
26482
- object.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.toObject(message.encoded, options);
26271
+ if (message.encoder != null && message.hasOwnProperty("encoder"))
26272
+ object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
26483
26273
  if (message.filename != null && message.hasOwnProperty("filename"))
26484
26274
  object.filename = message.filename;
26485
26275
  if (message.sizeGb != null && message.hasOwnProperty("sizeGb"))
@@ -26537,7 +26327,7 @@ export const sesame = $root.sesame = (() => {
26537
26327
  * @memberof sesame.v1.outputs
26538
26328
  * @interface IEncodedSrtOutputConfig
26539
26329
  * @property {string|null} [url] EncodedSrtOutputConfig url
26540
- * @property {sesame.v1.outputs.IOutputEncodedConfig|null} [encoded] EncodedSrtOutputConfig encoded
26330
+ * @property {sesame.v1.outputs.IEncoderConfig|null} [encoder] EncodedSrtOutputConfig encoder
26541
26331
  */
26542
26332
 
26543
26333
  /**
@@ -26564,12 +26354,12 @@ export const sesame = $root.sesame = (() => {
26564
26354
  EncodedSrtOutputConfig.prototype.url = "";
26565
26355
 
26566
26356
  /**
26567
- * EncodedSrtOutputConfig encoded.
26568
- * @member {sesame.v1.outputs.IOutputEncodedConfig|null|undefined} encoded
26357
+ * EncodedSrtOutputConfig encoder.
26358
+ * @member {sesame.v1.outputs.IEncoderConfig|null|undefined} encoder
26569
26359
  * @memberof sesame.v1.outputs.EncodedSrtOutputConfig
26570
26360
  * @instance
26571
26361
  */
26572
- EncodedSrtOutputConfig.prototype.encoded = null;
26362
+ EncodedSrtOutputConfig.prototype.encoder = null;
26573
26363
 
26574
26364
  /**
26575
26365
  * Creates a new EncodedSrtOutputConfig instance using the specified properties.
@@ -26597,8 +26387,8 @@ export const sesame = $root.sesame = (() => {
26597
26387
  writer = $Writer.create();
26598
26388
  if (message.url != null && Object.hasOwnProperty.call(message, "url"))
26599
26389
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.url);
26600
- if (message.encoded != null && Object.hasOwnProperty.call(message, "encoded"))
26601
- $root.sesame.v1.outputs.OutputEncodedConfig.encode(message.encoded, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
26390
+ if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
26391
+ $root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
26602
26392
  return writer;
26603
26393
  };
26604
26394
 
@@ -26640,7 +26430,7 @@ export const sesame = $root.sesame = (() => {
26640
26430
  break;
26641
26431
  }
26642
26432
  case 2: {
26643
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.decode(reader, reader.uint32());
26433
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
26644
26434
  break;
26645
26435
  }
26646
26436
  default:
@@ -26681,10 +26471,10 @@ export const sesame = $root.sesame = (() => {
26681
26471
  if (message.url != null && message.hasOwnProperty("url"))
26682
26472
  if (!$util.isString(message.url))
26683
26473
  return "url: string expected";
26684
- if (message.encoded != null && message.hasOwnProperty("encoded")) {
26685
- let error = $root.sesame.v1.outputs.OutputEncodedConfig.verify(message.encoded);
26474
+ if (message.encoder != null && message.hasOwnProperty("encoder")) {
26475
+ let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
26686
26476
  if (error)
26687
- return "encoded." + error;
26477
+ return "encoder." + error;
26688
26478
  }
26689
26479
  return null;
26690
26480
  };
@@ -26703,10 +26493,10 @@ export const sesame = $root.sesame = (() => {
26703
26493
  let message = new $root.sesame.v1.outputs.EncodedSrtOutputConfig();
26704
26494
  if (object.url != null)
26705
26495
  message.url = String(object.url);
26706
- if (object.encoded != null) {
26707
- if (typeof object.encoded !== "object")
26708
- throw TypeError(".sesame.v1.outputs.EncodedSrtOutputConfig.encoded: object expected");
26709
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.fromObject(object.encoded);
26496
+ if (object.encoder != null) {
26497
+ if (typeof object.encoder !== "object")
26498
+ throw TypeError(".sesame.v1.outputs.EncodedSrtOutputConfig.encoder: object expected");
26499
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
26710
26500
  }
26711
26501
  return message;
26712
26502
  };
@@ -26726,12 +26516,12 @@ export const sesame = $root.sesame = (() => {
26726
26516
  let object = {};
26727
26517
  if (options.defaults) {
26728
26518
  object.url = "";
26729
- object.encoded = null;
26519
+ object.encoder = null;
26730
26520
  }
26731
26521
  if (message.url != null && message.hasOwnProperty("url"))
26732
26522
  object.url = message.url;
26733
- if (message.encoded != null && message.hasOwnProperty("encoded"))
26734
- object.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.toObject(message.encoded, options);
26523
+ if (message.encoder != null && message.hasOwnProperty("encoder"))
26524
+ object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
26735
26525
  return object;
26736
26526
  };
26737
26527
 
@@ -26770,7 +26560,7 @@ export const sesame = $root.sesame = (() => {
26770
26560
  * Properties of an EncodedMoqOutputConfig.
26771
26561
  * @memberof sesame.v1.outputs
26772
26562
  * @interface IEncodedMoqOutputConfig
26773
- * @property {sesame.v1.outputs.IOutputEncodedConfig|null} [encoded] EncodedMoqOutputConfig encoded
26563
+ * @property {sesame.v1.outputs.IEncoderConfig|null} [encoder] EncodedMoqOutputConfig encoder
26774
26564
  * @property {string|null} [url] EncodedMoqOutputConfig url
26775
26565
  * @property {string|null} [broadcast] EncodedMoqOutputConfig broadcast
26776
26566
  * @property {string|null} [key] EncodedMoqOutputConfig key
@@ -26792,12 +26582,12 @@ export const sesame = $root.sesame = (() => {
26792
26582
  }
26793
26583
 
26794
26584
  /**
26795
- * EncodedMoqOutputConfig encoded.
26796
- * @member {sesame.v1.outputs.IOutputEncodedConfig|null|undefined} encoded
26585
+ * EncodedMoqOutputConfig encoder.
26586
+ * @member {sesame.v1.outputs.IEncoderConfig|null|undefined} encoder
26797
26587
  * @memberof sesame.v1.outputs.EncodedMoqOutputConfig
26798
26588
  * @instance
26799
26589
  */
26800
- EncodedMoqOutputConfig.prototype.encoded = null;
26590
+ EncodedMoqOutputConfig.prototype.encoder = null;
26801
26591
 
26802
26592
  /**
26803
26593
  * EncodedMoqOutputConfig url.
@@ -26847,8 +26637,8 @@ export const sesame = $root.sesame = (() => {
26847
26637
  EncodedMoqOutputConfig.encode = function encode(message, writer) {
26848
26638
  if (!writer)
26849
26639
  writer = $Writer.create();
26850
- if (message.encoded != null && Object.hasOwnProperty.call(message, "encoded"))
26851
- $root.sesame.v1.outputs.OutputEncodedConfig.encode(message.encoded, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
26640
+ if (message.encoder != null && Object.hasOwnProperty.call(message, "encoder"))
26641
+ $root.sesame.v1.outputs.EncoderConfig.encode(message.encoder, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
26852
26642
  if (message.url != null && Object.hasOwnProperty.call(message, "url"))
26853
26643
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.url);
26854
26644
  if (message.broadcast != null && Object.hasOwnProperty.call(message, "broadcast"))
@@ -26892,7 +26682,7 @@ export const sesame = $root.sesame = (() => {
26892
26682
  break;
26893
26683
  switch (tag >>> 3) {
26894
26684
  case 1: {
26895
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.decode(reader, reader.uint32());
26685
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.decode(reader, reader.uint32());
26896
26686
  break;
26897
26687
  }
26898
26688
  case 2: {
@@ -26942,10 +26732,10 @@ export const sesame = $root.sesame = (() => {
26942
26732
  EncodedMoqOutputConfig.verify = function verify(message) {
26943
26733
  if (typeof message !== "object" || message === null)
26944
26734
  return "object expected";
26945
- if (message.encoded != null && message.hasOwnProperty("encoded")) {
26946
- let error = $root.sesame.v1.outputs.OutputEncodedConfig.verify(message.encoded);
26735
+ if (message.encoder != null && message.hasOwnProperty("encoder")) {
26736
+ let error = $root.sesame.v1.outputs.EncoderConfig.verify(message.encoder);
26947
26737
  if (error)
26948
- return "encoded." + error;
26738
+ return "encoder." + error;
26949
26739
  }
26950
26740
  if (message.url != null && message.hasOwnProperty("url"))
26951
26741
  if (!$util.isString(message.url))
@@ -26971,10 +26761,10 @@ export const sesame = $root.sesame = (() => {
26971
26761
  if (object instanceof $root.sesame.v1.outputs.EncodedMoqOutputConfig)
26972
26762
  return object;
26973
26763
  let message = new $root.sesame.v1.outputs.EncodedMoqOutputConfig();
26974
- if (object.encoded != null) {
26975
- if (typeof object.encoded !== "object")
26976
- throw TypeError(".sesame.v1.outputs.EncodedMoqOutputConfig.encoded: object expected");
26977
- message.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.fromObject(object.encoded);
26764
+ if (object.encoder != null) {
26765
+ if (typeof object.encoder !== "object")
26766
+ throw TypeError(".sesame.v1.outputs.EncodedMoqOutputConfig.encoder: object expected");
26767
+ message.encoder = $root.sesame.v1.outputs.EncoderConfig.fromObject(object.encoder);
26978
26768
  }
26979
26769
  if (object.url != null)
26980
26770
  message.url = String(object.url);
@@ -26999,13 +26789,13 @@ export const sesame = $root.sesame = (() => {
26999
26789
  options = {};
27000
26790
  let object = {};
27001
26791
  if (options.defaults) {
27002
- object.encoded = null;
26792
+ object.encoder = null;
27003
26793
  object.url = "";
27004
26794
  object.broadcast = "";
27005
26795
  object.key = "";
27006
26796
  }
27007
- if (message.encoded != null && message.hasOwnProperty("encoded"))
27008
- object.encoded = $root.sesame.v1.outputs.OutputEncodedConfig.toObject(message.encoded, options);
26797
+ if (message.encoder != null && message.hasOwnProperty("encoder"))
26798
+ object.encoder = $root.sesame.v1.outputs.EncoderConfig.toObject(message.encoder, options);
27009
26799
  if (message.url != null && message.hasOwnProperty("url"))
27010
26800
  object.url = message.url;
27011
26801
  if (message.broadcast != null && message.hasOwnProperty("broadcast"))