@norskvideo/norsk-api 1.0.350 → 1.0.352

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
@@ -2847,12 +2847,18 @@ export enum ValidationResponse_ContextValidationResponse {
2847
2847
  * @generated from enum value: CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2;
2848
2848
  */
2849
2849
  CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2,
2850
+
2851
+ /**
2852
+ * @generated from enum value: CONTEXT_VALIDATION_DENY_AND_QUEUE = 3;
2853
+ */
2854
+ CONTEXT_VALIDATION_DENY_AND_QUEUE = 3,
2850
2855
  }
2851
2856
  // Retrieve enum metadata with: proto3.getEnumType(ValidationResponse_ContextValidationResponse)
2852
2857
  proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api.media.ValidationResponse.ContextValidationResponse", [
2853
2858
  { no: 0, name: "CONTEXT_VALIDATION_DENY" },
2854
2859
  { no: 1, name: "CONTEXT_VALIDATION_ALLOW" },
2855
2860
  { no: 2, name: "CONTEXT_VALIDATION_ALLOW_AND_TERMINATE" },
2861
+ { no: 3, name: "CONTEXT_VALIDATION_DENY_AND_QUEUE" },
2856
2862
  ]);
2857
2863
 
2858
2864
  /**
@@ -4599,6 +4605,11 @@ export enum TsProgram_TsStreamType {
4599
4605
  * @generated from enum value: SCTE35 = 11;
4600
4606
  */
4601
4607
  SCTE35 = 11,
4608
+
4609
+ /**
4610
+ * @generated from enum value: PES_METADATA = 12;
4611
+ */
4612
+ PES_METADATA = 12,
4602
4613
  }
4603
4614
  // Retrieve enum metadata with: proto3.getEnumType(TsProgram_TsStreamType)
4604
4615
  proto3.util.setEnumType(TsProgram_TsStreamType, "norsk.api.media.TsProgram.TsStreamType", [
@@ -4614,6 +4625,7 @@ proto3.util.setEnumType(TsProgram_TsStreamType, "norsk.api.media.TsProgram.TsStr
4614
4625
  { no: 9, name: "UNKNOWN" },
4615
4626
  { no: 10, name: "HEVC" },
4616
4627
  { no: 11, name: "SCTE35" },
4628
+ { no: 12, name: "PES_METADATA" },
4617
4629
  ]);
4618
4630
 
4619
4631
  /**
@@ -8303,7 +8315,7 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
8303
8315
  /**
8304
8316
  * @generated from field: norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration hardware_acceleration = 8;
8305
8317
  */
8306
- hardwareAcceleration = VideoComposeConfiguration_ComposeHardwareAcceleration.NONE;
8318
+ hardwareAcceleration = VideoComposeConfiguration_ComposeHardwareAcceleration.COMPOSE_NONE;
8307
8319
 
8308
8320
  constructor(data?: PartialMessage<VideoComposeConfiguration>) {
8309
8321
  super();
@@ -8345,25 +8357,25 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
8345
8357
  */
8346
8358
  export enum VideoComposeConfiguration_ComposeHardwareAcceleration {
8347
8359
  /**
8348
- * @generated from enum value: NONE = 0;
8360
+ * @generated from enum value: COMPOSE_NONE = 0;
8349
8361
  */
8350
- NONE = 0,
8362
+ COMPOSE_NONE = 0,
8351
8363
 
8352
8364
  /**
8353
- * @generated from enum value: QUADRA = 1;
8365
+ * @generated from enum value: COMPOSE_QUADRA = 1;
8354
8366
  */
8355
- QUADRA = 1,
8367
+ COMPOSE_QUADRA = 1,
8356
8368
 
8357
8369
  /**
8358
- * @generated from enum value: NVIDIA = 2;
8370
+ * @generated from enum value: COMPOSE_NVIDIA = 2;
8359
8371
  */
8360
- NVIDIA = 2,
8372
+ COMPOSE_NVIDIA = 2,
8361
8373
  }
8362
8374
  // Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration)
8363
8375
  proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration", [
8364
- { no: 0, name: "NONE" },
8365
- { no: 1, name: "QUADRA" },
8366
- { no: 2, name: "NVIDIA" },
8376
+ { no: 0, name: "COMPOSE_NONE" },
8377
+ { no: 1, name: "COMPOSE_QUADRA" },
8378
+ { no: 2, name: "COMPOSE_NVIDIA" },
8367
8379
  ]);
8368
8380
 
8369
8381
  /**
@@ -8605,6 +8617,175 @@ export class TransitionComplete extends Message<TransitionComplete> {
8605
8617
  }
8606
8618
  }
8607
8619
 
8620
+ /**
8621
+ * @generated from message norsk.api.media.MetadataCombineMessage
8622
+ */
8623
+ export class MetadataCombineMessage extends Message<MetadataCombineMessage> {
8624
+ /**
8625
+ * @generated from oneof norsk.api.media.MetadataCombineMessage.message
8626
+ */
8627
+ message: {
8628
+ /**
8629
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
8630
+ */
8631
+ value: Subscription;
8632
+ case: "subscription";
8633
+ } | {
8634
+ /**
8635
+ * @generated from field: norsk.api.media.MetadataCombineConfiguration initial_config = 2;
8636
+ */
8637
+ value: MetadataCombineConfiguration;
8638
+ case: "initialConfig";
8639
+ } | { case: undefined; value?: undefined } = { case: undefined };
8640
+
8641
+ constructor(data?: PartialMessage<MetadataCombineMessage>) {
8642
+ super();
8643
+ proto3.util.initPartial(data, this);
8644
+ }
8645
+
8646
+ static readonly runtime = proto3;
8647
+ static readonly typeName = "norsk.api.media.MetadataCombineMessage";
8648
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
8649
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
8650
+ { no: 2, name: "initial_config", kind: "message", T: MetadataCombineConfiguration, oneof: "message" },
8651
+ ]);
8652
+
8653
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataCombineMessage {
8654
+ return new MetadataCombineMessage().fromBinary(bytes, options);
8655
+ }
8656
+
8657
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataCombineMessage {
8658
+ return new MetadataCombineMessage().fromJson(jsonValue, options);
8659
+ }
8660
+
8661
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataCombineMessage {
8662
+ return new MetadataCombineMessage().fromJsonString(jsonString, options);
8663
+ }
8664
+
8665
+ static equals(a: MetadataCombineMessage | PlainMessage<MetadataCombineMessage> | undefined, b: MetadataCombineMessage | PlainMessage<MetadataCombineMessage> | undefined): boolean {
8666
+ return proto3.util.equals(MetadataCombineMessage, a, b);
8667
+ }
8668
+ }
8669
+
8670
+ /**
8671
+ * @generated from message norsk.api.media.MetadataCombineConfiguration
8672
+ */
8673
+ export class MetadataCombineConfiguration extends Message<MetadataCombineConfiguration> {
8674
+ /**
8675
+ * The Media Node Id
8676
+ *
8677
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
8678
+ */
8679
+ id?: MediaNodeId;
8680
+
8681
+ /**
8682
+ * The stream key for the merged output metadata stream
8683
+ *
8684
+ * @generated from field: norsk.api.media.StreamKey stream_key = 2;
8685
+ */
8686
+ streamKey?: StreamKey;
8687
+
8688
+ /**
8689
+ * Max delta to allow for sync purposes, may vary according to source offsets and message frequency
8690
+ *
8691
+ * @generated from field: norsk.api.common.OptionalInt max_sync_delta = 3;
8692
+ */
8693
+ maxSyncDelta?: OptionalInt;
8694
+
8695
+ constructor(data?: PartialMessage<MetadataCombineConfiguration>) {
8696
+ super();
8697
+ proto3.util.initPartial(data, this);
8698
+ }
8699
+
8700
+ static readonly runtime = proto3;
8701
+ static readonly typeName = "norsk.api.media.MetadataCombineConfiguration";
8702
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
8703
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
8704
+ { no: 2, name: "stream_key", kind: "message", T: StreamKey },
8705
+ { no: 3, name: "max_sync_delta", kind: "message", T: OptionalInt },
8706
+ ]);
8707
+
8708
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataCombineConfiguration {
8709
+ return new MetadataCombineConfiguration().fromBinary(bytes, options);
8710
+ }
8711
+
8712
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataCombineConfiguration {
8713
+ return new MetadataCombineConfiguration().fromJson(jsonValue, options);
8714
+ }
8715
+
8716
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataCombineConfiguration {
8717
+ return new MetadataCombineConfiguration().fromJsonString(jsonString, options);
8718
+ }
8719
+
8720
+ static equals(a: MetadataCombineConfiguration | PlainMessage<MetadataCombineConfiguration> | undefined, b: MetadataCombineConfiguration | PlainMessage<MetadataCombineConfiguration> | undefined): boolean {
8721
+ return proto3.util.equals(MetadataCombineConfiguration, a, b);
8722
+ }
8723
+ }
8724
+
8725
+ /**
8726
+ * @generated from message norsk.api.media.MetadataCombineEvent
8727
+ */
8728
+ export class MetadataCombineEvent extends Message<MetadataCombineEvent> {
8729
+ /**
8730
+ * @generated from oneof norsk.api.media.MetadataCombineEvent.message
8731
+ */
8732
+ message: {
8733
+ /**
8734
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
8735
+ */
8736
+ value: MediaNodeId;
8737
+ case: "nodeId";
8738
+ } | {
8739
+ /**
8740
+ * @generated from field: norsk.api.media.Context inbound_context = 2;
8741
+ */
8742
+ value: Context;
8743
+ case: "inboundContext";
8744
+ } | {
8745
+ /**
8746
+ * @generated from field: norsk.api.media.Context outbound_context = 3;
8747
+ */
8748
+ value: Context;
8749
+ case: "outboundContext";
8750
+ } | {
8751
+ /**
8752
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
8753
+ */
8754
+ value: SubscriptionResponse;
8755
+ case: "subscriptionResponse";
8756
+ } | { case: undefined; value?: undefined } = { case: undefined };
8757
+
8758
+ constructor(data?: PartialMessage<MetadataCombineEvent>) {
8759
+ super();
8760
+ proto3.util.initPartial(data, this);
8761
+ }
8762
+
8763
+ static readonly runtime = proto3;
8764
+ static readonly typeName = "norsk.api.media.MetadataCombineEvent";
8765
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
8766
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
8767
+ { no: 2, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
8768
+ { no: 3, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
8769
+ { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
8770
+ ]);
8771
+
8772
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataCombineEvent {
8773
+ return new MetadataCombineEvent().fromBinary(bytes, options);
8774
+ }
8775
+
8776
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataCombineEvent {
8777
+ return new MetadataCombineEvent().fromJson(jsonValue, options);
8778
+ }
8779
+
8780
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataCombineEvent {
8781
+ return new MetadataCombineEvent().fromJsonString(jsonString, options);
8782
+ }
8783
+
8784
+ static equals(a: MetadataCombineEvent | PlainMessage<MetadataCombineEvent> | undefined, b: MetadataCombineEvent | PlainMessage<MetadataCombineEvent> | undefined): boolean {
8785
+ return proto3.util.equals(MetadataCombineEvent, a, b);
8786
+ }
8787
+ }
8788
+
8608
8789
  /**
8609
8790
  * *
8610
8791
  * Describe an audio source with the output gain mapping for a mixer.
@@ -9563,6 +9744,11 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
9563
9744
  */
9564
9745
  channelList: StreamKey[] = [];
9565
9746
 
9747
+ /**
9748
+ * @generated from field: norsk.api.media.SampleRate sample_rate = 8;
9749
+ */
9750
+ sampleRate = SampleRate.RATE_8000;
9751
+
9566
9752
  constructor(data?: PartialMessage<AudioBuildMultichannelConfiguration>) {
9567
9753
  super();
9568
9754
  proto3.util.initPartial(data, this);
@@ -9578,6 +9764,7 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
9578
9764
  { no: 5, name: "output_rendition_name", kind: "message", T: RenditionName },
9579
9765
  { no: 6, name: "channel_layout", kind: "message", T: ChannelLayout },
9580
9766
  { no: 7, name: "channel_list", kind: "message", T: StreamKey, repeated: true },
9767
+ { no: 8, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
9581
9768
  ]);
9582
9769
 
9583
9770
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelConfiguration {
@@ -11021,7 +11208,8 @@ export class UpdateCredentials extends Message<UpdateCredentials> {
11021
11208
  */
11022
11209
  export class UpdateDestinationPlaylist extends Message<UpdateDestinationPlaylist> {
11023
11210
  /**
11024
- * TODO this doesn't have to be a list anymore, as we're only getting at most one update from the sdk
11211
+ * TODO this doesn't have to be a list anymore, as we're only getting at most
11212
+ * one update from the sdk
11025
11213
  *
11026
11214
  * @generated from field: repeated norsk.api.media.UpdatePlaylist playlists = 1;
11027
11215
  */
@@ -12151,6 +12339,11 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
12151
12339
  */
12152
12340
  rtpEncapsulate = false;
12153
12341
 
12342
+ /**
12343
+ * @generated from field: norsk.api.common.OptionalInt av_delay_ms = 8;
12344
+ */
12345
+ avDelayMs?: OptionalInt;
12346
+
12154
12347
  constructor(data?: PartialMessage<UdpTsOutputConfiguration>) {
12155
12348
  super();
12156
12349
  proto3.util.initPartial(data, this);
@@ -12166,6 +12359,7 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
12166
12359
  { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
12167
12360
  { no: 6, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
12168
12361
  { no: 7, name: "rtp_encapsulate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
12362
+ { no: 8, name: "av_delay_ms", kind: "message", T: OptionalInt },
12169
12363
  ]);
12170
12364
 
12171
12365
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UdpTsOutputConfiguration {
@@ -12343,6 +12537,11 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
12343
12537
  */
12344
12538
  bufferDelayMs = 0;
12345
12539
 
12540
+ /**
12541
+ * @generated from field: norsk.api.common.OptionalInt av_delay_ms = 10;
12542
+ */
12543
+ avDelayMs?: OptionalInt;
12544
+
12346
12545
  constructor(data?: PartialMessage<SrtOutputConfiguration>) {
12347
12546
  super();
12348
12547
  proto3.util.initPartial(data, this);
@@ -12359,6 +12558,7 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
12359
12558
  { no: 7, name: "stream_id", kind: "message", T: OptionalString },
12360
12559
  { no: 8, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
12361
12560
  { no: 9, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
12561
+ { no: 10, name: "av_delay_ms", kind: "message", T: OptionalInt },
12362
12562
  ]);
12363
12563
 
12364
12564
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SrtOutputConfiguration {
@@ -13057,6 +13257,11 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
13057
13257
  */
13058
13258
  retryConnectionTimeout = 0;
13059
13259
 
13260
+ /**
13261
+ * @generated from field: norsk.api.common.OptionalInt av_delay_ms = 7;
13262
+ */
13263
+ avDelayMs?: OptionalInt;
13264
+
13060
13265
  constructor(data?: PartialMessage<RtmpOutputConfiguration>) {
13061
13266
  super();
13062
13267
  proto3.util.initPartial(data, this);
@@ -13071,6 +13276,7 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
13071
13276
  { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
13072
13277
  { no: 5, name: "ssl_options", kind: "message", T: SslClientOptions },
13073
13278
  { no: 6, name: "retry_connection_timeout", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13279
+ { no: 7, name: "av_delay_ms", kind: "message", T: OptionalInt },
13074
13280
  ]);
13075
13281
 
13076
13282
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputConfiguration {
@@ -13293,6 +13499,11 @@ export class FileTsOutputConfiguration extends Message<FileTsOutputConfiguration
13293
13499
  */
13294
13500
  statsSampling?: StreamStatisticsSampling;
13295
13501
 
13502
+ /**
13503
+ * @generated from field: norsk.api.common.OptionalInt av_delay_ms = 4;
13504
+ */
13505
+ avDelayMs?: OptionalInt;
13506
+
13296
13507
  constructor(data?: PartialMessage<FileTsOutputConfiguration>) {
13297
13508
  super();
13298
13509
  proto3.util.initPartial(data, this);
@@ -13304,6 +13515,7 @@ export class FileTsOutputConfiguration extends Message<FileTsOutputConfiguration
13304
13515
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
13305
13516
  { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13306
13517
  { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
13518
+ { no: 4, name: "av_delay_ms", kind: "message", T: OptionalInt },
13307
13519
  ]);
13308
13520
 
13309
13521
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsOutputConfiguration {
@@ -16066,6 +16278,65 @@ export class XilinxH264 extends Message<XilinxH264> {
16066
16278
  */
16067
16279
  level?: OptionalInt;
16068
16280
 
16281
+ /**
16282
+ * @generated from oneof norsk.api.media.XilinxH264.rateControl
16283
+ */
16284
+ rateControl: {
16285
+ /**
16286
+ * @generated from field: uint32 const_qp = 3;
16287
+ */
16288
+ value: number;
16289
+ case: "constQp";
16290
+ } | {
16291
+ /**
16292
+ * @generated from field: uint32 cbr = 4;
16293
+ */
16294
+ value: number;
16295
+ case: "cbr";
16296
+ } | {
16297
+ /**
16298
+ * @generated from field: uint32 vbr = 5;
16299
+ */
16300
+ value: number;
16301
+ case: "vbr";
16302
+ } | {
16303
+ /**
16304
+ * @generated from field: uint32 low_latency = 6;
16305
+ */
16306
+ value: number;
16307
+ case: "lowLatency";
16308
+ } | { case: undefined; value?: undefined } = { case: undefined };
16309
+
16310
+ /**
16311
+ * @generated from field: norsk.api.common.OptionalInt lookahead_depth = 7;
16312
+ */
16313
+ lookaheadDepth?: OptionalInt;
16314
+
16315
+ /**
16316
+ * @generated from field: norsk.api.common.OptionalInt idr_period = 8;
16317
+ */
16318
+ idrPeriod?: OptionalInt;
16319
+
16320
+ /**
16321
+ * @generated from field: norsk.api.common.OptionalInt bframes = 9;
16322
+ */
16323
+ bframes?: OptionalInt;
16324
+
16325
+ /**
16326
+ * @generated from field: norsk.api.common.OptionalInt gop_size = 10;
16327
+ */
16328
+ gopSize?: OptionalInt;
16329
+
16330
+ /**
16331
+ * @generated from field: norsk.api.common.OptionalInt min_qp = 11;
16332
+ */
16333
+ minQp?: OptionalInt;
16334
+
16335
+ /**
16336
+ * @generated from field: norsk.api.common.OptionalInt max_qp = 12;
16337
+ */
16338
+ maxQp?: OptionalInt;
16339
+
16069
16340
  constructor(data?: PartialMessage<XilinxH264>) {
16070
16341
  super();
16071
16342
  proto3.util.initPartial(data, this);
@@ -16076,6 +16347,16 @@ export class XilinxH264 extends Message<XilinxH264> {
16076
16347
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
16077
16348
  { no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxH264_XilinxH264Profile) },
16078
16349
  { no: 2, name: "level", kind: "message", T: OptionalInt },
16350
+ { no: 3, name: "const_qp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
16351
+ { no: 4, name: "cbr", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
16352
+ { no: 5, name: "vbr", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
16353
+ { no: 6, name: "low_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
16354
+ { no: 7, name: "lookahead_depth", kind: "message", T: OptionalInt },
16355
+ { no: 8, name: "idr_period", kind: "message", T: OptionalInt },
16356
+ { no: 9, name: "bframes", kind: "message", T: OptionalInt },
16357
+ { no: 10, name: "gop_size", kind: "message", T: OptionalInt },
16358
+ { no: 11, name: "min_qp", kind: "message", T: OptionalInt },
16359
+ { no: 12, name: "max_qp", kind: "message", T: OptionalInt },
16079
16360
  ]);
16080
16361
 
16081
16362
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxH264 {
@@ -16760,7 +17041,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
16760
17041
  id?: MediaNodeId;
16761
17042
 
16762
17043
  /**
16763
- * @generated from field: norsk.api.media.StreamKey streamKey = 2;
17044
+ * @generated from field: norsk.api.media.StreamKey stream_key = 2;
16764
17045
  */
16765
17046
  streamKey?: StreamKey;
16766
17047
 
@@ -16773,7 +17054,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
16773
17054
  static readonly typeName = "norsk.api.media.StreamKeyOverrideConfiguration";
16774
17055
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
16775
17056
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
16776
- { no: 2, name: "streamKey", kind: "message", T: StreamKey },
17057
+ { no: 2, name: "stream_key", kind: "message", T: StreamKey },
16777
17058
  ]);
16778
17059
 
16779
17060
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideConfiguration {
@@ -16933,14 +17214,16 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16933
17214
  audioBitrate?: OptionalInt;
16934
17215
 
16935
17216
  /**
16936
- * * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
17217
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC
17218
+ * 5646 language tag.
16937
17219
  *
16938
17220
  * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16939
17221
  */
16940
17222
  audioLanguage?: OptionalString;
16941
17223
 
16942
17224
  /**
16943
- * * Override the language metadata of a subtitles stream, or `""` to clear RFC 5646 language tag.
17225
+ * * Override the language metadata of a subtitles stream, or `""` to clear RFC
17226
+ * 5646 language tag.
16944
17227
  *
16945
17228
  * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16946
17229
  */
@@ -16999,14 +17282,16 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16999
17282
  audioBitrate?: OptionalInt;
17000
17283
 
17001
17284
  /**
17002
- * * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
17285
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC
17286
+ * 5646 language tag.
17003
17287
  *
17004
17288
  * @generated from field: norsk.api.common.OptionalString audio_language = 4;
17005
17289
  */
17006
17290
  audioLanguage?: OptionalString;
17007
17291
 
17008
17292
  /**
17009
- * * Override the language metadata of a subtitles stream, or `""` to clear. RFC 5646 language tag.
17293
+ * * Override the language metadata of a subtitles stream, or `""` to clear.
17294
+ * RFC 5646 language tag.
17010
17295
  *
17011
17296
  * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
17012
17297
  */
@@ -18029,6 +18314,14 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
18029
18314
  */
18030
18315
  alignment = StreamSwitchSmoothConfiguration_Alignment.ALIGNED;
18031
18316
 
18317
+ /**
18318
+ * Whether to do the video compose operation in memory or on the specified
18319
+ * hardware
18320
+ *
18321
+ * @generated from field: norsk.api.media.StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration hardware_acceleration = 10;
18322
+ */
18323
+ hardwareAcceleration = StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration.SS_NONE;
18324
+
18032
18325
  constructor(data?: PartialMessage<StreamSwitchSmoothConfiguration>) {
18033
18326
  super();
18034
18327
  proto3.util.initPartial(data, this);
@@ -18046,6 +18339,7 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
18046
18339
  { no: 7, name: "frame_rate", kind: "message", T: FrameRate },
18047
18340
  { no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
18048
18341
  { no: 9, name: "alignment", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
18342
+ { no: 10, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration) },
18049
18343
  ]);
18050
18344
 
18051
18345
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothConfiguration {
@@ -18065,6 +18359,32 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
18065
18359
  }
18066
18360
  }
18067
18361
 
18362
+ /**
18363
+ * @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration
18364
+ */
18365
+ export enum StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration {
18366
+ /**
18367
+ * @generated from enum value: SS_NONE = 0;
18368
+ */
18369
+ SS_NONE = 0,
18370
+
18371
+ /**
18372
+ * @generated from enum value: SS_QUADRA = 1;
18373
+ */
18374
+ SS_QUADRA = 1,
18375
+
18376
+ /**
18377
+ * @generated from enum value: SS_NVIDIA = 2;
18378
+ */
18379
+ SS_NVIDIA = 2,
18380
+ }
18381
+ // Retrieve enum metadata with: proto3.getEnumType(StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration)
18382
+ proto3.util.setEnumType(StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration, "norsk.api.media.StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration", [
18383
+ { no: 0, name: "SS_NONE" },
18384
+ { no: 1, name: "SS_QUADRA" },
18385
+ { no: 2, name: "SS_NVIDIA" },
18386
+ ]);
18387
+
18068
18388
  /**
18069
18389
  * Whether to align all the incoming timestamps
18070
18390
  *
@@ -20021,8 +20341,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
20021
20341
  outputStreamId = 0;
20022
20342
 
20023
20343
  /**
20024
- * The source language to recognise - an RFC 5646/ IETF BCP 47 language tag, eg en-US,
20025
- * en-GB, de-DE. Supported languages are found at
20344
+ * The source language to recognise - an RFC 5646/ IETF BCP 47 language tag,
20345
+ * eg en-US, en-GB, de-DE. Supported languages are found at
20026
20346
  * https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
20027
20347
  *
20028
20348
  * @generated from field: string source_language = 3;
@@ -20030,7 +20350,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
20030
20350
  sourceLanguage = "";
20031
20351
 
20032
20352
  /**
20033
- * The target output languages for translation - technically a RFC 5646 language
20353
+ * The target output languages for translation - technically a RFC 5646
20354
+ * language
20034
20355
  * tag but but in most cases omitting region, e.g. en, de, zh-Hant.
20035
20356
  *
20036
20357
  * Leave this field absent/empty to use the transcription service without
@@ -20273,6 +20594,43 @@ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribe
20273
20594
  */
20274
20595
  model = "";
20275
20596
 
20597
+ /**
20598
+ * Translate (to English)
20599
+ *
20600
+ * @generated from field: bool translate = 13;
20601
+ */
20602
+ translate = false;
20603
+
20604
+ /**
20605
+ * @generated from field: bool tiny_diarize = 14;
20606
+ */
20607
+ tinyDiarize = false;
20608
+
20609
+ /**
20610
+ * @generated from field: string initial_prompt = 15;
20611
+ */
20612
+ initialPrompt = "";
20613
+
20614
+ /**
20615
+ * @generated from field: norsk.api.common.OptionalBool suppress_non_speech_tokens = 16;
20616
+ */
20617
+ suppressNonSpeechTokens?: OptionalBool;
20618
+
20619
+ /**
20620
+ * @generated from field: norsk.api.media.AudioTranscribeWhisperConfiguration.SamplingStrategy sampling_strategy = 17;
20621
+ */
20622
+ samplingStrategy = AudioTranscribeWhisperConfiguration_SamplingStrategy.WHISPER_SAMPLING_GREEDY;
20623
+
20624
+ /**
20625
+ * @generated from field: norsk.api.common.OptionalInt best_of = 18;
20626
+ */
20627
+ bestOf?: OptionalInt;
20628
+
20629
+ /**
20630
+ * @generated from field: norsk.api.common.OptionalInt beam_size = 19;
20631
+ */
20632
+ beamSize?: OptionalInt;
20633
+
20276
20634
  constructor(data?: PartialMessage<AudioTranscribeWhisperConfiguration>) {
20277
20635
  super();
20278
20636
  proto3.util.initPartial(data, this);
@@ -20293,6 +20651,13 @@ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribe
20293
20651
  { no: 10, name: "use_gpu", kind: "message", T: OptionalBool },
20294
20652
  { no: 11, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
20295
20653
  { no: 12, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
20654
+ { no: 13, name: "translate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
20655
+ { no: 14, name: "tiny_diarize", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
20656
+ { no: 15, name: "initial_prompt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
20657
+ { no: 16, name: "suppress_non_speech_tokens", kind: "message", T: OptionalBool },
20658
+ { no: 17, name: "sampling_strategy", kind: "enum", T: proto3.getEnumType(AudioTranscribeWhisperConfiguration_SamplingStrategy) },
20659
+ { no: 18, name: "best_of", kind: "message", T: OptionalInt },
20660
+ { no: 19, name: "beam_size", kind: "message", T: OptionalInt },
20296
20661
  ]);
20297
20662
 
20298
20663
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperConfiguration {
@@ -20312,6 +20677,26 @@ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribe
20312
20677
  }
20313
20678
  }
20314
20679
 
20680
+ /**
20681
+ * @generated from enum norsk.api.media.AudioTranscribeWhisperConfiguration.SamplingStrategy
20682
+ */
20683
+ export enum AudioTranscribeWhisperConfiguration_SamplingStrategy {
20684
+ /**
20685
+ * @generated from enum value: WHISPER_SAMPLING_GREEDY = 0;
20686
+ */
20687
+ WHISPER_SAMPLING_GREEDY = 0,
20688
+
20689
+ /**
20690
+ * @generated from enum value: WHISPER_SAMPLING_BEAM_SEARCH = 1;
20691
+ */
20692
+ WHISPER_SAMPLING_BEAM_SEARCH = 1,
20693
+ }
20694
+ // Retrieve enum metadata with: proto3.getEnumType(AudioTranscribeWhisperConfiguration_SamplingStrategy)
20695
+ proto3.util.setEnumType(AudioTranscribeWhisperConfiguration_SamplingStrategy, "norsk.api.media.AudioTranscribeWhisperConfiguration.SamplingStrategy", [
20696
+ { no: 0, name: "WHISPER_SAMPLING_GREEDY" },
20697
+ { no: 1, name: "WHISPER_SAMPLING_BEAM_SEARCH" },
20698
+ ]);
20699
+
20315
20700
  /**
20316
20701
  * @generated from message norsk.api.media.AudioTranscribeWhisperMessage
20317
20702
  */
@@ -22191,6 +22576,56 @@ export class Scte35SegmentationComponent extends Message<Scte35SegmentationCompo
22191
22576
  * ////////////////////////////////////////////////////////////////////////////
22192
22577
  * FrameStore
22193
22578
  *
22579
+ * @generated from message norsk.api.media.FrameStoreExpiry
22580
+ */
22581
+ export class FrameStoreExpiry extends Message<FrameStoreExpiry> {
22582
+ /**
22583
+ * @generated from oneof norsk.api.media.FrameStoreExpiry.message
22584
+ */
22585
+ message: {
22586
+ /**
22587
+ * @generated from field: uint32 by_size = 1;
22588
+ */
22589
+ value: number;
22590
+ case: "bySize";
22591
+ } | {
22592
+ /**
22593
+ * @generated from field: uint32 by_duration = 2;
22594
+ */
22595
+ value: number;
22596
+ case: "byDuration";
22597
+ } | { case: undefined; value?: undefined } = { case: undefined };
22598
+
22599
+ constructor(data?: PartialMessage<FrameStoreExpiry>) {
22600
+ super();
22601
+ proto3.util.initPartial(data, this);
22602
+ }
22603
+
22604
+ static readonly runtime = proto3;
22605
+ static readonly typeName = "norsk.api.media.FrameStoreExpiry";
22606
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
22607
+ { no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
22608
+ { no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
22609
+ ]);
22610
+
22611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreExpiry {
22612
+ return new FrameStoreExpiry().fromBinary(bytes, options);
22613
+ }
22614
+
22615
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
22616
+ return new FrameStoreExpiry().fromJson(jsonValue, options);
22617
+ }
22618
+
22619
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
22620
+ return new FrameStoreExpiry().fromJsonString(jsonString, options);
22621
+ }
22622
+
22623
+ static equals(a: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined, b: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined): boolean {
22624
+ return proto3.util.equals(FrameStoreExpiry, a, b);
22625
+ }
22626
+ }
22627
+
22628
+ /**
22194
22629
  * @generated from message norsk.api.media.FrameStoreRecorderConfiguration
22195
22630
  */
22196
22631
  export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderConfiguration> {
@@ -22214,6 +22649,11 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
22214
22649
  */
22215
22650
  chunkFileDurationSeconds = 0;
22216
22651
 
22652
+ /**
22653
+ * @generated from field: norsk.api.media.FrameStoreExpiry expiry = 5;
22654
+ */
22655
+ expiry?: FrameStoreExpiry;
22656
+
22217
22657
  constructor(data?: PartialMessage<FrameStoreRecorderConfiguration>) {
22218
22658
  super();
22219
22659
  proto3.util.initPartial(data, this);
@@ -22226,6 +22666,7 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
22226
22666
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22227
22667
  { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22228
22668
  { no: 4, name: "chunk_file_duration_seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
22669
+ { no: 5, name: "expiry", kind: "message", T: FrameStoreExpiry },
22229
22670
  ]);
22230
22671
 
22231
22672
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderConfiguration {
@@ -22245,6 +22686,173 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
22245
22686
  }
22246
22687
  }
22247
22688
 
22689
+ /**
22690
+ * @generated from message norsk.api.media.FrameStoreCutRequest
22691
+ */
22692
+ export class FrameStoreCutRequest extends Message<FrameStoreCutRequest> {
22693
+ /**
22694
+ * @generated from field: string id = 1;
22695
+ */
22696
+ id = "";
22697
+
22698
+ /**
22699
+ * @generated from field: norsk.api.media.StreamSelection stream_selection = 2;
22700
+ */
22701
+ streamSelection?: StreamSelection;
22702
+
22703
+ /**
22704
+ * @generated from field: repeated norsk.api.media.SingleCut cuts = 3;
22705
+ */
22706
+ cuts: SingleCut[] = [];
22707
+
22708
+ /**
22709
+ * @generated from field: bool trim_partial_segments = 4;
22710
+ */
22711
+ trimPartialSegments = false;
22712
+
22713
+ /**
22714
+ * @generated from field: string file_name = 5;
22715
+ */
22716
+ fileName = "";
22717
+
22718
+ /**
22719
+ * @generated from field: norsk.api.media.FrameStoreCutRequest.FileFormat file_format = 6;
22720
+ */
22721
+ fileFormat = FrameStoreCutRequest_FileFormat.CUT_MP4;
22722
+
22723
+ constructor(data?: PartialMessage<FrameStoreCutRequest>) {
22724
+ super();
22725
+ proto3.util.initPartial(data, this);
22726
+ }
22727
+
22728
+ static readonly runtime = proto3;
22729
+ static readonly typeName = "norsk.api.media.FrameStoreCutRequest";
22730
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
22731
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22732
+ { no: 2, name: "stream_selection", kind: "message", T: StreamSelection },
22733
+ { no: 3, name: "cuts", kind: "message", T: SingleCut, repeated: true },
22734
+ { no: 4, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
22735
+ { no: 5, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22736
+ { no: 6, name: "file_format", kind: "enum", T: proto3.getEnumType(FrameStoreCutRequest_FileFormat) },
22737
+ ]);
22738
+
22739
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutRequest {
22740
+ return new FrameStoreCutRequest().fromBinary(bytes, options);
22741
+ }
22742
+
22743
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
22744
+ return new FrameStoreCutRequest().fromJson(jsonValue, options);
22745
+ }
22746
+
22747
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
22748
+ return new FrameStoreCutRequest().fromJsonString(jsonString, options);
22749
+ }
22750
+
22751
+ static equals(a: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined, b: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined): boolean {
22752
+ return proto3.util.equals(FrameStoreCutRequest, a, b);
22753
+ }
22754
+ }
22755
+
22756
+ /**
22757
+ * @generated from enum norsk.api.media.FrameStoreCutRequest.FileFormat
22758
+ */
22759
+ export enum FrameStoreCutRequest_FileFormat {
22760
+ /**
22761
+ * @generated from enum value: CUT_MP4 = 0;
22762
+ */
22763
+ CUT_MP4 = 0,
22764
+ }
22765
+ // Retrieve enum metadata with: proto3.getEnumType(FrameStoreCutRequest_FileFormat)
22766
+ proto3.util.setEnumType(FrameStoreCutRequest_FileFormat, "norsk.api.media.FrameStoreCutRequest.FileFormat", [
22767
+ { no: 0, name: "CUT_MP4" },
22768
+ ]);
22769
+
22770
+ /**
22771
+ * @generated from message norsk.api.media.FrameStoreCutProgress
22772
+ */
22773
+ export class FrameStoreCutProgress extends Message<FrameStoreCutProgress> {
22774
+ /**
22775
+ * @generated from field: string id = 1;
22776
+ */
22777
+ id = "";
22778
+
22779
+ /**
22780
+ * @generated from field: uint32 progress = 2;
22781
+ */
22782
+ progress = 0;
22783
+
22784
+ constructor(data?: PartialMessage<FrameStoreCutProgress>) {
22785
+ super();
22786
+ proto3.util.initPartial(data, this);
22787
+ }
22788
+
22789
+ static readonly runtime = proto3;
22790
+ static readonly typeName = "norsk.api.media.FrameStoreCutProgress";
22791
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
22792
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22793
+ { no: 2, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
22794
+ ]);
22795
+
22796
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutProgress {
22797
+ return new FrameStoreCutProgress().fromBinary(bytes, options);
22798
+ }
22799
+
22800
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
22801
+ return new FrameStoreCutProgress().fromJson(jsonValue, options);
22802
+ }
22803
+
22804
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
22805
+ return new FrameStoreCutProgress().fromJsonString(jsonString, options);
22806
+ }
22807
+
22808
+ static equals(a: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined, b: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined): boolean {
22809
+ return proto3.util.equals(FrameStoreCutProgress, a, b);
22810
+ }
22811
+ }
22812
+
22813
+ /**
22814
+ * @generated from message norsk.api.media.FrameStoreCutComplete
22815
+ */
22816
+ export class FrameStoreCutComplete extends Message<FrameStoreCutComplete> {
22817
+ /**
22818
+ * @generated from field: string id = 1;
22819
+ */
22820
+ id = "";
22821
+
22822
+ /**
22823
+ * @generated from field: uint64 size = 2;
22824
+ */
22825
+ size = protoInt64.zero;
22826
+
22827
+ constructor(data?: PartialMessage<FrameStoreCutComplete>) {
22828
+ super();
22829
+ proto3.util.initPartial(data, this);
22830
+ }
22831
+
22832
+ static readonly runtime = proto3;
22833
+ static readonly typeName = "norsk.api.media.FrameStoreCutComplete";
22834
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
22835
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22836
+ { no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
22837
+ ]);
22838
+
22839
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutComplete {
22840
+ return new FrameStoreCutComplete().fromBinary(bytes, options);
22841
+ }
22842
+
22843
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
22844
+ return new FrameStoreCutComplete().fromJson(jsonValue, options);
22845
+ }
22846
+
22847
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
22848
+ return new FrameStoreCutComplete().fromJsonString(jsonString, options);
22849
+ }
22850
+
22851
+ static equals(a: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined, b: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined): boolean {
22852
+ return proto3.util.equals(FrameStoreCutComplete, a, b);
22853
+ }
22854
+ }
22855
+
22248
22856
  /**
22249
22857
  * @generated from message norsk.api.media.FrameStoreRecorderMessage
22250
22858
  */
@@ -22264,6 +22872,12 @@ export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage
22264
22872
  */
22265
22873
  value: FrameStoreRecorderConfiguration;
22266
22874
  case: "configuration";
22875
+ } | {
22876
+ /**
22877
+ * @generated from field: norsk.api.media.FrameStoreCutRequest cut_request = 3;
22878
+ */
22879
+ value: FrameStoreCutRequest;
22880
+ case: "cutRequest";
22267
22881
  } | { case: undefined; value?: undefined } = { case: undefined };
22268
22882
 
22269
22883
  constructor(data?: PartialMessage<FrameStoreRecorderMessage>) {
@@ -22276,6 +22890,7 @@ export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage
22276
22890
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
22277
22891
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
22278
22892
  { no: 2, name: "configuration", kind: "message", T: FrameStoreRecorderConfiguration, oneof: "message" },
22893
+ { no: 3, name: "cut_request", kind: "message", T: FrameStoreCutRequest, oneof: "message" },
22279
22894
  ]);
22280
22895
 
22281
22896
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderMessage {
@@ -22320,6 +22935,18 @@ export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
22320
22935
  */
22321
22936
  value: Context;
22322
22937
  case: "inboundContext";
22938
+ } | {
22939
+ /**
22940
+ * @generated from field: norsk.api.media.FrameStoreCutProgress cut_progress = 4;
22941
+ */
22942
+ value: FrameStoreCutProgress;
22943
+ case: "cutProgress";
22944
+ } | {
22945
+ /**
22946
+ * @generated from field: norsk.api.media.FrameStoreCutComplete cut_complete = 5;
22947
+ */
22948
+ value: FrameStoreCutComplete;
22949
+ case: "cutComplete";
22323
22950
  } | { case: undefined; value?: undefined } = { case: undefined };
22324
22951
 
22325
22952
  constructor(data?: PartialMessage<FrameStoreRecorderEvent>) {
@@ -22333,6 +22960,8 @@ export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
22333
22960
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
22334
22961
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
22335
22962
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
22963
+ { no: 4, name: "cut_progress", kind: "message", T: FrameStoreCutProgress, oneof: "message" },
22964
+ { no: 5, name: "cut_complete", kind: "message", T: FrameStoreCutComplete, oneof: "message" },
22336
22965
  ]);
22337
22966
 
22338
22967
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderEvent {
@@ -22402,156 +23031,193 @@ export class SingleCut extends Message<SingleCut> {
22402
23031
  }
22403
23032
 
22404
23033
  /**
22405
- * @generated from message norsk.api.media.FrameStorePlayerConfiguration
23034
+ * @generated from message norsk.api.media.StreamSelection
22406
23035
  */
22407
- export class FrameStorePlayerConfiguration extends Message<FrameStorePlayerConfiguration> {
22408
- /**
22409
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
22410
- */
22411
- id?: MediaNodeId;
22412
-
22413
- /**
22414
- * @generated from field: string name = 2;
22415
- */
22416
- name = "";
22417
-
22418
- /**
22419
- * @generated from field: string source_name = 3;
22420
- */
22421
- sourceName = "";
22422
-
22423
- /**
22424
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
22425
- */
22426
- statsSampling?: StreamStatisticsSampling;
22427
-
23036
+ export class StreamSelection extends Message<StreamSelection> {
22428
23037
  /**
22429
- * @generated from oneof norsk.api.media.FrameStorePlayerConfiguration.stream_selection
23038
+ * @generated from oneof norsk.api.media.StreamSelection.stream_selection
22430
23039
  */
22431
23040
  streamSelection: {
22432
23041
  /**
22433
- * @generated from field: norsk.api.media.FrameStorePlayerConfiguration.All all = 5;
23042
+ * @generated from field: norsk.api.media.StreamSelection.All all = 1;
22434
23043
  */
22435
- value: FrameStorePlayerConfiguration_All;
23044
+ value: StreamSelection_All;
22436
23045
  case: "all";
22437
23046
  } | {
22438
23047
  /**
22439
- * @generated from field: norsk.api.media.FrameStorePlayerConfiguration.Subset subset = 6;
23048
+ * @generated from field: norsk.api.media.StreamSelection.Subset subset = 2;
22440
23049
  */
22441
- value: FrameStorePlayerConfiguration_Subset;
23050
+ value: StreamSelection_Subset;
22442
23051
  case: "subset";
22443
23052
  } | { case: undefined; value?: undefined } = { case: undefined };
22444
23053
 
22445
- /**
22446
- * @generated from field: repeated norsk.api.media.SingleCut cuts = 7;
22447
- */
22448
- cuts: SingleCut[] = [];
22449
-
22450
- /**
22451
- * @generated from field: bool trim_partial_segments = 8;
22452
- */
22453
- trimPartialSegments = false;
22454
-
22455
- constructor(data?: PartialMessage<FrameStorePlayerConfiguration>) {
23054
+ constructor(data?: PartialMessage<StreamSelection>) {
22456
23055
  super();
22457
23056
  proto3.util.initPartial(data, this);
22458
23057
  }
22459
23058
 
22460
23059
  static readonly runtime = proto3;
22461
- static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration";
23060
+ static readonly typeName = "norsk.api.media.StreamSelection";
22462
23061
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
22463
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
22464
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22465
- { no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22466
- { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
22467
- { no: 5, name: "all", kind: "message", T: FrameStorePlayerConfiguration_All, oneof: "stream_selection" },
22468
- { no: 6, name: "subset", kind: "message", T: FrameStorePlayerConfiguration_Subset, oneof: "stream_selection" },
22469
- { no: 7, name: "cuts", kind: "message", T: SingleCut, repeated: true },
22470
- { no: 8, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
23062
+ { no: 1, name: "all", kind: "message", T: StreamSelection_All, oneof: "stream_selection" },
23063
+ { no: 2, name: "subset", kind: "message", T: StreamSelection_Subset, oneof: "stream_selection" },
22471
23064
  ]);
22472
23065
 
22473
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration {
22474
- return new FrameStorePlayerConfiguration().fromBinary(bytes, options);
23066
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection {
23067
+ return new StreamSelection().fromBinary(bytes, options);
22475
23068
  }
22476
23069
 
22477
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
22478
- return new FrameStorePlayerConfiguration().fromJson(jsonValue, options);
23070
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection {
23071
+ return new StreamSelection().fromJson(jsonValue, options);
22479
23072
  }
22480
23073
 
22481
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
22482
- return new FrameStorePlayerConfiguration().fromJsonString(jsonString, options);
23074
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection {
23075
+ return new StreamSelection().fromJsonString(jsonString, options);
22483
23076
  }
22484
23077
 
22485
- static equals(a: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined, b: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined): boolean {
22486
- return proto3.util.equals(FrameStorePlayerConfiguration, a, b);
23078
+ static equals(a: StreamSelection | PlainMessage<StreamSelection> | undefined, b: StreamSelection | PlainMessage<StreamSelection> | undefined): boolean {
23079
+ return proto3.util.equals(StreamSelection, a, b);
22487
23080
  }
22488
23081
  }
22489
23082
 
22490
23083
  /**
22491
- * @generated from message norsk.api.media.FrameStorePlayerConfiguration.All
23084
+ * @generated from message norsk.api.media.StreamSelection.All
22492
23085
  */
22493
- export class FrameStorePlayerConfiguration_All extends Message<FrameStorePlayerConfiguration_All> {
22494
- constructor(data?: PartialMessage<FrameStorePlayerConfiguration_All>) {
23086
+ export class StreamSelection_All extends Message<StreamSelection_All> {
23087
+ constructor(data?: PartialMessage<StreamSelection_All>) {
22495
23088
  super();
22496
23089
  proto3.util.initPartial(data, this);
22497
23090
  }
22498
23091
 
22499
23092
  static readonly runtime = proto3;
22500
- static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration.All";
23093
+ static readonly typeName = "norsk.api.media.StreamSelection.All";
22501
23094
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
22502
23095
  ]);
22503
23096
 
22504
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration_All {
22505
- return new FrameStorePlayerConfiguration_All().fromBinary(bytes, options);
23097
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_All {
23098
+ return new StreamSelection_All().fromBinary(bytes, options);
22506
23099
  }
22507
23100
 
22508
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration_All {
22509
- return new FrameStorePlayerConfiguration_All().fromJson(jsonValue, options);
23101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_All {
23102
+ return new StreamSelection_All().fromJson(jsonValue, options);
22510
23103
  }
22511
23104
 
22512
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration_All {
22513
- return new FrameStorePlayerConfiguration_All().fromJsonString(jsonString, options);
23105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_All {
23106
+ return new StreamSelection_All().fromJsonString(jsonString, options);
22514
23107
  }
22515
23108
 
22516
- static equals(a: FrameStorePlayerConfiguration_All | PlainMessage<FrameStorePlayerConfiguration_All> | undefined, b: FrameStorePlayerConfiguration_All | PlainMessage<FrameStorePlayerConfiguration_All> | undefined): boolean {
22517
- return proto3.util.equals(FrameStorePlayerConfiguration_All, a, b);
23109
+ static equals(a: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined, b: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined): boolean {
23110
+ return proto3.util.equals(StreamSelection_All, a, b);
22518
23111
  }
22519
23112
  }
22520
23113
 
22521
23114
  /**
22522
- * @generated from message norsk.api.media.FrameStorePlayerConfiguration.Subset
23115
+ * @generated from message norsk.api.media.StreamSelection.Subset
22523
23116
  */
22524
- export class FrameStorePlayerConfiguration_Subset extends Message<FrameStorePlayerConfiguration_Subset> {
23117
+ export class StreamSelection_Subset extends Message<StreamSelection_Subset> {
22525
23118
  /**
22526
23119
  * @generated from field: repeated norsk.api.media.StreamKey stream_list = 1;
22527
23120
  */
22528
23121
  streamList: StreamKey[] = [];
22529
23122
 
22530
- constructor(data?: PartialMessage<FrameStorePlayerConfiguration_Subset>) {
23123
+ constructor(data?: PartialMessage<StreamSelection_Subset>) {
22531
23124
  super();
22532
23125
  proto3.util.initPartial(data, this);
22533
23126
  }
22534
23127
 
22535
23128
  static readonly runtime = proto3;
22536
- static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration.Subset";
23129
+ static readonly typeName = "norsk.api.media.StreamSelection.Subset";
22537
23130
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
22538
23131
  { no: 1, name: "stream_list", kind: "message", T: StreamKey, repeated: true },
22539
23132
  ]);
22540
23133
 
22541
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration_Subset {
22542
- return new FrameStorePlayerConfiguration_Subset().fromBinary(bytes, options);
23134
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_Subset {
23135
+ return new StreamSelection_Subset().fromBinary(bytes, options);
22543
23136
  }
22544
23137
 
22545
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration_Subset {
22546
- return new FrameStorePlayerConfiguration_Subset().fromJson(jsonValue, options);
23138
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
23139
+ return new StreamSelection_Subset().fromJson(jsonValue, options);
22547
23140
  }
22548
23141
 
22549
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration_Subset {
22550
- return new FrameStorePlayerConfiguration_Subset().fromJsonString(jsonString, options);
23142
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
23143
+ return new StreamSelection_Subset().fromJsonString(jsonString, options);
22551
23144
  }
22552
23145
 
22553
- static equals(a: FrameStorePlayerConfiguration_Subset | PlainMessage<FrameStorePlayerConfiguration_Subset> | undefined, b: FrameStorePlayerConfiguration_Subset | PlainMessage<FrameStorePlayerConfiguration_Subset> | undefined): boolean {
22554
- return proto3.util.equals(FrameStorePlayerConfiguration_Subset, a, b);
23146
+ static equals(a: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined, b: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined): boolean {
23147
+ return proto3.util.equals(StreamSelection_Subset, a, b);
23148
+ }
23149
+ }
23150
+
23151
+ /**
23152
+ * @generated from message norsk.api.media.FrameStorePlayerConfiguration
23153
+ */
23154
+ export class FrameStorePlayerConfiguration extends Message<FrameStorePlayerConfiguration> {
23155
+ /**
23156
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
23157
+ */
23158
+ id?: MediaNodeId;
23159
+
23160
+ /**
23161
+ * @generated from field: string name = 2;
23162
+ */
23163
+ name = "";
23164
+
23165
+ /**
23166
+ * @generated from field: string source_name = 3;
23167
+ */
23168
+ sourceName = "";
23169
+
23170
+ /**
23171
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
23172
+ */
23173
+ statsSampling?: StreamStatisticsSampling;
23174
+
23175
+ /**
23176
+ * @generated from field: norsk.api.media.StreamSelection stream_selection = 5;
23177
+ */
23178
+ streamSelection?: StreamSelection;
23179
+
23180
+ /**
23181
+ * @generated from field: repeated norsk.api.media.SingleCut cuts = 6;
23182
+ */
23183
+ cuts: SingleCut[] = [];
23184
+
23185
+ /**
23186
+ * @generated from field: bool trim_partial_segments = 7;
23187
+ */
23188
+ trimPartialSegments = false;
23189
+
23190
+ constructor(data?: PartialMessage<FrameStorePlayerConfiguration>) {
23191
+ super();
23192
+ proto3.util.initPartial(data, this);
23193
+ }
23194
+
23195
+ static readonly runtime = proto3;
23196
+ static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration";
23197
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23198
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
23199
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
23200
+ { no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
23201
+ { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
23202
+ { no: 5, name: "stream_selection", kind: "message", T: StreamSelection },
23203
+ { no: 6, name: "cuts", kind: "message", T: SingleCut, repeated: true },
23204
+ { no: 7, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
23205
+ ]);
23206
+
23207
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration {
23208
+ return new FrameStorePlayerConfiguration().fromBinary(bytes, options);
23209
+ }
23210
+
23211
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
23212
+ return new FrameStorePlayerConfiguration().fromJson(jsonValue, options);
23213
+ }
23214
+
23215
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
23216
+ return new FrameStorePlayerConfiguration().fromJsonString(jsonString, options);
23217
+ }
23218
+
23219
+ static equals(a: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined, b: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined): boolean {
23220
+ return proto3.util.equals(FrameStorePlayerConfiguration, a, b);
22555
23221
  }
22556
23222
  }
22557
23223