@norskvideo/norsk-api 1.0.376 → 1.0.378

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
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Empty, Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
8
- import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
8
+ import { CurrentLoad, Log, Log_Level, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from enum norsk.api.media.NodeMetricsMode
@@ -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 {
@@ -7991,6 +7997,64 @@ export class AudioSignalGeneratorEvent extends Message<AudioSignalGeneratorEvent
7991
7997
  }
7992
7998
  }
7993
7999
 
8000
+ /**
8001
+ * ///////////////////////////////
8002
+ * BrowserInput
8003
+ *
8004
+ * @generated from message norsk.api.media.BrowserAppConfiguration
8005
+ */
8006
+ export class BrowserAppConfiguration extends Message<BrowserAppConfiguration> {
8007
+ /**
8008
+ * @generated from field: string cache_path = 1;
8009
+ */
8010
+ cachePath = "";
8011
+
8012
+ /**
8013
+ * @generated from field: string log_file = 2;
8014
+ */
8015
+ logFile = "";
8016
+
8017
+ /**
8018
+ * @generated from field: norsk.api.common.Log.Level log_severity = 3;
8019
+ */
8020
+ logSeverity = Log_Level.EMERGENCY;
8021
+
8022
+ /**
8023
+ * @generated from field: repeated string additional_args = 4;
8024
+ */
8025
+ additionalArgs: string[] = [];
8026
+
8027
+ constructor(data?: PartialMessage<BrowserAppConfiguration>) {
8028
+ super();
8029
+ proto3.util.initPartial(data, this);
8030
+ }
8031
+
8032
+ static readonly runtime = proto3;
8033
+ static readonly typeName = "norsk.api.media.BrowserAppConfiguration";
8034
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
8035
+ { no: 1, name: "cache_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8036
+ { no: 2, name: "log_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8037
+ { no: 3, name: "log_severity", kind: "enum", T: proto3.getEnumType(Log_Level) },
8038
+ { no: 4, name: "additional_args", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8039
+ ]);
8040
+
8041
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BrowserAppConfiguration {
8042
+ return new BrowserAppConfiguration().fromBinary(bytes, options);
8043
+ }
8044
+
8045
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BrowserAppConfiguration {
8046
+ return new BrowserAppConfiguration().fromJson(jsonValue, options);
8047
+ }
8048
+
8049
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BrowserAppConfiguration {
8050
+ return new BrowserAppConfiguration().fromJsonString(jsonString, options);
8051
+ }
8052
+
8053
+ static equals(a: BrowserAppConfiguration | PlainMessage<BrowserAppConfiguration> | undefined, b: BrowserAppConfiguration | PlainMessage<BrowserAppConfiguration> | undefined): boolean {
8054
+ return proto3.util.equals(BrowserAppConfiguration, a, b);
8055
+ }
8056
+ }
8057
+
7994
8058
  /**
7995
8059
  * @generated from message norsk.api.media.BrowserInputConfiguration
7996
8060
  */
@@ -8025,6 +8089,11 @@ export class BrowserInputConfiguration extends Message<BrowserInputConfiguration
8025
8089
  */
8026
8090
  statsSampling?: StreamStatisticsSampling;
8027
8091
 
8092
+ /**
8093
+ * @generated from field: norsk.api.media.BrowserAppConfiguration app_config = 7;
8094
+ */
8095
+ appConfig?: BrowserAppConfiguration;
8096
+
8028
8097
  constructor(data?: PartialMessage<BrowserInputConfiguration>) {
8029
8098
  super();
8030
8099
  proto3.util.initPartial(data, this);
@@ -8039,6 +8108,7 @@ export class BrowserInputConfiguration extends Message<BrowserInputConfiguration
8039
8108
  { no: 4, name: "resolution", kind: "message", T: Resolution },
8040
8109
  { no: 5, name: "frame_rate", kind: "message", T: FrameRate },
8041
8110
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
8111
+ { no: 7, name: "app_config", kind: "message", T: BrowserAppConfiguration },
8042
8112
  ]);
8043
8113
 
8044
8114
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BrowserInputConfiguration {
@@ -19318,6 +19388,11 @@ export class VideoTransformConfiguration extends Message<VideoTransformConfigura
19318
19388
  case: "software";
19319
19389
  } | { case: undefined; value?: undefined } = { case: undefined };
19320
19390
 
19391
+ /**
19392
+ * @generated from field: norsk.api.media.PixelFormat pixel_format = 8;
19393
+ */
19394
+ pixelFormat = PixelFormat.UNSPECIFIED;
19395
+
19321
19396
  constructor(data?: PartialMessage<VideoTransformConfiguration>) {
19322
19397
  super();
19323
19398
  proto3.util.initPartial(data, this);
@@ -19332,6 +19407,7 @@ export class VideoTransformConfiguration extends Message<VideoTransformConfigura
19332
19407
  { no: 5, name: "frame_rate", kind: "message", T: FrameRate },
19333
19408
  { no: 6, name: "none", kind: "message", T: NoDeinterlace, oneof: "deinterlace" },
19334
19409
  { no: 7, name: "software", kind: "message", T: SoftwareDeinterlace, oneof: "deinterlace" },
19410
+ { no: 8, name: "pixel_format", kind: "enum", T: proto3.getEnumType(PixelFormat) },
19335
19411
  ]);
19336
19412
 
19337
19413
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformConfiguration {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.376",
3
+ "version": "1.0.378",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",