@norskvideo/norsk-api 1.0.367 → 1.0.368
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 +57 -4
- package/lib/media_pb.js +86 -17
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +86 -6
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -7,6 +7,32 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
|
|
|
7
7
|
import { Empty, Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
8
8
|
import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum norsk.api.media.NodeMetricsMode
|
|
12
|
+
*/
|
|
13
|
+
export enum NodeMetricsMode {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: NODE_METRICS_ENABLE = 0;
|
|
16
|
+
*/
|
|
17
|
+
NODE_METRICS_ENABLE = 0,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: NODE_METRICS_MINIMAL = 1;
|
|
21
|
+
*/
|
|
22
|
+
NODE_METRICS_MINIMAL = 1,
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: NODE_METRICS_NONE = 2;
|
|
26
|
+
*/
|
|
27
|
+
NODE_METRICS_NONE = 2,
|
|
28
|
+
}
|
|
29
|
+
// Retrieve enum metadata with: proto3.getEnumType(NodeMetricsMode)
|
|
30
|
+
proto3.util.setEnumType(NodeMetricsMode, "norsk.api.media.NodeMetricsMode", [
|
|
31
|
+
{ no: 0, name: "NODE_METRICS_ENABLE" },
|
|
32
|
+
{ no: 1, name: "NODE_METRICS_MINIMAL" },
|
|
33
|
+
{ no: 2, name: "NODE_METRICS_NONE" },
|
|
34
|
+
]);
|
|
35
|
+
|
|
10
36
|
/**
|
|
11
37
|
* Enumeration of possible channel positions.
|
|
12
38
|
*
|
|
@@ -10546,6 +10572,16 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
|
|
|
10546
10572
|
*/
|
|
10547
10573
|
sampleRate = SampleRate.RATE_8000;
|
|
10548
10574
|
|
|
10575
|
+
/**
|
|
10576
|
+
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 9;
|
|
10577
|
+
*/
|
|
10578
|
+
metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
|
|
10579
|
+
|
|
10580
|
+
/**
|
|
10581
|
+
* @generated from field: norsk.api.media.SampleFormat sampleFormat = 10;
|
|
10582
|
+
*/
|
|
10583
|
+
sampleFormat = SampleFormat.S16;
|
|
10584
|
+
|
|
10549
10585
|
constructor(data?: PartialMessage<AudioBuildMultichannelConfiguration>) {
|
|
10550
10586
|
super();
|
|
10551
10587
|
proto3.util.initPartial(data, this);
|
|
@@ -10562,6 +10598,8 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
|
|
|
10562
10598
|
{ no: 6, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
10563
10599
|
{ no: 7, name: "channel_list", kind: "message", T: StreamKey, repeated: true },
|
|
10564
10600
|
{ no: 8, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
10601
|
+
{ no: 9, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
|
|
10602
|
+
{ no: 10, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
|
|
10565
10603
|
]);
|
|
10566
10604
|
|
|
10567
10605
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelConfiguration {
|
|
@@ -10766,6 +10804,11 @@ export class AudioSplitMultichannelConfiguration extends Message<AudioSplitMulti
|
|
|
10766
10804
|
*/
|
|
10767
10805
|
outputRenditionName?: RenditionName;
|
|
10768
10806
|
|
|
10807
|
+
/**
|
|
10808
|
+
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 6;
|
|
10809
|
+
*/
|
|
10810
|
+
metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
|
|
10811
|
+
|
|
10769
10812
|
constructor(data?: PartialMessage<AudioSplitMultichannelConfiguration>) {
|
|
10770
10813
|
super();
|
|
10771
10814
|
proto3.util.initPartial(data, this);
|
|
@@ -10779,6 +10822,7 @@ export class AudioSplitMultichannelConfiguration extends Message<AudioSplitMulti
|
|
|
10779
10822
|
{ no: 3, name: "output_source_name", kind: "message", T: SourceName },
|
|
10780
10823
|
{ no: 4, name: "output_program_number", kind: "message", T: ProgramNumber },
|
|
10781
10824
|
{ no: 5, name: "output_rendition_name", kind: "message", T: RenditionName },
|
|
10825
|
+
{ no: 6, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
|
|
10782
10826
|
]);
|
|
10783
10827
|
|
|
10784
10828
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSplitMultichannelConfiguration {
|
|
@@ -11233,6 +11277,11 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
11233
11277
|
*/
|
|
11234
11278
|
name?: OptionalString;
|
|
11235
11279
|
|
|
11280
|
+
/**
|
|
11281
|
+
* @generated from field: bool pdt_every_segment = 12;
|
|
11282
|
+
*/
|
|
11283
|
+
pdtEverySegment = false;
|
|
11284
|
+
|
|
11236
11285
|
constructor(data?: PartialMessage<CmafVideoConfiguration>) {
|
|
11237
11286
|
super();
|
|
11238
11287
|
proto3.util.initPartial(data, this);
|
|
@@ -11251,6 +11300,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
11251
11300
|
{ no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11252
11301
|
{ no: 10, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
11253
11302
|
{ no: 11, name: "name", kind: "message", T: OptionalString },
|
|
11303
|
+
{ no: 12, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11254
11304
|
]);
|
|
11255
11305
|
|
|
11256
11306
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
|
|
@@ -11382,6 +11432,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
11382
11432
|
*/
|
|
11383
11433
|
name?: OptionalString;
|
|
11384
11434
|
|
|
11435
|
+
/**
|
|
11436
|
+
* @generated from field: bool pdt_every_segment = 10;
|
|
11437
|
+
*/
|
|
11438
|
+
pdtEverySegment = false;
|
|
11439
|
+
|
|
11385
11440
|
constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
|
|
11386
11441
|
super();
|
|
11387
11442
|
proto3.util.initPartial(data, this);
|
|
@@ -11398,6 +11453,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
11398
11453
|
{ no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11399
11454
|
{ no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
11400
11455
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
11456
|
+
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11401
11457
|
]);
|
|
11402
11458
|
|
|
11403
11459
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
|
|
@@ -11539,6 +11595,11 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
|
|
|
11539
11595
|
*/
|
|
11540
11596
|
name?: OptionalString;
|
|
11541
11597
|
|
|
11598
|
+
/**
|
|
11599
|
+
* @generated from field: bool pdt_every_segment = 13;
|
|
11600
|
+
*/
|
|
11601
|
+
pdtEverySegment = false;
|
|
11602
|
+
|
|
11542
11603
|
constructor(data?: PartialMessage<CmafAudioConfiguration>) {
|
|
11543
11604
|
super();
|
|
11544
11605
|
proto3.util.initPartial(data, this);
|
|
@@ -11557,6 +11618,7 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
|
|
|
11557
11618
|
{ no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11558
11619
|
{ no: 11, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
11559
11620
|
{ no: 12, name: "name", kind: "message", T: OptionalString },
|
|
11621
|
+
{ no: 13, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11560
11622
|
]);
|
|
11561
11623
|
|
|
11562
11624
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
|
|
@@ -11688,6 +11750,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
11688
11750
|
*/
|
|
11689
11751
|
name?: OptionalString;
|
|
11690
11752
|
|
|
11753
|
+
/**
|
|
11754
|
+
* @generated from field: bool pdt_every_segment = 10;
|
|
11755
|
+
*/
|
|
11756
|
+
pdtEverySegment = false;
|
|
11757
|
+
|
|
11691
11758
|
constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
|
|
11692
11759
|
super();
|
|
11693
11760
|
proto3.util.initPartial(data, this);
|
|
@@ -11704,6 +11771,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
11704
11771
|
{ no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11705
11772
|
{ no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
11706
11773
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
11774
|
+
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11707
11775
|
]);
|
|
11708
11776
|
|
|
11709
11777
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
|
|
@@ -11811,6 +11879,11 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
11811
11879
|
*/
|
|
11812
11880
|
name?: OptionalString;
|
|
11813
11881
|
|
|
11882
|
+
/**
|
|
11883
|
+
* @generated from field: bool pdt_every_segment = 10;
|
|
11884
|
+
*/
|
|
11885
|
+
pdtEverySegment = false;
|
|
11886
|
+
|
|
11814
11887
|
constructor(data?: PartialMessage<CmafWebVttConfiguration>) {
|
|
11815
11888
|
super();
|
|
11816
11889
|
proto3.util.initPartial(data, this);
|
|
@@ -11823,6 +11896,7 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
11823
11896
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
11824
11897
|
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
11825
11898
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
11899
|
+
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11826
11900
|
]);
|
|
11827
11901
|
|
|
11828
11902
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttConfiguration {
|
|
@@ -12860,6 +12934,11 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
12860
12934
|
*/
|
|
12861
12935
|
name?: OptionalString;
|
|
12862
12936
|
|
|
12937
|
+
/**
|
|
12938
|
+
* @generated from field: bool pdt_every_segment = 10;
|
|
12939
|
+
*/
|
|
12940
|
+
pdtEverySegment = false;
|
|
12941
|
+
|
|
12863
12942
|
constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
|
|
12864
12943
|
super();
|
|
12865
12944
|
proto3.util.initPartial(data, this);
|
|
@@ -12875,6 +12954,7 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
12875
12954
|
{ no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
12876
12955
|
{ no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
12877
12956
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
12957
|
+
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
12878
12958
|
]);
|
|
12879
12959
|
|
|
12880
12960
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
|
|
@@ -26658,9 +26738,9 @@ export class MediaStoreAssetFileWithHash extends Message<MediaStoreAssetFileWith
|
|
|
26658
26738
|
hash = "";
|
|
26659
26739
|
|
|
26660
26740
|
/**
|
|
26661
|
-
* @generated from field: bool
|
|
26741
|
+
* @generated from field: bool import_if_needed = 3;
|
|
26662
26742
|
*/
|
|
26663
|
-
|
|
26743
|
+
importIfNeeded = false;
|
|
26664
26744
|
|
|
26665
26745
|
constructor(data?: PartialMessage<MediaStoreAssetFileWithHash>) {
|
|
26666
26746
|
super();
|
|
@@ -26672,7 +26752,7 @@ export class MediaStoreAssetFileWithHash extends Message<MediaStoreAssetFileWith
|
|
|
26672
26752
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
26673
26753
|
{ no: 1, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
26674
26754
|
{ no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
26675
|
-
{ no: 3, name: "
|
|
26755
|
+
{ no: 3, name: "import_if_needed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
26676
26756
|
]);
|
|
26677
26757
|
|
|
26678
26758
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFileWithHash {
|
|
@@ -26704,9 +26784,9 @@ export class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
|
|
|
26704
26784
|
file = "";
|
|
26705
26785
|
|
|
26706
26786
|
/**
|
|
26707
|
-
* @generated from field: bool
|
|
26787
|
+
* @generated from field: bool import_if_needed = 2;
|
|
26708
26788
|
*/
|
|
26709
|
-
|
|
26789
|
+
importIfNeeded = false;
|
|
26710
26790
|
|
|
26711
26791
|
constructor(data?: PartialMessage<MediaStoreAssetFile>) {
|
|
26712
26792
|
super();
|
|
@@ -26717,7 +26797,7 @@ export class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
|
|
|
26717
26797
|
static readonly typeName = "norsk.api.media.MediaStoreAssetFile";
|
|
26718
26798
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
26719
26799
|
{ no: 1, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
26720
|
-
{ no: 2, name: "
|
|
26800
|
+
{ no: 2, name: "import_if_needed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
26721
26801
|
]);
|
|
26722
26802
|
|
|
26723
26803
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFile {
|