@norskvideo/norsk-api 1.0.342 → 1.0.343
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 +29 -1
- package/lib/media_pb.js +29 -1
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +37 -0
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -583,6 +583,11 @@ export enum AudioCodec {
|
|
|
583
583
|
* @generated from enum value: MULAW = 6;
|
|
584
584
|
*/
|
|
585
585
|
MULAW = 6,
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @generated from enum value: AC3 = 7;
|
|
589
|
+
*/
|
|
590
|
+
AC3 = 7,
|
|
586
591
|
}
|
|
587
592
|
// Retrieve enum metadata with: proto3.getEnumType(AudioCodec)
|
|
588
593
|
proto3.util.setEnumType(AudioCodec, "norsk.api.media.AudioCodec", [
|
|
@@ -593,6 +598,7 @@ proto3.util.setEnumType(AudioCodec, "norsk.api.media.AudioCodec", [
|
|
|
593
598
|
{ no: 4, name: "EAC3" },
|
|
594
599
|
{ no: 5, name: "ALAW" },
|
|
595
600
|
{ no: 6, name: "MULAW" },
|
|
601
|
+
{ no: 7, name: "AC3" },
|
|
596
602
|
]);
|
|
597
603
|
|
|
598
604
|
/**
|
|
@@ -2569,6 +2575,13 @@ export class StreamMetadata_AudioMetadata extends Message<StreamMetadata_AudioMe
|
|
|
2569
2575
|
*/
|
|
2570
2576
|
channelLayout?: ChannelLayout;
|
|
2571
2577
|
|
|
2578
|
+
/**
|
|
2579
|
+
* the bitrate in bits per second
|
|
2580
|
+
*
|
|
2581
|
+
* @generated from field: int32 bitrate = 5;
|
|
2582
|
+
*/
|
|
2583
|
+
bitrate = 0;
|
|
2584
|
+
|
|
2572
2585
|
constructor(data?: PartialMessage<StreamMetadata_AudioMetadata>) {
|
|
2573
2586
|
super();
|
|
2574
2587
|
proto3.util.initPartial(data, this);
|
|
@@ -2580,6 +2593,7 @@ export class StreamMetadata_AudioMetadata extends Message<StreamMetadata_AudioMe
|
|
|
2580
2593
|
{ no: 2, name: "codec", kind: "enum", T: proto3.getEnumType(AudioCodec) },
|
|
2581
2594
|
{ no: 3, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
2582
2595
|
{ no: 4, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
2596
|
+
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2583
2597
|
]);
|
|
2584
2598
|
|
|
2585
2599
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_AudioMetadata {
|
|
@@ -2626,6 +2640,13 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
|
|
|
2626
2640
|
*/
|
|
2627
2641
|
height = 0;
|
|
2628
2642
|
|
|
2643
|
+
/**
|
|
2644
|
+
* the bitrate in bits per second
|
|
2645
|
+
*
|
|
2646
|
+
* @generated from field: int32 bitrate = 5;
|
|
2647
|
+
*/
|
|
2648
|
+
bitrate = 0;
|
|
2649
|
+
|
|
2629
2650
|
constructor(data?: PartialMessage<StreamMetadata_VideoMetadata>) {
|
|
2630
2651
|
super();
|
|
2631
2652
|
proto3.util.initPartial(data, this);
|
|
@@ -2637,6 +2658,7 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
|
|
|
2637
2658
|
{ no: 2, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2638
2659
|
{ no: 3, name: "width", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2639
2660
|
{ no: 4, name: "height", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2661
|
+
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2640
2662
|
]);
|
|
2641
2663
|
|
|
2642
2664
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_VideoMetadata {
|
|
@@ -2695,6 +2717,13 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
|
|
|
2695
2717
|
* @generated from message norsk.api.media.StreamMetadata.PlaylistMetadata
|
|
2696
2718
|
*/
|
|
2697
2719
|
export class StreamMetadata_PlaylistMetadata extends Message<StreamMetadata_PlaylistMetadata> {
|
|
2720
|
+
/**
|
|
2721
|
+
* the bitrate in bits per second
|
|
2722
|
+
*
|
|
2723
|
+
* @generated from field: int32 bitrate = 2;
|
|
2724
|
+
*/
|
|
2725
|
+
bitrate = 0;
|
|
2726
|
+
|
|
2698
2727
|
constructor(data?: PartialMessage<StreamMetadata_PlaylistMetadata>) {
|
|
2699
2728
|
super();
|
|
2700
2729
|
proto3.util.initPartial(data, this);
|
|
@@ -2703,6 +2732,7 @@ export class StreamMetadata_PlaylistMetadata extends Message<StreamMetadata_Play
|
|
|
2703
2732
|
static readonly runtime = proto3;
|
|
2704
2733
|
static readonly typeName = "norsk.api.media.StreamMetadata.PlaylistMetadata";
|
|
2705
2734
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2735
|
+
{ no: 2, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2706
2736
|
]);
|
|
2707
2737
|
|
|
2708
2738
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_PlaylistMetadata {
|
|
@@ -15909,6 +15939,12 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
|
|
|
15909
15939
|
*/
|
|
15910
15940
|
value: number;
|
|
15911
15941
|
case: "everyOther";
|
|
15942
|
+
} | {
|
|
15943
|
+
/**
|
|
15944
|
+
* @generated from field: uint32 start = 5;
|
|
15945
|
+
*/
|
|
15946
|
+
value: number;
|
|
15947
|
+
case: "start";
|
|
15912
15948
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15913
15949
|
|
|
15914
15950
|
/**
|
|
@@ -15927,6 +15963,7 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
|
|
|
15927
15963
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
15928
15964
|
{ no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
|
|
15929
15965
|
{ no: 3, name: "everyOther", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
|
|
15966
|
+
{ no: 5, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
|
|
15930
15967
|
{ no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
15931
15968
|
]);
|
|
15932
15969
|
|