@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/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 +325 -5
- package/lib/media_pb.js +362 -18
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +507 -7
- package/package.json +1 -1
package/lib/media_grpc_pb.js
CHANGED
|
@@ -283,17 +283,6 @@ function deserialize_norsk_api_media_AudioTranscribeWhisperMessage(buffer_arg) {
|
|
|
283
283
|
return media_pb.AudioTranscribeWhisperMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
function serialize_norsk_api_media_BlockingCallRef(arg) {
|
|
287
|
-
if (!(arg instanceof media_pb.BlockingCallRef)) {
|
|
288
|
-
throw new Error('Expected argument of type norsk.api.media.BlockingCallRef');
|
|
289
|
-
}
|
|
290
|
-
return Buffer.from(arg.toBinary());
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
function deserialize_norsk_api_media_BlockingCallRef(buffer_arg) {
|
|
294
|
-
return media_pb.BlockingCallRef.fromBinary(new Uint8Array(buffer_arg));
|
|
295
|
-
}
|
|
296
|
-
|
|
297
286
|
function serialize_norsk_api_media_BrowserInputEvent(arg) {
|
|
298
287
|
if (!(arg instanceof media_pb.BrowserInputEvent)) {
|
|
299
288
|
throw new Error('Expected argument of type norsk.api.media.BrowserInputEvent');
|
|
@@ -932,6 +921,28 @@ function deserialize_norsk_api_media_StreamChaosMonkeyMessage(buffer_arg) {
|
|
|
932
921
|
return media_pb.StreamChaosMonkeyMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
933
922
|
}
|
|
934
923
|
|
|
924
|
+
function serialize_norsk_api_media_StreamConditionEvent(arg) {
|
|
925
|
+
if (!(arg instanceof media_pb.StreamConditionEvent)) {
|
|
926
|
+
throw new Error('Expected argument of type norsk.api.media.StreamConditionEvent');
|
|
927
|
+
}
|
|
928
|
+
return Buffer.from(arg.toBinary());
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
function deserialize_norsk_api_media_StreamConditionEvent(buffer_arg) {
|
|
932
|
+
return media_pb.StreamConditionEvent.fromBinary(new Uint8Array(buffer_arg));
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
function serialize_norsk_api_media_StreamConditionMessage(arg) {
|
|
936
|
+
if (!(arg instanceof media_pb.StreamConditionMessage)) {
|
|
937
|
+
throw new Error('Expected argument of type norsk.api.media.StreamConditionMessage');
|
|
938
|
+
}
|
|
939
|
+
return Buffer.from(arg.toBinary());
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
function deserialize_norsk_api_media_StreamConditionMessage(buffer_arg) {
|
|
943
|
+
return media_pb.StreamConditionMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
944
|
+
}
|
|
945
|
+
|
|
935
946
|
function serialize_norsk_api_media_StreamKeyOverrideEvent(arg) {
|
|
936
947
|
if (!(arg instanceof media_pb.StreamKeyOverrideEvent)) {
|
|
937
948
|
throw new Error('Expected argument of type norsk.api.media.StreamKeyOverrideEvent');
|
|
@@ -1108,6 +1119,28 @@ function deserialize_norsk_api_media_StreamTimestampReportMessage(buffer_arg) {
|
|
|
1108
1119
|
return media_pb.StreamTimestampReportMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
1109
1120
|
}
|
|
1110
1121
|
|
|
1122
|
+
function serialize_norsk_api_media_SubscriptionChannelMessage(arg) {
|
|
1123
|
+
if (!(arg instanceof media_pb.SubscriptionChannelMessage)) {
|
|
1124
|
+
throw new Error('Expected argument of type norsk.api.media.SubscriptionChannelMessage');
|
|
1125
|
+
}
|
|
1126
|
+
return Buffer.from(arg.toBinary());
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
function deserialize_norsk_api_media_SubscriptionChannelMessage(buffer_arg) {
|
|
1130
|
+
return media_pb.SubscriptionChannelMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
function serialize_norsk_api_media_SubscriptionChannelResponse(arg) {
|
|
1134
|
+
if (!(arg instanceof media_pb.SubscriptionChannelResponse)) {
|
|
1135
|
+
throw new Error('Expected argument of type norsk.api.media.SubscriptionChannelResponse');
|
|
1136
|
+
}
|
|
1137
|
+
return Buffer.from(arg.toBinary());
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
function deserialize_norsk_api_media_SubscriptionChannelResponse(buffer_arg) {
|
|
1141
|
+
return media_pb.SubscriptionChannelResponse.fromBinary(new Uint8Array(buffer_arg));
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1111
1144
|
function serialize_norsk_api_media_SubtitleConvertEvent(arg) {
|
|
1112
1145
|
if (!(arg instanceof media_pb.SubtitleConvertEvent)) {
|
|
1113
1146
|
throw new Error('Expected argument of type norsk.api.media.SubtitleConvertEvent');
|
|
@@ -1196,28 +1229,6 @@ function deserialize_norsk_api_media_UdpTsOutputMessage(buffer_arg) {
|
|
|
1196
1229
|
return media_pb.UdpTsOutputMessage.fromBinary(new Uint8Array(buffer_arg));
|
|
1197
1230
|
}
|
|
1198
1231
|
|
|
1199
|
-
function serialize_norsk_api_media_ValidationResponse(arg) {
|
|
1200
|
-
if (!(arg instanceof media_pb.ValidationResponse)) {
|
|
1201
|
-
throw new Error('Expected argument of type norsk.api.media.ValidationResponse');
|
|
1202
|
-
}
|
|
1203
|
-
return Buffer.from(arg.toBinary());
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
function deserialize_norsk_api_media_ValidationResponse(buffer_arg) {
|
|
1207
|
-
return media_pb.ValidationResponse.fromBinary(new Uint8Array(buffer_arg));
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
function serialize_norsk_api_media_ValidationResponseAck(arg) {
|
|
1211
|
-
if (!(arg instanceof media_pb.ValidationResponseAck)) {
|
|
1212
|
-
throw new Error('Expected argument of type norsk.api.media.ValidationResponseAck');
|
|
1213
|
-
}
|
|
1214
|
-
return Buffer.from(arg.toBinary());
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
function deserialize_norsk_api_media_ValidationResponseAck(buffer_arg) {
|
|
1218
|
-
return media_pb.ValidationResponseAck.fromBinary(new Uint8Array(buffer_arg));
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
1232
|
function serialize_norsk_api_media_VideoComposeMessage(arg) {
|
|
1222
1233
|
if (!(arg instanceof media_pb.VideoComposeMessage)) {
|
|
1223
1234
|
throw new Error('Expected argument of type norsk.api.media.VideoComposeMessage');
|
|
@@ -1440,6 +1451,17 @@ var MediaService = exports.MediaService = {
|
|
|
1440
1451
|
responseSerialize: serialize_norsk_api_media_FileWebVttInputEvent,
|
|
1441
1452
|
responseDeserialize: deserialize_norsk_api_media_FileWebVttInputEvent,
|
|
1442
1453
|
},
|
|
1454
|
+
createSubscriptionChannel: {
|
|
1455
|
+
path: '/norsk.api.media.Media/CreateSubscriptionChannel',
|
|
1456
|
+
requestStream: true,
|
|
1457
|
+
responseStream: true,
|
|
1458
|
+
requestType: media_pb.SubscriptionChannelMessage,
|
|
1459
|
+
responseType: media_pb.SubscriptionChannelResponse,
|
|
1460
|
+
requestSerialize: serialize_norsk_api_media_SubscriptionChannelMessage,
|
|
1461
|
+
requestDeserialize: deserialize_norsk_api_media_SubscriptionChannelMessage,
|
|
1462
|
+
responseSerialize: serialize_norsk_api_media_SubscriptionChannelResponse,
|
|
1463
|
+
responseDeserialize: deserialize_norsk_api_media_SubscriptionChannelResponse,
|
|
1464
|
+
},
|
|
1443
1465
|
//
|
|
1444
1466
|
// Creates an RTMP ingest Media Node. On creation, the Media Node is idle
|
|
1445
1467
|
// and your code **must** send an `RtmpServerInputConfiguration`
|
|
@@ -2277,6 +2299,19 @@ createTransformAncillary: {
|
|
|
2277
2299
|
responseDeserialize: deserialize_norsk_api_media_AncillaryEvent,
|
|
2278
2300
|
},
|
|
2279
2301
|
// *
|
|
2302
|
+
// Attach metadata required for stream contitioning, i.e. forced frame type, segmentation decisioning
|
|
2303
|
+
createTransformStreamCondition: {
|
|
2304
|
+
path: '/norsk.api.media.Media/CreateTransformStreamCondition',
|
|
2305
|
+
requestStream: true,
|
|
2306
|
+
responseStream: true,
|
|
2307
|
+
requestType: media_pb.StreamConditionMessage,
|
|
2308
|
+
responseType: media_pb.StreamConditionEvent,
|
|
2309
|
+
requestSerialize: serialize_norsk_api_media_StreamConditionMessage,
|
|
2310
|
+
requestDeserialize: deserialize_norsk_api_media_StreamConditionMessage,
|
|
2311
|
+
responseSerialize: serialize_norsk_api_media_StreamConditionEvent,
|
|
2312
|
+
responseDeserialize: deserialize_norsk_api_media_StreamConditionEvent,
|
|
2313
|
+
},
|
|
2314
|
+
// *
|
|
2280
2315
|
// If it exists, instructs a node to shut down
|
|
2281
2316
|
closeMediaNode: {
|
|
2282
2317
|
path: '/norsk.api.media.Media/CloseMediaNode',
|
|
@@ -2354,28 +2389,6 @@ enumDeckLinkDisplayModes: {
|
|
|
2354
2389
|
responseSerialize: serialize_norsk_api_media_DeckLinkDisplayModes,
|
|
2355
2390
|
responseDeserialize: deserialize_norsk_api_media_DeckLinkDisplayModes,
|
|
2356
2391
|
},
|
|
2357
|
-
unblockCall: {
|
|
2358
|
-
path: '/norsk.api.media.Media/UnblockCall',
|
|
2359
|
-
requestStream: false,
|
|
2360
|
-
responseStream: false,
|
|
2361
|
-
requestType: media_pb.BlockingCallRef,
|
|
2362
|
-
responseType: google_protobuf_empty_pb.Empty,
|
|
2363
|
-
requestSerialize: serialize_norsk_api_media_BlockingCallRef,
|
|
2364
|
-
requestDeserialize: deserialize_norsk_api_media_BlockingCallRef,
|
|
2365
|
-
responseSerialize: serialize_google_protobuf_Empty,
|
|
2366
|
-
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
2367
|
-
},
|
|
2368
|
-
sendValidationResponse: {
|
|
2369
|
-
path: '/norsk.api.media.Media/SendValidationResponse',
|
|
2370
|
-
requestStream: false,
|
|
2371
|
-
responseStream: false,
|
|
2372
|
-
requestType: media_pb.ValidationResponse,
|
|
2373
|
-
responseType: media_pb.ValidationResponseAck,
|
|
2374
|
-
requestSerialize: serialize_norsk_api_media_ValidationResponse,
|
|
2375
|
-
requestDeserialize: deserialize_norsk_api_media_ValidationResponse,
|
|
2376
|
-
responseSerialize: serialize_norsk_api_media_ValidationResponseAck,
|
|
2377
|
-
responseDeserialize: deserialize_norsk_api_media_ValidationResponseAck,
|
|
2378
|
-
},
|
|
2379
2392
|
};
|
|
2380
2393
|
|
|
2381
2394
|
exports.MediaClient = grpc.makeGenericClientConstructor(MediaService);
|
package/lib/media_pb.d.ts
CHANGED
|
@@ -432,6 +432,64 @@ export declare enum AudioCodec {
|
|
|
432
432
|
*/
|
|
433
433
|
AC3 = 7
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* @generated from enum norsk.api.media.SubtitleFormat
|
|
437
|
+
*/
|
|
438
|
+
export declare enum SubtitleFormat {
|
|
439
|
+
/**
|
|
440
|
+
* @generated from enum value: SUBTITLE_FORMAT_UNKNOWN = 0;
|
|
441
|
+
*/
|
|
442
|
+
UNKNOWN = 0,
|
|
443
|
+
/**
|
|
444
|
+
* @generated from enum value: SUBTITLE_FORMAT_TRANSCRIBED = 1;
|
|
445
|
+
*/
|
|
446
|
+
TRANSCRIBED = 1,
|
|
447
|
+
/**
|
|
448
|
+
* @generated from enum value: SUBTITLE_FORMAT_TRANSLATED = 2;
|
|
449
|
+
*/
|
|
450
|
+
TRANSLATED = 2,
|
|
451
|
+
/**
|
|
452
|
+
* @generated from enum value: SUBTITLE_FORMAT_WEBVTT = 3;
|
|
453
|
+
*/
|
|
454
|
+
WEBVTT = 3,
|
|
455
|
+
/**
|
|
456
|
+
* @generated from enum value: SUBTITLE_FORMAT_CTA608 = 4;
|
|
457
|
+
*/
|
|
458
|
+
CTA608 = 4,
|
|
459
|
+
/**
|
|
460
|
+
* @generated from enum value: SUBTITLE_FORMAT_CTA708 = 5;
|
|
461
|
+
*/
|
|
462
|
+
CTA708 = 5,
|
|
463
|
+
/**
|
|
464
|
+
* @generated from enum value: SUBTITLE_FORMAT_TELETEXT = 6;
|
|
465
|
+
*/
|
|
466
|
+
TELETEXT = 6,
|
|
467
|
+
/**
|
|
468
|
+
* @generated from enum value: SUBTITLE_FORMAT_TTML = 7;
|
|
469
|
+
*/
|
|
470
|
+
TTML = 7
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* @generated from enum norsk.api.media.AncillaryType
|
|
474
|
+
*/
|
|
475
|
+
export declare enum AncillaryType {
|
|
476
|
+
/**
|
|
477
|
+
* @generated from enum value: ANCILLARY_TYPE_OTHER = 0;
|
|
478
|
+
*/
|
|
479
|
+
OTHER = 0,
|
|
480
|
+
/**
|
|
481
|
+
* @generated from enum value: ANCILLARY_TYPE_SCTE35 = 1;
|
|
482
|
+
*/
|
|
483
|
+
SCTE35 = 1,
|
|
484
|
+
/**
|
|
485
|
+
* @generated from enum value: ANCILLARY_TYPE_SMTPE2038 = 2;
|
|
486
|
+
*/
|
|
487
|
+
SMTPE2038 = 2,
|
|
488
|
+
/**
|
|
489
|
+
* @generated from enum value: ANCILLARY_TYPE_METADATA = 3;
|
|
490
|
+
*/
|
|
491
|
+
METADATA = 3
|
|
492
|
+
}
|
|
435
493
|
/**
|
|
436
494
|
* @generated from enum norsk.api.media.SrtMode
|
|
437
495
|
*/
|
|
@@ -1024,6 +1082,23 @@ export declare enum SentenceStabilizationMode {
|
|
|
1024
1082
|
*/
|
|
1025
1083
|
Low = 2
|
|
1026
1084
|
}
|
|
1085
|
+
/**
|
|
1086
|
+
* @generated from enum norsk.api.media.MetadataKind
|
|
1087
|
+
*/
|
|
1088
|
+
export declare enum MetadataKind {
|
|
1089
|
+
/**
|
|
1090
|
+
* @generated from enum value: METADATA_KIND_OTHER = 0;
|
|
1091
|
+
*/
|
|
1092
|
+
OTHER = 0,
|
|
1093
|
+
/**
|
|
1094
|
+
* @generated from enum value: METADATA_KIND_ID3 = 1;
|
|
1095
|
+
*/
|
|
1096
|
+
ID3 = 1,
|
|
1097
|
+
/**
|
|
1098
|
+
* @generated from enum value: METADATA_KIND_KLV = 2;
|
|
1099
|
+
*/
|
|
1100
|
+
KLV = 2
|
|
1101
|
+
}
|
|
1027
1102
|
/**
|
|
1028
1103
|
* @generated from enum norsk.api.media.VancPayloadFormat
|
|
1029
1104
|
*/
|
|
@@ -1545,6 +1620,12 @@ export declare class StreamMetadata_AudioMetadata extends Message<StreamMetadata
|
|
|
1545
1620
|
* @generated from field: int32 bitrate = 5;
|
|
1546
1621
|
*/
|
|
1547
1622
|
bitrate: number;
|
|
1623
|
+
/**
|
|
1624
|
+
* The audio language (if specified)
|
|
1625
|
+
*
|
|
1626
|
+
* @generated from field: string language = 6;
|
|
1627
|
+
*/
|
|
1628
|
+
language: string;
|
|
1548
1629
|
constructor(data?: PartialMessage<StreamMetadata_AudioMetadata>);
|
|
1549
1630
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
1550
1631
|
static readonly typeName = "norsk.api.media.StreamMetadata.AudioMetadata";
|
|
@@ -1605,6 +1686,18 @@ export declare class StreamMetadata_VideoMetadata extends Message<StreamMetadata
|
|
|
1605
1686
|
* @generated from message norsk.api.media.StreamMetadata.SubtitleMetadata
|
|
1606
1687
|
*/
|
|
1607
1688
|
export declare class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_SubtitleMetadata> {
|
|
1689
|
+
/**
|
|
1690
|
+
* The subtitle format or source
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: norsk.api.media.SubtitleFormat format = 2;
|
|
1693
|
+
*/
|
|
1694
|
+
format: SubtitleFormat;
|
|
1695
|
+
/**
|
|
1696
|
+
* Subtitle language (if specified)
|
|
1697
|
+
*
|
|
1698
|
+
* @generated from field: string language = 3;
|
|
1699
|
+
*/
|
|
1700
|
+
language: string;
|
|
1608
1701
|
constructor(data?: PartialMessage<StreamMetadata_SubtitleMetadata>);
|
|
1609
1702
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
1610
1703
|
static readonly typeName = "norsk.api.media.StreamMetadata.SubtitleMetadata";
|
|
@@ -1641,6 +1734,14 @@ export declare class StreamMetadata_PlaylistMetadata extends Message<StreamMetad
|
|
|
1641
1734
|
* @generated from message norsk.api.media.StreamMetadata.AncillaryMetadata
|
|
1642
1735
|
*/
|
|
1643
1736
|
export declare class StreamMetadata_AncillaryMetadata extends Message<StreamMetadata_AncillaryMetadata> {
|
|
1737
|
+
/**
|
|
1738
|
+
* @generated from field: norsk.api.media.AncillaryType type = 2;
|
|
1739
|
+
*/
|
|
1740
|
+
type: AncillaryType;
|
|
1741
|
+
/**
|
|
1742
|
+
* @generated from field: string ancillary_subtype = 3;
|
|
1743
|
+
*/
|
|
1744
|
+
ancillarySubtype: string;
|
|
1644
1745
|
constructor(data?: PartialMessage<StreamMetadata_AncillaryMetadata>);
|
|
1645
1746
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
1646
1747
|
static readonly typeName = "norsk.api.media.StreamMetadata.AncillaryMetadata";
|
|
@@ -1690,8 +1791,8 @@ export declare class Context extends Message<Context> {
|
|
|
1690
1791
|
* certain nodes that are permitted non-disjoint context keys
|
|
1691
1792
|
* .
|
|
1692
1793
|
* Once received, your code **must** acknowledge the context change
|
|
1693
|
-
* with a call
|
|
1694
|
-
* passing in the `blockingCallRef
|
|
1794
|
+
* with a call through a subscription channel `Media.createSubscriptionChannel`,
|
|
1795
|
+
* passing in the `blockingCallRef` to an 'unblock' message; note that if using the
|
|
1695
1796
|
* JavaScript SDK then this is automatically handled.
|
|
1696
1797
|
*
|
|
1697
1798
|
* @generated from message norsk.api.media.MultipleContext
|
|
@@ -3895,11 +3996,15 @@ export declare class DeltacastInputConfiguration extends Message<DeltacastInputC
|
|
|
3895
3996
|
*/
|
|
3896
3997
|
deviceId: number;
|
|
3897
3998
|
/**
|
|
3898
|
-
* @generated from field: uint32
|
|
3999
|
+
* @generated from field: uint32 channel_index = 4;
|
|
3899
4000
|
*/
|
|
3900
|
-
|
|
4001
|
+
channelIndex: number;
|
|
3901
4002
|
/**
|
|
3902
|
-
* @generated from field:
|
|
4003
|
+
* @generated from field: uint32 audio_channel_mask = 5;
|
|
4004
|
+
*/
|
|
4005
|
+
audioChannelMask: number;
|
|
4006
|
+
/**
|
|
4007
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
|
|
3903
4008
|
*/
|
|
3904
4009
|
statsSampling?: StreamStatisticsSampling;
|
|
3905
4010
|
constructor(data?: PartialMessage<DeltacastInputConfiguration>);
|
|
@@ -12990,6 +13095,12 @@ export declare class StreamStatisticsEvent extends Message<StreamStatisticsEvent
|
|
|
12990
13095
|
*/
|
|
12991
13096
|
value: Context;
|
|
12992
13097
|
case: "inboundContext";
|
|
13098
|
+
} | {
|
|
13099
|
+
/**
|
|
13100
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 6;
|
|
13101
|
+
*/
|
|
13102
|
+
value: GopStructure;
|
|
13103
|
+
case: "gopStructure";
|
|
12993
13104
|
} | {
|
|
12994
13105
|
case: undefined;
|
|
12995
13106
|
value?: undefined;
|
|
@@ -14262,6 +14373,12 @@ export declare class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
14262
14373
|
*/
|
|
14263
14374
|
value: Scte35Event;
|
|
14264
14375
|
case: "scte35Event";
|
|
14376
|
+
} | {
|
|
14377
|
+
/**
|
|
14378
|
+
* @generated from field: norsk.api.media.MetadataMessage metadata = 6;
|
|
14379
|
+
*/
|
|
14380
|
+
value: MetadataMessage;
|
|
14381
|
+
case: "metadata";
|
|
14265
14382
|
} | {
|
|
14266
14383
|
case: undefined;
|
|
14267
14384
|
value?: undefined;
|
|
@@ -14275,6 +14392,47 @@ export declare class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
14275
14392
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AncillaryMessage;
|
|
14276
14393
|
static equals(a: AncillaryMessage | PlainMessage<AncillaryMessage> | undefined, b: AncillaryMessage | PlainMessage<AncillaryMessage> | undefined): boolean;
|
|
14277
14394
|
}
|
|
14395
|
+
/**
|
|
14396
|
+
* @generated from message norsk.api.media.MetadataMessage
|
|
14397
|
+
*/
|
|
14398
|
+
export declare class MetadataMessage extends Message<MetadataMessage> {
|
|
14399
|
+
/**
|
|
14400
|
+
* @generated from field: norsk.api.media.StreamKey stream = 1;
|
|
14401
|
+
*/
|
|
14402
|
+
stream?: StreamKey;
|
|
14403
|
+
/**
|
|
14404
|
+
* The raw data of the metadata message, excluding Metadata Access Unit wrapper if present
|
|
14405
|
+
*
|
|
14406
|
+
* @generated from field: bytes data = 2;
|
|
14407
|
+
*/
|
|
14408
|
+
data: Uint8Array;
|
|
14409
|
+
/**
|
|
14410
|
+
* Metadata service id, if present
|
|
14411
|
+
*
|
|
14412
|
+
* @generated from field: uint32 metadata_service_id = 3;
|
|
14413
|
+
*/
|
|
14414
|
+
metadataServiceId: number;
|
|
14415
|
+
/**
|
|
14416
|
+
* Timestamp of the metadata message
|
|
14417
|
+
*
|
|
14418
|
+
* @generated from field: norsk.api.media.Interval pts = 4;
|
|
14419
|
+
*/
|
|
14420
|
+
pts?: Interval;
|
|
14421
|
+
/**
|
|
14422
|
+
* The form of metadata being transported
|
|
14423
|
+
*
|
|
14424
|
+
* @generated from field: norsk.api.media.MetadataKind format = 5;
|
|
14425
|
+
*/
|
|
14426
|
+
format: MetadataKind;
|
|
14427
|
+
constructor(data?: PartialMessage<MetadataMessage>);
|
|
14428
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14429
|
+
static readonly typeName = "norsk.api.media.MetadataMessage";
|
|
14430
|
+
static readonly fields: FieldList;
|
|
14431
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataMessage;
|
|
14432
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataMessage;
|
|
14433
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataMessage;
|
|
14434
|
+
static equals(a: MetadataMessage | PlainMessage<MetadataMessage> | undefined, b: MetadataMessage | PlainMessage<MetadataMessage> | undefined): boolean;
|
|
14435
|
+
}
|
|
14278
14436
|
/**
|
|
14279
14437
|
* @generated from message norsk.api.media.AncillaryEvent
|
|
14280
14438
|
*/
|
|
@@ -14318,6 +14476,12 @@ export declare class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
14318
14476
|
*/
|
|
14319
14477
|
value: Context;
|
|
14320
14478
|
case: "inboundContext";
|
|
14479
|
+
} | {
|
|
14480
|
+
/**
|
|
14481
|
+
* @generated from field: norsk.api.media.MetadataMessage metadata = 8;
|
|
14482
|
+
*/
|
|
14483
|
+
value: MetadataMessage;
|
|
14484
|
+
case: "metadata";
|
|
14321
14485
|
} | {
|
|
14322
14486
|
case: undefined;
|
|
14323
14487
|
value?: undefined;
|
|
@@ -14343,6 +14507,12 @@ export declare class Scte35Event extends Message<Scte35Event> {
|
|
|
14343
14507
|
* @generated from field: norsk.api.media.Scte35SpliceInfoSection info = 2;
|
|
14344
14508
|
*/
|
|
14345
14509
|
info?: Scte35SpliceInfoSection;
|
|
14510
|
+
/**
|
|
14511
|
+
* Timestamp assigned to the SCTE-35 message in processing
|
|
14512
|
+
*
|
|
14513
|
+
* @generated from field: norsk.api.media.Interval pts = 3;
|
|
14514
|
+
*/
|
|
14515
|
+
pts?: Interval;
|
|
14346
14516
|
constructor(data?: PartialMessage<Scte35Event>);
|
|
14347
14517
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14348
14518
|
static readonly typeName = "norsk.api.media.Scte35Event";
|
|
@@ -14384,6 +14554,12 @@ export declare class Smpte2038Message extends Message<Smpte2038Message> {
|
|
|
14384
14554
|
* @generated from field: bytes user_data = 7;
|
|
14385
14555
|
*/
|
|
14386
14556
|
userData: Uint8Array;
|
|
14557
|
+
/**
|
|
14558
|
+
* Timestamp of the SMPTE-2038 message
|
|
14559
|
+
*
|
|
14560
|
+
* @generated from field: norsk.api.media.Interval pts = 8;
|
|
14561
|
+
*/
|
|
14562
|
+
pts?: Interval;
|
|
14387
14563
|
constructor(data?: PartialMessage<Smpte2038Message>);
|
|
14388
14564
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14389
14565
|
static readonly typeName = "norsk.api.media.Smpte2038Message";
|
|
@@ -14414,6 +14590,99 @@ export declare class VancType2AncillaryId extends Message<VancType2AncillaryId>
|
|
|
14414
14590
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VancType2AncillaryId;
|
|
14415
14591
|
static equals(a: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined, b: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined): boolean;
|
|
14416
14592
|
}
|
|
14593
|
+
/**
|
|
14594
|
+
* @generated from message norsk.api.media.StreamConditionConfiguration
|
|
14595
|
+
*/
|
|
14596
|
+
export declare class StreamConditionConfiguration extends Message<StreamConditionConfiguration> {
|
|
14597
|
+
/**
|
|
14598
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
14599
|
+
*/
|
|
14600
|
+
id?: MediaNodeId;
|
|
14601
|
+
constructor(data?: PartialMessage<StreamConditionConfiguration>);
|
|
14602
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14603
|
+
static readonly typeName = "norsk.api.media.StreamConditionConfiguration";
|
|
14604
|
+
static readonly fields: FieldList;
|
|
14605
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionConfiguration;
|
|
14606
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionConfiguration;
|
|
14607
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionConfiguration;
|
|
14608
|
+
static equals(a: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined, b: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined): boolean;
|
|
14609
|
+
}
|
|
14610
|
+
/**
|
|
14611
|
+
* @generated from message norsk.api.media.StreamConditionMessage
|
|
14612
|
+
*/
|
|
14613
|
+
export declare class StreamConditionMessage extends Message<StreamConditionMessage> {
|
|
14614
|
+
/**
|
|
14615
|
+
* @generated from oneof norsk.api.media.StreamConditionMessage.message
|
|
14616
|
+
*/
|
|
14617
|
+
message: {
|
|
14618
|
+
/**
|
|
14619
|
+
* @generated from field: norsk.api.media.StreamConditionConfiguration initial_config = 1;
|
|
14620
|
+
*/
|
|
14621
|
+
value: StreamConditionConfiguration;
|
|
14622
|
+
case: "initialConfig";
|
|
14623
|
+
} | {
|
|
14624
|
+
/**
|
|
14625
|
+
* @generated from field: norsk.api.media.Subscription subscription = 2;
|
|
14626
|
+
*/
|
|
14627
|
+
value: Subscription;
|
|
14628
|
+
case: "subscription";
|
|
14629
|
+
} | {
|
|
14630
|
+
case: undefined;
|
|
14631
|
+
value?: undefined;
|
|
14632
|
+
};
|
|
14633
|
+
constructor(data?: PartialMessage<StreamConditionMessage>);
|
|
14634
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14635
|
+
static readonly typeName = "norsk.api.media.StreamConditionMessage";
|
|
14636
|
+
static readonly fields: FieldList;
|
|
14637
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage;
|
|
14638
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionMessage;
|
|
14639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionMessage;
|
|
14640
|
+
static equals(a: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined, b: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined): boolean;
|
|
14641
|
+
}
|
|
14642
|
+
/**
|
|
14643
|
+
* @generated from message norsk.api.media.StreamConditionEvent
|
|
14644
|
+
*/
|
|
14645
|
+
export declare class StreamConditionEvent extends Message<StreamConditionEvent> {
|
|
14646
|
+
/**
|
|
14647
|
+
* @generated from oneof norsk.api.media.StreamConditionEvent.message
|
|
14648
|
+
*/
|
|
14649
|
+
message: {
|
|
14650
|
+
/**
|
|
14651
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
14652
|
+
*/
|
|
14653
|
+
value: MediaNodeId;
|
|
14654
|
+
case: "nodeId";
|
|
14655
|
+
} | {
|
|
14656
|
+
/**
|
|
14657
|
+
* @generated from field: norsk.api.media.Context inbound_context = 2;
|
|
14658
|
+
*/
|
|
14659
|
+
value: Context;
|
|
14660
|
+
case: "inboundContext";
|
|
14661
|
+
} | {
|
|
14662
|
+
/**
|
|
14663
|
+
* @generated from field: norsk.api.media.Context outbound_context = 3;
|
|
14664
|
+
*/
|
|
14665
|
+
value: Context;
|
|
14666
|
+
case: "outboundContext";
|
|
14667
|
+
} | {
|
|
14668
|
+
/**
|
|
14669
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
|
|
14670
|
+
*/
|
|
14671
|
+
value: SubscriptionResponse;
|
|
14672
|
+
case: "subscriptionResponse";
|
|
14673
|
+
} | {
|
|
14674
|
+
case: undefined;
|
|
14675
|
+
value?: undefined;
|
|
14676
|
+
};
|
|
14677
|
+
constructor(data?: PartialMessage<StreamConditionEvent>);
|
|
14678
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14679
|
+
static readonly typeName = "norsk.api.media.StreamConditionEvent";
|
|
14680
|
+
static readonly fields: FieldList;
|
|
14681
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionEvent;
|
|
14682
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionEvent;
|
|
14683
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionEvent;
|
|
14684
|
+
static equals(a: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined, b: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined): boolean;
|
|
14685
|
+
}
|
|
14417
14686
|
/**
|
|
14418
14687
|
* @generated from message norsk.api.media.Scte35SpliceInfoSection
|
|
14419
14688
|
*/
|
|
@@ -14628,6 +14897,8 @@ export declare class Scte35InsertCommandMode extends Message<Scte35InsertCommand
|
|
|
14628
14897
|
*/
|
|
14629
14898
|
export declare class Scte35InsertCommandMode_InsertProgram extends Message<Scte35InsertCommandMode_InsertProgram> {
|
|
14630
14899
|
/**
|
|
14900
|
+
* Splice time (optional - omitted is splice immediate)
|
|
14901
|
+
*
|
|
14631
14902
|
* @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
|
|
14632
14903
|
*/
|
|
14633
14904
|
spliceTime?: Scte35SpliceTime;
|
|
@@ -14666,6 +14937,8 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
|
|
|
14666
14937
|
*/
|
|
14667
14938
|
componentTag: number;
|
|
14668
14939
|
/**
|
|
14940
|
+
* Splice time (optional - omitted is splice immediate)
|
|
14941
|
+
*
|
|
14669
14942
|
* @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 2;
|
|
14670
14943
|
*/
|
|
14671
14944
|
spliceTime?: Scte35SpliceTime;
|
|
@@ -14683,6 +14956,8 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
|
|
|
14683
14956
|
*/
|
|
14684
14957
|
export declare class Scte35SpliceTime extends Message<Scte35SpliceTime> {
|
|
14685
14958
|
/**
|
|
14959
|
+
* Splice time if specified (otherwise represents the default splice time in Component Splice Mode, see SCTE 35 9.9.2.1)
|
|
14960
|
+
*
|
|
14686
14961
|
* @generated from field: norsk.api.common.OptionalInt pts_time = 1;
|
|
14687
14962
|
*/
|
|
14688
14963
|
ptsTime?: OptionalInt;
|
|
@@ -16410,3 +16685,48 @@ export declare class NorskStatusEvent extends Message<NorskStatusEvent> {
|
|
|
16410
16685
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NorskStatusEvent;
|
|
16411
16686
|
static equals(a: NorskStatusEvent | PlainMessage<NorskStatusEvent> | undefined, b: NorskStatusEvent | PlainMessage<NorskStatusEvent> | undefined): boolean;
|
|
16412
16687
|
}
|
|
16688
|
+
/**
|
|
16689
|
+
* @generated from message norsk.api.media.SubscriptionChannelMessage
|
|
16690
|
+
*/
|
|
16691
|
+
export declare class SubscriptionChannelMessage extends Message<SubscriptionChannelMessage> {
|
|
16692
|
+
/**
|
|
16693
|
+
* @generated from oneof norsk.api.media.SubscriptionChannelMessage.message
|
|
16694
|
+
*/
|
|
16695
|
+
message: {
|
|
16696
|
+
/**
|
|
16697
|
+
* @generated from field: norsk.api.media.BlockingCallRef unblock = 1;
|
|
16698
|
+
*/
|
|
16699
|
+
value: BlockingCallRef;
|
|
16700
|
+
case: "unblock";
|
|
16701
|
+
} | {
|
|
16702
|
+
/**
|
|
16703
|
+
* @generated from field: norsk.api.media.ValidationResponse validation_response = 2;
|
|
16704
|
+
*/
|
|
16705
|
+
value: ValidationResponse;
|
|
16706
|
+
case: "validationResponse";
|
|
16707
|
+
} | {
|
|
16708
|
+
case: undefined;
|
|
16709
|
+
value?: undefined;
|
|
16710
|
+
};
|
|
16711
|
+
constructor(data?: PartialMessage<SubscriptionChannelMessage>);
|
|
16712
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
16713
|
+
static readonly typeName = "norsk.api.media.SubscriptionChannelMessage";
|
|
16714
|
+
static readonly fields: FieldList;
|
|
16715
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelMessage;
|
|
16716
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage;
|
|
16717
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage;
|
|
16718
|
+
static equals(a: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined, b: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined): boolean;
|
|
16719
|
+
}
|
|
16720
|
+
/**
|
|
16721
|
+
* @generated from message norsk.api.media.SubscriptionChannelResponse
|
|
16722
|
+
*/
|
|
16723
|
+
export declare class SubscriptionChannelResponse extends Message<SubscriptionChannelResponse> {
|
|
16724
|
+
constructor(data?: PartialMessage<SubscriptionChannelResponse>);
|
|
16725
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
16726
|
+
static readonly typeName = "norsk.api.media.SubscriptionChannelResponse";
|
|
16727
|
+
static readonly fields: FieldList;
|
|
16728
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelResponse;
|
|
16729
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse;
|
|
16730
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse;
|
|
16731
|
+
static equals(a: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined, b: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined): boolean;
|
|
16732
|
+
}
|