@norskvideo/norsk-api 1.0.374 → 1.0.376

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
@@ -7898,7 +7898,12 @@ export class AudioSignalGeneratorConfiguration extends Message<AudioSignalGenera
7898
7898
  sampleFormat = SampleFormat.S16;
7899
7899
 
7900
7900
  /**
7901
- * @generated from field: norsk.api.media.Wave wave = 6;
7901
+ * @generated from field: norsk.api.common.OptionalString language = 6;
7902
+ */
7903
+ language?: OptionalString;
7904
+
7905
+ /**
7906
+ * @generated from field: norsk.api.media.Wave wave = 7;
7902
7907
  */
7903
7908
  wave?: Wave;
7904
7909
 
@@ -7915,7 +7920,8 @@ export class AudioSignalGeneratorConfiguration extends Message<AudioSignalGenera
7915
7920
  { no: 3, name: "channelLayout", kind: "message", T: ChannelLayout },
7916
7921
  { no: 4, name: "sampleRate", kind: "enum", T: proto3.getEnumType(SampleRate) },
7917
7922
  { no: 5, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
7918
- { no: 6, name: "wave", kind: "message", T: Wave },
7923
+ { no: 6, name: "language", kind: "message", T: OptionalString },
7924
+ { no: 7, name: "wave", kind: "message", T: Wave },
7919
7925
  ]);
7920
7926
 
7921
7927
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSignalGeneratorConfiguration {
@@ -11422,6 +11428,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
11422
11428
  */
11423
11429
  pdtEverySegment = false;
11424
11430
 
11431
+ /**
11432
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 11;
11433
+ */
11434
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
11435
+
11425
11436
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
11426
11437
  super();
11427
11438
  proto3.util.initPartial(data, this);
@@ -11439,6 +11450,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
11439
11450
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11440
11451
  { no: 9, name: "name", kind: "message", T: OptionalString },
11441
11452
  { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11453
+ { no: 11, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
11442
11454
  ]);
11443
11455
 
11444
11456
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -11740,6 +11752,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11740
11752
  */
11741
11753
  pdtEverySegment = false;
11742
11754
 
11755
+ /**
11756
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 11;
11757
+ */
11758
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
11759
+
11743
11760
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
11744
11761
  super();
11745
11762
  proto3.util.initPartial(data, this);
@@ -11757,6 +11774,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11757
11774
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11758
11775
  { no: 9, name: "name", kind: "message", T: OptionalString },
11759
11776
  { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11777
+ { no: 11, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
11760
11778
  ]);
11761
11779
 
11762
11780
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -19808,6 +19826,11 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
19808
19826
  */
19809
19827
  streamKey?: StreamKey;
19810
19828
 
19829
+ /**
19830
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 3;
19831
+ */
19832
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
19833
+
19811
19834
  constructor(data?: PartialMessage<StreamKeyOverrideConfiguration>) {
19812
19835
  super();
19813
19836
  proto3.util.initPartial(data, this);
@@ -19818,6 +19841,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
19818
19841
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
19819
19842
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
19820
19843
  { no: 2, name: "stream_key", kind: "message", T: StreamKey },
19844
+ { no: 3, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
19821
19845
  ]);
19822
19846
 
19823
19847
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideConfiguration {
@@ -26804,6 +26828,49 @@ export class SingleCut extends Message<SingleCut> {
26804
26828
  }
26805
26829
  }
26806
26830
 
26831
+ /**
26832
+ * @generated from message norsk.api.media.LanguageMapping
26833
+ */
26834
+ export class LanguageMapping extends Message<LanguageMapping> {
26835
+ /**
26836
+ * @generated from field: norsk.api.media.StreamKey stream_key = 1;
26837
+ */
26838
+ streamKey?: StreamKey;
26839
+
26840
+ /**
26841
+ * @generated from field: norsk.api.common.OptionalString language = 2;
26842
+ */
26843
+ language?: OptionalString;
26844
+
26845
+ constructor(data?: PartialMessage<LanguageMapping>) {
26846
+ super();
26847
+ proto3.util.initPartial(data, this);
26848
+ }
26849
+
26850
+ static readonly runtime = proto3;
26851
+ static readonly typeName = "norsk.api.media.LanguageMapping";
26852
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26853
+ { no: 1, name: "stream_key", kind: "message", T: StreamKey },
26854
+ { no: 2, name: "language", kind: "message", T: OptionalString },
26855
+ ]);
26856
+
26857
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LanguageMapping {
26858
+ return new LanguageMapping().fromBinary(bytes, options);
26859
+ }
26860
+
26861
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LanguageMapping {
26862
+ return new LanguageMapping().fromJson(jsonValue, options);
26863
+ }
26864
+
26865
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LanguageMapping {
26866
+ return new LanguageMapping().fromJsonString(jsonString, options);
26867
+ }
26868
+
26869
+ static equals(a: LanguageMapping | PlainMessage<LanguageMapping> | undefined, b: LanguageMapping | PlainMessage<LanguageMapping> | undefined): boolean {
26870
+ return proto3.util.equals(LanguageMapping, a, b);
26871
+ }
26872
+ }
26873
+
26807
26874
  /**
26808
26875
  * @generated from message norsk.api.media.StartMediaStoreCut
26809
26876
  */
@@ -26828,6 +26895,16 @@ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
26828
26895
  */
26829
26896
  fileFormat = StartMediaStoreCut_FileFormat.CUT_MP4;
26830
26897
 
26898
+ /**
26899
+ * @generated from field: repeated norsk.api.media.LanguageMapping language_mapping = 5;
26900
+ */
26901
+ languageMapping: LanguageMapping[] = [];
26902
+
26903
+ /**
26904
+ * @generated from field: bool fast_start = 6;
26905
+ */
26906
+ fastStart = false;
26907
+
26831
26908
  constructor(data?: PartialMessage<StartMediaStoreCut>) {
26832
26909
  super();
26833
26910
  proto3.util.initPartial(data, this);
@@ -26840,6 +26917,8 @@ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
26840
26917
  { no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
26841
26918
  { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26842
26919
  { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(StartMediaStoreCut_FileFormat) },
26920
+ { no: 5, name: "language_mapping", kind: "message", T: LanguageMapping, repeated: true },
26921
+ { no: 6, name: "fast_start", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26843
26922
  ]);
26844
26923
 
26845
26924
  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.374",
3
+ "version": "1.0.376",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",