@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_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
|
|
@@ -12990,6 +13091,12 @@ export declare class StreamStatisticsEvent extends Message<StreamStatisticsEvent
|
|
|
12990
13091
|
*/
|
|
12991
13092
|
value: Context;
|
|
12992
13093
|
case: "inboundContext";
|
|
13094
|
+
} | {
|
|
13095
|
+
/**
|
|
13096
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 6;
|
|
13097
|
+
*/
|
|
13098
|
+
value: GopStructure;
|
|
13099
|
+
case: "gopStructure";
|
|
12993
13100
|
} | {
|
|
12994
13101
|
case: undefined;
|
|
12995
13102
|
value?: undefined;
|
|
@@ -14262,6 +14369,12 @@ export declare class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
14262
14369
|
*/
|
|
14263
14370
|
value: Scte35Event;
|
|
14264
14371
|
case: "scte35Event";
|
|
14372
|
+
} | {
|
|
14373
|
+
/**
|
|
14374
|
+
* @generated from field: norsk.api.media.MetadataMessage metadata = 6;
|
|
14375
|
+
*/
|
|
14376
|
+
value: MetadataMessage;
|
|
14377
|
+
case: "metadata";
|
|
14265
14378
|
} | {
|
|
14266
14379
|
case: undefined;
|
|
14267
14380
|
value?: undefined;
|
|
@@ -14275,6 +14388,47 @@ export declare class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
14275
14388
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AncillaryMessage;
|
|
14276
14389
|
static equals(a: AncillaryMessage | PlainMessage<AncillaryMessage> | undefined, b: AncillaryMessage | PlainMessage<AncillaryMessage> | undefined): boolean;
|
|
14277
14390
|
}
|
|
14391
|
+
/**
|
|
14392
|
+
* @generated from message norsk.api.media.MetadataMessage
|
|
14393
|
+
*/
|
|
14394
|
+
export declare class MetadataMessage extends Message<MetadataMessage> {
|
|
14395
|
+
/**
|
|
14396
|
+
* @generated from field: norsk.api.media.StreamKey stream = 1;
|
|
14397
|
+
*/
|
|
14398
|
+
stream?: StreamKey;
|
|
14399
|
+
/**
|
|
14400
|
+
* The raw data of the metadata message, excluding Metadata Access Unit wrapper if present
|
|
14401
|
+
*
|
|
14402
|
+
* @generated from field: bytes data = 2;
|
|
14403
|
+
*/
|
|
14404
|
+
data: Uint8Array;
|
|
14405
|
+
/**
|
|
14406
|
+
* Metadata service id, if present
|
|
14407
|
+
*
|
|
14408
|
+
* @generated from field: uint32 metadata_service_id = 3;
|
|
14409
|
+
*/
|
|
14410
|
+
metadataServiceId: number;
|
|
14411
|
+
/**
|
|
14412
|
+
* Timestamp of the metadata message
|
|
14413
|
+
*
|
|
14414
|
+
* @generated from field: norsk.api.media.Interval pts = 4;
|
|
14415
|
+
*/
|
|
14416
|
+
pts?: Interval;
|
|
14417
|
+
/**
|
|
14418
|
+
* The form of metadata being transported
|
|
14419
|
+
*
|
|
14420
|
+
* @generated from field: norsk.api.media.MetadataKind format = 5;
|
|
14421
|
+
*/
|
|
14422
|
+
format: MetadataKind;
|
|
14423
|
+
constructor(data?: PartialMessage<MetadataMessage>);
|
|
14424
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14425
|
+
static readonly typeName = "norsk.api.media.MetadataMessage";
|
|
14426
|
+
static readonly fields: FieldList;
|
|
14427
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataMessage;
|
|
14428
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataMessage;
|
|
14429
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataMessage;
|
|
14430
|
+
static equals(a: MetadataMessage | PlainMessage<MetadataMessage> | undefined, b: MetadataMessage | PlainMessage<MetadataMessage> | undefined): boolean;
|
|
14431
|
+
}
|
|
14278
14432
|
/**
|
|
14279
14433
|
* @generated from message norsk.api.media.AncillaryEvent
|
|
14280
14434
|
*/
|
|
@@ -14318,6 +14472,12 @@ export declare class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
14318
14472
|
*/
|
|
14319
14473
|
value: Context;
|
|
14320
14474
|
case: "inboundContext";
|
|
14475
|
+
} | {
|
|
14476
|
+
/**
|
|
14477
|
+
* @generated from field: norsk.api.media.MetadataMessage metadata = 8;
|
|
14478
|
+
*/
|
|
14479
|
+
value: MetadataMessage;
|
|
14480
|
+
case: "metadata";
|
|
14321
14481
|
} | {
|
|
14322
14482
|
case: undefined;
|
|
14323
14483
|
value?: undefined;
|
|
@@ -14343,6 +14503,12 @@ export declare class Scte35Event extends Message<Scte35Event> {
|
|
|
14343
14503
|
* @generated from field: norsk.api.media.Scte35SpliceInfoSection info = 2;
|
|
14344
14504
|
*/
|
|
14345
14505
|
info?: Scte35SpliceInfoSection;
|
|
14506
|
+
/**
|
|
14507
|
+
* Timestamp assigned to the SCTE-35 message in processing
|
|
14508
|
+
*
|
|
14509
|
+
* @generated from field: norsk.api.media.Interval pts = 3;
|
|
14510
|
+
*/
|
|
14511
|
+
pts?: Interval;
|
|
14346
14512
|
constructor(data?: PartialMessage<Scte35Event>);
|
|
14347
14513
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14348
14514
|
static readonly typeName = "norsk.api.media.Scte35Event";
|
|
@@ -14384,6 +14550,12 @@ export declare class Smpte2038Message extends Message<Smpte2038Message> {
|
|
|
14384
14550
|
* @generated from field: bytes user_data = 7;
|
|
14385
14551
|
*/
|
|
14386
14552
|
userData: Uint8Array;
|
|
14553
|
+
/**
|
|
14554
|
+
* Timestamp of the SMPTE-2038 message
|
|
14555
|
+
*
|
|
14556
|
+
* @generated from field: norsk.api.media.Interval pts = 8;
|
|
14557
|
+
*/
|
|
14558
|
+
pts?: Interval;
|
|
14387
14559
|
constructor(data?: PartialMessage<Smpte2038Message>);
|
|
14388
14560
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14389
14561
|
static readonly typeName = "norsk.api.media.Smpte2038Message";
|
|
@@ -14414,6 +14586,99 @@ export declare class VancType2AncillaryId extends Message<VancType2AncillaryId>
|
|
|
14414
14586
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VancType2AncillaryId;
|
|
14415
14587
|
static equals(a: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined, b: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined): boolean;
|
|
14416
14588
|
}
|
|
14589
|
+
/**
|
|
14590
|
+
* @generated from message norsk.api.media.StreamConditionConfiguration
|
|
14591
|
+
*/
|
|
14592
|
+
export declare class StreamConditionConfiguration extends Message<StreamConditionConfiguration> {
|
|
14593
|
+
/**
|
|
14594
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
14595
|
+
*/
|
|
14596
|
+
id?: MediaNodeId;
|
|
14597
|
+
constructor(data?: PartialMessage<StreamConditionConfiguration>);
|
|
14598
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14599
|
+
static readonly typeName = "norsk.api.media.StreamConditionConfiguration";
|
|
14600
|
+
static readonly fields: FieldList;
|
|
14601
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionConfiguration;
|
|
14602
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionConfiguration;
|
|
14603
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionConfiguration;
|
|
14604
|
+
static equals(a: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined, b: StreamConditionConfiguration | PlainMessage<StreamConditionConfiguration> | undefined): boolean;
|
|
14605
|
+
}
|
|
14606
|
+
/**
|
|
14607
|
+
* @generated from message norsk.api.media.StreamConditionMessage
|
|
14608
|
+
*/
|
|
14609
|
+
export declare class StreamConditionMessage extends Message<StreamConditionMessage> {
|
|
14610
|
+
/**
|
|
14611
|
+
* @generated from oneof norsk.api.media.StreamConditionMessage.message
|
|
14612
|
+
*/
|
|
14613
|
+
message: {
|
|
14614
|
+
/**
|
|
14615
|
+
* @generated from field: norsk.api.media.StreamConditionConfiguration initial_config = 1;
|
|
14616
|
+
*/
|
|
14617
|
+
value: StreamConditionConfiguration;
|
|
14618
|
+
case: "initialConfig";
|
|
14619
|
+
} | {
|
|
14620
|
+
/**
|
|
14621
|
+
* @generated from field: norsk.api.media.Subscription subscription = 2;
|
|
14622
|
+
*/
|
|
14623
|
+
value: Subscription;
|
|
14624
|
+
case: "subscription";
|
|
14625
|
+
} | {
|
|
14626
|
+
case: undefined;
|
|
14627
|
+
value?: undefined;
|
|
14628
|
+
};
|
|
14629
|
+
constructor(data?: PartialMessage<StreamConditionMessage>);
|
|
14630
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14631
|
+
static readonly typeName = "norsk.api.media.StreamConditionMessage";
|
|
14632
|
+
static readonly fields: FieldList;
|
|
14633
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage;
|
|
14634
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionMessage;
|
|
14635
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionMessage;
|
|
14636
|
+
static equals(a: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined, b: StreamConditionMessage | PlainMessage<StreamConditionMessage> | undefined): boolean;
|
|
14637
|
+
}
|
|
14638
|
+
/**
|
|
14639
|
+
* @generated from message norsk.api.media.StreamConditionEvent
|
|
14640
|
+
*/
|
|
14641
|
+
export declare class StreamConditionEvent extends Message<StreamConditionEvent> {
|
|
14642
|
+
/**
|
|
14643
|
+
* @generated from oneof norsk.api.media.StreamConditionEvent.message
|
|
14644
|
+
*/
|
|
14645
|
+
message: {
|
|
14646
|
+
/**
|
|
14647
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
14648
|
+
*/
|
|
14649
|
+
value: MediaNodeId;
|
|
14650
|
+
case: "nodeId";
|
|
14651
|
+
} | {
|
|
14652
|
+
/**
|
|
14653
|
+
* @generated from field: norsk.api.media.Context inbound_context = 2;
|
|
14654
|
+
*/
|
|
14655
|
+
value: Context;
|
|
14656
|
+
case: "inboundContext";
|
|
14657
|
+
} | {
|
|
14658
|
+
/**
|
|
14659
|
+
* @generated from field: norsk.api.media.Context outbound_context = 3;
|
|
14660
|
+
*/
|
|
14661
|
+
value: Context;
|
|
14662
|
+
case: "outboundContext";
|
|
14663
|
+
} | {
|
|
14664
|
+
/**
|
|
14665
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
|
|
14666
|
+
*/
|
|
14667
|
+
value: SubscriptionResponse;
|
|
14668
|
+
case: "subscriptionResponse";
|
|
14669
|
+
} | {
|
|
14670
|
+
case: undefined;
|
|
14671
|
+
value?: undefined;
|
|
14672
|
+
};
|
|
14673
|
+
constructor(data?: PartialMessage<StreamConditionEvent>);
|
|
14674
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
14675
|
+
static readonly typeName = "norsk.api.media.StreamConditionEvent";
|
|
14676
|
+
static readonly fields: FieldList;
|
|
14677
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionEvent;
|
|
14678
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionEvent;
|
|
14679
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionEvent;
|
|
14680
|
+
static equals(a: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined, b: StreamConditionEvent | PlainMessage<StreamConditionEvent> | undefined): boolean;
|
|
14681
|
+
}
|
|
14417
14682
|
/**
|
|
14418
14683
|
* @generated from message norsk.api.media.Scte35SpliceInfoSection
|
|
14419
14684
|
*/
|
|
@@ -14628,6 +14893,8 @@ export declare class Scte35InsertCommandMode extends Message<Scte35InsertCommand
|
|
|
14628
14893
|
*/
|
|
14629
14894
|
export declare class Scte35InsertCommandMode_InsertProgram extends Message<Scte35InsertCommandMode_InsertProgram> {
|
|
14630
14895
|
/**
|
|
14896
|
+
* Splice time (optional - omitted is splice immediate)
|
|
14897
|
+
*
|
|
14631
14898
|
* @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
|
|
14632
14899
|
*/
|
|
14633
14900
|
spliceTime?: Scte35SpliceTime;
|
|
@@ -14666,6 +14933,8 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
|
|
|
14666
14933
|
*/
|
|
14667
14934
|
componentTag: number;
|
|
14668
14935
|
/**
|
|
14936
|
+
* Splice time (optional - omitted is splice immediate)
|
|
14937
|
+
*
|
|
14669
14938
|
* @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 2;
|
|
14670
14939
|
*/
|
|
14671
14940
|
spliceTime?: Scte35SpliceTime;
|
|
@@ -14683,6 +14952,8 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
|
|
|
14683
14952
|
*/
|
|
14684
14953
|
export declare class Scte35SpliceTime extends Message<Scte35SpliceTime> {
|
|
14685
14954
|
/**
|
|
14955
|
+
* Splice time if specified (otherwise represents the default splice time in Component Splice Mode, see SCTE 35 9.9.2.1)
|
|
14956
|
+
*
|
|
14686
14957
|
* @generated from field: norsk.api.common.OptionalInt pts_time = 1;
|
|
14687
14958
|
*/
|
|
14688
14959
|
ptsTime?: OptionalInt;
|
|
@@ -16410,3 +16681,48 @@ export declare class NorskStatusEvent extends Message<NorskStatusEvent> {
|
|
|
16410
16681
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NorskStatusEvent;
|
|
16411
16682
|
static equals(a: NorskStatusEvent | PlainMessage<NorskStatusEvent> | undefined, b: NorskStatusEvent | PlainMessage<NorskStatusEvent> | undefined): boolean;
|
|
16412
16683
|
}
|
|
16684
|
+
/**
|
|
16685
|
+
* @generated from message norsk.api.media.SubscriptionChannelMessage
|
|
16686
|
+
*/
|
|
16687
|
+
export declare class SubscriptionChannelMessage extends Message<SubscriptionChannelMessage> {
|
|
16688
|
+
/**
|
|
16689
|
+
* @generated from oneof norsk.api.media.SubscriptionChannelMessage.message
|
|
16690
|
+
*/
|
|
16691
|
+
message: {
|
|
16692
|
+
/**
|
|
16693
|
+
* @generated from field: norsk.api.media.BlockingCallRef unblock = 1;
|
|
16694
|
+
*/
|
|
16695
|
+
value: BlockingCallRef;
|
|
16696
|
+
case: "unblock";
|
|
16697
|
+
} | {
|
|
16698
|
+
/**
|
|
16699
|
+
* @generated from field: norsk.api.media.ValidationResponse validation_response = 2;
|
|
16700
|
+
*/
|
|
16701
|
+
value: ValidationResponse;
|
|
16702
|
+
case: "validationResponse";
|
|
16703
|
+
} | {
|
|
16704
|
+
case: undefined;
|
|
16705
|
+
value?: undefined;
|
|
16706
|
+
};
|
|
16707
|
+
constructor(data?: PartialMessage<SubscriptionChannelMessage>);
|
|
16708
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
16709
|
+
static readonly typeName = "norsk.api.media.SubscriptionChannelMessage";
|
|
16710
|
+
static readonly fields: FieldList;
|
|
16711
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelMessage;
|
|
16712
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage;
|
|
16713
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelMessage;
|
|
16714
|
+
static equals(a: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined, b: SubscriptionChannelMessage | PlainMessage<SubscriptionChannelMessage> | undefined): boolean;
|
|
16715
|
+
}
|
|
16716
|
+
/**
|
|
16717
|
+
* @generated from message norsk.api.media.SubscriptionChannelResponse
|
|
16718
|
+
*/
|
|
16719
|
+
export declare class SubscriptionChannelResponse extends Message<SubscriptionChannelResponse> {
|
|
16720
|
+
constructor(data?: PartialMessage<SubscriptionChannelResponse>);
|
|
16721
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
|
|
16722
|
+
static readonly typeName = "norsk.api.media.SubscriptionChannelResponse";
|
|
16723
|
+
static readonly fields: FieldList;
|
|
16724
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionChannelResponse;
|
|
16725
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse;
|
|
16726
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionChannelResponse;
|
|
16727
|
+
static equals(a: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined, b: SubscriptionChannelResponse | PlainMessage<SubscriptionChannelResponse> | undefined): boolean;
|
|
16728
|
+
}
|