@norskvideo/norsk-api 1.0.372 → 1.0.374
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/media_pb.d.ts +69 -79
- package/lib/media_pb.js +87 -71
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +102 -109
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -769,19 +769,19 @@ proto3.util.setEnumType(TestCardPattern, "norsk.api.media.TestCardPattern", [
|
|
|
769
769
|
*/
|
|
770
770
|
export enum DeckLinkPixelFormat {
|
|
771
771
|
/**
|
|
772
|
-
* @generated from enum value:
|
|
772
|
+
* @generated from enum value: DECKLINK_UYVY = 0;
|
|
773
773
|
*/
|
|
774
|
-
|
|
774
|
+
DECKLINK_UYVY = 0,
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
|
-
* @generated from enum value:
|
|
777
|
+
* @generated from enum value: DECKLINK_ARGB = 1;
|
|
778
778
|
*/
|
|
779
|
-
|
|
779
|
+
DECKLINK_ARGB = 1,
|
|
780
780
|
}
|
|
781
781
|
// Retrieve enum metadata with: proto3.getEnumType(DeckLinkPixelFormat)
|
|
782
782
|
proto3.util.setEnumType(DeckLinkPixelFormat, "norsk.api.media.DeckLinkPixelFormat", [
|
|
783
|
-
{ no: 0, name: "
|
|
784
|
-
{ no: 1, name: "
|
|
783
|
+
{ no: 0, name: "DECKLINK_UYVY" },
|
|
784
|
+
{ no: 1, name: "DECKLINK_ARGB" },
|
|
785
785
|
]);
|
|
786
786
|
|
|
787
787
|
/**
|
|
@@ -1486,6 +1486,74 @@ proto3.util.setEnumType(DeckLinkDisplayModeId, "norsk.api.media.DeckLinkDisplayM
|
|
|
1486
1486
|
{ no: 111, name: "SPECIAL_IUNK" },
|
|
1487
1487
|
]);
|
|
1488
1488
|
|
|
1489
|
+
/**
|
|
1490
|
+
* @generated from enum norsk.api.media.PixelFormat
|
|
1491
|
+
*/
|
|
1492
|
+
export enum PixelFormat {
|
|
1493
|
+
/**
|
|
1494
|
+
* @generated from enum value: UNSPECIFIED = 0;
|
|
1495
|
+
*/
|
|
1496
|
+
UNSPECIFIED = 0,
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* @generated from enum value: YUV420P = 1;
|
|
1500
|
+
*/
|
|
1501
|
+
YUV420P = 1,
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* @generated from enum value: YUV422P = 2;
|
|
1505
|
+
*/
|
|
1506
|
+
YUV422P = 2,
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* @generated from enum value: YUV444P = 3;
|
|
1510
|
+
*/
|
|
1511
|
+
YUV444P = 3,
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* @generated from enum value: YUVA420P = 4;
|
|
1515
|
+
*/
|
|
1516
|
+
YUVA420P = 4,
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* @generated from enum value: YUVA422P = 5;
|
|
1520
|
+
*/
|
|
1521
|
+
YUVA422P = 5,
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* @generated from enum value: YUVA444P = 6;
|
|
1525
|
+
*/
|
|
1526
|
+
YUVA444P = 6,
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* @generated from enum value: RGBA = 7;
|
|
1530
|
+
*/
|
|
1531
|
+
RGBA = 7,
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @generated from enum value: BGRA = 8;
|
|
1535
|
+
*/
|
|
1536
|
+
BGRA = 8,
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* @generated from enum value: UYVY = 9;
|
|
1540
|
+
*/
|
|
1541
|
+
UYVY = 9,
|
|
1542
|
+
}
|
|
1543
|
+
// Retrieve enum metadata with: proto3.getEnumType(PixelFormat)
|
|
1544
|
+
proto3.util.setEnumType(PixelFormat, "norsk.api.media.PixelFormat", [
|
|
1545
|
+
{ no: 0, name: "UNSPECIFIED" },
|
|
1546
|
+
{ no: 1, name: "YUV420P" },
|
|
1547
|
+
{ no: 2, name: "YUV422P" },
|
|
1548
|
+
{ no: 3, name: "YUV444P" },
|
|
1549
|
+
{ no: 4, name: "YUVA420P" },
|
|
1550
|
+
{ no: 5, name: "YUVA422P" },
|
|
1551
|
+
{ no: 6, name: "YUVA444P" },
|
|
1552
|
+
{ no: 7, name: "RGBA" },
|
|
1553
|
+
{ no: 8, name: "BGRA" },
|
|
1554
|
+
{ no: 9, name: "UYVY" },
|
|
1555
|
+
]);
|
|
1556
|
+
|
|
1489
1557
|
/**
|
|
1490
1558
|
* @generated from enum norsk.api.media.NvidiaPreset
|
|
1491
1559
|
*/
|
|
@@ -6461,6 +6529,11 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
|
|
|
6461
6529
|
*/
|
|
6462
6530
|
pattern = TestCardPattern.Black;
|
|
6463
6531
|
|
|
6532
|
+
/**
|
|
6533
|
+
* @generated from field: norsk.api.media.PixelFormat pixel_format = 7;
|
|
6534
|
+
*/
|
|
6535
|
+
pixelFormat = PixelFormat.UNSPECIFIED;
|
|
6536
|
+
|
|
6464
6537
|
constructor(data?: PartialMessage<TestCardVideoConfiguration>) {
|
|
6465
6538
|
super();
|
|
6466
6539
|
proto3.util.initPartial(data, this);
|
|
@@ -6475,6 +6548,7 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
|
|
|
6475
6548
|
{ no: 4, name: "number_of_frames", kind: "message", T: UInt32OrInfinity },
|
|
6476
6549
|
{ no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6477
6550
|
{ no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
|
|
6551
|
+
{ no: 7, name: "pixel_format", kind: "enum", T: proto3.getEnumType(PixelFormat) },
|
|
6478
6552
|
]);
|
|
6479
6553
|
|
|
6480
6554
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestCardVideoConfiguration {
|
|
@@ -6668,7 +6742,7 @@ export class DeckLinkInputConfiguration extends Message<DeckLinkInputConfigurati
|
|
|
6668
6742
|
/**
|
|
6669
6743
|
* @generated from field: norsk.api.media.DeckLinkPixelFormat pixel_format = 7;
|
|
6670
6744
|
*/
|
|
6671
|
-
pixelFormat = DeckLinkPixelFormat.
|
|
6745
|
+
pixelFormat = DeckLinkPixelFormat.DECKLINK_UYVY;
|
|
6672
6746
|
|
|
6673
6747
|
/**
|
|
6674
6748
|
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 8;
|
|
@@ -8783,21 +8857,6 @@ export class ComposePart extends Message<ComposePart> {
|
|
|
8783
8857
|
*/
|
|
8784
8858
|
transition?: Transition;
|
|
8785
8859
|
|
|
8786
|
-
/**
|
|
8787
|
-
* * Optionally supply a reference resolution. This allows description of the
|
|
8788
|
-
* composition in a desired coordinate system, e.g. a resolution of 100x100
|
|
8789
|
-
* can be specified to allow the source and destination areas to be described
|
|
8790
|
-
* in percentage terms, or a notional resolution can be used that is
|
|
8791
|
-
* independant of the source resolutions that may be provided.
|
|
8792
|
-
*
|
|
8793
|
-
* If unset, this will be overriden by a global reference resolution if
|
|
8794
|
-
* present
|
|
8795
|
-
*
|
|
8796
|
-
*
|
|
8797
|
-
* @generated from field: norsk.api.media.Resolution reference_resolution = 8;
|
|
8798
|
-
*/
|
|
8799
|
-
referenceResolution?: Resolution;
|
|
8800
|
-
|
|
8801
8860
|
constructor(data?: PartialMessage<ComposePart>) {
|
|
8802
8861
|
super();
|
|
8803
8862
|
proto3.util.initPartial(data, this);
|
|
@@ -8813,7 +8872,6 @@ export class ComposePart extends Message<ComposePart> {
|
|
|
8813
8872
|
{ no: 5, name: "opacity", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
8814
8873
|
{ no: 6, name: "id", kind: "message", T: PartId },
|
|
8815
8874
|
{ no: 7, name: "transition", kind: "message", T: Transition },
|
|
8816
|
-
{ no: 8, name: "reference_resolution", kind: "message", T: Resolution },
|
|
8817
8875
|
]);
|
|
8818
8876
|
|
|
8819
8877
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ComposePart {
|
|
@@ -9090,23 +9148,6 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
9090
9148
|
*/
|
|
9091
9149
|
parts: ComposePart[] = [];
|
|
9092
9150
|
|
|
9093
|
-
/**
|
|
9094
|
-
* * Optionally supply a fallback reference resolution. This allows description
|
|
9095
|
-
* of the composition in a desired coordinate system, e.g. a resolution of
|
|
9096
|
-
* 100x100 can be specified to allow the source and destination areas to be
|
|
9097
|
-
* described in percentage terms, or a notional resolution can be used that is
|
|
9098
|
-
* independant of the source resolutions that may be provided.
|
|
9099
|
-
*
|
|
9100
|
-
* if set here, this reference resolution will be applied to
|
|
9101
|
-
* any parts that do not have their own reference resolution specified
|
|
9102
|
-
*
|
|
9103
|
-
* If not provided the source and destination rectangles are in terms of the
|
|
9104
|
-
* source and output resolutions respectively.
|
|
9105
|
-
*
|
|
9106
|
-
* @generated from field: norsk.api.media.Resolution reference_resolution = 4;
|
|
9107
|
-
*/
|
|
9108
|
-
referenceResolution?: Resolution;
|
|
9109
|
-
|
|
9110
9151
|
/**
|
|
9111
9152
|
* The resolution of the output video
|
|
9112
9153
|
*
|
|
@@ -9118,9 +9159,9 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
9118
9159
|
* Output pixel format to use. If not specified, this will be chosen
|
|
9119
9160
|
* automatically based on the sources present in the initial composition
|
|
9120
9161
|
*
|
|
9121
|
-
* @generated from field: norsk.api.media.
|
|
9162
|
+
* @generated from field: norsk.api.media.PixelFormat output_pixel_format = 6;
|
|
9122
9163
|
*/
|
|
9123
|
-
outputPixelFormat =
|
|
9164
|
+
outputPixelFormat = PixelFormat.UNSPECIFIED;
|
|
9124
9165
|
|
|
9125
9166
|
/**
|
|
9126
9167
|
* Behaviour in the case of a missing stream used in an active composition
|
|
@@ -9150,9 +9191,8 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
9150
9191
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9151
9192
|
{ no: 2, name: "reference_stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9152
9193
|
{ no: 3, name: "parts", kind: "message", T: ComposePart, repeated: true },
|
|
9153
|
-
{ no: 4, name: "reference_resolution", kind: "message", T: Resolution },
|
|
9154
9194
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
9155
|
-
{ no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(
|
|
9195
|
+
{ no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(PixelFormat) },
|
|
9156
9196
|
{ no: 7, name: "missing_stream_behaviour", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_MissingStreamBehaviour) },
|
|
9157
9197
|
{ no: 8, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration) },
|
|
9158
9198
|
]);
|
|
@@ -9200,68 +9240,6 @@ proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "
|
|
|
9200
9240
|
{ no: 2, name: "COMPOSE_NVIDIA" },
|
|
9201
9241
|
]);
|
|
9202
9242
|
|
|
9203
|
-
/**
|
|
9204
|
-
* @generated from enum norsk.api.media.VideoComposeConfiguration.PixelFormat
|
|
9205
|
-
*/
|
|
9206
|
-
export enum VideoComposeConfiguration_PixelFormat {
|
|
9207
|
-
/**
|
|
9208
|
-
* @generated from enum value: UNSPECIFIED = 0;
|
|
9209
|
-
*/
|
|
9210
|
-
UNSPECIFIED = 0,
|
|
9211
|
-
|
|
9212
|
-
/**
|
|
9213
|
-
* @generated from enum value: YUV420P = 1;
|
|
9214
|
-
*/
|
|
9215
|
-
YUV420P = 1,
|
|
9216
|
-
|
|
9217
|
-
/**
|
|
9218
|
-
* @generated from enum value: YUV422P = 2;
|
|
9219
|
-
*/
|
|
9220
|
-
YUV422P = 2,
|
|
9221
|
-
|
|
9222
|
-
/**
|
|
9223
|
-
* @generated from enum value: YUV444P = 3;
|
|
9224
|
-
*/
|
|
9225
|
-
YUV444P = 3,
|
|
9226
|
-
|
|
9227
|
-
/**
|
|
9228
|
-
* @generated from enum value: YUVA420P = 4;
|
|
9229
|
-
*/
|
|
9230
|
-
YUVA420P = 4,
|
|
9231
|
-
|
|
9232
|
-
/**
|
|
9233
|
-
* @generated from enum value: YUVA422P = 5;
|
|
9234
|
-
*/
|
|
9235
|
-
YUVA422P = 5,
|
|
9236
|
-
|
|
9237
|
-
/**
|
|
9238
|
-
* @generated from enum value: YUVA444P = 6;
|
|
9239
|
-
*/
|
|
9240
|
-
YUVA444P = 6,
|
|
9241
|
-
|
|
9242
|
-
/**
|
|
9243
|
-
* @generated from enum value: RGBA = 7;
|
|
9244
|
-
*/
|
|
9245
|
-
RGBA = 7,
|
|
9246
|
-
|
|
9247
|
-
/**
|
|
9248
|
-
* @generated from enum value: BGRA = 8;
|
|
9249
|
-
*/
|
|
9250
|
-
BGRA = 8,
|
|
9251
|
-
}
|
|
9252
|
-
// Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_PixelFormat)
|
|
9253
|
-
proto3.util.setEnumType(VideoComposeConfiguration_PixelFormat, "norsk.api.media.VideoComposeConfiguration.PixelFormat", [
|
|
9254
|
-
{ no: 0, name: "UNSPECIFIED" },
|
|
9255
|
-
{ no: 1, name: "YUV420P" },
|
|
9256
|
-
{ no: 2, name: "YUV422P" },
|
|
9257
|
-
{ no: 3, name: "YUV444P" },
|
|
9258
|
-
{ no: 4, name: "YUVA420P" },
|
|
9259
|
-
{ no: 5, name: "YUVA422P" },
|
|
9260
|
-
{ no: 6, name: "YUVA444P" },
|
|
9261
|
-
{ no: 7, name: "RGBA" },
|
|
9262
|
-
{ no: 8, name: "BGRA" },
|
|
9263
|
-
]);
|
|
9264
|
-
|
|
9265
9243
|
/**
|
|
9266
9244
|
* @generated from enum norsk.api.media.VideoComposeConfiguration.MissingStreamBehaviour
|
|
9267
9245
|
*/
|
|
@@ -9369,6 +9347,12 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
|
|
|
9369
9347
|
*/
|
|
9370
9348
|
value: Context;
|
|
9371
9349
|
case: "inboundContext";
|
|
9350
|
+
} | {
|
|
9351
|
+
/**
|
|
9352
|
+
* @generated from field: norsk.api.media.MultipleContext validated_context = 6;
|
|
9353
|
+
*/
|
|
9354
|
+
value: MultipleContext;
|
|
9355
|
+
case: "validatedContext";
|
|
9372
9356
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9373
9357
|
|
|
9374
9358
|
constructor(data?: PartialMessage<VideoComposeSourceEvent>) {
|
|
@@ -9384,6 +9368,7 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
|
|
|
9384
9368
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
9385
9369
|
{ no: 4, name: "transition_complete", kind: "message", T: TransitionComplete, oneof: "message" },
|
|
9386
9370
|
{ no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9371
|
+
{ no: 6, name: "validated_context", kind: "message", T: MultipleContext, oneof: "message" },
|
|
9387
9372
|
]);
|
|
9388
9373
|
|
|
9389
9374
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeSourceEvent {
|
|
@@ -21465,6 +21450,13 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
21465
21450
|
*/
|
|
21466
21451
|
sampleRate = SampleRate.RATE_8000;
|
|
21467
21452
|
|
|
21453
|
+
/**
|
|
21454
|
+
* The sample format of the output
|
|
21455
|
+
*
|
|
21456
|
+
* @generated from field: norsk.api.media.SampleFormat sampleFormat = 11;
|
|
21457
|
+
*/
|
|
21458
|
+
sampleFormat = SampleFormat.S16;
|
|
21459
|
+
|
|
21468
21460
|
/**
|
|
21469
21461
|
* The frame rate of the output
|
|
21470
21462
|
*
|
|
@@ -21508,6 +21500,7 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
21508
21500
|
{ no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
21509
21501
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
21510
21502
|
{ no: 6, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
21503
|
+
{ no: 11, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
|
|
21511
21504
|
{ no: 7, name: "frame_rate", kind: "message", T: FrameRate },
|
|
21512
21505
|
{ no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
21513
21506
|
{ no: 9, name: "alignment", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
|
|
@@ -26550,9 +26543,9 @@ export class MediaStoreExpiry extends Message<MediaStoreExpiry> {
|
|
|
26550
26543
|
*/
|
|
26551
26544
|
message: {
|
|
26552
26545
|
/**
|
|
26553
|
-
* @generated from field:
|
|
26546
|
+
* @generated from field: uint64 by_size = 1;
|
|
26554
26547
|
*/
|
|
26555
|
-
value:
|
|
26548
|
+
value: bigint;
|
|
26556
26549
|
case: "bySize";
|
|
26557
26550
|
} | {
|
|
26558
26551
|
/**
|
|
@@ -26570,7 +26563,7 @@ export class MediaStoreExpiry extends Message<MediaStoreExpiry> {
|
|
|
26570
26563
|
static readonly runtime = proto3;
|
|
26571
26564
|
static readonly typeName = "norsk.api.media.MediaStoreExpiry";
|
|
26572
26565
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
26573
|
-
{ no: 1, name: "by_size", kind: "scalar", T:
|
|
26566
|
+
{ no: 1, name: "by_size", kind: "scalar", T: 4 /* ScalarType.UINT64 */, oneof: "message" },
|
|
26574
26567
|
{ no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
|
|
26575
26568
|
]);
|
|
26576
26569
|
|