@norskvideo/norsk-api 1.0.375 → 1.0.377

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/lib/media_pb.ts CHANGED
@@ -6534,6 +6534,11 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6534
6534
  */
6535
6535
  pixelFormat = PixelFormat.UNSPECIFIED;
6536
6536
 
6537
+ /**
6538
+ * @generated from field: bool interlaced = 8;
6539
+ */
6540
+ interlaced = false;
6541
+
6537
6542
  constructor(data?: PartialMessage<TestCardVideoConfiguration>) {
6538
6543
  super();
6539
6544
  proto3.util.initPartial(data, this);
@@ -6549,6 +6554,7 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6549
6554
  { no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6550
6555
  { no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
6551
6556
  { no: 7, name: "pixel_format", kind: "enum", T: proto3.getEnumType(PixelFormat) },
6557
+ { no: 8, name: "interlaced", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6552
6558
  ]);
6553
6559
 
6554
6560
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestCardVideoConfiguration {
@@ -7898,7 +7904,12 @@ export class AudioSignalGeneratorConfiguration extends Message<AudioSignalGenera
7898
7904
  sampleFormat = SampleFormat.S16;
7899
7905
 
7900
7906
  /**
7901
- * @generated from field: norsk.api.media.Wave wave = 6;
7907
+ * @generated from field: norsk.api.common.OptionalString language = 6;
7908
+ */
7909
+ language?: OptionalString;
7910
+
7911
+ /**
7912
+ * @generated from field: norsk.api.media.Wave wave = 7;
7902
7913
  */
7903
7914
  wave?: Wave;
7904
7915
 
@@ -7915,7 +7926,8 @@ export class AudioSignalGeneratorConfiguration extends Message<AudioSignalGenera
7915
7926
  { no: 3, name: "channelLayout", kind: "message", T: ChannelLayout },
7916
7927
  { no: 4, name: "sampleRate", kind: "enum", T: proto3.getEnumType(SampleRate) },
7917
7928
  { no: 5, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
7918
- { no: 6, name: "wave", kind: "message", T: Wave },
7929
+ { no: 6, name: "language", kind: "message", T: OptionalString },
7930
+ { no: 7, name: "wave", kind: "message", T: Wave },
7919
7931
  ]);
7920
7932
 
7921
7933
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSignalGeneratorConfiguration {
@@ -11422,6 +11434,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
11422
11434
  */
11423
11435
  pdtEverySegment = false;
11424
11436
 
11437
+ /**
11438
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 11;
11439
+ */
11440
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
11441
+
11425
11442
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
11426
11443
  super();
11427
11444
  proto3.util.initPartial(data, this);
@@ -11439,6 +11456,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
11439
11456
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11440
11457
  { no: 9, name: "name", kind: "message", T: OptionalString },
11441
11458
  { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11459
+ { no: 11, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
11442
11460
  ]);
11443
11461
 
11444
11462
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -11740,6 +11758,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11740
11758
  */
11741
11759
  pdtEverySegment = false;
11742
11760
 
11761
+ /**
11762
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 11;
11763
+ */
11764
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
11765
+
11743
11766
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
11744
11767
  super();
11745
11768
  proto3.util.initPartial(data, this);
@@ -11757,6 +11780,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11757
11780
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11758
11781
  { no: 9, name: "name", kind: "message", T: OptionalString },
11759
11782
  { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11783
+ { no: 11, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
11760
11784
  ]);
11761
11785
 
11762
11786
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -19808,6 +19832,11 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
19808
19832
  */
19809
19833
  streamKey?: StreamKey;
19810
19834
 
19835
+ /**
19836
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 3;
19837
+ */
19838
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
19839
+
19811
19840
  constructor(data?: PartialMessage<StreamKeyOverrideConfiguration>) {
19812
19841
  super();
19813
19842
  proto3.util.initPartial(data, this);
@@ -19818,6 +19847,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
19818
19847
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
19819
19848
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
19820
19849
  { no: 2, name: "stream_key", kind: "message", T: StreamKey },
19850
+ { no: 3, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
19821
19851
  ]);
19822
19852
 
19823
19853
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideConfiguration {
@@ -26804,6 +26834,49 @@ export class SingleCut extends Message<SingleCut> {
26804
26834
  }
26805
26835
  }
26806
26836
 
26837
+ /**
26838
+ * @generated from message norsk.api.media.LanguageMapping
26839
+ */
26840
+ export class LanguageMapping extends Message<LanguageMapping> {
26841
+ /**
26842
+ * @generated from field: norsk.api.media.StreamKey stream_key = 1;
26843
+ */
26844
+ streamKey?: StreamKey;
26845
+
26846
+ /**
26847
+ * @generated from field: norsk.api.common.OptionalString language = 2;
26848
+ */
26849
+ language?: OptionalString;
26850
+
26851
+ constructor(data?: PartialMessage<LanguageMapping>) {
26852
+ super();
26853
+ proto3.util.initPartial(data, this);
26854
+ }
26855
+
26856
+ static readonly runtime = proto3;
26857
+ static readonly typeName = "norsk.api.media.LanguageMapping";
26858
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26859
+ { no: 1, name: "stream_key", kind: "message", T: StreamKey },
26860
+ { no: 2, name: "language", kind: "message", T: OptionalString },
26861
+ ]);
26862
+
26863
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LanguageMapping {
26864
+ return new LanguageMapping().fromBinary(bytes, options);
26865
+ }
26866
+
26867
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LanguageMapping {
26868
+ return new LanguageMapping().fromJson(jsonValue, options);
26869
+ }
26870
+
26871
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LanguageMapping {
26872
+ return new LanguageMapping().fromJsonString(jsonString, options);
26873
+ }
26874
+
26875
+ static equals(a: LanguageMapping | PlainMessage<LanguageMapping> | undefined, b: LanguageMapping | PlainMessage<LanguageMapping> | undefined): boolean {
26876
+ return proto3.util.equals(LanguageMapping, a, b);
26877
+ }
26878
+ }
26879
+
26807
26880
  /**
26808
26881
  * @generated from message norsk.api.media.StartMediaStoreCut
26809
26882
  */
@@ -26828,6 +26901,16 @@ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
26828
26901
  */
26829
26902
  fileFormat = StartMediaStoreCut_FileFormat.CUT_MP4;
26830
26903
 
26904
+ /**
26905
+ * @generated from field: repeated norsk.api.media.LanguageMapping language_mapping = 5;
26906
+ */
26907
+ languageMapping: LanguageMapping[] = [];
26908
+
26909
+ /**
26910
+ * @generated from field: bool fast_start = 6;
26911
+ */
26912
+ fastStart = false;
26913
+
26831
26914
  constructor(data?: PartialMessage<StartMediaStoreCut>) {
26832
26915
  super();
26833
26916
  proto3.util.initPartial(data, this);
@@ -26840,6 +26923,8 @@ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
26840
26923
  { no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
26841
26924
  { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26842
26925
  { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(StartMediaStoreCut_FileFormat) },
26926
+ { no: 5, name: "language_mapping", kind: "message", T: LanguageMapping, repeated: true },
26927
+ { no: 6, name: "fast_start", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26843
26928
  ]);
26844
26929
 
26845
26930
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartMediaStoreCut {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.375",
3
+ "version": "1.0.377",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",