@norskvideo/norsk-api 1.0.357 → 1.0.359

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
@@ -1739,14 +1739,14 @@ export class Resolution extends Message<Resolution> {
1739
1739
  */
1740
1740
  export class Interval extends Message<Interval> {
1741
1741
  /**
1742
- * @generated from field: uint32 n = 1;
1742
+ * @generated from field: uint64 n = 1;
1743
1743
  */
1744
- n = 0;
1744
+ n = protoInt64.zero;
1745
1745
 
1746
1746
  /**
1747
- * @generated from field: uint32 d = 2;
1747
+ * @generated from field: uint64 d = 2;
1748
1748
  */
1749
- d = 0;
1749
+ d = protoInt64.zero;
1750
1750
 
1751
1751
  constructor(data?: PartialMessage<Interval>) {
1752
1752
  super();
@@ -1756,8 +1756,8 @@ export class Interval extends Message<Interval> {
1756
1756
  static readonly runtime = proto3;
1757
1757
  static readonly typeName = "norsk.api.media.Interval";
1758
1758
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
1759
- { no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1760
- { no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1759
+ { no: 1, name: "n", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1760
+ { no: 2, name: "d", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1761
1761
  ]);
1762
1762
 
1763
1763
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
@@ -2852,6 +2852,11 @@ export enum ValidationResponse_ContextValidationResponse {
2852
2852
  * @generated from enum value: CONTEXT_VALIDATION_DENY_AND_QUEUE = 3;
2853
2853
  */
2854
2854
  CONTEXT_VALIDATION_DENY_AND_QUEUE = 3,
2855
+
2856
+ /**
2857
+ * @generated from enum value: CONTEXT_VALIDATION_DENY_AND_DROP = 4;
2858
+ */
2859
+ CONTEXT_VALIDATION_DENY_AND_DROP = 4,
2855
2860
  }
2856
2861
  // Retrieve enum metadata with: proto3.getEnumType(ValidationResponse_ContextValidationResponse)
2857
2862
  proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api.media.ValidationResponse.ContextValidationResponse", [
@@ -2859,6 +2864,7 @@ proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api
2859
2864
  { no: 1, name: "CONTEXT_VALIDATION_ALLOW" },
2860
2865
  { no: 2, name: "CONTEXT_VALIDATION_ALLOW_AND_TERMINATE" },
2861
2866
  { no: 3, name: "CONTEXT_VALIDATION_DENY_AND_QUEUE" },
2867
+ { no: 4, name: "CONTEXT_VALIDATION_DENY_AND_DROP" },
2862
2868
  ]);
2863
2869
 
2864
2870
  /**
@@ -6409,6 +6415,174 @@ export class DeckLinkInputEvent extends Message<DeckLinkInputEvent> {
6409
6415
  }
6410
6416
  }
6411
6417
 
6418
+ /**
6419
+ * @generated from message norsk.api.media.DeltacastInputConfiguration
6420
+ */
6421
+ export class DeltacastInputConfiguration extends Message<DeltacastInputConfiguration> {
6422
+ /**
6423
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
6424
+ */
6425
+ id?: MediaNodeId;
6426
+
6427
+ /**
6428
+ * @generated from field: string source_name = 2;
6429
+ */
6430
+ sourceName = "";
6431
+
6432
+ /**
6433
+ * @generated from field: uint32 device_id = 3;
6434
+ */
6435
+ deviceId = 0;
6436
+
6437
+ /**
6438
+ * @generated from field: uint32 card_index = 4;
6439
+ */
6440
+ cardIndex = 0;
6441
+
6442
+ /**
6443
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
6444
+ */
6445
+ statsSampling?: StreamStatisticsSampling;
6446
+
6447
+ constructor(data?: PartialMessage<DeltacastInputConfiguration>) {
6448
+ super();
6449
+ proto3.util.initPartial(data, this);
6450
+ }
6451
+
6452
+ static readonly runtime = proto3;
6453
+ static readonly typeName = "norsk.api.media.DeltacastInputConfiguration";
6454
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6455
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
6456
+ { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6457
+ { no: 3, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6458
+ { no: 4, name: "card_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6459
+ { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6460
+ ]);
6461
+
6462
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputConfiguration {
6463
+ return new DeltacastInputConfiguration().fromBinary(bytes, options);
6464
+ }
6465
+
6466
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastInputConfiguration {
6467
+ return new DeltacastInputConfiguration().fromJson(jsonValue, options);
6468
+ }
6469
+
6470
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastInputConfiguration {
6471
+ return new DeltacastInputConfiguration().fromJsonString(jsonString, options);
6472
+ }
6473
+
6474
+ static equals(a: DeltacastInputConfiguration | PlainMessage<DeltacastInputConfiguration> | undefined, b: DeltacastInputConfiguration | PlainMessage<DeltacastInputConfiguration> | undefined): boolean {
6475
+ return proto3.util.equals(DeltacastInputConfiguration, a, b);
6476
+ }
6477
+ }
6478
+
6479
+ /**
6480
+ * @generated from message norsk.api.media.DeltacastInputMessage
6481
+ */
6482
+ export class DeltacastInputMessage extends Message<DeltacastInputMessage> {
6483
+ /**
6484
+ * @generated from oneof norsk.api.media.DeltacastInputMessage.message
6485
+ */
6486
+ message: {
6487
+ /**
6488
+ * @generated from field: norsk.api.media.DeltacastInputConfiguration initial_config = 1;
6489
+ */
6490
+ value: DeltacastInputConfiguration;
6491
+ case: "initialConfig";
6492
+ } | {
6493
+ /**
6494
+ * @generated from field: norsk.api.media.TimestampNudge nudge = 2;
6495
+ */
6496
+ value: TimestampNudge;
6497
+ case: "nudge";
6498
+ } | { case: undefined; value?: undefined } = { case: undefined };
6499
+
6500
+ constructor(data?: PartialMessage<DeltacastInputMessage>) {
6501
+ super();
6502
+ proto3.util.initPartial(data, this);
6503
+ }
6504
+
6505
+ static readonly runtime = proto3;
6506
+ static readonly typeName = "norsk.api.media.DeltacastInputMessage";
6507
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6508
+ { no: 1, name: "initial_config", kind: "message", T: DeltacastInputConfiguration, oneof: "message" },
6509
+ { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
6510
+ ]);
6511
+
6512
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputMessage {
6513
+ return new DeltacastInputMessage().fromBinary(bytes, options);
6514
+ }
6515
+
6516
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastInputMessage {
6517
+ return new DeltacastInputMessage().fromJson(jsonValue, options);
6518
+ }
6519
+
6520
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastInputMessage {
6521
+ return new DeltacastInputMessage().fromJsonString(jsonString, options);
6522
+ }
6523
+
6524
+ static equals(a: DeltacastInputMessage | PlainMessage<DeltacastInputMessage> | undefined, b: DeltacastInputMessage | PlainMessage<DeltacastInputMessage> | undefined): boolean {
6525
+ return proto3.util.equals(DeltacastInputMessage, a, b);
6526
+ }
6527
+ }
6528
+
6529
+ /**
6530
+ * @generated from message norsk.api.media.DeltacastInputEvent
6531
+ */
6532
+ export class DeltacastInputEvent extends Message<DeltacastInputEvent> {
6533
+ /**
6534
+ * @generated from oneof norsk.api.media.DeltacastInputEvent.message
6535
+ */
6536
+ message: {
6537
+ /**
6538
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
6539
+ */
6540
+ value: MediaNodeId;
6541
+ case: "nodeId";
6542
+ } | {
6543
+ /**
6544
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
6545
+ */
6546
+ value: Context;
6547
+ case: "outboundContext";
6548
+ } | {
6549
+ /**
6550
+ * @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 3;
6551
+ */
6552
+ value: MultiStreamStatistics;
6553
+ case: "streamStatistics";
6554
+ } | { case: undefined; value?: undefined } = { case: undefined };
6555
+
6556
+ constructor(data?: PartialMessage<DeltacastInputEvent>) {
6557
+ super();
6558
+ proto3.util.initPartial(data, this);
6559
+ }
6560
+
6561
+ static readonly runtime = proto3;
6562
+ static readonly typeName = "norsk.api.media.DeltacastInputEvent";
6563
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6564
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
6565
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
6566
+ { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
6567
+ ]);
6568
+
6569
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputEvent {
6570
+ return new DeltacastInputEvent().fromBinary(bytes, options);
6571
+ }
6572
+
6573
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastInputEvent {
6574
+ return new DeltacastInputEvent().fromJson(jsonValue, options);
6575
+ }
6576
+
6577
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastInputEvent {
6578
+ return new DeltacastInputEvent().fromJsonString(jsonString, options);
6579
+ }
6580
+
6581
+ static equals(a: DeltacastInputEvent | PlainMessage<DeltacastInputEvent> | undefined, b: DeltacastInputEvent | PlainMessage<DeltacastInputEvent> | undefined): boolean {
6582
+ return proto3.util.equals(DeltacastInputEvent, a, b);
6583
+ }
6584
+ }
6585
+
6412
6586
  /**
6413
6587
  * @generated from message norsk.api.media.FileImageInputConfiguration
6414
6588
  */
@@ -6438,6 +6612,11 @@ export class FileImageInputConfiguration extends Message<FileImageInputConfigura
6438
6612
  */
6439
6613
  statsSampling?: StreamStatisticsSampling;
6440
6614
 
6615
+ /**
6616
+ * @generated from field: norsk.api.media.FileImageInputConfiguration.FileImageHardwareAcceleration hardware_acceleration = 6;
6617
+ */
6618
+ hardwareAcceleration = FileImageInputConfiguration_FileImageHardwareAcceleration.FILEIMAGE_NONE;
6619
+
6441
6620
  constructor(data?: PartialMessage<FileImageInputConfiguration>) {
6442
6621
  super();
6443
6622
  proto3.util.initPartial(data, this);
@@ -6451,6 +6630,7 @@ export class FileImageInputConfiguration extends Message<FileImageInputConfigura
6451
6630
  { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6452
6631
  { no: 4, name: "image_format", kind: "enum", T: proto3.getEnumType(FileImageInputConfiguration_ImageFormat) },
6453
6632
  { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6633
+ { no: 6, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(FileImageInputConfiguration_FileImageHardwareAcceleration) },
6454
6634
  ]);
6455
6635
 
6456
6636
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileImageInputConfiguration {
@@ -6470,6 +6650,26 @@ export class FileImageInputConfiguration extends Message<FileImageInputConfigura
6470
6650
  }
6471
6651
  }
6472
6652
 
6653
+ /**
6654
+ * @generated from enum norsk.api.media.FileImageInputConfiguration.FileImageHardwareAcceleration
6655
+ */
6656
+ export enum FileImageInputConfiguration_FileImageHardwareAcceleration {
6657
+ /**
6658
+ * @generated from enum value: FILEIMAGE_NONE = 0;
6659
+ */
6660
+ FILEIMAGE_NONE = 0,
6661
+
6662
+ /**
6663
+ * @generated from enum value: FILEIMAGE_QUADRA = 1;
6664
+ */
6665
+ FILEIMAGE_QUADRA = 1,
6666
+ }
6667
+ // Retrieve enum metadata with: proto3.getEnumType(FileImageInputConfiguration_FileImageHardwareAcceleration)
6668
+ proto3.util.setEnumType(FileImageInputConfiguration_FileImageHardwareAcceleration, "norsk.api.media.FileImageInputConfiguration.FileImageHardwareAcceleration", [
6669
+ { no: 0, name: "FILEIMAGE_NONE" },
6670
+ { no: 1, name: "FILEIMAGE_QUADRA" },
6671
+ ]);
6672
+
6473
6673
  /**
6474
6674
  * @generated from enum norsk.api.media.FileImageInputConfiguration.ImageFormat
6475
6675
  */
@@ -8228,8 +8428,6 @@ export enum Easing_SimpleEasing {
8228
8428
  LINEAR = 0,
8229
8429
 
8230
8430
  /**
8231
- * EASE = 1;
8232
- *
8233
8431
  * @generated from enum value: EASE_IN = 2;
8234
8432
  */
8235
8433
  EASE_IN = 2,
@@ -8796,7 +8994,8 @@ export class MetadataCombineConfiguration extends Message<MetadataCombineConfigu
8796
8994
  streamKey?: StreamKey;
8797
8995
 
8798
8996
  /**
8799
- * Max delta to allow for sync purposes, may vary according to source offsets and message frequency
8997
+ * Max delta to allow for sync purposes, may vary according to source offsets
8998
+ * and message frequency
8800
8999
  *
8801
9000
  * @generated from field: norsk.api.common.OptionalInt max_sync_delta = 3;
8802
9001
  */
@@ -10440,8 +10639,6 @@ export class CMAFDestination extends Message<CMAFDestination> {
10440
10639
  */
10441
10640
  message: {
10442
10641
  /**
10443
- * GenericPushDestination generic_destination = 1;
10444
- *
10445
10642
  * @generated from field: norsk.api.media.HlsPushDestination hls_push_destination = 1;
10446
10643
  */
10447
10644
  value: HlsPushDestination;
@@ -10510,8 +10707,6 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10510
10707
  partDurationSeconds = 0;
10511
10708
 
10512
10709
  /**
10513
- * float delay_output_ms = 4;
10514
- *
10515
10710
  * @generated from field: norsk.api.media.Mp4Encryption encryption = 5;
10516
10711
  */
10517
10712
  encryption?: Mp4Encryption;
@@ -10527,7 +10722,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10527
10722
  destinations: CMAFDestination[] = [];
10528
10723
 
10529
10724
  /**
10530
- * Directives to add to the m3u media playlist
10725
+ * Directives to add to the m3u8 media playlist
10531
10726
  *
10532
10727
  * @generated from field: string m3u_additions = 8;
10533
10728
  */
@@ -10666,8 +10861,6 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10666
10861
  segmentDurationSeconds = 0;
10667
10862
 
10668
10863
  /**
10669
- * float delay_output_ms = 3;
10670
- *
10671
10864
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
10672
10865
  */
10673
10866
  statsSampling?: StreamStatisticsSampling;
@@ -10820,8 +11013,6 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10820
11013
  partDurationSeconds = 0;
10821
11014
 
10822
11015
  /**
10823
- * float delay_output_ms = 4;
10824
- *
10825
11016
  * @generated from field: norsk.api.media.Mp4Encryption encryption = 6;
10826
11017
  */
10827
11018
  encryption?: Mp4Encryption;
@@ -10976,8 +11167,6 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10976
11167
  segmentDurationSeconds = 0;
10977
11168
 
10978
11169
  /**
10979
- * float delay_output_ms = 3;
10980
- *
10981
11170
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
10982
11171
  */
10983
11172
  statsSampling?: StreamStatisticsSampling;
@@ -11125,22 +11314,10 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
11125
11314
  segmentDurationSeconds = 0;
11126
11315
 
11127
11316
  /**
11128
- * float delay_output_ms = 3;
11129
- *
11130
11317
  * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
11131
11318
  */
11132
11319
  destinations: CMAFDestination[] = [];
11133
11320
 
11134
- /**
11135
- * @generated from field: string hls_cache_directory = 6;
11136
- */
11137
- hlsCacheDirectory = "";
11138
-
11139
- /**
11140
- * @generated from field: norsk.api.media.Interval pts_adjustment = 8;
11141
- */
11142
- ptsAdjustment?: Interval;
11143
-
11144
11321
  /**
11145
11322
  * @generated from field: norsk.api.common.OptionalString name = 9;
11146
11323
  */
@@ -11157,8 +11334,6 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
11157
11334
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11158
11335
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
11159
11336
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
11160
- { no: 6, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11161
- { no: 8, name: "pts_adjustment", kind: "message", T: Interval },
11162
11337
  { no: 9, name: "name", kind: "message", T: OptionalString },
11163
11338
  ]);
11164
11339
 
@@ -12176,8 +12351,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12176
12351
  segmentDurationSeconds = 0;
12177
12352
 
12178
12353
  /**
12179
- * float delay_output_ms = 4;
12180
- *
12181
12354
  * @generated from field: string playlist_name = 5;
12182
12355
  */
12183
12356
  playlistName = "";
@@ -12188,7 +12361,7 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12188
12361
  statsSampling?: StreamStatisticsSampling;
12189
12362
 
12190
12363
  /**
12191
- * Directives to add to the m3u media playlists
12364
+ * Directives to add to the m3u8 media playlists
12192
12365
  *
12193
12366
  * @generated from field: string m3u_additions = 7;
12194
12367
  */
@@ -13366,6 +13539,12 @@ export class WhepOutputEvent extends Message<WhepOutputEvent> {
13366
13539
  */
13367
13540
  value: MultiStreamStatistics;
13368
13541
  case: "streamStatistics";
13542
+ } | {
13543
+ /**
13544
+ * @generated from field: norsk.api.media.WhepOutputEvent.State status = 5;
13545
+ */
13546
+ value: WhepOutputEvent_State;
13547
+ case: "status";
13369
13548
  } | { case: undefined; value?: undefined } = { case: undefined };
13370
13549
 
13371
13550
  constructor(data?: PartialMessage<WhepOutputEvent>) {
@@ -13380,6 +13559,7 @@ export class WhepOutputEvent extends Message<WhepOutputEvent> {
13380
13559
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
13381
13560
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
13382
13561
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
13562
+ { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(WhepOutputEvent_State), oneof: "message" },
13383
13563
  ]);
13384
13564
 
13385
13565
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputEvent {
@@ -13399,6 +13579,26 @@ export class WhepOutputEvent extends Message<WhepOutputEvent> {
13399
13579
  }
13400
13580
  }
13401
13581
 
13582
+ /**
13583
+ * @generated from enum norsk.api.media.WhepOutputEvent.State
13584
+ */
13585
+ export enum WhepOutputEvent_State {
13586
+ /**
13587
+ * @generated from enum value: WHEP_OUTPUT_STATUS_UNKNOWN = 0;
13588
+ */
13589
+ WHEP_OUTPUT_STATUS_UNKNOWN = 0,
13590
+
13591
+ /**
13592
+ * @generated from enum value: WHEP_OUTPUT_STATUS_READY = 1;
13593
+ */
13594
+ WHEP_OUTPUT_STATUS_READY = 1,
13595
+ }
13596
+ // Retrieve enum metadata with: proto3.getEnumType(WhepOutputEvent_State)
13597
+ proto3.util.setEnumType(WhepOutputEvent_State, "norsk.api.media.WhepOutputEvent.State", [
13598
+ { no: 0, name: "WHEP_OUTPUT_STATUS_UNKNOWN" },
13599
+ { no: 1, name: "WHEP_OUTPUT_STATUS_READY" },
13600
+ ]);
13601
+
13402
13602
  /**
13403
13603
  * @generated from message norsk.api.media.RtmpOutputConfiguration
13404
13604
  */
@@ -14115,127 +14315,277 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
14115
14315
  }
14116
14316
 
14117
14317
  /**
14118
- * @generated from message norsk.api.media.FrameRate
14318
+ * @generated from message norsk.api.media.FileWebVttOutputConfiguration
14119
14319
  */
14120
- export class FrameRate extends Message<FrameRate> {
14320
+ export class FileWebVttOutputConfiguration extends Message<FileWebVttOutputConfiguration> {
14121
14321
  /**
14122
- * @generated from field: uint32 frames = 1;
14322
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
14123
14323
  */
14124
- frames = 0;
14324
+ id?: MediaNodeId;
14125
14325
 
14126
14326
  /**
14127
- * @generated from field: uint32 seconds = 2;
14327
+ * @generated from field: string file_name = 2;
14128
14328
  */
14129
- seconds = 0;
14329
+ fileName = "";
14130
14330
 
14131
- constructor(data?: PartialMessage<FrameRate>) {
14331
+ constructor(data?: PartialMessage<FileWebVttOutputConfiguration>) {
14132
14332
  super();
14133
14333
  proto3.util.initPartial(data, this);
14134
14334
  }
14135
14335
 
14136
14336
  static readonly runtime = proto3;
14137
- static readonly typeName = "norsk.api.media.FrameRate";
14337
+ static readonly typeName = "norsk.api.media.FileWebVttOutputConfiguration";
14138
14338
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
14139
- { no: 1, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14140
- { no: 2, name: "seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14339
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
14340
+ { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
14141
14341
  ]);
14142
14342
 
14143
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameRate {
14144
- return new FrameRate().fromBinary(bytes, options);
14343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputConfiguration {
14344
+ return new FileWebVttOutputConfiguration().fromBinary(bytes, options);
14145
14345
  }
14146
14346
 
14147
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameRate {
14148
- return new FrameRate().fromJson(jsonValue, options);
14347
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputConfiguration {
14348
+ return new FileWebVttOutputConfiguration().fromJson(jsonValue, options);
14149
14349
  }
14150
14350
 
14151
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameRate {
14152
- return new FrameRate().fromJsonString(jsonString, options);
14351
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputConfiguration {
14352
+ return new FileWebVttOutputConfiguration().fromJsonString(jsonString, options);
14153
14353
  }
14154
14354
 
14155
- static equals(a: FrameRate | PlainMessage<FrameRate> | undefined, b: FrameRate | PlainMessage<FrameRate> | undefined): boolean {
14156
- return proto3.util.equals(FrameRate, a, b);
14355
+ static equals(a: FileWebVttOutputConfiguration | PlainMessage<FileWebVttOutputConfiguration> | undefined, b: FileWebVttOutputConfiguration | PlainMessage<FileWebVttOutputConfiguration> | undefined): boolean {
14356
+ return proto3.util.equals(FileWebVttOutputConfiguration, a, b);
14157
14357
  }
14158
14358
  }
14159
14359
 
14160
14360
  /**
14161
- * @generated from message norsk.api.media.SampleAspectRatio
14361
+ * @generated from message norsk.api.media.FileWebVttOutputMessage
14162
14362
  */
14163
- export class SampleAspectRatio extends Message<SampleAspectRatio> {
14164
- /**
14165
- * @generated from field: uint32 x = 1;
14166
- */
14167
- x = 0;
14168
-
14363
+ export class FileWebVttOutputMessage extends Message<FileWebVttOutputMessage> {
14169
14364
  /**
14170
- * @generated from field: uint32 y = 2;
14365
+ * @generated from oneof norsk.api.media.FileWebVttOutputMessage.message
14171
14366
  */
14172
- y = 0;
14367
+ message: {
14368
+ /**
14369
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
14370
+ */
14371
+ value: Subscription;
14372
+ case: "subscription";
14373
+ } | {
14374
+ /**
14375
+ * @generated from field: norsk.api.media.FileWebVttOutputConfiguration configuration = 2;
14376
+ */
14377
+ value: FileWebVttOutputConfiguration;
14378
+ case: "configuration";
14379
+ } | { case: undefined; value?: undefined } = { case: undefined };
14173
14380
 
14174
- constructor(data?: PartialMessage<SampleAspectRatio>) {
14381
+ constructor(data?: PartialMessage<FileWebVttOutputMessage>) {
14175
14382
  super();
14176
14383
  proto3.util.initPartial(data, this);
14177
14384
  }
14178
14385
 
14179
14386
  static readonly runtime = proto3;
14180
- static readonly typeName = "norsk.api.media.SampleAspectRatio";
14387
+ static readonly typeName = "norsk.api.media.FileWebVttOutputMessage";
14181
14388
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
14182
- { no: 1, name: "x", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14183
- { no: 2, name: "y", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14389
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
14390
+ { no: 2, name: "configuration", kind: "message", T: FileWebVttOutputConfiguration, oneof: "message" },
14184
14391
  ]);
14185
14392
 
14186
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SampleAspectRatio {
14187
- return new SampleAspectRatio().fromBinary(bytes, options);
14393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputMessage {
14394
+ return new FileWebVttOutputMessage().fromBinary(bytes, options);
14188
14395
  }
14189
14396
 
14190
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SampleAspectRatio {
14191
- return new SampleAspectRatio().fromJson(jsonValue, options);
14397
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputMessage {
14398
+ return new FileWebVttOutputMessage().fromJson(jsonValue, options);
14192
14399
  }
14193
14400
 
14194
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SampleAspectRatio {
14195
- return new SampleAspectRatio().fromJsonString(jsonString, options);
14401
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputMessage {
14402
+ return new FileWebVttOutputMessage().fromJsonString(jsonString, options);
14196
14403
  }
14197
14404
 
14198
- static equals(a: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined, b: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined): boolean {
14199
- return proto3.util.equals(SampleAspectRatio, a, b);
14405
+ static equals(a: FileWebVttOutputMessage | PlainMessage<FileWebVttOutputMessage> | undefined, b: FileWebVttOutputMessage | PlainMessage<FileWebVttOutputMessage> | undefined): boolean {
14406
+ return proto3.util.equals(FileWebVttOutputMessage, a, b);
14200
14407
  }
14201
14408
  }
14202
14409
 
14203
14410
  /**
14204
- * Parameters for tuning the x264 encoder
14205
- *
14206
- * @generated from message norsk.api.media.X264Codec
14411
+ * @generated from message norsk.api.media.FileWebVttOutputEvent
14207
14412
  */
14208
- export class X264Codec extends Message<X264Codec> {
14209
- /**
14210
- * @generated from field: norsk.api.common.OptionalInt threads = 23;
14211
- */
14212
- threads?: OptionalInt;
14213
-
14413
+ export class FileWebVttOutputEvent extends Message<FileWebVttOutputEvent> {
14214
14414
  /**
14215
- * Rate control options - one of abr, cqp or crf
14216
- *
14217
- * @generated from oneof norsk.api.media.X264Codec.bitrateMode
14415
+ * @generated from oneof norsk.api.media.FileWebVttOutputEvent.message
14218
14416
  */
14219
- bitrateMode: {
14417
+ message: {
14220
14418
  /**
14221
- * Encode in average bitrate mode, specified in kilobits/sec (note, 1
14222
- * kilobit is 1000 bits). You can make use of the vbv settings to control
14223
- * the bounds on how much the actual bitrate can fluctuate within the bounds
14224
- * of the average.recommeb
14225
- *
14226
- * @generated from field: uint32 abr = 20;
14419
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
14227
14420
  */
14228
- value: number;
14229
- case: "abr";
14421
+ value: MediaNodeId;
14422
+ case: "nodeId";
14230
14423
  } | {
14231
14424
  /**
14232
- * Encode in constant quantizer mode. In general, crf will give better
14233
- * results, although cqp can be faster to encode
14234
- *
14235
- * @generated from field: uint32 cqp = 21;
14425
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 2;
14236
14426
  */
14237
- value: number;
14238
- case: "cqp";
14427
+ value: SubscriptionResponse;
14428
+ case: "subscriptionResponse";
14429
+ } | {
14430
+ /**
14431
+ * @generated from field: norsk.api.media.Context inbound_context = 3;
14432
+ */
14433
+ value: Context;
14434
+ case: "inboundContext";
14435
+ } | { case: undefined; value?: undefined } = { case: undefined };
14436
+
14437
+ constructor(data?: PartialMessage<FileWebVttOutputEvent>) {
14438
+ super();
14439
+ proto3.util.initPartial(data, this);
14440
+ }
14441
+
14442
+ static readonly runtime = proto3;
14443
+ static readonly typeName = "norsk.api.media.FileWebVttOutputEvent";
14444
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
14445
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
14446
+ { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
14447
+ { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
14448
+ ]);
14449
+
14450
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputEvent {
14451
+ return new FileWebVttOutputEvent().fromBinary(bytes, options);
14452
+ }
14453
+
14454
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputEvent {
14455
+ return new FileWebVttOutputEvent().fromJson(jsonValue, options);
14456
+ }
14457
+
14458
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputEvent {
14459
+ return new FileWebVttOutputEvent().fromJsonString(jsonString, options);
14460
+ }
14461
+
14462
+ static equals(a: FileWebVttOutputEvent | PlainMessage<FileWebVttOutputEvent> | undefined, b: FileWebVttOutputEvent | PlainMessage<FileWebVttOutputEvent> | undefined): boolean {
14463
+ return proto3.util.equals(FileWebVttOutputEvent, a, b);
14464
+ }
14465
+ }
14466
+
14467
+ /**
14468
+ * @generated from message norsk.api.media.FrameRate
14469
+ */
14470
+ export class FrameRate extends Message<FrameRate> {
14471
+ /**
14472
+ * @generated from field: uint32 frames = 1;
14473
+ */
14474
+ frames = 0;
14475
+
14476
+ /**
14477
+ * @generated from field: uint32 seconds = 2;
14478
+ */
14479
+ seconds = 0;
14480
+
14481
+ constructor(data?: PartialMessage<FrameRate>) {
14482
+ super();
14483
+ proto3.util.initPartial(data, this);
14484
+ }
14485
+
14486
+ static readonly runtime = proto3;
14487
+ static readonly typeName = "norsk.api.media.FrameRate";
14488
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
14489
+ { no: 1, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14490
+ { no: 2, name: "seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14491
+ ]);
14492
+
14493
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameRate {
14494
+ return new FrameRate().fromBinary(bytes, options);
14495
+ }
14496
+
14497
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameRate {
14498
+ return new FrameRate().fromJson(jsonValue, options);
14499
+ }
14500
+
14501
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameRate {
14502
+ return new FrameRate().fromJsonString(jsonString, options);
14503
+ }
14504
+
14505
+ static equals(a: FrameRate | PlainMessage<FrameRate> | undefined, b: FrameRate | PlainMessage<FrameRate> | undefined): boolean {
14506
+ return proto3.util.equals(FrameRate, a, b);
14507
+ }
14508
+ }
14509
+
14510
+ /**
14511
+ * @generated from message norsk.api.media.SampleAspectRatio
14512
+ */
14513
+ export class SampleAspectRatio extends Message<SampleAspectRatio> {
14514
+ /**
14515
+ * @generated from field: uint32 x = 1;
14516
+ */
14517
+ x = 0;
14518
+
14519
+ /**
14520
+ * @generated from field: uint32 y = 2;
14521
+ */
14522
+ y = 0;
14523
+
14524
+ constructor(data?: PartialMessage<SampleAspectRatio>) {
14525
+ super();
14526
+ proto3.util.initPartial(data, this);
14527
+ }
14528
+
14529
+ static readonly runtime = proto3;
14530
+ static readonly typeName = "norsk.api.media.SampleAspectRatio";
14531
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
14532
+ { no: 1, name: "x", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14533
+ { no: 2, name: "y", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14534
+ ]);
14535
+
14536
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SampleAspectRatio {
14537
+ return new SampleAspectRatio().fromBinary(bytes, options);
14538
+ }
14539
+
14540
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SampleAspectRatio {
14541
+ return new SampleAspectRatio().fromJson(jsonValue, options);
14542
+ }
14543
+
14544
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SampleAspectRatio {
14545
+ return new SampleAspectRatio().fromJsonString(jsonString, options);
14546
+ }
14547
+
14548
+ static equals(a: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined, b: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined): boolean {
14549
+ return proto3.util.equals(SampleAspectRatio, a, b);
14550
+ }
14551
+ }
14552
+
14553
+ /**
14554
+ * Parameters for tuning the x264 encoder
14555
+ *
14556
+ * @generated from message norsk.api.media.X264Codec
14557
+ */
14558
+ export class X264Codec extends Message<X264Codec> {
14559
+ /**
14560
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
14561
+ */
14562
+ threads?: OptionalInt;
14563
+
14564
+ /**
14565
+ * Rate control options - one of abr, cqp or crf
14566
+ *
14567
+ * @generated from oneof norsk.api.media.X264Codec.bitrateMode
14568
+ */
14569
+ bitrateMode: {
14570
+ /**
14571
+ * Encode in average bitrate mode, specified in kilobits/sec (note, 1
14572
+ * kilobit is 1000 bits). You can make use of the vbv settings to control
14573
+ * the bounds on how much the actual bitrate can fluctuate within the bounds
14574
+ * of the average.recommeb
14575
+ *
14576
+ * @generated from field: uint32 abr = 20;
14577
+ */
14578
+ value: number;
14579
+ case: "abr";
14580
+ } | {
14581
+ /**
14582
+ * Encode in constant quantizer mode. In general, crf will give better
14583
+ * results, although cqp can be faster to encode
14584
+ *
14585
+ * @generated from field: uint32 cqp = 21;
14586
+ */
14587
+ value: number;
14588
+ case: "cqp";
14239
14589
  } | {
14240
14590
  /**
14241
14591
  * Encode in constant rate factor mode. This will give a constant 'quality'
@@ -14323,7 +14673,8 @@ export class X264Codec extends Message<X264Codec> {
14323
14673
  cabac?: OptionalBool;
14324
14674
 
14325
14675
  /**
14326
- * Sets the maximum rate the VBV buffer should be assumed to refill at (kbit/s)
14676
+ * Sets the maximum rate the VBV buffer should be assumed to refill at
14677
+ * (kbit/s)
14327
14678
  *
14328
14679
  * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
14329
14680
  */
@@ -14743,7 +15094,8 @@ export class X265Codec extends Message<X265Codec> {
14743
15094
  frameReference?: OptionalInt;
14744
15095
 
14745
15096
  /**
14746
- * Sets the maximum rate the VBV buffer should be assumed to refill at (kbit/s)
15097
+ * Sets the maximum rate the VBV buffer should be assumed to refill at
15098
+ * (kbit/s)
14747
15099
  *
14748
15100
  * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
14749
15101
  */
@@ -15551,8 +15903,8 @@ export class NvidiaRateControl extends Message<NvidiaRateControl> {
15551
15903
 
15552
15904
  /**
15553
15905
  * * Enable lookahead or not:
15554
- * Note: enabling lookahead will introduce scene cuts unless this is specifically disabled
15555
- * elswhere in the codec settings
15906
+ * Note: enabling lookahead will introduce scene cuts unless this is
15907
+ * specifically disabled elswhere in the codec settings
15556
15908
  *
15557
15909
  *
15558
15910
  * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
@@ -16919,6 +17271,98 @@ proto3.util.setEnumType(AmdU30Hevc_AmdU30HevcTier, "norsk.api.media.AmdU30Hevc.A
16919
17271
  { no: 1, name: "AMD_U30_HEVC_TIER_HIGH" },
16920
17272
  ]);
16921
17273
 
17274
+ /**
17275
+ * @generated from message norsk.api.media.AmdMA35DLoad
17276
+ */
17277
+ export class AmdMA35DLoad extends Message<AmdMA35DLoad> {
17278
+ /**
17279
+ * @generated from field: uint32 device_index = 1;
17280
+ */
17281
+ deviceIndex = 0;
17282
+
17283
+ /**
17284
+ * @generated from field: repeated norsk.api.media.AmdMA35DLoad.ComputeUnitLoad compute_unit_load = 2;
17285
+ */
17286
+ computeUnitLoad: AmdMA35DLoad_ComputeUnitLoad[] = [];
17287
+
17288
+ constructor(data?: PartialMessage<AmdMA35DLoad>) {
17289
+ super();
17290
+ proto3.util.initPartial(data, this);
17291
+ }
17292
+
17293
+ static readonly runtime = proto3;
17294
+ static readonly typeName = "norsk.api.media.AmdMA35DLoad";
17295
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17296
+ { no: 1, name: "device_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17297
+ { no: 2, name: "compute_unit_load", kind: "message", T: AmdMA35DLoad_ComputeUnitLoad, repeated: true },
17298
+ ]);
17299
+
17300
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DLoad {
17301
+ return new AmdMA35DLoad().fromBinary(bytes, options);
17302
+ }
17303
+
17304
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DLoad {
17305
+ return new AmdMA35DLoad().fromJson(jsonValue, options);
17306
+ }
17307
+
17308
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DLoad {
17309
+ return new AmdMA35DLoad().fromJsonString(jsonString, options);
17310
+ }
17311
+
17312
+ static equals(a: AmdMA35DLoad | PlainMessage<AmdMA35DLoad> | undefined, b: AmdMA35DLoad | PlainMessage<AmdMA35DLoad> | undefined): boolean {
17313
+ return proto3.util.equals(AmdMA35DLoad, a, b);
17314
+ }
17315
+ }
17316
+
17317
+ /**
17318
+ * @generated from message norsk.api.media.AmdMA35DLoad.ComputeUnitLoad
17319
+ */
17320
+ export class AmdMA35DLoad_ComputeUnitLoad extends Message<AmdMA35DLoad_ComputeUnitLoad> {
17321
+ /**
17322
+ * @generated from field: string name = 1;
17323
+ */
17324
+ name = "";
17325
+
17326
+ /**
17327
+ * @generated from field: uint32 instances = 2;
17328
+ */
17329
+ instances = 0;
17330
+
17331
+ /**
17332
+ * @generated from field: float load = 3;
17333
+ */
17334
+ load = 0;
17335
+
17336
+ constructor(data?: PartialMessage<AmdMA35DLoad_ComputeUnitLoad>) {
17337
+ super();
17338
+ proto3.util.initPartial(data, this);
17339
+ }
17340
+
17341
+ static readonly runtime = proto3;
17342
+ static readonly typeName = "norsk.api.media.AmdMA35DLoad.ComputeUnitLoad";
17343
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17344
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17345
+ { no: 2, name: "instances", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17346
+ { no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
17347
+ ]);
17348
+
17349
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
17350
+ return new AmdMA35DLoad_ComputeUnitLoad().fromBinary(bytes, options);
17351
+ }
17352
+
17353
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
17354
+ return new AmdMA35DLoad_ComputeUnitLoad().fromJson(jsonValue, options);
17355
+ }
17356
+
17357
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
17358
+ return new AmdMA35DLoad_ComputeUnitLoad().fromJsonString(jsonString, options);
17359
+ }
17360
+
17361
+ static equals(a: AmdMA35DLoad_ComputeUnitLoad | PlainMessage<AmdMA35DLoad_ComputeUnitLoad> | undefined, b: AmdMA35DLoad_ComputeUnitLoad | PlainMessage<AmdMA35DLoad_ComputeUnitLoad> | undefined): boolean {
17362
+ return proto3.util.equals(AmdMA35DLoad_ComputeUnitLoad, a, b);
17363
+ }
17364
+ }
17365
+
16922
17366
  /**
16923
17367
  * @generated from message norsk.api.media.AmdMA35DEncodeCommon
16924
17368
  */
@@ -16952,10 +17396,10 @@ export class AmdMA35DEncodeCommon extends Message<AmdMA35DEncodeCommon> {
16952
17396
  case: "constrainedVbr";
16953
17397
  } | {
16954
17398
  /**
16955
- * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR constrained_abr = 5;
17399
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ContentAdaptive content_adaptive = 5;
16956
17400
  */
16957
- value: AmdMA35DEncodeCommon_ConstrainedABR;
16958
- case: "constrainedAbr";
17401
+ value: AmdMA35DEncodeCommon_ContentAdaptive;
17402
+ case: "contentAdaptive";
16959
17403
  } | { case: undefined; value?: undefined } = { case: undefined };
16960
17404
 
16961
17405
  /**
@@ -17055,7 +17499,7 @@ export class AmdMA35DEncodeCommon extends Message<AmdMA35DEncodeCommon> {
17055
17499
  { no: 2, name: "cbr", kind: "message", T: AmdMA35DEncodeCommon_CBR, oneof: "rateControl" },
17056
17500
  { no: 3, name: "vbr", kind: "message", T: AmdMA35DEncodeCommon_VBR, oneof: "rateControl" },
17057
17501
  { no: 4, name: "constrained_vbr", kind: "message", T: AmdMA35DEncodeCommon_ConstrainedVBR, oneof: "rateControl" },
17058
- { no: 5, name: "constrained_abr", kind: "message", T: AmdMA35DEncodeCommon_ConstrainedABR, oneof: "rateControl" },
17502
+ { no: 5, name: "content_adaptive", kind: "message", T: AmdMA35DEncodeCommon_ContentAdaptive, oneof: "rateControl" },
17059
17503
  { no: 6, name: "lookahead_depth", kind: "message", T: OptionalInt },
17060
17504
  { no: 7, name: "gopSize", kind: "message", T: OptionalInt },
17061
17505
  { no: 8, name: "tempAqGain", kind: "message", T: OptionalInt },
@@ -17375,9 +17819,9 @@ export class AmdMA35DEncodeCommon_ConstrainedVBR extends Message<AmdMA35DEncodeC
17375
17819
  }
17376
17820
 
17377
17821
  /**
17378
- * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR
17822
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ContentAdaptive
17379
17823
  */
17380
- export class AmdMA35DEncodeCommon_ConstrainedABR extends Message<AmdMA35DEncodeCommon_ConstrainedABR> {
17824
+ export class AmdMA35DEncodeCommon_ContentAdaptive extends Message<AmdMA35DEncodeCommon_ContentAdaptive> {
17381
17825
  /**
17382
17826
  * @generated from field: uint32 bitrate = 1;
17383
17827
  */
@@ -17393,33 +17837,33 @@ export class AmdMA35DEncodeCommon_ConstrainedABR extends Message<AmdMA35DEncodeC
17393
17837
  */
17394
17838
  bufSize = 0;
17395
17839
 
17396
- constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ConstrainedABR>) {
17840
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ContentAdaptive>) {
17397
17841
  super();
17398
17842
  proto3.util.initPartial(data, this);
17399
17843
  }
17400
17844
 
17401
17845
  static readonly runtime = proto3;
17402
- static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR";
17846
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ContentAdaptive";
17403
17847
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17404
17848
  { no: 1, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17405
17849
  { no: 2, name: "max_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17406
17850
  { no: 3, name: "buf_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17407
17851
  ]);
17408
17852
 
17409
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17410
- return new AmdMA35DEncodeCommon_ConstrainedABR().fromBinary(bytes, options);
17853
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ContentAdaptive {
17854
+ return new AmdMA35DEncodeCommon_ContentAdaptive().fromBinary(bytes, options);
17411
17855
  }
17412
17856
 
17413
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17414
- return new AmdMA35DEncodeCommon_ConstrainedABR().fromJson(jsonValue, options);
17857
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ContentAdaptive {
17858
+ return new AmdMA35DEncodeCommon_ContentAdaptive().fromJson(jsonValue, options);
17415
17859
  }
17416
17860
 
17417
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17418
- return new AmdMA35DEncodeCommon_ConstrainedABR().fromJsonString(jsonString, options);
17861
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ContentAdaptive {
17862
+ return new AmdMA35DEncodeCommon_ContentAdaptive().fromJsonString(jsonString, options);
17419
17863
  }
17420
17864
 
17421
- static equals(a: AmdMA35DEncodeCommon_ConstrainedABR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedABR> | undefined, b: AmdMA35DEncodeCommon_ConstrainedABR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedABR> | undefined): boolean {
17422
- return proto3.util.equals(AmdMA35DEncodeCommon_ConstrainedABR, a, b);
17865
+ static equals(a: AmdMA35DEncodeCommon_ContentAdaptive | PlainMessage<AmdMA35DEncodeCommon_ContentAdaptive> | undefined, b: AmdMA35DEncodeCommon_ContentAdaptive | PlainMessage<AmdMA35DEncodeCommon_ContentAdaptive> | undefined): boolean {
17866
+ return proto3.util.equals(AmdMA35DEncodeCommon_ContentAdaptive, a, b);
17423
17867
  }
17424
17868
  }
17425
17869
 
@@ -18451,7 +18895,8 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
18451
18895
  subtitlesLanguage?: OptionalString;
18452
18896
 
18453
18897
  /**
18454
- * * Override the property of whether a subtitles string is the default/primary rendition or not
18898
+ * * Override the property of whether a subtitles string is the default/primary
18899
+ * rendition or not
18455
18900
  *
18456
18901
  * @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
18457
18902
  */
@@ -18535,7 +18980,8 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
18535
18980
  subtitlesLanguage?: OptionalString;
18536
18981
 
18537
18982
  /**
18538
- * * Override the property of whether a subtitles string is the default/primary rendition or not
18983
+ * * Override the property of whether a subtitles string is the default/primary
18984
+ * rendition or not
18539
18985
  *
18540
18986
  * @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
18541
18987
  */
@@ -19034,7 +19480,8 @@ export class StreamAlignConfiguration extends Message<StreamAlignConfiguration>
19034
19480
  frameRate?: FrameRate;
19035
19481
 
19036
19482
  /**
19037
- * Synchronise audio/video sources aggressively to start at the same timestamp by dropping frames until a video keyframe occurs
19483
+ * Synchronise audio/video sources aggressively to start at the same timestamp
19484
+ * by dropping frames until a video keyframe occurs
19038
19485
  *
19039
19486
  * @generated from field: bool sync_av = 4;
19040
19487
  */
@@ -19510,6 +19957,357 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
19510
19957
  }
19511
19958
  }
19512
19959
 
19960
+ /**
19961
+ * @generated from message norsk.api.media.WebVttEncodeConfiguration
19962
+ */
19963
+ export class WebVttEncodeConfiguration extends Message<WebVttEncodeConfiguration> {
19964
+ /**
19965
+ * Maximum length of any line in the cue in characters
19966
+ *
19967
+ * @generated from field: norsk.api.common.OptionalInt maximum_line_length = 1;
19968
+ */
19969
+ maximumLineLength?: OptionalInt;
19970
+
19971
+ /**
19972
+ * Minimum length of the overall cue in characters
19973
+ *
19974
+ * @generated from field: norsk.api.common.OptionalInt minimum_cue_length = 2;
19975
+ */
19976
+ minimumCueLength?: OptionalInt;
19977
+
19978
+ /**
19979
+ * Maximum number of lines in a cue.
19980
+ *
19981
+ * Consider using a value of 1 and a longer max line length and allowing the player to break lines: per the WebVTT standard
19982
+ * "In general, therefore, authors are encouraged to write cues all on one line except when a line break is definitely necessary."
19983
+ * However if the player does not do this adequately, using the actual max line length desired and more lines, hard line breaks
19984
+ * will be inserted. Note a maximum subtitle length of two lines is recommended (eg BBC guidance)
19985
+ *
19986
+ * @generated from field: norsk.api.common.OptionalInt maximum_num_lines = 3;
19987
+ */
19988
+ maximumNumLines?: OptionalInt;
19989
+
19990
+ constructor(data?: PartialMessage<WebVttEncodeConfiguration>) {
19991
+ super();
19992
+ proto3.util.initPartial(data, this);
19993
+ }
19994
+
19995
+ static readonly runtime = proto3;
19996
+ static readonly typeName = "norsk.api.media.WebVttEncodeConfiguration";
19997
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19998
+ { no: 1, name: "maximum_line_length", kind: "message", T: OptionalInt },
19999
+ { no: 2, name: "minimum_cue_length", kind: "message", T: OptionalInt },
20000
+ { no: 3, name: "maximum_num_lines", kind: "message", T: OptionalInt },
20001
+ ]);
20002
+
20003
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebVttEncodeConfiguration {
20004
+ return new WebVttEncodeConfiguration().fromBinary(bytes, options);
20005
+ }
20006
+
20007
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebVttEncodeConfiguration {
20008
+ return new WebVttEncodeConfiguration().fromJson(jsonValue, options);
20009
+ }
20010
+
20011
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebVttEncodeConfiguration {
20012
+ return new WebVttEncodeConfiguration().fromJsonString(jsonString, options);
20013
+ }
20014
+
20015
+ static equals(a: WebVttEncodeConfiguration | PlainMessage<WebVttEncodeConfiguration> | undefined, b: WebVttEncodeConfiguration | PlainMessage<WebVttEncodeConfiguration> | undefined): boolean {
20016
+ return proto3.util.equals(WebVttEncodeConfiguration, a, b);
20017
+ }
20018
+ }
20019
+
20020
+ /**
20021
+ * @generated from message norsk.api.media.Cta608EncodeConfiguration
20022
+ */
20023
+ export class Cta608EncodeConfiguration extends Message<Cta608EncodeConfiguration> {
20024
+ /**
20025
+ * Caption style (default: selected according to source)
20026
+ *
20027
+ * @generated from field: norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle style = 1;
20028
+ */
20029
+ style = Cta608EncodeConfiguration_Cta608EncodeStyle.CTA_608_STYLE_DEFAULT;
20030
+
20031
+ /**
20032
+ * The total/maximum number of lines to use for captioning
20033
+ *
20034
+ * @generated from field: norsk.api.common.OptionalInt lines = 2;
20035
+ */
20036
+ lines?: OptionalInt;
20037
+
20038
+ constructor(data?: PartialMessage<Cta608EncodeConfiguration>) {
20039
+ super();
20040
+ proto3.util.initPartial(data, this);
20041
+ }
20042
+
20043
+ static readonly runtime = proto3;
20044
+ static readonly typeName = "norsk.api.media.Cta608EncodeConfiguration";
20045
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
20046
+ { no: 1, name: "style", kind: "enum", T: proto3.getEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle) },
20047
+ { no: 2, name: "lines", kind: "message", T: OptionalInt },
20048
+ ]);
20049
+
20050
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Cta608EncodeConfiguration {
20051
+ return new Cta608EncodeConfiguration().fromBinary(bytes, options);
20052
+ }
20053
+
20054
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Cta608EncodeConfiguration {
20055
+ return new Cta608EncodeConfiguration().fromJson(jsonValue, options);
20056
+ }
20057
+
20058
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Cta608EncodeConfiguration {
20059
+ return new Cta608EncodeConfiguration().fromJsonString(jsonString, options);
20060
+ }
20061
+
20062
+ static equals(a: Cta608EncodeConfiguration | PlainMessage<Cta608EncodeConfiguration> | undefined, b: Cta608EncodeConfiguration | PlainMessage<Cta608EncodeConfiguration> | undefined): boolean {
20063
+ return proto3.util.equals(Cta608EncodeConfiguration, a, b);
20064
+ }
20065
+ }
20066
+
20067
+ /**
20068
+ * @generated from enum norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle
20069
+ */
20070
+ export enum Cta608EncodeConfiguration_Cta608EncodeStyle {
20071
+ /**
20072
+ * @generated from enum value: CTA_608_STYLE_DEFAULT = 0;
20073
+ */
20074
+ CTA_608_STYLE_DEFAULT = 0,
20075
+
20076
+ /**
20077
+ * @generated from enum value: CTA_608_STYLE_ROLL_UP = 1;
20078
+ */
20079
+ CTA_608_STYLE_ROLL_UP = 1,
20080
+
20081
+ /**
20082
+ * @generated from enum value: CTA_608_STYLE_POP_ON = 2;
20083
+ */
20084
+ CTA_608_STYLE_POP_ON = 2,
20085
+ }
20086
+ // Retrieve enum metadata with: proto3.getEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle)
20087
+ proto3.util.setEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle, "norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle", [
20088
+ { no: 0, name: "CTA_608_STYLE_DEFAULT" },
20089
+ { no: 1, name: "CTA_608_STYLE_ROLL_UP" },
20090
+ { no: 2, name: "CTA_608_STYLE_POP_ON" },
20091
+ ]);
20092
+
20093
+ /**
20094
+ * @generated from message norsk.api.media.Cta708EncodeConfiguration
20095
+ */
20096
+ export class Cta708EncodeConfiguration extends Message<Cta708EncodeConfiguration> {
20097
+ constructor(data?: PartialMessage<Cta708EncodeConfiguration>) {
20098
+ super();
20099
+ proto3.util.initPartial(data, this);
20100
+ }
20101
+
20102
+ static readonly runtime = proto3;
20103
+ static readonly typeName = "norsk.api.media.Cta708EncodeConfiguration";
20104
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
20105
+ ]);
20106
+
20107
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Cta708EncodeConfiguration {
20108
+ return new Cta708EncodeConfiguration().fromBinary(bytes, options);
20109
+ }
20110
+
20111
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Cta708EncodeConfiguration {
20112
+ return new Cta708EncodeConfiguration().fromJson(jsonValue, options);
20113
+ }
20114
+
20115
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Cta708EncodeConfiguration {
20116
+ return new Cta708EncodeConfiguration().fromJsonString(jsonString, options);
20117
+ }
20118
+
20119
+ static equals(a: Cta708EncodeConfiguration | PlainMessage<Cta708EncodeConfiguration> | undefined, b: Cta708EncodeConfiguration | PlainMessage<Cta708EncodeConfiguration> | undefined): boolean {
20120
+ return proto3.util.equals(Cta708EncodeConfiguration, a, b);
20121
+ }
20122
+ }
20123
+
20124
+ /**
20125
+ * @generated from message norsk.api.media.SubtitleConvertConfiguration
20126
+ */
20127
+ export class SubtitleConvertConfiguration extends Message<SubtitleConvertConfiguration> {
20128
+ /**
20129
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
20130
+ */
20131
+ id?: MediaNodeId;
20132
+
20133
+ /**
20134
+ * @generated from oneof norsk.api.media.SubtitleConvertConfiguration.format
20135
+ */
20136
+ format: {
20137
+ /**
20138
+ * @generated from field: norsk.api.media.WebVttEncodeConfiguration webvtt = 2;
20139
+ */
20140
+ value: WebVttEncodeConfiguration;
20141
+ case: "webvtt";
20142
+ } | {
20143
+ /**
20144
+ * @generated from field: norsk.api.media.Cta608EncodeConfiguration cta608 = 3;
20145
+ */
20146
+ value: Cta608EncodeConfiguration;
20147
+ case: "cta608";
20148
+ } | {
20149
+ /**
20150
+ * @generated from field: norsk.api.media.Cta708EncodeConfiguration cta708 = 4;
20151
+ */
20152
+ value: Cta708EncodeConfiguration;
20153
+ case: "cta708";
20154
+ } | { case: undefined; value?: undefined } = { case: undefined };
20155
+
20156
+ /**
20157
+ * For conversion from transcribed sources containing partial and complete transcriptions, filter to only include the transcription
20158
+ * from a fully transcribed section/utterance. Note this may be multiple sentences and span up to 30s duration or beyond, making this
20159
+ * generally an option for non-live flows
20160
+ *
20161
+ * @generated from field: bool only_complete = 5;
20162
+ */
20163
+ onlyComplete = false;
20164
+
20165
+ constructor(data?: PartialMessage<SubtitleConvertConfiguration>) {
20166
+ super();
20167
+ proto3.util.initPartial(data, this);
20168
+ }
20169
+
20170
+ static readonly runtime = proto3;
20171
+ static readonly typeName = "norsk.api.media.SubtitleConvertConfiguration";
20172
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
20173
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
20174
+ { no: 2, name: "webvtt", kind: "message", T: WebVttEncodeConfiguration, oneof: "format" },
20175
+ { no: 3, name: "cta608", kind: "message", T: Cta608EncodeConfiguration, oneof: "format" },
20176
+ { no: 4, name: "cta708", kind: "message", T: Cta708EncodeConfiguration, oneof: "format" },
20177
+ { no: 5, name: "only_complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
20178
+ ]);
20179
+
20180
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertConfiguration {
20181
+ return new SubtitleConvertConfiguration().fromBinary(bytes, options);
20182
+ }
20183
+
20184
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertConfiguration {
20185
+ return new SubtitleConvertConfiguration().fromJson(jsonValue, options);
20186
+ }
20187
+
20188
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertConfiguration {
20189
+ return new SubtitleConvertConfiguration().fromJsonString(jsonString, options);
20190
+ }
20191
+
20192
+ static equals(a: SubtitleConvertConfiguration | PlainMessage<SubtitleConvertConfiguration> | undefined, b: SubtitleConvertConfiguration | PlainMessage<SubtitleConvertConfiguration> | undefined): boolean {
20193
+ return proto3.util.equals(SubtitleConvertConfiguration, a, b);
20194
+ }
20195
+ }
20196
+
20197
+ /**
20198
+ * @generated from message norsk.api.media.SubtitleConvertMessage
20199
+ */
20200
+ export class SubtitleConvertMessage extends Message<SubtitleConvertMessage> {
20201
+ /**
20202
+ * @generated from oneof norsk.api.media.SubtitleConvertMessage.message
20203
+ */
20204
+ message: {
20205
+ /**
20206
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
20207
+ */
20208
+ value: Subscription;
20209
+ case: "subscription";
20210
+ } | {
20211
+ /**
20212
+ * @generated from field: norsk.api.media.SubtitleConvertConfiguration configuration = 2;
20213
+ */
20214
+ value: SubtitleConvertConfiguration;
20215
+ case: "configuration";
20216
+ } | { case: undefined; value?: undefined } = { case: undefined };
20217
+
20218
+ constructor(data?: PartialMessage<SubtitleConvertMessage>) {
20219
+ super();
20220
+ proto3.util.initPartial(data, this);
20221
+ }
20222
+
20223
+ static readonly runtime = proto3;
20224
+ static readonly typeName = "norsk.api.media.SubtitleConvertMessage";
20225
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
20226
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
20227
+ { no: 2, name: "configuration", kind: "message", T: SubtitleConvertConfiguration, oneof: "message" },
20228
+ ]);
20229
+
20230
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertMessage {
20231
+ return new SubtitleConvertMessage().fromBinary(bytes, options);
20232
+ }
20233
+
20234
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertMessage {
20235
+ return new SubtitleConvertMessage().fromJson(jsonValue, options);
20236
+ }
20237
+
20238
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertMessage {
20239
+ return new SubtitleConvertMessage().fromJsonString(jsonString, options);
20240
+ }
20241
+
20242
+ static equals(a: SubtitleConvertMessage | PlainMessage<SubtitleConvertMessage> | undefined, b: SubtitleConvertMessage | PlainMessage<SubtitleConvertMessage> | undefined): boolean {
20243
+ return proto3.util.equals(SubtitleConvertMessage, a, b);
20244
+ }
20245
+ }
20246
+
20247
+ /**
20248
+ * @generated from message norsk.api.media.SubtitleConvertEvent
20249
+ */
20250
+ export class SubtitleConvertEvent extends Message<SubtitleConvertEvent> {
20251
+ /**
20252
+ * @generated from oneof norsk.api.media.SubtitleConvertEvent.message
20253
+ */
20254
+ message: {
20255
+ /**
20256
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
20257
+ */
20258
+ value: MediaNodeId;
20259
+ case: "nodeId";
20260
+ } | {
20261
+ /**
20262
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
20263
+ */
20264
+ value: Context;
20265
+ case: "outboundContext";
20266
+ } | {
20267
+ /**
20268
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
20269
+ */
20270
+ value: SubscriptionResponse;
20271
+ case: "subscriptionResponse";
20272
+ } | {
20273
+ /**
20274
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
20275
+ */
20276
+ value: Context;
20277
+ case: "inboundContext";
20278
+ } | { case: undefined; value?: undefined } = { case: undefined };
20279
+
20280
+ constructor(data?: PartialMessage<SubtitleConvertEvent>) {
20281
+ super();
20282
+ proto3.util.initPartial(data, this);
20283
+ }
20284
+
20285
+ static readonly runtime = proto3;
20286
+ static readonly typeName = "norsk.api.media.SubtitleConvertEvent";
20287
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
20288
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
20289
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
20290
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
20291
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
20292
+ ]);
20293
+
20294
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertEvent {
20295
+ return new SubtitleConvertEvent().fromBinary(bytes, options);
20296
+ }
20297
+
20298
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertEvent {
20299
+ return new SubtitleConvertEvent().fromJson(jsonValue, options);
20300
+ }
20301
+
20302
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertEvent {
20303
+ return new SubtitleConvertEvent().fromJsonString(jsonString, options);
20304
+ }
20305
+
20306
+ static equals(a: SubtitleConvertEvent | PlainMessage<SubtitleConvertEvent> | undefined, b: SubtitleConvertEvent | PlainMessage<SubtitleConvertEvent> | undefined): boolean {
20307
+ return proto3.util.equals(SubtitleConvertEvent, a, b);
20308
+ }
20309
+ }
20310
+
19513
20311
  /**
19514
20312
  * @generated from message norsk.api.media.StreamSwitchSmoothConfiguration
19515
20313
  */
@@ -21639,9 +22437,18 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
21639
22437
  azureRegion = "";
21640
22438
 
21641
22439
  /**
21642
- * @generated from field: norsk.api.common.OptionalInt maximum_line_length = 7;
22440
+ * * Enable dictation mode (recognise dictated punctuation etc rather than transcribing the audio verbatim)
22441
+ *
22442
+ * @generated from field: norsk.api.common.OptionalBool dictation = 8;
21643
22443
  */
21644
- maximumLineLength?: OptionalInt;
22444
+ dictation?: OptionalBool;
22445
+
22446
+ /**
22447
+ * * Profanity behaviour (whether to mask or remove profanity)
22448
+ *
22449
+ * @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption profanity = 9;
22450
+ */
22451
+ profanity = AudioTranscribeAzureConfiguration_ProfanityOption.AZURE_PROFANITY_DEFAULT;
21645
22452
 
21646
22453
  constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>) {
21647
22454
  super();
@@ -21657,7 +22464,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
21657
22464
  { no: 4, name: "target_languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
21658
22465
  { no: 5, name: "azure_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
21659
22466
  { no: 6, name: "azure_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
21660
- { no: 7, name: "maximum_line_length", kind: "message", T: OptionalInt },
22467
+ { no: 8, name: "dictation", kind: "message", T: OptionalBool },
22468
+ { no: 9, name: "profanity", kind: "enum", T: proto3.getEnumType(AudioTranscribeAzureConfiguration_ProfanityOption) },
21661
22469
  ]);
21662
22470
 
21663
22471
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration {
@@ -21677,6 +22485,38 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
21677
22485
  }
21678
22486
  }
21679
22487
 
22488
+ /**
22489
+ * @generated from enum norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption
22490
+ */
22491
+ export enum AudioTranscribeAzureConfiguration_ProfanityOption {
22492
+ /**
22493
+ * @generated from enum value: AZURE_PROFANITY_DEFAULT = 0;
22494
+ */
22495
+ AZURE_PROFANITY_DEFAULT = 0,
22496
+
22497
+ /**
22498
+ * @generated from enum value: AZURE_PROFANITY_MASKED = 1;
22499
+ */
22500
+ AZURE_PROFANITY_MASKED = 1,
22501
+
22502
+ /**
22503
+ * @generated from enum value: AZURE_PROFANITY_REMOVED = 2;
22504
+ */
22505
+ AZURE_PROFANITY_REMOVED = 2,
22506
+
22507
+ /**
22508
+ * @generated from enum value: AZURE_PROFANITY_RAW = 3;
22509
+ */
22510
+ AZURE_PROFANITY_RAW = 3,
22511
+ }
22512
+ // Retrieve enum metadata with: proto3.getEnumType(AudioTranscribeAzureConfiguration_ProfanityOption)
22513
+ proto3.util.setEnumType(AudioTranscribeAzureConfiguration_ProfanityOption, "norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption", [
22514
+ { no: 0, name: "AZURE_PROFANITY_DEFAULT" },
22515
+ { no: 1, name: "AZURE_PROFANITY_MASKED" },
22516
+ { no: 2, name: "AZURE_PROFANITY_REMOVED" },
22517
+ { no: 3, name: "AZURE_PROFANITY_RAW" },
22518
+ ]);
22519
+
21680
22520
  /**
21681
22521
  * @generated from message norsk.api.media.AudioTranscribeAzureMessage
21682
22522
  */
@@ -22082,7 +22922,8 @@ export class SubtitleTranslateAwsConfiguration extends Message<SubtitleTranslate
22082
22922
  id?: MediaNodeId;
22083
22923
 
22084
22924
  /**
22085
- * / Source language code/tag, e.g. de or fr-CA (leave blank to use the source subtitle language / AWS automatic detection)
22925
+ * / Source language code/tag, e.g. de or fr-CA (leave blank to use the source
22926
+ * / subtitle language / AWS automatic detection)
22086
22927
  *
22087
22928
  * @generated from field: string source_language = 2;
22088
22929
  */
@@ -22313,8 +23154,6 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
22313
23154
  case: "subscription";
22314
23155
  } | {
22315
23156
  /**
22316
- * Scte104Event scte104_event = 4;
22317
- *
22318
23157
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
22319
23158
  */
22320
23159
  value: Scte35Event;
@@ -22378,8 +23217,6 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
22378
23217
  case: "subscriptionResponse";
22379
23218
  } | {
22380
23219
  /**
22381
- * Scte104Event scte104_event = 5;
22382
- *
22383
23220
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
22384
23221
  */
22385
23222
  value: Scte35Event;
@@ -26110,6 +26947,12 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
26110
26947
  */
26111
26948
  value: Log;
26112
26949
  case: "logEvent";
26950
+ } | {
26951
+ /**
26952
+ * @generated from field: norsk.api.media.AmdMA35DLoad ma35d_load = 5;
26953
+ */
26954
+ value: AmdMA35DLoad;
26955
+ case: "ma35dLoad";
26113
26956
  } | { case: undefined; value?: undefined } = { case: undefined };
26114
26957
 
26115
26958
  constructor(data?: PartialMessage<NorskStatusEvent>) {
@@ -26124,6 +26967,7 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
26124
26967
  { no: 2, name: "current_load", kind: "message", T: CurrentLoad, oneof: "message" },
26125
26968
  { no: 3, name: "license_event", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
26126
26969
  { no: 4, name: "log_event", kind: "message", T: Log, oneof: "message" },
26970
+ { no: 5, name: "ma35d_load", kind: "message", T: AmdMA35DLoad, oneof: "message" },
26127
26971
  ]);
26128
26972
 
26129
26973
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NorskStatusEvent {