@norskvideo/norsk-api 1.0.359 → 1.0.363

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
@@ -6435,12 +6585,17 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6435
6585
  deviceId = 0;
6436
6586
 
6437
6587
  /**
6438
- * @generated from field: uint32 card_index = 4;
6588
+ * @generated from field: uint32 channel_index = 4;
6439
6589
  */
6440
- cardIndex = 0;
6590
+ channelIndex = 0;
6441
6591
 
6442
6592
  /**
6443
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
6593
+ * @generated from field: uint32 audio_channel_mask = 5;
6594
+ */
6595
+ audioChannelMask = 0;
6596
+
6597
+ /**
6598
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
6444
6599
  */
6445
6600
  statsSampling?: StreamStatisticsSampling;
6446
6601
 
@@ -6455,8 +6610,9 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6455
6610
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
6456
6611
  { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6457
6612
  { no: 3, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6458
- { no: 4, name: "card_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6459
- { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6613
+ { no: 4, name: "channel_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6614
+ { no: 5, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6615
+ { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6460
6616
  ]);
6461
6617
 
6462
6618
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputConfiguration {
@@ -21084,6 +21240,12 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
21084
21240
  */
21085
21241
  value: Context;
21086
21242
  case: "inboundContext";
21243
+ } | {
21244
+ /**
21245
+ * @generated from field: norsk.api.media.GopStructure gop_structure = 6;
21246
+ */
21247
+ value: GopStructure;
21248
+ case: "gopStructure";
21087
21249
  } | { case: undefined; value?: undefined } = { case: undefined };
21088
21250
 
21089
21251
  constructor(data?: PartialMessage<StreamStatisticsEvent>) {
@@ -21099,6 +21261,7 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
21099
21261
  { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
21100
21262
  { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
21101
21263
  { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
21264
+ { no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
21102
21265
  ]);
21103
21266
 
21104
21267
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStatisticsEvent {
@@ -23158,6 +23321,12 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
23158
23321
  */
23159
23322
  value: Scte35Event;
23160
23323
  case: "scte35Event";
23324
+ } | {
23325
+ /**
23326
+ * @generated from field: norsk.api.media.MetadataMessage metadata = 6;
23327
+ */
23328
+ value: MetadataMessage;
23329
+ case: "metadata";
23161
23330
  } | { case: undefined; value?: undefined } = { case: undefined };
23162
23331
 
23163
23332
  constructor(data?: PartialMessage<AncillaryMessage>) {
@@ -23171,6 +23340,7 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
23171
23340
  { no: 1, name: "initial_config", kind: "message", T: AncillaryConfiguration, oneof: "message" },
23172
23341
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
23173
23342
  { no: 3, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
23343
+ { no: 6, name: "metadata", kind: "message", T: MetadataMessage, oneof: "message" },
23174
23344
  ]);
23175
23345
 
23176
23346
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryMessage {
@@ -23190,6 +23360,75 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
23190
23360
  }
23191
23361
  }
23192
23362
 
23363
+ /**
23364
+ * @generated from message norsk.api.media.MetadataMessage
23365
+ */
23366
+ export class MetadataMessage extends Message<MetadataMessage> {
23367
+ /**
23368
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
23369
+ */
23370
+ stream?: StreamKey;
23371
+
23372
+ /**
23373
+ * The raw data of the metadata message, excluding Metadata Access Unit wrapper if present
23374
+ *
23375
+ * @generated from field: bytes data = 2;
23376
+ */
23377
+ data = new Uint8Array(0);
23378
+
23379
+ /**
23380
+ * Metadata service id, if present
23381
+ *
23382
+ * @generated from field: uint32 metadata_service_id = 3;
23383
+ */
23384
+ metadataServiceId = 0;
23385
+
23386
+ /**
23387
+ * Timestamp of the metadata message
23388
+ *
23389
+ * @generated from field: norsk.api.media.Interval pts = 4;
23390
+ */
23391
+ pts?: Interval;
23392
+
23393
+ /**
23394
+ * The form of metadata being transported
23395
+ *
23396
+ * @generated from field: norsk.api.media.MetadataKind format = 5;
23397
+ */
23398
+ format = MetadataKind.OTHER;
23399
+
23400
+ constructor(data?: PartialMessage<MetadataMessage>) {
23401
+ super();
23402
+ proto3.util.initPartial(data, this);
23403
+ }
23404
+
23405
+ static readonly runtime = proto3;
23406
+ static readonly typeName = "norsk.api.media.MetadataMessage";
23407
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23408
+ { no: 1, name: "stream", kind: "message", T: StreamKey },
23409
+ { no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
23410
+ { no: 3, name: "metadata_service_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
23411
+ { no: 4, name: "pts", kind: "message", T: Interval },
23412
+ { no: 5, name: "format", kind: "enum", T: proto3.getEnumType(MetadataKind) },
23413
+ ]);
23414
+
23415
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataMessage {
23416
+ return new MetadataMessage().fromBinary(bytes, options);
23417
+ }
23418
+
23419
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataMessage {
23420
+ return new MetadataMessage().fromJson(jsonValue, options);
23421
+ }
23422
+
23423
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataMessage {
23424
+ return new MetadataMessage().fromJsonString(jsonString, options);
23425
+ }
23426
+
23427
+ static equals(a: MetadataMessage | PlainMessage<MetadataMessage> | undefined, b: MetadataMessage | PlainMessage<MetadataMessage> | undefined): boolean {
23428
+ return proto3.util.equals(MetadataMessage, a, b);
23429
+ }
23430
+ }
23431
+
23193
23432
  /**
23194
23433
  * @generated from message norsk.api.media.AncillaryEvent
23195
23434
  */
@@ -23233,6 +23472,12 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
23233
23472
  */
23234
23473
  value: Context;
23235
23474
  case: "inboundContext";
23475
+ } | {
23476
+ /**
23477
+ * @generated from field: norsk.api.media.MetadataMessage metadata = 8;
23478
+ */
23479
+ value: MetadataMessage;
23480
+ case: "metadata";
23236
23481
  } | { case: undefined; value?: undefined } = { case: undefined };
23237
23482
 
23238
23483
  constructor(data?: PartialMessage<AncillaryEvent>) {
@@ -23249,6 +23494,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
23249
23494
  { no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
23250
23495
  { no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
23251
23496
  { no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
23497
+ { no: 8, name: "metadata", kind: "message", T: MetadataMessage, oneof: "message" },
23252
23498
  ]);
23253
23499
 
23254
23500
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
@@ -23282,6 +23528,13 @@ export class Scte35Event extends Message<Scte35Event> {
23282
23528
  */
23283
23529
  info?: Scte35SpliceInfoSection;
23284
23530
 
23531
+ /**
23532
+ * Timestamp assigned to the SCTE-35 message in processing
23533
+ *
23534
+ * @generated from field: norsk.api.media.Interval pts = 3;
23535
+ */
23536
+ pts?: Interval;
23537
+
23285
23538
  constructor(data?: PartialMessage<Scte35Event>) {
23286
23539
  super();
23287
23540
  proto3.util.initPartial(data, this);
@@ -23292,6 +23545,7 @@ export class Scte35Event extends Message<Scte35Event> {
23292
23545
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
23293
23546
  { no: 1, name: "stream", kind: "message", T: StreamKey },
23294
23547
  { no: 2, name: "info", kind: "message", T: Scte35SpliceInfoSection },
23548
+ { no: 3, name: "pts", kind: "message", T: Interval },
23295
23549
  ]);
23296
23550
 
23297
23551
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35Event {
@@ -23350,6 +23604,13 @@ export class Smpte2038Message extends Message<Smpte2038Message> {
23350
23604
  */
23351
23605
  userData = new Uint8Array(0);
23352
23606
 
23607
+ /**
23608
+ * Timestamp of the SMPTE-2038 message
23609
+ *
23610
+ * @generated from field: norsk.api.media.Interval pts = 8;
23611
+ */
23612
+ pts?: Interval;
23613
+
23353
23614
  constructor(data?: PartialMessage<Smpte2038Message>) {
23354
23615
  super();
23355
23616
  proto3.util.initPartial(data, this);
@@ -23365,6 +23626,7 @@ export class Smpte2038Message extends Message<Smpte2038Message> {
23365
23626
  { no: 5, name: "payload_format", kind: "enum", T: proto3.getEnumType(VancPayloadFormat) },
23366
23627
  { no: 6, name: "ancillary_id", kind: "message", T: VancType2AncillaryId },
23367
23628
  { no: 7, name: "user_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
23629
+ { no: 8, name: "pts", kind: "message", T: Interval },
23368
23630
  ]);
23369
23631
 
23370
23632
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Smpte2038Message {
@@ -23427,6 +23689,157 @@ export class VancType2AncillaryId extends Message<VancType2AncillaryId> {
23427
23689
  }
23428
23690
  }
23429
23691
 
23692
+ /**
23693
+ * @generated from message norsk.api.media.StreamConditionConfiguration
23694
+ */
23695
+ export class StreamConditionConfiguration extends Message<StreamConditionConfiguration> {
23696
+ /**
23697
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
23698
+ */
23699
+ id?: MediaNodeId;
23700
+
23701
+ constructor(data?: PartialMessage<StreamConditionConfiguration>) {
23702
+ super();
23703
+ proto3.util.initPartial(data, this);
23704
+ }
23705
+
23706
+ static readonly runtime = proto3;
23707
+ static readonly typeName = "norsk.api.media.StreamConditionConfiguration";
23708
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23709
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
23710
+ ]);
23711
+
23712
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionConfiguration {
23713
+ return new StreamConditionConfiguration().fromBinary(bytes, options);
23714
+ }
23715
+
23716
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionConfiguration {
23717
+ return new StreamConditionConfiguration().fromJson(jsonValue, options);
23718
+ }
23719
+
23720
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionConfiguration {
23721
+ return new StreamConditionConfiguration().fromJsonString(jsonString, options);
23722
+ }
23723
+
23724
+ static equals(a: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined, b: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined): boolean {
23725
+ return proto3.util.equals(StreamConditionConfiguration, a, b);
23726
+ }
23727
+ }
23728
+
23729
+ /**
23730
+ * @generated from message norsk.api.media.StreamConditionMessage
23731
+ */
23732
+ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23733
+ /**
23734
+ * @generated from oneof norsk.api.media.StreamConditionMessage.message
23735
+ */
23736
+ message: {
23737
+ /**
23738
+ * @generated from field: norsk.api.media.StreamConditionConfiguration initial_config = 1;
23739
+ */
23740
+ value: StreamConditionConfiguration;
23741
+ case: "initialConfig";
23742
+ } | {
23743
+ /**
23744
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
23745
+ */
23746
+ value: Subscription;
23747
+ case: "subscription";
23748
+ } | { case: undefined; value?: undefined } = { case: undefined };
23749
+
23750
+ constructor(data?: PartialMessage<StreamConditionMessage>) {
23751
+ super();
23752
+ proto3.util.initPartial(data, this);
23753
+ }
23754
+
23755
+ static readonly runtime = proto3;
23756
+ static readonly typeName = "norsk.api.media.StreamConditionMessage";
23757
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23758
+ { no: 1, name: "initial_config", kind: "message", T: StreamConditionConfiguration, oneof: "message" },
23759
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
23760
+ ]);
23761
+
23762
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage {
23763
+ return new StreamConditionMessage().fromBinary(bytes, options);
23764
+ }
23765
+
23766
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionMessage {
23767
+ return new StreamConditionMessage().fromJson(jsonValue, options);
23768
+ }
23769
+
23770
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionMessage {
23771
+ return new StreamConditionMessage().fromJsonString(jsonString, options);
23772
+ }
23773
+
23774
+ static equals(a: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined, b: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined): boolean {
23775
+ return proto3.util.equals(StreamConditionMessage, a, b);
23776
+ }
23777
+ }
23778
+
23779
+ /**
23780
+ * @generated from message norsk.api.media.StreamConditionEvent
23781
+ */
23782
+ export class StreamConditionEvent extends Message<StreamConditionEvent> {
23783
+ /**
23784
+ * @generated from oneof norsk.api.media.StreamConditionEvent.message
23785
+ */
23786
+ message: {
23787
+ /**
23788
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
23789
+ */
23790
+ value: MediaNodeId;
23791
+ case: "nodeId";
23792
+ } | {
23793
+ /**
23794
+ * @generated from field: norsk.api.media.Context inbound_context = 2;
23795
+ */
23796
+ value: Context;
23797
+ case: "inboundContext";
23798
+ } | {
23799
+ /**
23800
+ * @generated from field: norsk.api.media.Context outbound_context = 3;
23801
+ */
23802
+ value: Context;
23803
+ case: "outboundContext";
23804
+ } | {
23805
+ /**
23806
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
23807
+ */
23808
+ value: SubscriptionResponse;
23809
+ case: "subscriptionResponse";
23810
+ } | { case: undefined; value?: undefined } = { case: undefined };
23811
+
23812
+ constructor(data?: PartialMessage<StreamConditionEvent>) {
23813
+ super();
23814
+ proto3.util.initPartial(data, this);
23815
+ }
23816
+
23817
+ static readonly runtime = proto3;
23818
+ static readonly typeName = "norsk.api.media.StreamConditionEvent";
23819
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23820
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
23821
+ { no: 2, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
23822
+ { no: 3, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
23823
+ { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
23824
+ ]);
23825
+
23826
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionEvent {
23827
+ return new StreamConditionEvent().fromBinary(bytes, options);
23828
+ }
23829
+
23830
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionEvent {
23831
+ return new StreamConditionEvent().fromJson(jsonValue, options);
23832
+ }
23833
+
23834
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionEvent {
23835
+ return new StreamConditionEvent().fromJsonString(jsonString, options);
23836
+ }
23837
+
23838
+ static equals(a: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined, b: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined): boolean {
23839
+ return proto3.util.equals(StreamConditionEvent, a, b);
23840
+ }
23841
+ }
23842
+
23430
23843
  /**
23431
23844
  * @generated from message norsk.api.media.Scte35SpliceInfoSection
23432
23845
  */
@@ -23774,6 +24187,8 @@ export class Scte35InsertCommandMode extends Message<Scte35InsertCommandMode> {
23774
24187
  */
23775
24188
  export class Scte35InsertCommandMode_InsertProgram extends Message<Scte35InsertCommandMode_InsertProgram> {
23776
24189
  /**
24190
+ * Splice time (optional - omitted is splice immediate)
24191
+ *
23777
24192
  * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
23778
24193
  */
23779
24194
  spliceTime?: Scte35SpliceTime;
@@ -23853,6 +24268,8 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
23853
24268
  componentTag = 0;
23854
24269
 
23855
24270
  /**
24271
+ * Splice time (optional - omitted is splice immediate)
24272
+ *
23856
24273
  * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 2;
23857
24274
  */
23858
24275
  spliceTime?: Scte35SpliceTime;
@@ -23891,6 +24308,8 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
23891
24308
  */
23892
24309
  export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
23893
24310
  /**
24311
+ * Splice time if specified (otherwise represents the default splice time in Component Splice Mode, see SCTE 35 9.9.2.1)
24312
+ *
23894
24313
  * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
23895
24314
  */
23896
24315
  ptsTime?: OptionalInt;
@@ -26987,3 +27406,84 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
26987
27406
  }
26988
27407
  }
26989
27408
 
27409
+ /**
27410
+ * @generated from message norsk.api.media.SubscriptionChannelMessage
27411
+ */
27412
+ export class SubscriptionChannelMessage extends Message<SubscriptionChannelMessage> {
27413
+ /**
27414
+ * @generated from oneof norsk.api.media.SubscriptionChannelMessage.message
27415
+ */
27416
+ message: {
27417
+ /**
27418
+ * @generated from field: norsk.api.media.BlockingCallRef unblock = 1;
27419
+ */
27420
+ value: BlockingCallRef;
27421
+ case: "unblock";
27422
+ } | {
27423
+ /**
27424
+ * @generated from field: norsk.api.media.ValidationResponse validation_response = 2;
27425
+ */
27426
+ value: ValidationResponse;
27427
+ case: "validationResponse";
27428
+ } | { case: undefined; value?: undefined } = { case: undefined };
27429
+
27430
+ constructor(data?: PartialMessage<SubscriptionChannelMessage>) {
27431
+ super();
27432
+ proto3.util.initPartial(data, this);
27433
+ }
27434
+
27435
+ static readonly runtime = proto3;
27436
+ static readonly typeName = "norsk.api.media.SubscriptionChannelMessage";
27437
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
27438
+ { no: 1, name: "unblock", kind: "message", T: BlockingCallRef, oneof: "message" },
27439
+ { no: 2, name: "validation_response", kind: "message", T: ValidationResponse, oneof: "message" },
27440
+ ]);
27441
+
27442
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelMessage {
27443
+ return new SubscriptionChannelMessage().fromBinary(bytes, options);
27444
+ }
27445
+
27446
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage {
27447
+ return new SubscriptionChannelMessage().fromJson(jsonValue, options);
27448
+ }
27449
+
27450
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage {
27451
+ return new SubscriptionChannelMessage().fromJsonString(jsonString, options);
27452
+ }
27453
+
27454
+ static equals(a: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined, b: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined): boolean {
27455
+ return proto3.util.equals(SubscriptionChannelMessage, a, b);
27456
+ }
27457
+ }
27458
+
27459
+ /**
27460
+ * @generated from message norsk.api.media.SubscriptionChannelResponse
27461
+ */
27462
+ export class SubscriptionChannelResponse extends Message<SubscriptionChannelResponse> {
27463
+ constructor(data?: PartialMessage<SubscriptionChannelResponse>) {
27464
+ super();
27465
+ proto3.util.initPartial(data, this);
27466
+ }
27467
+
27468
+ static readonly runtime = proto3;
27469
+ static readonly typeName = "norsk.api.media.SubscriptionChannelResponse";
27470
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
27471
+ ]);
27472
+
27473
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelResponse {
27474
+ return new SubscriptionChannelResponse().fromBinary(bytes, options);
27475
+ }
27476
+
27477
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse {
27478
+ return new SubscriptionChannelResponse().fromJson(jsonValue, options);
27479
+ }
27480
+
27481
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse {
27482
+ return new SubscriptionChannelResponse().fromJsonString(jsonString, options);
27483
+ }
27484
+
27485
+ static equals(a: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined, b: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined): boolean {
27486
+ return proto3.util.equals(SubscriptionChannelResponse, a, b);
27487
+ }
27488
+ }
27489
+