@norskvideo/norsk-api 1.0.358 → 1.0.360

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
@@ -601,6 +601,94 @@ proto3.util.setEnumType(AudioCodec, "norsk.api.media.AudioCodec", [
601
601
  { no: 7, name: "AC3" },
602
602
  ]);
603
603
 
604
+ /**
605
+ * @generated from enum norsk.api.media.SubtitleFormat
606
+ */
607
+ export enum SubtitleFormat {
608
+ /**
609
+ * @generated from enum value: SUBTITLE_FORMAT_UNKNOWN = 0;
610
+ */
611
+ UNKNOWN = 0,
612
+
613
+ /**
614
+ * @generated from enum value: SUBTITLE_FORMAT_TRANSCRIBED = 1;
615
+ */
616
+ TRANSCRIBED = 1,
617
+
618
+ /**
619
+ * @generated from enum value: SUBTITLE_FORMAT_TRANSLATED = 2;
620
+ */
621
+ TRANSLATED = 2,
622
+
623
+ /**
624
+ * @generated from enum value: SUBTITLE_FORMAT_WEBVTT = 3;
625
+ */
626
+ WEBVTT = 3,
627
+
628
+ /**
629
+ * @generated from enum value: SUBTITLE_FORMAT_CTA608 = 4;
630
+ */
631
+ CTA608 = 4,
632
+
633
+ /**
634
+ * @generated from enum value: SUBTITLE_FORMAT_CTA708 = 5;
635
+ */
636
+ CTA708 = 5,
637
+
638
+ /**
639
+ * @generated from enum value: SUBTITLE_FORMAT_TELETEXT = 6;
640
+ */
641
+ TELETEXT = 6,
642
+
643
+ /**
644
+ * @generated from enum value: SUBTITLE_FORMAT_TTML = 7;
645
+ */
646
+ TTML = 7,
647
+ }
648
+ // Retrieve enum metadata with: proto3.getEnumType(SubtitleFormat)
649
+ proto3.util.setEnumType(SubtitleFormat, "norsk.api.media.SubtitleFormat", [
650
+ { no: 0, name: "SUBTITLE_FORMAT_UNKNOWN" },
651
+ { no: 1, name: "SUBTITLE_FORMAT_TRANSCRIBED" },
652
+ { no: 2, name: "SUBTITLE_FORMAT_TRANSLATED" },
653
+ { no: 3, name: "SUBTITLE_FORMAT_WEBVTT" },
654
+ { no: 4, name: "SUBTITLE_FORMAT_CTA608" },
655
+ { no: 5, name: "SUBTITLE_FORMAT_CTA708" },
656
+ { no: 6, name: "SUBTITLE_FORMAT_TELETEXT" },
657
+ { no: 7, name: "SUBTITLE_FORMAT_TTML" },
658
+ ]);
659
+
660
+ /**
661
+ * @generated from enum norsk.api.media.AncillaryType
662
+ */
663
+ export enum AncillaryType {
664
+ /**
665
+ * @generated from enum value: ANCILLARY_TYPE_OTHER = 0;
666
+ */
667
+ OTHER = 0,
668
+
669
+ /**
670
+ * @generated from enum value: ANCILLARY_TYPE_SCTE35 = 1;
671
+ */
672
+ SCTE35 = 1,
673
+
674
+ /**
675
+ * @generated from enum value: ANCILLARY_TYPE_SMTPE2038 = 2;
676
+ */
677
+ SMTPE2038 = 2,
678
+
679
+ /**
680
+ * @generated from enum value: ANCILLARY_TYPE_METADATA = 3;
681
+ */
682
+ METADATA = 3,
683
+ }
684
+ // Retrieve enum metadata with: proto3.getEnumType(AncillaryType)
685
+ proto3.util.setEnumType(AncillaryType, "norsk.api.media.AncillaryType", [
686
+ { no: 0, name: "ANCILLARY_TYPE_OTHER" },
687
+ { no: 1, name: "ANCILLARY_TYPE_SCTE35" },
688
+ { no: 2, name: "ANCILLARY_TYPE_SMTPE2038" },
689
+ { no: 3, name: "ANCILLARY_TYPE_METADATA" },
690
+ ]);
691
+
604
692
  /**
605
693
  * @generated from enum norsk.api.media.SrtMode
606
694
  */
@@ -1480,6 +1568,32 @@ proto3.util.setEnumType(SentenceStabilizationMode, "norsk.api.media.SentenceStab
1480
1568
  { no: 2, name: "Low" },
1481
1569
  ]);
1482
1570
 
1571
+ /**
1572
+ * @generated from enum norsk.api.media.MetadataKind
1573
+ */
1574
+ export enum MetadataKind {
1575
+ /**
1576
+ * @generated from enum value: METADATA_KIND_OTHER = 0;
1577
+ */
1578
+ OTHER = 0,
1579
+
1580
+ /**
1581
+ * @generated from enum value: METADATA_KIND_ID3 = 1;
1582
+ */
1583
+ ID3 = 1,
1584
+
1585
+ /**
1586
+ * @generated from enum value: METADATA_KIND_KLV = 2;
1587
+ */
1588
+ KLV = 2,
1589
+ }
1590
+ // Retrieve enum metadata with: proto3.getEnumType(MetadataKind)
1591
+ proto3.util.setEnumType(MetadataKind, "norsk.api.media.MetadataKind", [
1592
+ { no: 0, name: "METADATA_KIND_OTHER" },
1593
+ { no: 1, name: "METADATA_KIND_ID3" },
1594
+ { no: 2, name: "METADATA_KIND_KLV" },
1595
+ ]);
1596
+
1483
1597
  /**
1484
1598
  * @generated from enum norsk.api.media.VancPayloadFormat
1485
1599
  */
@@ -2377,6 +2491,13 @@ export class StreamMetadata_AudioMetadata extends Message<StreamMetadata_AudioMe
2377
2491
  */
2378
2492
  bitrate = 0;
2379
2493
 
2494
+ /**
2495
+ * The audio language (if specified)
2496
+ *
2497
+ * @generated from field: string language = 6;
2498
+ */
2499
+ language = "";
2500
+
2380
2501
  constructor(data?: PartialMessage<StreamMetadata_AudioMetadata>) {
2381
2502
  super();
2382
2503
  proto3.util.initPartial(data, this);
@@ -2389,6 +2510,7 @@ export class StreamMetadata_AudioMetadata extends Message<StreamMetadata_AudioMe
2389
2510
  { no: 3, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
2390
2511
  { no: 4, name: "channel_layout", kind: "message", T: ChannelLayout },
2391
2512
  { no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2513
+ { no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2392
2514
  ]);
2393
2515
 
2394
2516
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_AudioMetadata {
@@ -2487,6 +2609,20 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
2487
2609
  * @generated from message norsk.api.media.StreamMetadata.SubtitleMetadata
2488
2610
  */
2489
2611
  export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_SubtitleMetadata> {
2612
+ /**
2613
+ * The subtitle format or source
2614
+ *
2615
+ * @generated from field: norsk.api.media.SubtitleFormat format = 2;
2616
+ */
2617
+ format = SubtitleFormat.UNKNOWN;
2618
+
2619
+ /**
2620
+ * Subtitle language (if specified)
2621
+ *
2622
+ * @generated from field: string language = 3;
2623
+ */
2624
+ language = "";
2625
+
2490
2626
  constructor(data?: PartialMessage<StreamMetadata_SubtitleMetadata>) {
2491
2627
  super();
2492
2628
  proto3.util.initPartial(data, this);
@@ -2495,6 +2631,8 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
2495
2631
  static readonly runtime = proto3;
2496
2632
  static readonly typeName = "norsk.api.media.StreamMetadata.SubtitleMetadata";
2497
2633
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
2634
+ { no: 2, name: "format", kind: "enum", T: proto3.getEnumType(SubtitleFormat) },
2635
+ { no: 3, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2498
2636
  ]);
2499
2637
 
2500
2638
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_SubtitleMetadata {
@@ -2561,6 +2699,16 @@ export class StreamMetadata_PlaylistMetadata extends Message<StreamMetadata_Play
2561
2699
  * @generated from message norsk.api.media.StreamMetadata.AncillaryMetadata
2562
2700
  */
2563
2701
  export class StreamMetadata_AncillaryMetadata extends Message<StreamMetadata_AncillaryMetadata> {
2702
+ /**
2703
+ * @generated from field: norsk.api.media.AncillaryType type = 2;
2704
+ */
2705
+ type = AncillaryType.OTHER;
2706
+
2707
+ /**
2708
+ * @generated from field: string ancillary_subtype = 3;
2709
+ */
2710
+ ancillarySubtype = "";
2711
+
2564
2712
  constructor(data?: PartialMessage<StreamMetadata_AncillaryMetadata>) {
2565
2713
  super();
2566
2714
  proto3.util.initPartial(data, this);
@@ -2569,6 +2717,8 @@ export class StreamMetadata_AncillaryMetadata extends Message<StreamMetadata_Anc
2569
2717
  static readonly runtime = proto3;
2570
2718
  static readonly typeName = "norsk.api.media.StreamMetadata.AncillaryMetadata";
2571
2719
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
2720
+ { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(AncillaryType) },
2721
+ { no: 3, name: "ancillary_subtype", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2572
2722
  ]);
2573
2723
 
2574
2724
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_AncillaryMetadata {
@@ -2650,8 +2800,8 @@ export class Context extends Message<Context> {
2650
2800
  * certain nodes that are permitted non-disjoint context keys
2651
2801
  * .
2652
2802
  * Once received, your code **must** acknowledge the context change
2653
- * with a call to `Media.UnblockCall`,
2654
- * passing in the `blockingCallRef`; note that if using the
2803
+ * with a call through a subscription channel `Media.createSubscriptionChannel`,
2804
+ * passing in the `blockingCallRef` to an 'unblock' message; note that if using the
2655
2805
  * JavaScript SDK then this is automatically handled.
2656
2806
  *
2657
2807
  * @generated from message norsk.api.media.MultipleContext
@@ -2852,6 +3002,11 @@ export enum ValidationResponse_ContextValidationResponse {
2852
3002
  * @generated from enum value: CONTEXT_VALIDATION_DENY_AND_QUEUE = 3;
2853
3003
  */
2854
3004
  CONTEXT_VALIDATION_DENY_AND_QUEUE = 3,
3005
+
3006
+ /**
3007
+ * @generated from enum value: CONTEXT_VALIDATION_DENY_AND_DROP = 4;
3008
+ */
3009
+ CONTEXT_VALIDATION_DENY_AND_DROP = 4,
2855
3010
  }
2856
3011
  // Retrieve enum metadata with: proto3.getEnumType(ValidationResponse_ContextValidationResponse)
2857
3012
  proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api.media.ValidationResponse.ContextValidationResponse", [
@@ -2859,6 +3014,7 @@ proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api
2859
3014
  { no: 1, name: "CONTEXT_VALIDATION_ALLOW" },
2860
3015
  { no: 2, name: "CONTEXT_VALIDATION_ALLOW_AND_TERMINATE" },
2861
3016
  { no: 3, name: "CONTEXT_VALIDATION_DENY_AND_QUEUE" },
3017
+ { no: 4, name: "CONTEXT_VALIDATION_DENY_AND_DROP" },
2862
3018
  ]);
2863
3019
 
2864
3020
  /**
@@ -6409,6 +6565,174 @@ export class DeckLinkInputEvent extends Message<DeckLinkInputEvent> {
6409
6565
  }
6410
6566
  }
6411
6567
 
6568
+ /**
6569
+ * @generated from message norsk.api.media.DeltacastInputConfiguration
6570
+ */
6571
+ export class DeltacastInputConfiguration extends Message<DeltacastInputConfiguration> {
6572
+ /**
6573
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
6574
+ */
6575
+ id?: MediaNodeId;
6576
+
6577
+ /**
6578
+ * @generated from field: string source_name = 2;
6579
+ */
6580
+ sourceName = "";
6581
+
6582
+ /**
6583
+ * @generated from field: uint32 device_id = 3;
6584
+ */
6585
+ deviceId = 0;
6586
+
6587
+ /**
6588
+ * @generated from field: uint32 card_index = 4;
6589
+ */
6590
+ cardIndex = 0;
6591
+
6592
+ /**
6593
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
6594
+ */
6595
+ statsSampling?: StreamStatisticsSampling;
6596
+
6597
+ constructor(data?: PartialMessage<DeltacastInputConfiguration>) {
6598
+ super();
6599
+ proto3.util.initPartial(data, this);
6600
+ }
6601
+
6602
+ static readonly runtime = proto3;
6603
+ static readonly typeName = "norsk.api.media.DeltacastInputConfiguration";
6604
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6605
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
6606
+ { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6607
+ { no: 3, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6608
+ { no: 4, name: "card_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6609
+ { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6610
+ ]);
6611
+
6612
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputConfiguration {
6613
+ return new DeltacastInputConfiguration().fromBinary(bytes, options);
6614
+ }
6615
+
6616
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastInputConfiguration {
6617
+ return new DeltacastInputConfiguration().fromJson(jsonValue, options);
6618
+ }
6619
+
6620
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastInputConfiguration {
6621
+ return new DeltacastInputConfiguration().fromJsonString(jsonString, options);
6622
+ }
6623
+
6624
+ static equals(a: DeltacastInputConfiguration | PlainMessage<DeltacastInputConfiguration> | undefined, b: DeltacastInputConfiguration | PlainMessage<DeltacastInputConfiguration> | undefined): boolean {
6625
+ return proto3.util.equals(DeltacastInputConfiguration, a, b);
6626
+ }
6627
+ }
6628
+
6629
+ /**
6630
+ * @generated from message norsk.api.media.DeltacastInputMessage
6631
+ */
6632
+ export class DeltacastInputMessage extends Message<DeltacastInputMessage> {
6633
+ /**
6634
+ * @generated from oneof norsk.api.media.DeltacastInputMessage.message
6635
+ */
6636
+ message: {
6637
+ /**
6638
+ * @generated from field: norsk.api.media.DeltacastInputConfiguration initial_config = 1;
6639
+ */
6640
+ value: DeltacastInputConfiguration;
6641
+ case: "initialConfig";
6642
+ } | {
6643
+ /**
6644
+ * @generated from field: norsk.api.media.TimestampNudge nudge = 2;
6645
+ */
6646
+ value: TimestampNudge;
6647
+ case: "nudge";
6648
+ } | { case: undefined; value?: undefined } = { case: undefined };
6649
+
6650
+ constructor(data?: PartialMessage<DeltacastInputMessage>) {
6651
+ super();
6652
+ proto3.util.initPartial(data, this);
6653
+ }
6654
+
6655
+ static readonly runtime = proto3;
6656
+ static readonly typeName = "norsk.api.media.DeltacastInputMessage";
6657
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6658
+ { no: 1, name: "initial_config", kind: "message", T: DeltacastInputConfiguration, oneof: "message" },
6659
+ { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
6660
+ ]);
6661
+
6662
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputMessage {
6663
+ return new DeltacastInputMessage().fromBinary(bytes, options);
6664
+ }
6665
+
6666
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastInputMessage {
6667
+ return new DeltacastInputMessage().fromJson(jsonValue, options);
6668
+ }
6669
+
6670
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastInputMessage {
6671
+ return new DeltacastInputMessage().fromJsonString(jsonString, options);
6672
+ }
6673
+
6674
+ static equals(a: DeltacastInputMessage | PlainMessage<DeltacastInputMessage> | undefined, b: DeltacastInputMessage | PlainMessage<DeltacastInputMessage> | undefined): boolean {
6675
+ return proto3.util.equals(DeltacastInputMessage, a, b);
6676
+ }
6677
+ }
6678
+
6679
+ /**
6680
+ * @generated from message norsk.api.media.DeltacastInputEvent
6681
+ */
6682
+ export class DeltacastInputEvent extends Message<DeltacastInputEvent> {
6683
+ /**
6684
+ * @generated from oneof norsk.api.media.DeltacastInputEvent.message
6685
+ */
6686
+ message: {
6687
+ /**
6688
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
6689
+ */
6690
+ value: MediaNodeId;
6691
+ case: "nodeId";
6692
+ } | {
6693
+ /**
6694
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
6695
+ */
6696
+ value: Context;
6697
+ case: "outboundContext";
6698
+ } | {
6699
+ /**
6700
+ * @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 3;
6701
+ */
6702
+ value: MultiStreamStatistics;
6703
+ case: "streamStatistics";
6704
+ } | { case: undefined; value?: undefined } = { case: undefined };
6705
+
6706
+ constructor(data?: PartialMessage<DeltacastInputEvent>) {
6707
+ super();
6708
+ proto3.util.initPartial(data, this);
6709
+ }
6710
+
6711
+ static readonly runtime = proto3;
6712
+ static readonly typeName = "norsk.api.media.DeltacastInputEvent";
6713
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6714
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
6715
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
6716
+ { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
6717
+ ]);
6718
+
6719
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputEvent {
6720
+ return new DeltacastInputEvent().fromBinary(bytes, options);
6721
+ }
6722
+
6723
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastInputEvent {
6724
+ return new DeltacastInputEvent().fromJson(jsonValue, options);
6725
+ }
6726
+
6727
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastInputEvent {
6728
+ return new DeltacastInputEvent().fromJsonString(jsonString, options);
6729
+ }
6730
+
6731
+ static equals(a: DeltacastInputEvent | PlainMessage<DeltacastInputEvent> | undefined, b: DeltacastInputEvent | PlainMessage<DeltacastInputEvent> | undefined): boolean {
6732
+ return proto3.util.equals(DeltacastInputEvent, a, b);
6733
+ }
6734
+ }
6735
+
6412
6736
  /**
6413
6737
  * @generated from message norsk.api.media.FileImageInputConfiguration
6414
6738
  */
@@ -6438,6 +6762,11 @@ export class FileImageInputConfiguration extends Message<FileImageInputConfigura
6438
6762
  */
6439
6763
  statsSampling?: StreamStatisticsSampling;
6440
6764
 
6765
+ /**
6766
+ * @generated from field: norsk.api.media.FileImageInputConfiguration.FileImageHardwareAcceleration hardware_acceleration = 6;
6767
+ */
6768
+ hardwareAcceleration = FileImageInputConfiguration_FileImageHardwareAcceleration.FILEIMAGE_NONE;
6769
+
6441
6770
  constructor(data?: PartialMessage<FileImageInputConfiguration>) {
6442
6771
  super();
6443
6772
  proto3.util.initPartial(data, this);
@@ -6451,6 +6780,7 @@ export class FileImageInputConfiguration extends Message<FileImageInputConfigura
6451
6780
  { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6452
6781
  { no: 4, name: "image_format", kind: "enum", T: proto3.getEnumType(FileImageInputConfiguration_ImageFormat) },
6453
6782
  { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6783
+ { no: 6, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(FileImageInputConfiguration_FileImageHardwareAcceleration) },
6454
6784
  ]);
6455
6785
 
6456
6786
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileImageInputConfiguration {
@@ -6470,6 +6800,26 @@ export class FileImageInputConfiguration extends Message<FileImageInputConfigura
6470
6800
  }
6471
6801
  }
6472
6802
 
6803
+ /**
6804
+ * @generated from enum norsk.api.media.FileImageInputConfiguration.FileImageHardwareAcceleration
6805
+ */
6806
+ export enum FileImageInputConfiguration_FileImageHardwareAcceleration {
6807
+ /**
6808
+ * @generated from enum value: FILEIMAGE_NONE = 0;
6809
+ */
6810
+ FILEIMAGE_NONE = 0,
6811
+
6812
+ /**
6813
+ * @generated from enum value: FILEIMAGE_QUADRA = 1;
6814
+ */
6815
+ FILEIMAGE_QUADRA = 1,
6816
+ }
6817
+ // Retrieve enum metadata with: proto3.getEnumType(FileImageInputConfiguration_FileImageHardwareAcceleration)
6818
+ proto3.util.setEnumType(FileImageInputConfiguration_FileImageHardwareAcceleration, "norsk.api.media.FileImageInputConfiguration.FileImageHardwareAcceleration", [
6819
+ { no: 0, name: "FILEIMAGE_NONE" },
6820
+ { no: 1, name: "FILEIMAGE_QUADRA" },
6821
+ ]);
6822
+
6473
6823
  /**
6474
6824
  * @generated from enum norsk.api.media.FileImageInputConfiguration.ImageFormat
6475
6825
  */
@@ -13339,6 +13689,12 @@ export class WhepOutputEvent extends Message<WhepOutputEvent> {
13339
13689
  */
13340
13690
  value: MultiStreamStatistics;
13341
13691
  case: "streamStatistics";
13692
+ } | {
13693
+ /**
13694
+ * @generated from field: norsk.api.media.WhepOutputEvent.State status = 5;
13695
+ */
13696
+ value: WhepOutputEvent_State;
13697
+ case: "status";
13342
13698
  } | { case: undefined; value?: undefined } = { case: undefined };
13343
13699
 
13344
13700
  constructor(data?: PartialMessage<WhepOutputEvent>) {
@@ -13353,6 +13709,7 @@ export class WhepOutputEvent extends Message<WhepOutputEvent> {
13353
13709
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
13354
13710
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
13355
13711
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
13712
+ { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(WhepOutputEvent_State), oneof: "message" },
13356
13713
  ]);
13357
13714
 
13358
13715
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputEvent {
@@ -13372,6 +13729,26 @@ export class WhepOutputEvent extends Message<WhepOutputEvent> {
13372
13729
  }
13373
13730
  }
13374
13731
 
13732
+ /**
13733
+ * @generated from enum norsk.api.media.WhepOutputEvent.State
13734
+ */
13735
+ export enum WhepOutputEvent_State {
13736
+ /**
13737
+ * @generated from enum value: WHEP_OUTPUT_STATUS_UNKNOWN = 0;
13738
+ */
13739
+ WHEP_OUTPUT_STATUS_UNKNOWN = 0,
13740
+
13741
+ /**
13742
+ * @generated from enum value: WHEP_OUTPUT_STATUS_READY = 1;
13743
+ */
13744
+ WHEP_OUTPUT_STATUS_READY = 1,
13745
+ }
13746
+ // Retrieve enum metadata with: proto3.getEnumType(WhepOutputEvent_State)
13747
+ proto3.util.setEnumType(WhepOutputEvent_State, "norsk.api.media.WhepOutputEvent.State", [
13748
+ { no: 0, name: "WHEP_OUTPUT_STATUS_UNKNOWN" },
13749
+ { no: 1, name: "WHEP_OUTPUT_STATUS_READY" },
13750
+ ]);
13751
+
13375
13752
  /**
13376
13753
  * @generated from message norsk.api.media.RtmpOutputConfiguration
13377
13754
  */
@@ -17169,10 +17546,10 @@ export class AmdMA35DEncodeCommon extends Message<AmdMA35DEncodeCommon> {
17169
17546
  case: "constrainedVbr";
17170
17547
  } | {
17171
17548
  /**
17172
- * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR constrained_abr = 5;
17549
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ContentAdaptive content_adaptive = 5;
17173
17550
  */
17174
- value: AmdMA35DEncodeCommon_ConstrainedABR;
17175
- case: "constrainedAbr";
17551
+ value: AmdMA35DEncodeCommon_ContentAdaptive;
17552
+ case: "contentAdaptive";
17176
17553
  } | { case: undefined; value?: undefined } = { case: undefined };
17177
17554
 
17178
17555
  /**
@@ -17272,7 +17649,7 @@ export class AmdMA35DEncodeCommon extends Message<AmdMA35DEncodeCommon> {
17272
17649
  { no: 2, name: "cbr", kind: "message", T: AmdMA35DEncodeCommon_CBR, oneof: "rateControl" },
17273
17650
  { no: 3, name: "vbr", kind: "message", T: AmdMA35DEncodeCommon_VBR, oneof: "rateControl" },
17274
17651
  { no: 4, name: "constrained_vbr", kind: "message", T: AmdMA35DEncodeCommon_ConstrainedVBR, oneof: "rateControl" },
17275
- { no: 5, name: "constrained_abr", kind: "message", T: AmdMA35DEncodeCommon_ConstrainedABR, oneof: "rateControl" },
17652
+ { no: 5, name: "content_adaptive", kind: "message", T: AmdMA35DEncodeCommon_ContentAdaptive, oneof: "rateControl" },
17276
17653
  { no: 6, name: "lookahead_depth", kind: "message", T: OptionalInt },
17277
17654
  { no: 7, name: "gopSize", kind: "message", T: OptionalInt },
17278
17655
  { no: 8, name: "tempAqGain", kind: "message", T: OptionalInt },
@@ -17592,9 +17969,9 @@ export class AmdMA35DEncodeCommon_ConstrainedVBR extends Message<AmdMA35DEncodeC
17592
17969
  }
17593
17970
 
17594
17971
  /**
17595
- * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR
17972
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ContentAdaptive
17596
17973
  */
17597
- export class AmdMA35DEncodeCommon_ConstrainedABR extends Message<AmdMA35DEncodeCommon_ConstrainedABR> {
17974
+ export class AmdMA35DEncodeCommon_ContentAdaptive extends Message<AmdMA35DEncodeCommon_ContentAdaptive> {
17598
17975
  /**
17599
17976
  * @generated from field: uint32 bitrate = 1;
17600
17977
  */
@@ -17610,33 +17987,33 @@ export class AmdMA35DEncodeCommon_ConstrainedABR extends Message<AmdMA35DEncodeC
17610
17987
  */
17611
17988
  bufSize = 0;
17612
17989
 
17613
- constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ConstrainedABR>) {
17990
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ContentAdaptive>) {
17614
17991
  super();
17615
17992
  proto3.util.initPartial(data, this);
17616
17993
  }
17617
17994
 
17618
17995
  static readonly runtime = proto3;
17619
- static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR";
17996
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ContentAdaptive";
17620
17997
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17621
17998
  { no: 1, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17622
17999
  { no: 2, name: "max_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17623
18000
  { no: 3, name: "buf_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17624
18001
  ]);
17625
18002
 
17626
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17627
- return new AmdMA35DEncodeCommon_ConstrainedABR().fromBinary(bytes, options);
18003
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ContentAdaptive {
18004
+ return new AmdMA35DEncodeCommon_ContentAdaptive().fromBinary(bytes, options);
17628
18005
  }
17629
18006
 
17630
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17631
- return new AmdMA35DEncodeCommon_ConstrainedABR().fromJson(jsonValue, options);
18007
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ContentAdaptive {
18008
+ return new AmdMA35DEncodeCommon_ContentAdaptive().fromJson(jsonValue, options);
17632
18009
  }
17633
18010
 
17634
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17635
- return new AmdMA35DEncodeCommon_ConstrainedABR().fromJsonString(jsonString, options);
18011
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ContentAdaptive {
18012
+ return new AmdMA35DEncodeCommon_ContentAdaptive().fromJsonString(jsonString, options);
17636
18013
  }
17637
18014
 
17638
- static equals(a: AmdMA35DEncodeCommon_ConstrainedABR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedABR> | undefined, b: AmdMA35DEncodeCommon_ConstrainedABR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedABR> | undefined): boolean {
17639
- return proto3.util.equals(AmdMA35DEncodeCommon_ConstrainedABR, a, b);
18015
+ static equals(a: AmdMA35DEncodeCommon_ContentAdaptive | PlainMessage<AmdMA35DEncodeCommon_ContentAdaptive> | undefined, b: AmdMA35DEncodeCommon_ContentAdaptive | PlainMessage<AmdMA35DEncodeCommon_ContentAdaptive> | undefined): boolean {
18016
+ return proto3.util.equals(AmdMA35DEncodeCommon_ContentAdaptive, a, b);
17640
18017
  }
17641
18018
  }
17642
18019
 
@@ -20857,6 +21234,12 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
20857
21234
  */
20858
21235
  value: Context;
20859
21236
  case: "inboundContext";
21237
+ } | {
21238
+ /**
21239
+ * @generated from field: norsk.api.media.GopStructure gop_structure = 6;
21240
+ */
21241
+ value: GopStructure;
21242
+ case: "gopStructure";
20860
21243
  } | { case: undefined; value?: undefined } = { case: undefined };
20861
21244
 
20862
21245
  constructor(data?: PartialMessage<StreamStatisticsEvent>) {
@@ -20872,6 +21255,7 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
20872
21255
  { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
20873
21256
  { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
20874
21257
  { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
21258
+ { no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
20875
21259
  ]);
20876
21260
 
20877
21261
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStatisticsEvent {
@@ -22931,6 +23315,12 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
22931
23315
  */
22932
23316
  value: Scte35Event;
22933
23317
  case: "scte35Event";
23318
+ } | {
23319
+ /**
23320
+ * @generated from field: norsk.api.media.MetadataMessage metadata = 6;
23321
+ */
23322
+ value: MetadataMessage;
23323
+ case: "metadata";
22934
23324
  } | { case: undefined; value?: undefined } = { case: undefined };
22935
23325
 
22936
23326
  constructor(data?: PartialMessage<AncillaryMessage>) {
@@ -22944,6 +23334,7 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
22944
23334
  { no: 1, name: "initial_config", kind: "message", T: AncillaryConfiguration, oneof: "message" },
22945
23335
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
22946
23336
  { no: 3, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
23337
+ { no: 6, name: "metadata", kind: "message", T: MetadataMessage, oneof: "message" },
22947
23338
  ]);
22948
23339
 
22949
23340
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryMessage {
@@ -22963,6 +23354,75 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
22963
23354
  }
22964
23355
  }
22965
23356
 
23357
+ /**
23358
+ * @generated from message norsk.api.media.MetadataMessage
23359
+ */
23360
+ export class MetadataMessage extends Message<MetadataMessage> {
23361
+ /**
23362
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
23363
+ */
23364
+ stream?: StreamKey;
23365
+
23366
+ /**
23367
+ * The raw data of the metadata message, excluding Metadata Access Unit wrapper if present
23368
+ *
23369
+ * @generated from field: bytes data = 2;
23370
+ */
23371
+ data = new Uint8Array(0);
23372
+
23373
+ /**
23374
+ * Metadata service id, if present
23375
+ *
23376
+ * @generated from field: uint32 metadata_service_id = 3;
23377
+ */
23378
+ metadataServiceId = 0;
23379
+
23380
+ /**
23381
+ * Timestamp of the metadata message
23382
+ *
23383
+ * @generated from field: norsk.api.media.Interval pts = 4;
23384
+ */
23385
+ pts?: Interval;
23386
+
23387
+ /**
23388
+ * The form of metadata being transported
23389
+ *
23390
+ * @generated from field: norsk.api.media.MetadataKind format = 5;
23391
+ */
23392
+ format = MetadataKind.OTHER;
23393
+
23394
+ constructor(data?: PartialMessage<MetadataMessage>) {
23395
+ super();
23396
+ proto3.util.initPartial(data, this);
23397
+ }
23398
+
23399
+ static readonly runtime = proto3;
23400
+ static readonly typeName = "norsk.api.media.MetadataMessage";
23401
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23402
+ { no: 1, name: "stream", kind: "message", T: StreamKey },
23403
+ { no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
23404
+ { no: 3, name: "metadata_service_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
23405
+ { no: 4, name: "pts", kind: "message", T: Interval },
23406
+ { no: 5, name: "format", kind: "enum", T: proto3.getEnumType(MetadataKind) },
23407
+ ]);
23408
+
23409
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataMessage {
23410
+ return new MetadataMessage().fromBinary(bytes, options);
23411
+ }
23412
+
23413
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataMessage {
23414
+ return new MetadataMessage().fromJson(jsonValue, options);
23415
+ }
23416
+
23417
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataMessage {
23418
+ return new MetadataMessage().fromJsonString(jsonString, options);
23419
+ }
23420
+
23421
+ static equals(a: MetadataMessage | PlainMessage<MetadataMessage> | undefined, b: MetadataMessage | PlainMessage<MetadataMessage> | undefined): boolean {
23422
+ return proto3.util.equals(MetadataMessage, a, b);
23423
+ }
23424
+ }
23425
+
22966
23426
  /**
22967
23427
  * @generated from message norsk.api.media.AncillaryEvent
22968
23428
  */
@@ -23006,6 +23466,12 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
23006
23466
  */
23007
23467
  value: Context;
23008
23468
  case: "inboundContext";
23469
+ } | {
23470
+ /**
23471
+ * @generated from field: norsk.api.media.MetadataMessage metadata = 8;
23472
+ */
23473
+ value: MetadataMessage;
23474
+ case: "metadata";
23009
23475
  } | { case: undefined; value?: undefined } = { case: undefined };
23010
23476
 
23011
23477
  constructor(data?: PartialMessage<AncillaryEvent>) {
@@ -23022,6 +23488,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
23022
23488
  { no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
23023
23489
  { no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
23024
23490
  { no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
23491
+ { no: 8, name: "metadata", kind: "message", T: MetadataMessage, oneof: "message" },
23025
23492
  ]);
23026
23493
 
23027
23494
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
@@ -23055,6 +23522,13 @@ export class Scte35Event extends Message<Scte35Event> {
23055
23522
  */
23056
23523
  info?: Scte35SpliceInfoSection;
23057
23524
 
23525
+ /**
23526
+ * Timestamp assigned to the SCTE-35 message in processing
23527
+ *
23528
+ * @generated from field: norsk.api.media.Interval pts = 3;
23529
+ */
23530
+ pts?: Interval;
23531
+
23058
23532
  constructor(data?: PartialMessage<Scte35Event>) {
23059
23533
  super();
23060
23534
  proto3.util.initPartial(data, this);
@@ -23065,6 +23539,7 @@ export class Scte35Event extends Message<Scte35Event> {
23065
23539
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
23066
23540
  { no: 1, name: "stream", kind: "message", T: StreamKey },
23067
23541
  { no: 2, name: "info", kind: "message", T: Scte35SpliceInfoSection },
23542
+ { no: 3, name: "pts", kind: "message", T: Interval },
23068
23543
  ]);
23069
23544
 
23070
23545
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35Event {
@@ -23123,6 +23598,13 @@ export class Smpte2038Message extends Message<Smpte2038Message> {
23123
23598
  */
23124
23599
  userData = new Uint8Array(0);
23125
23600
 
23601
+ /**
23602
+ * Timestamp of the SMPTE-2038 message
23603
+ *
23604
+ * @generated from field: norsk.api.media.Interval pts = 8;
23605
+ */
23606
+ pts?: Interval;
23607
+
23126
23608
  constructor(data?: PartialMessage<Smpte2038Message>) {
23127
23609
  super();
23128
23610
  proto3.util.initPartial(data, this);
@@ -23138,6 +23620,7 @@ export class Smpte2038Message extends Message<Smpte2038Message> {
23138
23620
  { no: 5, name: "payload_format", kind: "enum", T: proto3.getEnumType(VancPayloadFormat) },
23139
23621
  { no: 6, name: "ancillary_id", kind: "message", T: VancType2AncillaryId },
23140
23622
  { no: 7, name: "user_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
23623
+ { no: 8, name: "pts", kind: "message", T: Interval },
23141
23624
  ]);
23142
23625
 
23143
23626
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Smpte2038Message {
@@ -23200,6 +23683,157 @@ export class VancType2AncillaryId extends Message<VancType2AncillaryId> {
23200
23683
  }
23201
23684
  }
23202
23685
 
23686
+ /**
23687
+ * @generated from message norsk.api.media.StreamConditionConfiguration
23688
+ */
23689
+ export class StreamConditionConfiguration extends Message<StreamConditionConfiguration> {
23690
+ /**
23691
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
23692
+ */
23693
+ id?: MediaNodeId;
23694
+
23695
+ constructor(data?: PartialMessage<StreamConditionConfiguration>) {
23696
+ super();
23697
+ proto3.util.initPartial(data, this);
23698
+ }
23699
+
23700
+ static readonly runtime = proto3;
23701
+ static readonly typeName = "norsk.api.media.StreamConditionConfiguration";
23702
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23703
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
23704
+ ]);
23705
+
23706
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionConfiguration {
23707
+ return new StreamConditionConfiguration().fromBinary(bytes, options);
23708
+ }
23709
+
23710
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionConfiguration {
23711
+ return new StreamConditionConfiguration().fromJson(jsonValue, options);
23712
+ }
23713
+
23714
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionConfiguration {
23715
+ return new StreamConditionConfiguration().fromJsonString(jsonString, options);
23716
+ }
23717
+
23718
+ static equals(a: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined, b: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined): boolean {
23719
+ return proto3.util.equals(StreamConditionConfiguration, a, b);
23720
+ }
23721
+ }
23722
+
23723
+ /**
23724
+ * @generated from message norsk.api.media.StreamConditionMessage
23725
+ */
23726
+ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23727
+ /**
23728
+ * @generated from oneof norsk.api.media.StreamConditionMessage.message
23729
+ */
23730
+ message: {
23731
+ /**
23732
+ * @generated from field: norsk.api.media.StreamConditionConfiguration initial_config = 1;
23733
+ */
23734
+ value: StreamConditionConfiguration;
23735
+ case: "initialConfig";
23736
+ } | {
23737
+ /**
23738
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
23739
+ */
23740
+ value: Subscription;
23741
+ case: "subscription";
23742
+ } | { case: undefined; value?: undefined } = { case: undefined };
23743
+
23744
+ constructor(data?: PartialMessage<StreamConditionMessage>) {
23745
+ super();
23746
+ proto3.util.initPartial(data, this);
23747
+ }
23748
+
23749
+ static readonly runtime = proto3;
23750
+ static readonly typeName = "norsk.api.media.StreamConditionMessage";
23751
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23752
+ { no: 1, name: "initial_config", kind: "message", T: StreamConditionConfiguration, oneof: "message" },
23753
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
23754
+ ]);
23755
+
23756
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage {
23757
+ return new StreamConditionMessage().fromBinary(bytes, options);
23758
+ }
23759
+
23760
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionMessage {
23761
+ return new StreamConditionMessage().fromJson(jsonValue, options);
23762
+ }
23763
+
23764
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionMessage {
23765
+ return new StreamConditionMessage().fromJsonString(jsonString, options);
23766
+ }
23767
+
23768
+ static equals(a: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined, b: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined): boolean {
23769
+ return proto3.util.equals(StreamConditionMessage, a, b);
23770
+ }
23771
+ }
23772
+
23773
+ /**
23774
+ * @generated from message norsk.api.media.StreamConditionEvent
23775
+ */
23776
+ export class StreamConditionEvent extends Message<StreamConditionEvent> {
23777
+ /**
23778
+ * @generated from oneof norsk.api.media.StreamConditionEvent.message
23779
+ */
23780
+ message: {
23781
+ /**
23782
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
23783
+ */
23784
+ value: MediaNodeId;
23785
+ case: "nodeId";
23786
+ } | {
23787
+ /**
23788
+ * @generated from field: norsk.api.media.Context inbound_context = 2;
23789
+ */
23790
+ value: Context;
23791
+ case: "inboundContext";
23792
+ } | {
23793
+ /**
23794
+ * @generated from field: norsk.api.media.Context outbound_context = 3;
23795
+ */
23796
+ value: Context;
23797
+ case: "outboundContext";
23798
+ } | {
23799
+ /**
23800
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
23801
+ */
23802
+ value: SubscriptionResponse;
23803
+ case: "subscriptionResponse";
23804
+ } | { case: undefined; value?: undefined } = { case: undefined };
23805
+
23806
+ constructor(data?: PartialMessage<StreamConditionEvent>) {
23807
+ super();
23808
+ proto3.util.initPartial(data, this);
23809
+ }
23810
+
23811
+ static readonly runtime = proto3;
23812
+ static readonly typeName = "norsk.api.media.StreamConditionEvent";
23813
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23814
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
23815
+ { no: 2, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
23816
+ { no: 3, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
23817
+ { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
23818
+ ]);
23819
+
23820
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionEvent {
23821
+ return new StreamConditionEvent().fromBinary(bytes, options);
23822
+ }
23823
+
23824
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionEvent {
23825
+ return new StreamConditionEvent().fromJson(jsonValue, options);
23826
+ }
23827
+
23828
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionEvent {
23829
+ return new StreamConditionEvent().fromJsonString(jsonString, options);
23830
+ }
23831
+
23832
+ static equals(a: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined, b: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined): boolean {
23833
+ return proto3.util.equals(StreamConditionEvent, a, b);
23834
+ }
23835
+ }
23836
+
23203
23837
  /**
23204
23838
  * @generated from message norsk.api.media.Scte35SpliceInfoSection
23205
23839
  */
@@ -23547,6 +24181,8 @@ export class Scte35InsertCommandMode extends Message<Scte35InsertCommandMode> {
23547
24181
  */
23548
24182
  export class Scte35InsertCommandMode_InsertProgram extends Message<Scte35InsertCommandMode_InsertProgram> {
23549
24183
  /**
24184
+ * Splice time (optional - omitted is splice immediate)
24185
+ *
23550
24186
  * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
23551
24187
  */
23552
24188
  spliceTime?: Scte35SpliceTime;
@@ -23626,6 +24262,8 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
23626
24262
  componentTag = 0;
23627
24263
 
23628
24264
  /**
24265
+ * Splice time (optional - omitted is splice immediate)
24266
+ *
23629
24267
  * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 2;
23630
24268
  */
23631
24269
  spliceTime?: Scte35SpliceTime;
@@ -23664,6 +24302,8 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
23664
24302
  */
23665
24303
  export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
23666
24304
  /**
24305
+ * Splice time if specified (otherwise represents the default splice time in Component Splice Mode, see SCTE 35 9.9.2.1)
24306
+ *
23667
24307
  * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
23668
24308
  */
23669
24309
  ptsTime?: OptionalInt;
@@ -26760,3 +27400,84 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
26760
27400
  }
26761
27401
  }
26762
27402
 
27403
+ /**
27404
+ * @generated from message norsk.api.media.SubscriptionChannelMessage
27405
+ */
27406
+ export class SubscriptionChannelMessage extends Message<SubscriptionChannelMessage> {
27407
+ /**
27408
+ * @generated from oneof norsk.api.media.SubscriptionChannelMessage.message
27409
+ */
27410
+ message: {
27411
+ /**
27412
+ * @generated from field: norsk.api.media.BlockingCallRef unblock = 1;
27413
+ */
27414
+ value: BlockingCallRef;
27415
+ case: "unblock";
27416
+ } | {
27417
+ /**
27418
+ * @generated from field: norsk.api.media.ValidationResponse validation_response = 2;
27419
+ */
27420
+ value: ValidationResponse;
27421
+ case: "validationResponse";
27422
+ } | { case: undefined; value?: undefined } = { case: undefined };
27423
+
27424
+ constructor(data?: PartialMessage<SubscriptionChannelMessage>) {
27425
+ super();
27426
+ proto3.util.initPartial(data, this);
27427
+ }
27428
+
27429
+ static readonly runtime = proto3;
27430
+ static readonly typeName = "norsk.api.media.SubscriptionChannelMessage";
27431
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
27432
+ { no: 1, name: "unblock", kind: "message", T: BlockingCallRef, oneof: "message" },
27433
+ { no: 2, name: "validation_response", kind: "message", T: ValidationResponse, oneof: "message" },
27434
+ ]);
27435
+
27436
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelMessage {
27437
+ return new SubscriptionChannelMessage().fromBinary(bytes, options);
27438
+ }
27439
+
27440
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage {
27441
+ return new SubscriptionChannelMessage().fromJson(jsonValue, options);
27442
+ }
27443
+
27444
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage {
27445
+ return new SubscriptionChannelMessage().fromJsonString(jsonString, options);
27446
+ }
27447
+
27448
+ static equals(a: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined, b: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined): boolean {
27449
+ return proto3.util.equals(SubscriptionChannelMessage, a, b);
27450
+ }
27451
+ }
27452
+
27453
+ /**
27454
+ * @generated from message norsk.api.media.SubscriptionChannelResponse
27455
+ */
27456
+ export class SubscriptionChannelResponse extends Message<SubscriptionChannelResponse> {
27457
+ constructor(data?: PartialMessage<SubscriptionChannelResponse>) {
27458
+ super();
27459
+ proto3.util.initPartial(data, this);
27460
+ }
27461
+
27462
+ static readonly runtime = proto3;
27463
+ static readonly typeName = "norsk.api.media.SubscriptionChannelResponse";
27464
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
27465
+ ]);
27466
+
27467
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelResponse {
27468
+ return new SubscriptionChannelResponse().fromBinary(bytes, options);
27469
+ }
27470
+
27471
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse {
27472
+ return new SubscriptionChannelResponse().fromJson(jsonValue, options);
27473
+ }
27474
+
27475
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse {
27476
+ return new SubscriptionChannelResponse().fromJsonString(jsonString, options);
27477
+ }
27478
+
27479
+ static equals(a: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined, b: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined): boolean {
27480
+ return proto3.util.equals(SubscriptionChannelResponse, a, b);
27481
+ }
27482
+ }
27483
+