@norskvideo/norsk-api 1.0.359 → 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/manager_pb.d.ts +4 -0
- package/lib/manager_pb.js +1 -0
- package/lib/manager_pb.js.map +1 -1
- package/lib/manager_pb.ts +6 -0
- package/lib/media_grpc_pb.d.ts +32 -34
- package/lib/media_grpc_pb.js +68 -55
- package/lib/media_pb.d.ts +318 -2
- package/lib/media_pb.js +353 -14
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +496 -2
- package/package.json +1 -1
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
|
|
2654
|
-
* passing in the `blockingCallRef
|
|
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
|
|
@@ -21084,6 +21234,12 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
|
|
|
21084
21234
|
*/
|
|
21085
21235
|
value: Context;
|
|
21086
21236
|
case: "inboundContext";
|
|
21237
|
+
} | {
|
|
21238
|
+
/**
|
|
21239
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 6;
|
|
21240
|
+
*/
|
|
21241
|
+
value: GopStructure;
|
|
21242
|
+
case: "gopStructure";
|
|
21087
21243
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
21088
21244
|
|
|
21089
21245
|
constructor(data?: PartialMessage<StreamStatisticsEvent>) {
|
|
@@ -21099,6 +21255,7 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
|
|
|
21099
21255
|
{ no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
21100
21256
|
{ no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
21101
21257
|
{ no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
21258
|
+
{ no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
21102
21259
|
]);
|
|
21103
21260
|
|
|
21104
21261
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStatisticsEvent {
|
|
@@ -23158,6 +23315,12 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
23158
23315
|
*/
|
|
23159
23316
|
value: Scte35Event;
|
|
23160
23317
|
case: "scte35Event";
|
|
23318
|
+
} | {
|
|
23319
|
+
/**
|
|
23320
|
+
* @generated from field: norsk.api.media.MetadataMessage metadata = 6;
|
|
23321
|
+
*/
|
|
23322
|
+
value: MetadataMessage;
|
|
23323
|
+
case: "metadata";
|
|
23161
23324
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
23162
23325
|
|
|
23163
23326
|
constructor(data?: PartialMessage<AncillaryMessage>) {
|
|
@@ -23171,6 +23334,7 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
23171
23334
|
{ no: 1, name: "initial_config", kind: "message", T: AncillaryConfiguration, oneof: "message" },
|
|
23172
23335
|
{ no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
23173
23336
|
{ no: 3, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
|
|
23337
|
+
{ no: 6, name: "metadata", kind: "message", T: MetadataMessage, oneof: "message" },
|
|
23174
23338
|
]);
|
|
23175
23339
|
|
|
23176
23340
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryMessage {
|
|
@@ -23190,6 +23354,75 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
23190
23354
|
}
|
|
23191
23355
|
}
|
|
23192
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
|
+
|
|
23193
23426
|
/**
|
|
23194
23427
|
* @generated from message norsk.api.media.AncillaryEvent
|
|
23195
23428
|
*/
|
|
@@ -23233,6 +23466,12 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
23233
23466
|
*/
|
|
23234
23467
|
value: Context;
|
|
23235
23468
|
case: "inboundContext";
|
|
23469
|
+
} | {
|
|
23470
|
+
/**
|
|
23471
|
+
* @generated from field: norsk.api.media.MetadataMessage metadata = 8;
|
|
23472
|
+
*/
|
|
23473
|
+
value: MetadataMessage;
|
|
23474
|
+
case: "metadata";
|
|
23236
23475
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
23237
23476
|
|
|
23238
23477
|
constructor(data?: PartialMessage<AncillaryEvent>) {
|
|
@@ -23249,6 +23488,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
23249
23488
|
{ no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
|
|
23250
23489
|
{ no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
|
|
23251
23490
|
{ no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
23491
|
+
{ no: 8, name: "metadata", kind: "message", T: MetadataMessage, oneof: "message" },
|
|
23252
23492
|
]);
|
|
23253
23493
|
|
|
23254
23494
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
|
|
@@ -23282,6 +23522,13 @@ export class Scte35Event extends Message<Scte35Event> {
|
|
|
23282
23522
|
*/
|
|
23283
23523
|
info?: Scte35SpliceInfoSection;
|
|
23284
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
|
+
|
|
23285
23532
|
constructor(data?: PartialMessage<Scte35Event>) {
|
|
23286
23533
|
super();
|
|
23287
23534
|
proto3.util.initPartial(data, this);
|
|
@@ -23292,6 +23539,7 @@ export class Scte35Event extends Message<Scte35Event> {
|
|
|
23292
23539
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
23293
23540
|
{ no: 1, name: "stream", kind: "message", T: StreamKey },
|
|
23294
23541
|
{ no: 2, name: "info", kind: "message", T: Scte35SpliceInfoSection },
|
|
23542
|
+
{ no: 3, name: "pts", kind: "message", T: Interval },
|
|
23295
23543
|
]);
|
|
23296
23544
|
|
|
23297
23545
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35Event {
|
|
@@ -23350,6 +23598,13 @@ export class Smpte2038Message extends Message<Smpte2038Message> {
|
|
|
23350
23598
|
*/
|
|
23351
23599
|
userData = new Uint8Array(0);
|
|
23352
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
|
+
|
|
23353
23608
|
constructor(data?: PartialMessage<Smpte2038Message>) {
|
|
23354
23609
|
super();
|
|
23355
23610
|
proto3.util.initPartial(data, this);
|
|
@@ -23365,6 +23620,7 @@ export class Smpte2038Message extends Message<Smpte2038Message> {
|
|
|
23365
23620
|
{ no: 5, name: "payload_format", kind: "enum", T: proto3.getEnumType(VancPayloadFormat) },
|
|
23366
23621
|
{ no: 6, name: "ancillary_id", kind: "message", T: VancType2AncillaryId },
|
|
23367
23622
|
{ no: 7, name: "user_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
23623
|
+
{ no: 8, name: "pts", kind: "message", T: Interval },
|
|
23368
23624
|
]);
|
|
23369
23625
|
|
|
23370
23626
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Smpte2038Message {
|
|
@@ -23427,6 +23683,157 @@ export class VancType2AncillaryId extends Message<VancType2AncillaryId> {
|
|
|
23427
23683
|
}
|
|
23428
23684
|
}
|
|
23429
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
|
+
|
|
23430
23837
|
/**
|
|
23431
23838
|
* @generated from message norsk.api.media.Scte35SpliceInfoSection
|
|
23432
23839
|
*/
|
|
@@ -23774,6 +24181,8 @@ export class Scte35InsertCommandMode extends Message<Scte35InsertCommandMode> {
|
|
|
23774
24181
|
*/
|
|
23775
24182
|
export class Scte35InsertCommandMode_InsertProgram extends Message<Scte35InsertCommandMode_InsertProgram> {
|
|
23776
24183
|
/**
|
|
24184
|
+
* Splice time (optional - omitted is splice immediate)
|
|
24185
|
+
*
|
|
23777
24186
|
* @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
|
|
23778
24187
|
*/
|
|
23779
24188
|
spliceTime?: Scte35SpliceTime;
|
|
@@ -23853,6 +24262,8 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
|
|
|
23853
24262
|
componentTag = 0;
|
|
23854
24263
|
|
|
23855
24264
|
/**
|
|
24265
|
+
* Splice time (optional - omitted is splice immediate)
|
|
24266
|
+
*
|
|
23856
24267
|
* @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 2;
|
|
23857
24268
|
*/
|
|
23858
24269
|
spliceTime?: Scte35SpliceTime;
|
|
@@ -23891,6 +24302,8 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
|
|
|
23891
24302
|
*/
|
|
23892
24303
|
export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
|
|
23893
24304
|
/**
|
|
24305
|
+
* Splice time if specified (otherwise represents the default splice time in Component Splice Mode, see SCTE 35 9.9.2.1)
|
|
24306
|
+
*
|
|
23894
24307
|
* @generated from field: norsk.api.common.OptionalInt pts_time = 1;
|
|
23895
24308
|
*/
|
|
23896
24309
|
ptsTime?: OptionalInt;
|
|
@@ -26987,3 +27400,84 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
|
|
|
26987
27400
|
}
|
|
26988
27401
|
}
|
|
26989
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
|
+
|