@norskvideo/norsk-api 1.0.342 → 1.0.344
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_grpc_pb.d.ts +13 -13
- package/lib/media_grpc_pb.js +33 -35
- package/lib/media_pb.d.ts +141 -37
- package/lib/media_pb.js +148 -47
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +198 -52
- 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
|
/**
|
|
@@ -615,6 +621,32 @@ proto3.util.setEnumType(SrtMode, "norsk.api.media.SrtMode", [
|
|
|
615
621
|
{ no: 1, name: "Caller" },
|
|
616
622
|
]);
|
|
617
623
|
|
|
624
|
+
/**
|
|
625
|
+
* @generated from enum norsk.api.media.TestCardPattern
|
|
626
|
+
*/
|
|
627
|
+
export enum TestCardPattern {
|
|
628
|
+
/**
|
|
629
|
+
* @generated from enum value: Black = 0;
|
|
630
|
+
*/
|
|
631
|
+
Black = 0,
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @generated from enum value: Smpte75 = 1;
|
|
635
|
+
*/
|
|
636
|
+
Smpte75 = 1,
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @generated from enum value: Smpte100 = 2;
|
|
640
|
+
*/
|
|
641
|
+
Smpte100 = 2,
|
|
642
|
+
}
|
|
643
|
+
// Retrieve enum metadata with: proto3.getEnumType(TestCardPattern)
|
|
644
|
+
proto3.util.setEnumType(TestCardPattern, "norsk.api.media.TestCardPattern", [
|
|
645
|
+
{ no: 0, name: "Black" },
|
|
646
|
+
{ no: 1, name: "Smpte75" },
|
|
647
|
+
{ no: 2, name: "Smpte100" },
|
|
648
|
+
]);
|
|
649
|
+
|
|
618
650
|
/**
|
|
619
651
|
* ///////////////////////////////
|
|
620
652
|
* DeckLink Input
|
|
@@ -2569,6 +2601,13 @@ export class StreamMetadata_AudioMetadata extends Message<StreamMetadata_AudioMe
|
|
|
2569
2601
|
*/
|
|
2570
2602
|
channelLayout?: ChannelLayout;
|
|
2571
2603
|
|
|
2604
|
+
/**
|
|
2605
|
+
* the bitrate in bits per second
|
|
2606
|
+
*
|
|
2607
|
+
* @generated from field: int32 bitrate = 5;
|
|
2608
|
+
*/
|
|
2609
|
+
bitrate = 0;
|
|
2610
|
+
|
|
2572
2611
|
constructor(data?: PartialMessage<StreamMetadata_AudioMetadata>) {
|
|
2573
2612
|
super();
|
|
2574
2613
|
proto3.util.initPartial(data, this);
|
|
@@ -2580,6 +2619,7 @@ export class StreamMetadata_AudioMetadata extends Message<StreamMetadata_AudioMe
|
|
|
2580
2619
|
{ no: 2, name: "codec", kind: "enum", T: proto3.getEnumType(AudioCodec) },
|
|
2581
2620
|
{ no: 3, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
2582
2621
|
{ no: 4, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
2622
|
+
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2583
2623
|
]);
|
|
2584
2624
|
|
|
2585
2625
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_AudioMetadata {
|
|
@@ -2626,6 +2666,20 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
|
|
|
2626
2666
|
*/
|
|
2627
2667
|
height = 0;
|
|
2628
2668
|
|
|
2669
|
+
/**
|
|
2670
|
+
* the bitrate in bits per second
|
|
2671
|
+
*
|
|
2672
|
+
* @generated from field: int32 bitrate = 5;
|
|
2673
|
+
*/
|
|
2674
|
+
bitrate = 0;
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* The framerate of this video
|
|
2678
|
+
*
|
|
2679
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 6;
|
|
2680
|
+
*/
|
|
2681
|
+
frameRate?: FrameRate;
|
|
2682
|
+
|
|
2629
2683
|
constructor(data?: PartialMessage<StreamMetadata_VideoMetadata>) {
|
|
2630
2684
|
super();
|
|
2631
2685
|
proto3.util.initPartial(data, this);
|
|
@@ -2637,6 +2691,8 @@ export class StreamMetadata_VideoMetadata extends Message<StreamMetadata_VideoMe
|
|
|
2637
2691
|
{ no: 2, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2638
2692
|
{ no: 3, name: "width", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2639
2693
|
{ no: 4, name: "height", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2694
|
+
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2695
|
+
{ no: 6, name: "frame_rate", kind: "message", T: FrameRate },
|
|
2640
2696
|
]);
|
|
2641
2697
|
|
|
2642
2698
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_VideoMetadata {
|
|
@@ -2695,6 +2751,13 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
|
|
|
2695
2751
|
* @generated from message norsk.api.media.StreamMetadata.PlaylistMetadata
|
|
2696
2752
|
*/
|
|
2697
2753
|
export class StreamMetadata_PlaylistMetadata extends Message<StreamMetadata_PlaylistMetadata> {
|
|
2754
|
+
/**
|
|
2755
|
+
* the bitrate in bits per second
|
|
2756
|
+
*
|
|
2757
|
+
* @generated from field: int32 bitrate = 2;
|
|
2758
|
+
*/
|
|
2759
|
+
bitrate = 0;
|
|
2760
|
+
|
|
2698
2761
|
constructor(data?: PartialMessage<StreamMetadata_PlaylistMetadata>) {
|
|
2699
2762
|
super();
|
|
2700
2763
|
proto3.util.initPartial(data, this);
|
|
@@ -2703,6 +2766,7 @@ export class StreamMetadata_PlaylistMetadata extends Message<StreamMetadata_Play
|
|
|
2703
2766
|
static readonly runtime = proto3;
|
|
2704
2767
|
static readonly typeName = "norsk.api.media.StreamMetadata.PlaylistMetadata";
|
|
2705
2768
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2769
|
+
{ no: 2, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2706
2770
|
]);
|
|
2707
2771
|
|
|
2708
2772
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_PlaylistMetadata {
|
|
@@ -6038,15 +6102,30 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
|
|
|
6038
6102
|
resolution?: Resolution;
|
|
6039
6103
|
|
|
6040
6104
|
/**
|
|
6041
|
-
* @generated from field:
|
|
6105
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 2;
|
|
6106
|
+
*/
|
|
6107
|
+
frameRate?: FrameRate;
|
|
6108
|
+
|
|
6109
|
+
/**
|
|
6110
|
+
* @generated from field: string source_name = 3;
|
|
6042
6111
|
*/
|
|
6043
6112
|
sourceName = "";
|
|
6044
6113
|
|
|
6045
6114
|
/**
|
|
6046
|
-
* @generated from field: int32 number_of_frames =
|
|
6115
|
+
* @generated from field: int32 number_of_frames = 4;
|
|
6047
6116
|
*/
|
|
6048
6117
|
numberOfFrames = 0;
|
|
6049
6118
|
|
|
6119
|
+
/**
|
|
6120
|
+
* @generated from field: bool realtime = 5;
|
|
6121
|
+
*/
|
|
6122
|
+
realtime = false;
|
|
6123
|
+
|
|
6124
|
+
/**
|
|
6125
|
+
* @generated from field: norsk.api.media.TestCardPattern pattern = 6;
|
|
6126
|
+
*/
|
|
6127
|
+
pattern = TestCardPattern.Black;
|
|
6128
|
+
|
|
6050
6129
|
constructor(data?: PartialMessage<TestCardVideoConfiguration>) {
|
|
6051
6130
|
super();
|
|
6052
6131
|
proto3.util.initPartial(data, this);
|
|
@@ -6056,8 +6135,11 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
|
|
|
6056
6135
|
static readonly typeName = "norsk.api.media.TestCardVideoConfiguration";
|
|
6057
6136
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6058
6137
|
{ no: 1, name: "resolution", kind: "message", T: Resolution },
|
|
6059
|
-
{ no: 2, name: "
|
|
6060
|
-
{ no: 3, name: "
|
|
6138
|
+
{ no: 2, name: "frame_rate", kind: "message", T: FrameRate },
|
|
6139
|
+
{ no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6140
|
+
{ no: 4, name: "number_of_frames", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
6141
|
+
{ no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6142
|
+
{ no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
|
|
6061
6143
|
]);
|
|
6062
6144
|
|
|
6063
6145
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestCardVideoConfiguration {
|
|
@@ -6146,12 +6228,6 @@ export class VideoTestCardGeneratorEvent extends Message<VideoTestCardGeneratorE
|
|
|
6146
6228
|
*/
|
|
6147
6229
|
value: Context;
|
|
6148
6230
|
case: "outboundContext";
|
|
6149
|
-
} | {
|
|
6150
|
-
/**
|
|
6151
|
-
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
6152
|
-
*/
|
|
6153
|
-
value: SubscriptionResponse;
|
|
6154
|
-
case: "subscriptionResponse";
|
|
6155
6231
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
6156
6232
|
|
|
6157
6233
|
constructor(data?: PartialMessage<VideoTestCardGeneratorEvent>) {
|
|
@@ -6164,7 +6240,6 @@ export class VideoTestCardGeneratorEvent extends Message<VideoTestCardGeneratorE
|
|
|
6164
6240
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6165
6241
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
6166
6242
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
6167
|
-
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
6168
6243
|
]);
|
|
6169
6244
|
|
|
6170
6245
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTestCardGeneratorEvent {
|
|
@@ -15909,6 +15984,12 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
|
|
|
15909
15984
|
*/
|
|
15910
15985
|
value: number;
|
|
15911
15986
|
case: "everyOther";
|
|
15987
|
+
} | {
|
|
15988
|
+
/**
|
|
15989
|
+
* @generated from field: uint32 start = 5;
|
|
15990
|
+
*/
|
|
15991
|
+
value: number;
|
|
15992
|
+
case: "start";
|
|
15912
15993
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15913
15994
|
|
|
15914
15995
|
/**
|
|
@@ -15927,6 +16008,7 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
|
|
|
15927
16008
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
15928
16009
|
{ no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
|
|
15929
16010
|
{ no: 3, name: "everyOther", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
|
|
16011
|
+
{ no: 5, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
|
|
15930
16012
|
{ no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
15931
16013
|
]);
|
|
15932
16014
|
|
|
@@ -16948,54 +17030,70 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
|
|
|
16948
17030
|
}
|
|
16949
17031
|
|
|
16950
17032
|
/**
|
|
16951
|
-
* @generated from message norsk.api.media.
|
|
17033
|
+
* @generated from message norsk.api.media.StreamAlignConfiguration
|
|
16952
17034
|
*/
|
|
16953
|
-
export class
|
|
17035
|
+
export class StreamAlignConfiguration extends Message<StreamAlignConfiguration> {
|
|
16954
17036
|
/**
|
|
16955
17037
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
16956
17038
|
*/
|
|
16957
17039
|
id?: MediaNodeId;
|
|
16958
17040
|
|
|
16959
|
-
|
|
17041
|
+
/**
|
|
17042
|
+
* The normalisd sample rate of the audio output
|
|
17043
|
+
*
|
|
17044
|
+
* @generated from field: norsk.api.media.SampleRate sample_rate = 2;
|
|
17045
|
+
*/
|
|
17046
|
+
sampleRate = SampleRate.RATE_8000;
|
|
17047
|
+
|
|
17048
|
+
/**
|
|
17049
|
+
* The normalised frame rate of the video output
|
|
17050
|
+
*
|
|
17051
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 3;
|
|
17052
|
+
*/
|
|
17053
|
+
frameRate?: FrameRate;
|
|
17054
|
+
|
|
17055
|
+
constructor(data?: PartialMessage<StreamAlignConfiguration>) {
|
|
16960
17056
|
super();
|
|
16961
17057
|
proto3.util.initPartial(data, this);
|
|
16962
17058
|
}
|
|
16963
17059
|
|
|
16964
17060
|
static readonly runtime = proto3;
|
|
16965
|
-
static readonly typeName = "norsk.api.media.
|
|
17061
|
+
static readonly typeName = "norsk.api.media.StreamAlignConfiguration";
|
|
16966
17062
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
16967
17063
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
17064
|
+
{ no: 2, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
17065
|
+
{ no: 3, name: "frame_rate", kind: "message", T: FrameRate },
|
|
16968
17066
|
]);
|
|
16969
17067
|
|
|
16970
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
16971
|
-
return new
|
|
17068
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignConfiguration {
|
|
17069
|
+
return new StreamAlignConfiguration().fromBinary(bytes, options);
|
|
16972
17070
|
}
|
|
16973
17071
|
|
|
16974
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
16975
|
-
return new
|
|
17072
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
|
|
17073
|
+
return new StreamAlignConfiguration().fromJson(jsonValue, options);
|
|
16976
17074
|
}
|
|
16977
17075
|
|
|
16978
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
16979
|
-
return new
|
|
17076
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
|
|
17077
|
+
return new StreamAlignConfiguration().fromJsonString(jsonString, options);
|
|
16980
17078
|
}
|
|
16981
17079
|
|
|
16982
|
-
static equals(a:
|
|
16983
|
-
return proto3.util.equals(
|
|
17080
|
+
static equals(a: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined, b: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined): boolean {
|
|
17081
|
+
return proto3.util.equals(StreamAlignConfiguration, a, b);
|
|
16984
17082
|
}
|
|
16985
17083
|
}
|
|
16986
17084
|
|
|
16987
17085
|
/**
|
|
16988
|
-
* @generated from message norsk.api.media.
|
|
17086
|
+
* @generated from message norsk.api.media.StreamAlignMessage
|
|
16989
17087
|
*/
|
|
16990
|
-
export class
|
|
17088
|
+
export class StreamAlignMessage extends Message<StreamAlignMessage> {
|
|
16991
17089
|
/**
|
|
16992
|
-
* @generated from oneof norsk.api.media.
|
|
17090
|
+
* @generated from oneof norsk.api.media.StreamAlignMessage.message
|
|
16993
17091
|
*/
|
|
16994
17092
|
message: {
|
|
16995
17093
|
/**
|
|
16996
|
-
* @generated from field: norsk.api.media.
|
|
17094
|
+
* @generated from field: norsk.api.media.StreamAlignConfiguration initial_config = 1;
|
|
16997
17095
|
*/
|
|
16998
|
-
value:
|
|
17096
|
+
value: StreamAlignConfiguration;
|
|
16999
17097
|
case: "initialConfig";
|
|
17000
17098
|
} | {
|
|
17001
17099
|
/**
|
|
@@ -17005,41 +17103,41 @@ export class StreamProgramJoinMessage extends Message<StreamProgramJoinMessage>
|
|
|
17005
17103
|
case: "subscription";
|
|
17006
17104
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17007
17105
|
|
|
17008
|
-
constructor(data?: PartialMessage<
|
|
17106
|
+
constructor(data?: PartialMessage<StreamAlignMessage>) {
|
|
17009
17107
|
super();
|
|
17010
17108
|
proto3.util.initPartial(data, this);
|
|
17011
17109
|
}
|
|
17012
17110
|
|
|
17013
17111
|
static readonly runtime = proto3;
|
|
17014
|
-
static readonly typeName = "norsk.api.media.
|
|
17112
|
+
static readonly typeName = "norsk.api.media.StreamAlignMessage";
|
|
17015
17113
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17016
|
-
{ no: 1, name: "initial_config", kind: "message", T:
|
|
17114
|
+
{ no: 1, name: "initial_config", kind: "message", T: StreamAlignConfiguration, oneof: "message" },
|
|
17017
17115
|
{ no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
17018
17116
|
]);
|
|
17019
17117
|
|
|
17020
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17021
|
-
return new
|
|
17118
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignMessage {
|
|
17119
|
+
return new StreamAlignMessage().fromBinary(bytes, options);
|
|
17022
17120
|
}
|
|
17023
17121
|
|
|
17024
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17025
|
-
return new
|
|
17122
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignMessage {
|
|
17123
|
+
return new StreamAlignMessage().fromJson(jsonValue, options);
|
|
17026
17124
|
}
|
|
17027
17125
|
|
|
17028
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17029
|
-
return new
|
|
17126
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignMessage {
|
|
17127
|
+
return new StreamAlignMessage().fromJsonString(jsonString, options);
|
|
17030
17128
|
}
|
|
17031
17129
|
|
|
17032
|
-
static equals(a:
|
|
17033
|
-
return proto3.util.equals(
|
|
17130
|
+
static equals(a: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined, b: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined): boolean {
|
|
17131
|
+
return proto3.util.equals(StreamAlignMessage, a, b);
|
|
17034
17132
|
}
|
|
17035
17133
|
}
|
|
17036
17134
|
|
|
17037
17135
|
/**
|
|
17038
|
-
* @generated from message norsk.api.media.
|
|
17136
|
+
* @generated from message norsk.api.media.StreamAlignEvent
|
|
17039
17137
|
*/
|
|
17040
|
-
export class
|
|
17138
|
+
export class StreamAlignEvent extends Message<StreamAlignEvent> {
|
|
17041
17139
|
/**
|
|
17042
|
-
* @generated from oneof norsk.api.media.
|
|
17140
|
+
* @generated from oneof norsk.api.media.StreamAlignEvent.message
|
|
17043
17141
|
*/
|
|
17044
17142
|
message: {
|
|
17045
17143
|
/**
|
|
@@ -17067,13 +17165,13 @@ export class StreamProgramJoinEvent extends Message<StreamProgramJoinEvent> {
|
|
|
17067
17165
|
case: "inboundContext";
|
|
17068
17166
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17069
17167
|
|
|
17070
|
-
constructor(data?: PartialMessage<
|
|
17168
|
+
constructor(data?: PartialMessage<StreamAlignEvent>) {
|
|
17071
17169
|
super();
|
|
17072
17170
|
proto3.util.initPartial(data, this);
|
|
17073
17171
|
}
|
|
17074
17172
|
|
|
17075
17173
|
static readonly runtime = proto3;
|
|
17076
|
-
static readonly typeName = "norsk.api.media.
|
|
17174
|
+
static readonly typeName = "norsk.api.media.StreamAlignEvent";
|
|
17077
17175
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17078
17176
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
17079
17177
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
@@ -17081,20 +17179,20 @@ export class StreamProgramJoinEvent extends Message<StreamProgramJoinEvent> {
|
|
|
17081
17179
|
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17082
17180
|
]);
|
|
17083
17181
|
|
|
17084
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17085
|
-
return new
|
|
17182
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignEvent {
|
|
17183
|
+
return new StreamAlignEvent().fromBinary(bytes, options);
|
|
17086
17184
|
}
|
|
17087
17185
|
|
|
17088
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17089
|
-
return new
|
|
17186
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignEvent {
|
|
17187
|
+
return new StreamAlignEvent().fromJson(jsonValue, options);
|
|
17090
17188
|
}
|
|
17091
17189
|
|
|
17092
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17093
|
-
return new
|
|
17190
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignEvent {
|
|
17191
|
+
return new StreamAlignEvent().fromJsonString(jsonString, options);
|
|
17094
17192
|
}
|
|
17095
17193
|
|
|
17096
|
-
static equals(a:
|
|
17097
|
-
return proto3.util.equals(
|
|
17194
|
+
static equals(a: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined, b: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined): boolean {
|
|
17195
|
+
return proto3.util.equals(StreamAlignEvent, a, b);
|
|
17098
17196
|
}
|
|
17099
17197
|
}
|
|
17100
17198
|
|
|
@@ -17454,6 +17552,8 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17454
17552
|
transitionDurationMs = 0;
|
|
17455
17553
|
|
|
17456
17554
|
/**
|
|
17555
|
+
* Resolution of the normalised output
|
|
17556
|
+
*
|
|
17457
17557
|
* @generated from field: norsk.api.media.Resolution output_resolution = 5;
|
|
17458
17558
|
*/
|
|
17459
17559
|
outputResolution?: Resolution;
|
|
@@ -17465,6 +17565,27 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17465
17565
|
*/
|
|
17466
17566
|
sampleRate = SampleRate.RATE_8000;
|
|
17467
17567
|
|
|
17568
|
+
/**
|
|
17569
|
+
* The frame rate of the output
|
|
17570
|
+
*
|
|
17571
|
+
* @generated from field: norsk.api.media.FrameRate frame_rate = 7;
|
|
17572
|
+
*/
|
|
17573
|
+
frameRate?: FrameRate;
|
|
17574
|
+
|
|
17575
|
+
/**
|
|
17576
|
+
* The channel layout of the output
|
|
17577
|
+
*
|
|
17578
|
+
* @generated from field: norsk.api.media.ChannelLayout channel_layout = 8;
|
|
17579
|
+
*/
|
|
17580
|
+
channelLayout?: ChannelLayout;
|
|
17581
|
+
|
|
17582
|
+
/**
|
|
17583
|
+
* Align all timestamps to minimise timestamp jitter on mixed streams
|
|
17584
|
+
*
|
|
17585
|
+
* @generated from field: norsk.api.media.StreamSwitchSmoothConfiguration.Alignment alignment = 9;
|
|
17586
|
+
*/
|
|
17587
|
+
alignment = StreamSwitchSmoothConfiguration_Alignment.ALIGNED;
|
|
17588
|
+
|
|
17468
17589
|
constructor(data?: PartialMessage<StreamSwitchSmoothConfiguration>) {
|
|
17469
17590
|
super();
|
|
17470
17591
|
proto3.util.initPartial(data, this);
|
|
@@ -17479,6 +17600,9 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17479
17600
|
{ no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
17480
17601
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
17481
17602
|
{ no: 6, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
17603
|
+
{ no: 7, name: "frame_rate", kind: "message", T: FrameRate },
|
|
17604
|
+
{ no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
17605
|
+
{ no: 9, name: "alignment", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
|
|
17482
17606
|
]);
|
|
17483
17607
|
|
|
17484
17608
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothConfiguration {
|
|
@@ -17498,6 +17622,28 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17498
17622
|
}
|
|
17499
17623
|
}
|
|
17500
17624
|
|
|
17625
|
+
/**
|
|
17626
|
+
* Whether to align all the incoming timestamps
|
|
17627
|
+
*
|
|
17628
|
+
* @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.Alignment
|
|
17629
|
+
*/
|
|
17630
|
+
export enum StreamSwitchSmoothConfiguration_Alignment {
|
|
17631
|
+
/**
|
|
17632
|
+
* @generated from enum value: ALIGNED = 0;
|
|
17633
|
+
*/
|
|
17634
|
+
ALIGNED = 0,
|
|
17635
|
+
|
|
17636
|
+
/**
|
|
17637
|
+
* @generated from enum value: NO_ALIGNMENT = 1;
|
|
17638
|
+
*/
|
|
17639
|
+
NO_ALIGNMENT = 1,
|
|
17640
|
+
}
|
|
17641
|
+
// Retrieve enum metadata with: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment)
|
|
17642
|
+
proto3.util.setEnumType(StreamSwitchSmoothConfiguration_Alignment, "norsk.api.media.StreamSwitchSmoothConfiguration.Alignment", [
|
|
17643
|
+
{ no: 0, name: "ALIGNED" },
|
|
17644
|
+
{ no: 1, name: "NO_ALIGNMENT" },
|
|
17645
|
+
]);
|
|
17646
|
+
|
|
17501
17647
|
/**
|
|
17502
17648
|
* @generated from message norsk.api.media.StreamSwitchSmoothSwitch
|
|
17503
17649
|
*/
|