@norskvideo/norsk-api 1.0.402-2026-01-05-fb2d936b → 1.0.402-2026-01-09-7c042c58

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
@@ -4403,6 +4403,69 @@ export class OutputJitterBufferSettings extends Message<OutputJitterBufferSettin
4403
4403
  }
4404
4404
  }
4405
4405
 
4406
+ /**
4407
+ * Shared configuration for inputs that have start threshold behaviour
4408
+ *
4409
+ * @generated from message norsk.api.media.InputStartThresholdSettings
4410
+ */
4411
+ export class InputStartThresholdSettings extends Message<InputStartThresholdSettings> {
4412
+ /**
4413
+ * @generated from field: norsk.api.common.OptionalInt min_period = 1;
4414
+ */
4415
+ minPeriod?: OptionalInt;
4416
+
4417
+ /**
4418
+ * @generated from field: norsk.api.common.OptionalInt max_period = 2;
4419
+ */
4420
+ maxPeriod?: OptionalInt;
4421
+
4422
+ /**
4423
+ * @generated from field: norsk.api.common.OptionalInt consecutive_good = 3;
4424
+ */
4425
+ consecutiveGood?: OptionalInt;
4426
+
4427
+ /**
4428
+ * @generated from field: norsk.api.common.OptionalFloat max_slope = 4;
4429
+ */
4430
+ maxSlope?: OptionalFloat;
4431
+
4432
+ /**
4433
+ * @generated from field: norsk.api.common.OptionalInt calibration_window_duration = 5;
4434
+ */
4435
+ calibrationWindowDuration?: OptionalInt;
4436
+
4437
+ constructor(data?: PartialMessage<InputStartThresholdSettings>) {
4438
+ super();
4439
+ proto3.util.initPartial(data, this);
4440
+ }
4441
+
4442
+ static readonly runtime = proto3;
4443
+ static readonly typeName = "norsk.api.media.InputStartThresholdSettings";
4444
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
4445
+ { no: 1, name: "min_period", kind: "message", T: OptionalInt },
4446
+ { no: 2, name: "max_period", kind: "message", T: OptionalInt },
4447
+ { no: 3, name: "consecutive_good", kind: "message", T: OptionalInt },
4448
+ { no: 4, name: "max_slope", kind: "message", T: OptionalFloat },
4449
+ { no: 5, name: "calibration_window_duration", kind: "message", T: OptionalInt },
4450
+ ]);
4451
+
4452
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputStartThresholdSettings {
4453
+ return new InputStartThresholdSettings().fromBinary(bytes, options);
4454
+ }
4455
+
4456
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputStartThresholdSettings {
4457
+ return new InputStartThresholdSettings().fromJson(jsonValue, options);
4458
+ }
4459
+
4460
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputStartThresholdSettings {
4461
+ return new InputStartThresholdSettings().fromJsonString(jsonString, options);
4462
+ }
4463
+
4464
+ static equals(a: InputStartThresholdSettings | PlainMessage<InputStartThresholdSettings> | undefined, b: InputStartThresholdSettings | PlainMessage<InputStartThresholdSettings> | undefined): boolean {
4465
+ return proto3.util.equals(InputStartThresholdSettings, a, b);
4466
+ }
4467
+ }
4468
+
4406
4469
  /**
4407
4470
  * @generated from message norsk.api.media.CodecPictureStructure
4408
4471
  */
@@ -7703,6 +7766,14 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
7703
7766
  */
7704
7767
  debugDumpSource = "";
7705
7768
 
7769
+ /**
7770
+ * Optionally drop data until input is 'stable'
7771
+ * this will reduce latency and memory use in nearly all cases
7772
+ *
7773
+ * @generated from field: norsk.api.media.InputStartThresholdSettings start_threshold = 16;
7774
+ */
7775
+ startThreshold?: InputStartThresholdSettings;
7776
+
7706
7777
  constructor(data?: PartialMessage<SrtInputConfiguration>) {
7707
7778
  super();
7708
7779
  proto3.util.initPartial(data, this);
@@ -7726,6 +7797,7 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
7726
7797
  { no: 13, name: "max_bandwidth", kind: "message", T: OptionalInt },
7727
7798
  { no: 14, name: "peer_idle_timeout_ms", kind: "message", T: OptionalInt },
7728
7799
  { no: 15, name: "debug_dump_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7800
+ { no: 16, name: "start_threshold", kind: "message", T: InputStartThresholdSettings },
7729
7801
  ]);
7730
7802
 
7731
7803
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SrtInputConfiguration {
@@ -21254,6 +21326,11 @@ export class FileMp4OutputConfiguration extends Message<FileMp4OutputConfigurati
21254
21326
  */
21255
21327
  statsSampling?: StreamStatisticsSampling;
21256
21328
 
21329
+ /**
21330
+ * @generated from field: bool enable_incremental_mp4_write = 8;
21331
+ */
21332
+ enableIncrementalMp4Write = false;
21333
+
21257
21334
  constructor(data?: PartialMessage<FileMp4OutputConfiguration>) {
21258
21335
  super();
21259
21336
  proto3.util.initPartial(data, this);
@@ -21269,6 +21346,7 @@ export class FileMp4OutputConfiguration extends Message<FileMp4OutputConfigurati
21269
21346
  { no: 4, name: "audio_encryption", kind: "message", T: Mp4Encryption },
21270
21347
  { no: 5, name: "video_encryption", kind: "message", T: Mp4Encryption },
21271
21348
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
21349
+ { no: 8, name: "enable_incremental_mp4_write", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
21272
21350
  ]);
21273
21351
 
21274
21352
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputConfiguration {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.402-2026-01-05-fb2d936b+nightly",
3
+ "version": "1.0.402-2026-01-09-7c042c58+nightly",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",