@norskvideo/norsk-api 1.0.341 → 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_grpc_pb.d.ts +16 -0
- package/lib/media_grpc_pb.js +39 -0
- package/lib/media_pb.d.ts +404 -5
- package/lib/media_pb.js +336 -13
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +579 -6
- package/lib/shared/common_pb.d.ts +4 -0
- package/lib/shared/common_pb.js +5 -0
- package/lib/shared/common_pb.js.map +1 -1
- package/lib/shared/common_pb.ts +6 -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 {
|
|
@@ -2963,9 +2993,9 @@ export class ValidationResponse extends Message<ValidationResponse> {
|
|
|
2963
2993
|
mediaNodeId?: MediaNodeId;
|
|
2964
2994
|
|
|
2965
2995
|
/**
|
|
2966
|
-
* @generated from field:
|
|
2996
|
+
* @generated from field: norsk.api.media.ValidationResponse.ContextValidationResponse result = 2;
|
|
2967
2997
|
*/
|
|
2968
|
-
result =
|
|
2998
|
+
result = ValidationResponse_ContextValidationResponse.CONTEXT_VALIDATION_DENY;
|
|
2969
2999
|
|
|
2970
3000
|
constructor(data?: PartialMessage<ValidationResponse>) {
|
|
2971
3001
|
super();
|
|
@@ -2976,7 +3006,7 @@ export class ValidationResponse extends Message<ValidationResponse> {
|
|
|
2976
3006
|
static readonly typeName = "norsk.api.media.ValidationResponse";
|
|
2977
3007
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2978
3008
|
{ no: 1, name: "media_node_id", kind: "message", T: MediaNodeId },
|
|
2979
|
-
{ no: 2, name: "result", kind: "
|
|
3009
|
+
{ no: 2, name: "result", kind: "enum", T: proto3.getEnumType(ValidationResponse_ContextValidationResponse) },
|
|
2980
3010
|
]);
|
|
2981
3011
|
|
|
2982
3012
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidationResponse {
|
|
@@ -2996,6 +3026,32 @@ export class ValidationResponse extends Message<ValidationResponse> {
|
|
|
2996
3026
|
}
|
|
2997
3027
|
}
|
|
2998
3028
|
|
|
3029
|
+
/**
|
|
3030
|
+
* @generated from enum norsk.api.media.ValidationResponse.ContextValidationResponse
|
|
3031
|
+
*/
|
|
3032
|
+
export enum ValidationResponse_ContextValidationResponse {
|
|
3033
|
+
/**
|
|
3034
|
+
* @generated from enum value: CONTEXT_VALIDATION_DENY = 0;
|
|
3035
|
+
*/
|
|
3036
|
+
CONTEXT_VALIDATION_DENY = 0,
|
|
3037
|
+
|
|
3038
|
+
/**
|
|
3039
|
+
* @generated from enum value: CONTEXT_VALIDATION_ALLOW = 1;
|
|
3040
|
+
*/
|
|
3041
|
+
CONTEXT_VALIDATION_ALLOW = 1,
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* @generated from enum value: CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2;
|
|
3045
|
+
*/
|
|
3046
|
+
CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2,
|
|
3047
|
+
}
|
|
3048
|
+
// Retrieve enum metadata with: proto3.getEnumType(ValidationResponse_ContextValidationResponse)
|
|
3049
|
+
proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api.media.ValidationResponse.ContextValidationResponse", [
|
|
3050
|
+
{ no: 0, name: "CONTEXT_VALIDATION_DENY" },
|
|
3051
|
+
{ no: 1, name: "CONTEXT_VALIDATION_ALLOW" },
|
|
3052
|
+
{ no: 2, name: "CONTEXT_VALIDATION_ALLOW_AND_TERMINATE" },
|
|
3053
|
+
]);
|
|
3054
|
+
|
|
2999
3055
|
/**
|
|
3000
3056
|
* @generated from message norsk.api.media.ValidationResponseAck
|
|
3001
3057
|
*/
|
|
@@ -6891,6 +6947,12 @@ export class FileMp4InputEvent extends Message<FileMp4InputEvent> {
|
|
|
6891
6947
|
*/
|
|
6892
6948
|
value: MultiStreamStatistics;
|
|
6893
6949
|
case: "streamStatistics";
|
|
6950
|
+
} | {
|
|
6951
|
+
/**
|
|
6952
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 6;
|
|
6953
|
+
*/
|
|
6954
|
+
value: GopStructure;
|
|
6955
|
+
case: "gopStructure";
|
|
6894
6956
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
6895
6957
|
|
|
6896
6958
|
constructor(data?: PartialMessage<FileMp4InputEvent>) {
|
|
@@ -6906,6 +6968,7 @@ export class FileMp4InputEvent extends Message<FileMp4InputEvent> {
|
|
|
6906
6968
|
{ no: 3, name: "status", kind: "message", T: FileMp4InputStatus, oneof: "message" },
|
|
6907
6969
|
{ no: 4, name: "info", kind: "message", T: FileMp4InputInfo, oneof: "message" },
|
|
6908
6970
|
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
6971
|
+
{ no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
6909
6972
|
]);
|
|
6910
6973
|
|
|
6911
6974
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputEvent {
|
|
@@ -8576,6 +8639,12 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
|
|
|
8576
8639
|
*/
|
|
8577
8640
|
value: TransitionComplete;
|
|
8578
8641
|
case: "transitionComplete";
|
|
8642
|
+
} | {
|
|
8643
|
+
/**
|
|
8644
|
+
* @generated from field: norsk.api.media.Context inbound_context = 5;
|
|
8645
|
+
*/
|
|
8646
|
+
value: Context;
|
|
8647
|
+
case: "inboundContext";
|
|
8579
8648
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
8580
8649
|
|
|
8581
8650
|
constructor(data?: PartialMessage<VideoComposeSourceEvent>) {
|
|
@@ -8590,6 +8659,7 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
|
|
|
8590
8659
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8591
8660
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
8592
8661
|
{ no: 4, name: "transition_complete", kind: "message", T: TransitionComplete, oneof: "message" },
|
|
8662
|
+
{ no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8593
8663
|
]);
|
|
8594
8664
|
|
|
8595
8665
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeSourceEvent {
|
|
@@ -8787,6 +8857,13 @@ export class AudioMixConfiguration extends Message<AudioMixConfiguration> {
|
|
|
8787
8857
|
*/
|
|
8788
8858
|
sampleRate = SampleRate.RATE_8000;
|
|
8789
8859
|
|
|
8860
|
+
/**
|
|
8861
|
+
* The channel layout that the mixer runs with
|
|
8862
|
+
*
|
|
8863
|
+
* @generated from field: norsk.api.media.ChannelLayout channel_layout = 5;
|
|
8864
|
+
*/
|
|
8865
|
+
channelLayout?: ChannelLayout;
|
|
8866
|
+
|
|
8790
8867
|
constructor(data?: PartialMessage<AudioMixConfiguration>) {
|
|
8791
8868
|
super();
|
|
8792
8869
|
proto3.util.initPartial(data, this);
|
|
@@ -8799,6 +8876,7 @@ export class AudioMixConfiguration extends Message<AudioMixConfiguration> {
|
|
|
8799
8876
|
{ no: 2, name: "sources", kind: "message", T: AudioMixSource, repeated: true },
|
|
8800
8877
|
{ no: 3, name: "output_source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8801
8878
|
{ no: 4, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
8879
|
+
{ no: 5, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
8802
8880
|
]);
|
|
8803
8881
|
|
|
8804
8882
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixConfiguration {
|
|
@@ -8882,6 +8960,12 @@ export class AudioMixEvent extends Message<AudioMixEvent> {
|
|
|
8882
8960
|
*/
|
|
8883
8961
|
value: SubscriptionResponse;
|
|
8884
8962
|
case: "subscriptionResponse";
|
|
8963
|
+
} | {
|
|
8964
|
+
/**
|
|
8965
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
8966
|
+
*/
|
|
8967
|
+
value: Context;
|
|
8968
|
+
case: "inboundContext";
|
|
8885
8969
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
8886
8970
|
|
|
8887
8971
|
constructor(data?: PartialMessage<AudioMixEvent>) {
|
|
@@ -8895,6 +8979,7 @@ export class AudioMixEvent extends Message<AudioMixEvent> {
|
|
|
8895
8979
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
8896
8980
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8897
8981
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
8982
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8898
8983
|
]);
|
|
8899
8984
|
|
|
8900
8985
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixEvent {
|
|
@@ -9153,6 +9238,12 @@ export class AudioMixMatrixEvent extends Message<AudioMixMatrixEvent> {
|
|
|
9153
9238
|
*/
|
|
9154
9239
|
value: SubscriptionResponse;
|
|
9155
9240
|
case: "subscriptionResponse";
|
|
9241
|
+
} | {
|
|
9242
|
+
/**
|
|
9243
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
9244
|
+
*/
|
|
9245
|
+
value: Context;
|
|
9246
|
+
case: "inboundContext";
|
|
9156
9247
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9157
9248
|
|
|
9158
9249
|
constructor(data?: PartialMessage<AudioMixMatrixEvent>) {
|
|
@@ -9166,6 +9257,7 @@ export class AudioMixMatrixEvent extends Message<AudioMixMatrixEvent> {
|
|
|
9166
9257
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
9167
9258
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9168
9259
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
9260
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9169
9261
|
]);
|
|
9170
9262
|
|
|
9171
9263
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixMatrixEvent {
|
|
@@ -9356,6 +9448,12 @@ export class AudioGainEvent extends Message<AudioGainEvent> {
|
|
|
9356
9448
|
*/
|
|
9357
9449
|
value: SubscriptionResponse;
|
|
9358
9450
|
case: "subscriptionResponse";
|
|
9451
|
+
} | {
|
|
9452
|
+
/**
|
|
9453
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
9454
|
+
*/
|
|
9455
|
+
value: Context;
|
|
9456
|
+
case: "inboundContext";
|
|
9359
9457
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9360
9458
|
|
|
9361
9459
|
constructor(data?: PartialMessage<AudioGainEvent>) {
|
|
@@ -9369,6 +9467,7 @@ export class AudioGainEvent extends Message<AudioGainEvent> {
|
|
|
9369
9467
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
9370
9468
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9371
9469
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
9470
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9372
9471
|
]);
|
|
9373
9472
|
|
|
9374
9473
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioGainEvent {
|
|
@@ -9442,6 +9541,12 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
|
|
|
9442
9541
|
*/
|
|
9443
9542
|
value: AudioBuildMultichannelConfiguration;
|
|
9444
9543
|
case: "initialConfig";
|
|
9544
|
+
} | {
|
|
9545
|
+
/**
|
|
9546
|
+
* @generated from field: norsk.api.media.AudioBuildMultichannelUpdateChannels update_channels = 3;
|
|
9547
|
+
*/
|
|
9548
|
+
value: AudioBuildMultichannelUpdateChannels;
|
|
9549
|
+
case: "updateChannels";
|
|
9445
9550
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9446
9551
|
|
|
9447
9552
|
constructor(data?: PartialMessage<AudioBuildMultichannelMessage>) {
|
|
@@ -9454,6 +9559,7 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
|
|
|
9454
9559
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9455
9560
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9456
9561
|
{ no: 2, name: "initial_config", kind: "message", T: AudioBuildMultichannelConfiguration, oneof: "message" },
|
|
9562
|
+
{ no: 3, name: "update_channels", kind: "message", T: AudioBuildMultichannelUpdateChannels, oneof: "message" },
|
|
9457
9563
|
]);
|
|
9458
9564
|
|
|
9459
9565
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelMessage {
|
|
@@ -9473,6 +9579,51 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
|
|
|
9473
9579
|
}
|
|
9474
9580
|
}
|
|
9475
9581
|
|
|
9582
|
+
/**
|
|
9583
|
+
* *
|
|
9584
|
+
* Update an AudioBuildMultichannelMedia Node.
|
|
9585
|
+
*
|
|
9586
|
+
* @generated from message norsk.api.media.AudioBuildMultichannelUpdateChannels
|
|
9587
|
+
*/
|
|
9588
|
+
export class AudioBuildMultichannelUpdateChannels extends Message<AudioBuildMultichannelUpdateChannels> {
|
|
9589
|
+
/**
|
|
9590
|
+
* *
|
|
9591
|
+
* Stream keys specifying the source for each channel, where the order is
|
|
9592
|
+
* significant. The streams must all have the same sample format and sample
|
|
9593
|
+
* rate.
|
|
9594
|
+
*
|
|
9595
|
+
* @generated from field: repeated norsk.api.media.StreamKey channel_list = 1;
|
|
9596
|
+
*/
|
|
9597
|
+
channelList: StreamKey[] = [];
|
|
9598
|
+
|
|
9599
|
+
constructor(data?: PartialMessage<AudioBuildMultichannelUpdateChannels>) {
|
|
9600
|
+
super();
|
|
9601
|
+
proto3.util.initPartial(data, this);
|
|
9602
|
+
}
|
|
9603
|
+
|
|
9604
|
+
static readonly runtime = proto3;
|
|
9605
|
+
static readonly typeName = "norsk.api.media.AudioBuildMultichannelUpdateChannels";
|
|
9606
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9607
|
+
{ no: 1, name: "channel_list", kind: "message", T: StreamKey, repeated: true },
|
|
9608
|
+
]);
|
|
9609
|
+
|
|
9610
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelUpdateChannels {
|
|
9611
|
+
return new AudioBuildMultichannelUpdateChannels().fromBinary(bytes, options);
|
|
9612
|
+
}
|
|
9613
|
+
|
|
9614
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioBuildMultichannelUpdateChannels {
|
|
9615
|
+
return new AudioBuildMultichannelUpdateChannels().fromJson(jsonValue, options);
|
|
9616
|
+
}
|
|
9617
|
+
|
|
9618
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioBuildMultichannelUpdateChannels {
|
|
9619
|
+
return new AudioBuildMultichannelUpdateChannels().fromJsonString(jsonString, options);
|
|
9620
|
+
}
|
|
9621
|
+
|
|
9622
|
+
static equals(a: AudioBuildMultichannelUpdateChannels | PlainMessage<AudioBuildMultichannelUpdateChannels> | undefined, b: AudioBuildMultichannelUpdateChannels | PlainMessage<AudioBuildMultichannelUpdateChannels> | undefined): boolean {
|
|
9623
|
+
return proto3.util.equals(AudioBuildMultichannelUpdateChannels, a, b);
|
|
9624
|
+
}
|
|
9625
|
+
}
|
|
9626
|
+
|
|
9476
9627
|
/**
|
|
9477
9628
|
* *
|
|
9478
9629
|
* Configure an AudioBuildMultichannelMedia Node.
|
|
@@ -9581,6 +9732,12 @@ export class AudioBuildMultichannelEvent extends Message<AudioBuildMultichannelE
|
|
|
9581
9732
|
*/
|
|
9582
9733
|
value: SubscriptionResponse;
|
|
9583
9734
|
case: "subscriptionResponse";
|
|
9735
|
+
} | {
|
|
9736
|
+
/**
|
|
9737
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
9738
|
+
*/
|
|
9739
|
+
value: Context;
|
|
9740
|
+
case: "inboundContext";
|
|
9584
9741
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9585
9742
|
|
|
9586
9743
|
constructor(data?: PartialMessage<AudioBuildMultichannelEvent>) {
|
|
@@ -9594,6 +9751,7 @@ export class AudioBuildMultichannelEvent extends Message<AudioBuildMultichannelE
|
|
|
9594
9751
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
9595
9752
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9596
9753
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
9754
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9597
9755
|
]);
|
|
9598
9756
|
|
|
9599
9757
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelEvent {
|
|
@@ -9791,6 +9949,12 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
|
|
|
9791
9949
|
*/
|
|
9792
9950
|
value: SubscriptionResponse;
|
|
9793
9951
|
case: "subscriptionResponse";
|
|
9952
|
+
} | {
|
|
9953
|
+
/**
|
|
9954
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
9955
|
+
*/
|
|
9956
|
+
value: Context;
|
|
9957
|
+
case: "inboundContext";
|
|
9794
9958
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9795
9959
|
|
|
9796
9960
|
constructor(data?: PartialMessage<AudioSplitMultichannelEvent>) {
|
|
@@ -9804,6 +9968,7 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
|
|
|
9804
9968
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
9805
9969
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9806
9970
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
9971
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
9807
9972
|
]);
|
|
9808
9973
|
|
|
9809
9974
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSplitMultichannelEvent {
|
|
@@ -10149,6 +10314,11 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
10149
10314
|
*/
|
|
10150
10315
|
mpdAdditions = "";
|
|
10151
10316
|
|
|
10317
|
+
/**
|
|
10318
|
+
* @generated from field: int32 bitrate = 10;
|
|
10319
|
+
*/
|
|
10320
|
+
bitrate = 0;
|
|
10321
|
+
|
|
10152
10322
|
constructor(data?: PartialMessage<CmafVideoConfiguration>) {
|
|
10153
10323
|
super();
|
|
10154
10324
|
proto3.util.initPartial(data, this);
|
|
@@ -10166,6 +10336,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
10166
10336
|
{ no: 7, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
10167
10337
|
{ no: 8, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10168
10338
|
{ no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10339
|
+
{ no: 10, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
10169
10340
|
]);
|
|
10170
10341
|
|
|
10171
10342
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
|
|
@@ -10285,6 +10456,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
10285
10456
|
*/
|
|
10286
10457
|
mpdAdditions = "";
|
|
10287
10458
|
|
|
10459
|
+
/**
|
|
10460
|
+
* @generated from field: int32 bitrate = 8;
|
|
10461
|
+
*/
|
|
10462
|
+
bitrate = 0;
|
|
10463
|
+
|
|
10288
10464
|
constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
|
|
10289
10465
|
super();
|
|
10290
10466
|
proto3.util.initPartial(data, this);
|
|
@@ -10300,6 +10476,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
10300
10476
|
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
10301
10477
|
{ no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10302
10478
|
{ no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10479
|
+
{ no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
10303
10480
|
]);
|
|
10304
10481
|
|
|
10305
10482
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
|
|
@@ -10429,6 +10606,11 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
|
|
|
10429
10606
|
*/
|
|
10430
10607
|
mpdAdditions = "";
|
|
10431
10608
|
|
|
10609
|
+
/**
|
|
10610
|
+
* @generated from field: int32 bitrate = 11;
|
|
10611
|
+
*/
|
|
10612
|
+
bitrate = 0;
|
|
10613
|
+
|
|
10432
10614
|
constructor(data?: PartialMessage<CmafAudioConfiguration>) {
|
|
10433
10615
|
super();
|
|
10434
10616
|
proto3.util.initPartial(data, this);
|
|
@@ -10446,6 +10628,7 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
|
|
|
10446
10628
|
{ no: 8, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
10447
10629
|
{ no: 9, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10448
10630
|
{ no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10631
|
+
{ no: 11, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
10449
10632
|
]);
|
|
10450
10633
|
|
|
10451
10634
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
|
|
@@ -10565,6 +10748,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
10565
10748
|
*/
|
|
10566
10749
|
mpdAdditions = "";
|
|
10567
10750
|
|
|
10751
|
+
/**
|
|
10752
|
+
* @generated from field: int32 bitrate = 8;
|
|
10753
|
+
*/
|
|
10754
|
+
bitrate = 0;
|
|
10755
|
+
|
|
10568
10756
|
constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
|
|
10569
10757
|
super();
|
|
10570
10758
|
proto3.util.initPartial(data, this);
|
|
@@ -10580,6 +10768,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
10580
10768
|
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
10581
10769
|
{ no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10582
10770
|
{ no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10771
|
+
{ no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
10583
10772
|
]);
|
|
10584
10773
|
|
|
10585
10774
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
|
|
@@ -12389,6 +12578,12 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
|
|
|
12389
12578
|
*/
|
|
12390
12579
|
value: MultiStreamStatistics;
|
|
12391
12580
|
case: "streamStatistics";
|
|
12581
|
+
} | {
|
|
12582
|
+
/**
|
|
12583
|
+
* @generated from field: norsk.api.media.RtmpOutputEvent.State status = 5;
|
|
12584
|
+
*/
|
|
12585
|
+
value: RtmpOutputEvent_State;
|
|
12586
|
+
case: "status";
|
|
12392
12587
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
12393
12588
|
|
|
12394
12589
|
constructor(data?: PartialMessage<RtmpOutputEvent>) {
|
|
@@ -12403,6 +12598,7 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
|
|
|
12403
12598
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
12404
12599
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
12405
12600
|
{ no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
12601
|
+
{ no: 5, name: "status", kind: "enum", T: proto3.getEnumType(RtmpOutputEvent_State), oneof: "message" },
|
|
12406
12602
|
]);
|
|
12407
12603
|
|
|
12408
12604
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputEvent {
|
|
@@ -12422,6 +12618,26 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
|
|
|
12422
12618
|
}
|
|
12423
12619
|
}
|
|
12424
12620
|
|
|
12621
|
+
/**
|
|
12622
|
+
* @generated from enum norsk.api.media.RtmpOutputEvent.State
|
|
12623
|
+
*/
|
|
12624
|
+
export enum RtmpOutputEvent_State {
|
|
12625
|
+
/**
|
|
12626
|
+
* @generated from enum value: RTMP_OUTPUT_STATUS_UNKNOWN = 0;
|
|
12627
|
+
*/
|
|
12628
|
+
RTMP_OUTPUT_STATUS_UNKNOWN = 0,
|
|
12629
|
+
|
|
12630
|
+
/**
|
|
12631
|
+
* @generated from enum value: RTMP_OUTPUT_STATUS_PUBLISH_START = 1;
|
|
12632
|
+
*/
|
|
12633
|
+
RTMP_OUTPUT_STATUS_PUBLISH_START = 1,
|
|
12634
|
+
}
|
|
12635
|
+
// Retrieve enum metadata with: proto3.getEnumType(RtmpOutputEvent_State)
|
|
12636
|
+
proto3.util.setEnumType(RtmpOutputEvent_State, "norsk.api.media.RtmpOutputEvent.State", [
|
|
12637
|
+
{ no: 0, name: "RTMP_OUTPUT_STATUS_UNKNOWN" },
|
|
12638
|
+
{ no: 1, name: "RTMP_OUTPUT_STATUS_PUBLISH_START" },
|
|
12639
|
+
]);
|
|
12640
|
+
|
|
12425
12641
|
/**
|
|
12426
12642
|
* @generated from message norsk.api.media.FileTsOutputConfiguration
|
|
12427
12643
|
*/
|
|
@@ -12746,6 +12962,63 @@ export class FileMp4OutputMessage extends Message<FileMp4OutputMessage> {
|
|
|
12746
12962
|
}
|
|
12747
12963
|
}
|
|
12748
12964
|
|
|
12965
|
+
/**
|
|
12966
|
+
* @generated from message norsk.api.media.FileMp4OutputStatus
|
|
12967
|
+
*/
|
|
12968
|
+
export class FileMp4OutputStatus extends Message<FileMp4OutputStatus> {
|
|
12969
|
+
/**
|
|
12970
|
+
* @generated from field: norsk.api.media.FileMp4OutputStatus.State state = 1;
|
|
12971
|
+
*/
|
|
12972
|
+
state = FileMp4OutputStatus_State.OUTPUT_STATUS_UNKNOWN;
|
|
12973
|
+
|
|
12974
|
+
constructor(data?: PartialMessage<FileMp4OutputStatus>) {
|
|
12975
|
+
super();
|
|
12976
|
+
proto3.util.initPartial(data, this);
|
|
12977
|
+
}
|
|
12978
|
+
|
|
12979
|
+
static readonly runtime = proto3;
|
|
12980
|
+
static readonly typeName = "norsk.api.media.FileMp4OutputStatus";
|
|
12981
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
12982
|
+
{ no: 1, name: "state", kind: "enum", T: proto3.getEnumType(FileMp4OutputStatus_State) },
|
|
12983
|
+
]);
|
|
12984
|
+
|
|
12985
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputStatus {
|
|
12986
|
+
return new FileMp4OutputStatus().fromBinary(bytes, options);
|
|
12987
|
+
}
|
|
12988
|
+
|
|
12989
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4OutputStatus {
|
|
12990
|
+
return new FileMp4OutputStatus().fromJson(jsonValue, options);
|
|
12991
|
+
}
|
|
12992
|
+
|
|
12993
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4OutputStatus {
|
|
12994
|
+
return new FileMp4OutputStatus().fromJsonString(jsonString, options);
|
|
12995
|
+
}
|
|
12996
|
+
|
|
12997
|
+
static equals(a: FileMp4OutputStatus | PlainMessage<FileMp4OutputStatus> | undefined, b: FileMp4OutputStatus | PlainMessage<FileMp4OutputStatus> | undefined): boolean {
|
|
12998
|
+
return proto3.util.equals(FileMp4OutputStatus, a, b);
|
|
12999
|
+
}
|
|
13000
|
+
}
|
|
13001
|
+
|
|
13002
|
+
/**
|
|
13003
|
+
* @generated from enum norsk.api.media.FileMp4OutputStatus.State
|
|
13004
|
+
*/
|
|
13005
|
+
export enum FileMp4OutputStatus_State {
|
|
13006
|
+
/**
|
|
13007
|
+
* @generated from enum value: OUTPUT_STATUS_UNKNOWN = 0;
|
|
13008
|
+
*/
|
|
13009
|
+
OUTPUT_STATUS_UNKNOWN = 0,
|
|
13010
|
+
|
|
13011
|
+
/**
|
|
13012
|
+
* @generated from enum value: OUTPUT_STATUS_EOF = 1;
|
|
13013
|
+
*/
|
|
13014
|
+
OUTPUT_STATUS_EOF = 1,
|
|
13015
|
+
}
|
|
13016
|
+
// Retrieve enum metadata with: proto3.getEnumType(FileMp4OutputStatus_State)
|
|
13017
|
+
proto3.util.setEnumType(FileMp4OutputStatus_State, "norsk.api.media.FileMp4OutputStatus.State", [
|
|
13018
|
+
{ no: 0, name: "OUTPUT_STATUS_UNKNOWN" },
|
|
13019
|
+
{ no: 1, name: "OUTPUT_STATUS_EOF" },
|
|
13020
|
+
]);
|
|
13021
|
+
|
|
12749
13022
|
/**
|
|
12750
13023
|
* @generated from message norsk.api.media.FileMp4OutputEvent
|
|
12751
13024
|
*/
|
|
@@ -12777,6 +13050,12 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
|
|
|
12777
13050
|
*/
|
|
12778
13051
|
value: MultiStreamStatistics;
|
|
12779
13052
|
case: "streamStatistics";
|
|
13053
|
+
} | {
|
|
13054
|
+
/**
|
|
13055
|
+
* @generated from field: norsk.api.media.FileMp4OutputStatus status = 5;
|
|
13056
|
+
*/
|
|
13057
|
+
value: FileMp4OutputStatus;
|
|
13058
|
+
case: "status";
|
|
12780
13059
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
12781
13060
|
|
|
12782
13061
|
constructor(data?: PartialMessage<FileMp4OutputEvent>) {
|
|
@@ -12791,6 +13070,7 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
|
|
|
12791
13070
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
12792
13071
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
12793
13072
|
{ no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
13073
|
+
{ no: 5, name: "status", kind: "message", T: FileMp4OutputStatus, oneof: "message" },
|
|
12794
13074
|
]);
|
|
12795
13075
|
|
|
12796
13076
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputEvent {
|
|
@@ -13622,6 +13902,11 @@ export class X265Codec extends Message<X265Codec> {
|
|
|
13622
13902
|
*/
|
|
13623
13903
|
noDeblock?: OptionalBool;
|
|
13624
13904
|
|
|
13905
|
+
/**
|
|
13906
|
+
* @generated from field: norsk.api.media.X265Codec.X265Tier tier = 18;
|
|
13907
|
+
*/
|
|
13908
|
+
tier = X265Codec_X265Tier.MAIN;
|
|
13909
|
+
|
|
13625
13910
|
constructor(data?: PartialMessage<X265Codec>) {
|
|
13626
13911
|
super();
|
|
13627
13912
|
proto3.util.initPartial(data, this);
|
|
@@ -13647,6 +13932,7 @@ export class X265Codec extends Message<X265Codec> {
|
|
|
13647
13932
|
{ no: 13, name: "scene_cut", kind: "message", T: OptionalInt },
|
|
13648
13933
|
{ no: 14, name: "aud", kind: "message", T: OptionalBool },
|
|
13649
13934
|
{ no: 15, name: "no_deblock", kind: "message", T: OptionalBool },
|
|
13935
|
+
{ no: 18, name: "tier", kind: "enum", T: proto3.getEnumType(X265Codec_X265Tier) },
|
|
13650
13936
|
]);
|
|
13651
13937
|
|
|
13652
13938
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): X265Codec {
|
|
@@ -13828,6 +14114,26 @@ proto3.util.setEnumType(X265Codec_X265Tune, "norsk.api.media.X265Codec.X265Tune"
|
|
|
13828
14114
|
{ no: 6, name: "X265_TUNE_ANIMATION" },
|
|
13829
14115
|
]);
|
|
13830
14116
|
|
|
14117
|
+
/**
|
|
14118
|
+
* @generated from enum norsk.api.media.X265Codec.X265Tier
|
|
14119
|
+
*/
|
|
14120
|
+
export enum X265Codec_X265Tier {
|
|
14121
|
+
/**
|
|
14122
|
+
* @generated from enum value: X265_TIER_MAIN = 0;
|
|
14123
|
+
*/
|
|
14124
|
+
MAIN = 0,
|
|
14125
|
+
|
|
14126
|
+
/**
|
|
14127
|
+
* @generated from enum value: X265_TIER_HIGH = 1;
|
|
14128
|
+
*/
|
|
14129
|
+
HIGH = 1,
|
|
14130
|
+
}
|
|
14131
|
+
// Retrieve enum metadata with: proto3.getEnumType(X265Codec_X265Tier)
|
|
14132
|
+
proto3.util.setEnumType(X265Codec_X265Tier, "norsk.api.media.X265Codec.X265Tier", [
|
|
14133
|
+
{ no: 0, name: "X265_TIER_MAIN" },
|
|
14134
|
+
{ no: 1, name: "X265_TIER_HIGH" },
|
|
14135
|
+
]);
|
|
14136
|
+
|
|
13831
14137
|
/**
|
|
13832
14138
|
* @generated from message norsk.api.media.VideoEncodeStream
|
|
13833
14139
|
*/
|
|
@@ -14076,6 +14382,12 @@ export class VideoEncodeEvent extends Message<VideoEncodeEvent> {
|
|
|
14076
14382
|
*/
|
|
14077
14383
|
value: SubscriptionResponse;
|
|
14078
14384
|
case: "subscriptionResponse";
|
|
14385
|
+
} | {
|
|
14386
|
+
/**
|
|
14387
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
14388
|
+
*/
|
|
14389
|
+
value: Context;
|
|
14390
|
+
case: "inboundContext";
|
|
14079
14391
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
14080
14392
|
|
|
14081
14393
|
constructor(data?: PartialMessage<VideoEncodeEvent>) {
|
|
@@ -14089,6 +14401,7 @@ export class VideoEncodeEvent extends Message<VideoEncodeEvent> {
|
|
|
14089
14401
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
14090
14402
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
14091
14403
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
14404
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
14092
14405
|
]);
|
|
14093
14406
|
|
|
14094
14407
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeEvent {
|
|
@@ -15563,6 +15876,12 @@ export class VideoTransformEvent extends Message<VideoTransformEvent> {
|
|
|
15563
15876
|
*/
|
|
15564
15877
|
value: SubscriptionResponse;
|
|
15565
15878
|
case: "subscriptionResponse";
|
|
15879
|
+
} | {
|
|
15880
|
+
/**
|
|
15881
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
15882
|
+
*/
|
|
15883
|
+
value: Context;
|
|
15884
|
+
case: "inboundContext";
|
|
15566
15885
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15567
15886
|
|
|
15568
15887
|
constructor(data?: PartialMessage<VideoTransformEvent>) {
|
|
@@ -15576,6 +15895,7 @@ export class VideoTransformEvent extends Message<VideoTransformEvent> {
|
|
|
15576
15895
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
15577
15896
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15578
15897
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
15898
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15579
15899
|
]);
|
|
15580
15900
|
|
|
15581
15901
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformEvent {
|
|
@@ -15619,6 +15939,12 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
|
|
|
15619
15939
|
*/
|
|
15620
15940
|
value: number;
|
|
15621
15941
|
case: "everyOther";
|
|
15942
|
+
} | {
|
|
15943
|
+
/**
|
|
15944
|
+
* @generated from field: uint32 start = 5;
|
|
15945
|
+
*/
|
|
15946
|
+
value: number;
|
|
15947
|
+
case: "start";
|
|
15622
15948
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15623
15949
|
|
|
15624
15950
|
/**
|
|
@@ -15637,6 +15963,7 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
|
|
|
15637
15963
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
15638
15964
|
{ no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
|
|
15639
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" },
|
|
15640
15967
|
{ no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
15641
15968
|
]);
|
|
15642
15969
|
|
|
@@ -15732,6 +16059,12 @@ export class StreamChaosMonkeyEvent extends Message<StreamChaosMonkeyEvent> {
|
|
|
15732
16059
|
*/
|
|
15733
16060
|
value: SubscriptionResponse;
|
|
15734
16061
|
case: "subscriptionResponse";
|
|
16062
|
+
} | {
|
|
16063
|
+
/**
|
|
16064
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
16065
|
+
*/
|
|
16066
|
+
value: Context;
|
|
16067
|
+
case: "inboundContext";
|
|
15735
16068
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15736
16069
|
|
|
15737
16070
|
constructor(data?: PartialMessage<StreamChaosMonkeyEvent>) {
|
|
@@ -15745,6 +16078,7 @@ export class StreamChaosMonkeyEvent extends Message<StreamChaosMonkeyEvent> {
|
|
|
15745
16078
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
15746
16079
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15747
16080
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
16081
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15748
16082
|
]);
|
|
15749
16083
|
|
|
15750
16084
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyEvent {
|
|
@@ -15889,6 +16223,12 @@ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent
|
|
|
15889
16223
|
*/
|
|
15890
16224
|
value: SubscriptionResponse;
|
|
15891
16225
|
case: "subscriptionResponse";
|
|
16226
|
+
} | {
|
|
16227
|
+
/**
|
|
16228
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
16229
|
+
*/
|
|
16230
|
+
value: Context;
|
|
16231
|
+
case: "inboundContext";
|
|
15892
16232
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15893
16233
|
|
|
15894
16234
|
constructor(data?: PartialMessage<StreamTimestampNudgeEvent>) {
|
|
@@ -15902,6 +16242,7 @@ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent
|
|
|
15902
16242
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
15903
16243
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15904
16244
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
16245
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15905
16246
|
]);
|
|
15906
16247
|
|
|
15907
16248
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeEvent {
|
|
@@ -16039,6 +16380,12 @@ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
|
|
|
16039
16380
|
*/
|
|
16040
16381
|
value: SubscriptionResponse;
|
|
16041
16382
|
case: "subscriptionResponse";
|
|
16383
|
+
} | {
|
|
16384
|
+
/**
|
|
16385
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
16386
|
+
*/
|
|
16387
|
+
value: Context;
|
|
16388
|
+
case: "inboundContext";
|
|
16042
16389
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16043
16390
|
|
|
16044
16391
|
constructor(data?: PartialMessage<StreamKeyOverrideEvent>) {
|
|
@@ -16052,6 +16399,7 @@ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
|
|
|
16052
16399
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
16053
16400
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16054
16401
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
16402
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16055
16403
|
]);
|
|
16056
16404
|
|
|
16057
16405
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideEvent {
|
|
@@ -16289,6 +16637,12 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
|
|
|
16289
16637
|
*/
|
|
16290
16638
|
value: SubscriptionResponse;
|
|
16291
16639
|
case: "subscriptionResponse";
|
|
16640
|
+
} | {
|
|
16641
|
+
/**
|
|
16642
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
16643
|
+
*/
|
|
16644
|
+
value: Context;
|
|
16645
|
+
case: "inboundContext";
|
|
16292
16646
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16293
16647
|
|
|
16294
16648
|
constructor(data?: PartialMessage<StreamMetadataOverrideEvent>) {
|
|
@@ -16302,6 +16656,7 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
|
|
|
16302
16656
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
16303
16657
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16304
16658
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
16659
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16305
16660
|
]);
|
|
16306
16661
|
|
|
16307
16662
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideEvent {
|
|
@@ -16439,6 +16794,12 @@ export class JitterBufferEvent extends Message<JitterBufferEvent> {
|
|
|
16439
16794
|
*/
|
|
16440
16795
|
value: SubscriptionResponse;
|
|
16441
16796
|
case: "subscriptionResponse";
|
|
16797
|
+
} | {
|
|
16798
|
+
/**
|
|
16799
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
16800
|
+
*/
|
|
16801
|
+
value: Context;
|
|
16802
|
+
case: "inboundContext";
|
|
16442
16803
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16443
16804
|
|
|
16444
16805
|
constructor(data?: PartialMessage<JitterBufferEvent>) {
|
|
@@ -16452,6 +16813,7 @@ export class JitterBufferEvent extends Message<JitterBufferEvent> {
|
|
|
16452
16813
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
16453
16814
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16454
16815
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
16816
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16455
16817
|
]);
|
|
16456
16818
|
|
|
16457
16819
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferEvent {
|
|
@@ -16583,6 +16945,12 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
|
|
|
16583
16945
|
*/
|
|
16584
16946
|
value: SubscriptionResponse;
|
|
16585
16947
|
case: "subscriptionResponse";
|
|
16948
|
+
} | {
|
|
16949
|
+
/**
|
|
16950
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
16951
|
+
*/
|
|
16952
|
+
value: Context;
|
|
16953
|
+
case: "inboundContext";
|
|
16586
16954
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16587
16955
|
|
|
16588
16956
|
constructor(data?: PartialMessage<StreamSyncEvent>) {
|
|
@@ -16596,6 +16964,7 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
|
|
|
16596
16964
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
16597
16965
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16598
16966
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
16967
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16599
16968
|
]);
|
|
16600
16969
|
|
|
16601
16970
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncEvent {
|
|
@@ -16615,6 +16984,157 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
|
|
|
16615
16984
|
}
|
|
16616
16985
|
}
|
|
16617
16986
|
|
|
16987
|
+
/**
|
|
16988
|
+
* @generated from message norsk.api.media.StreamProgramJoinConfiguration
|
|
16989
|
+
*/
|
|
16990
|
+
export class StreamProgramJoinConfiguration extends Message<StreamProgramJoinConfiguration> {
|
|
16991
|
+
/**
|
|
16992
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
16993
|
+
*/
|
|
16994
|
+
id?: MediaNodeId;
|
|
16995
|
+
|
|
16996
|
+
constructor(data?: PartialMessage<StreamProgramJoinConfiguration>) {
|
|
16997
|
+
super();
|
|
16998
|
+
proto3.util.initPartial(data, this);
|
|
16999
|
+
}
|
|
17000
|
+
|
|
17001
|
+
static readonly runtime = proto3;
|
|
17002
|
+
static readonly typeName = "norsk.api.media.StreamProgramJoinConfiguration";
|
|
17003
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17004
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
17005
|
+
]);
|
|
17006
|
+
|
|
17007
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamProgramJoinConfiguration {
|
|
17008
|
+
return new StreamProgramJoinConfiguration().fromBinary(bytes, options);
|
|
17009
|
+
}
|
|
17010
|
+
|
|
17011
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamProgramJoinConfiguration {
|
|
17012
|
+
return new StreamProgramJoinConfiguration().fromJson(jsonValue, options);
|
|
17013
|
+
}
|
|
17014
|
+
|
|
17015
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamProgramJoinConfiguration {
|
|
17016
|
+
return new StreamProgramJoinConfiguration().fromJsonString(jsonString, options);
|
|
17017
|
+
}
|
|
17018
|
+
|
|
17019
|
+
static equals(a: StreamProgramJoinConfiguration | PlainMessage<StreamProgramJoinConfiguration> | undefined, b: StreamProgramJoinConfiguration | PlainMessage<StreamProgramJoinConfiguration> | undefined): boolean {
|
|
17020
|
+
return proto3.util.equals(StreamProgramJoinConfiguration, a, b);
|
|
17021
|
+
}
|
|
17022
|
+
}
|
|
17023
|
+
|
|
17024
|
+
/**
|
|
17025
|
+
* @generated from message norsk.api.media.StreamProgramJoinMessage
|
|
17026
|
+
*/
|
|
17027
|
+
export class StreamProgramJoinMessage extends Message<StreamProgramJoinMessage> {
|
|
17028
|
+
/**
|
|
17029
|
+
* @generated from oneof norsk.api.media.StreamProgramJoinMessage.message
|
|
17030
|
+
*/
|
|
17031
|
+
message: {
|
|
17032
|
+
/**
|
|
17033
|
+
* @generated from field: norsk.api.media.StreamProgramJoinConfiguration initial_config = 1;
|
|
17034
|
+
*/
|
|
17035
|
+
value: StreamProgramJoinConfiguration;
|
|
17036
|
+
case: "initialConfig";
|
|
17037
|
+
} | {
|
|
17038
|
+
/**
|
|
17039
|
+
* @generated from field: norsk.api.media.Subscription subscription = 2;
|
|
17040
|
+
*/
|
|
17041
|
+
value: Subscription;
|
|
17042
|
+
case: "subscription";
|
|
17043
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17044
|
+
|
|
17045
|
+
constructor(data?: PartialMessage<StreamProgramJoinMessage>) {
|
|
17046
|
+
super();
|
|
17047
|
+
proto3.util.initPartial(data, this);
|
|
17048
|
+
}
|
|
17049
|
+
|
|
17050
|
+
static readonly runtime = proto3;
|
|
17051
|
+
static readonly typeName = "norsk.api.media.StreamProgramJoinMessage";
|
|
17052
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17053
|
+
{ no: 1, name: "initial_config", kind: "message", T: StreamProgramJoinConfiguration, oneof: "message" },
|
|
17054
|
+
{ no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
17055
|
+
]);
|
|
17056
|
+
|
|
17057
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamProgramJoinMessage {
|
|
17058
|
+
return new StreamProgramJoinMessage().fromBinary(bytes, options);
|
|
17059
|
+
}
|
|
17060
|
+
|
|
17061
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamProgramJoinMessage {
|
|
17062
|
+
return new StreamProgramJoinMessage().fromJson(jsonValue, options);
|
|
17063
|
+
}
|
|
17064
|
+
|
|
17065
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamProgramJoinMessage {
|
|
17066
|
+
return new StreamProgramJoinMessage().fromJsonString(jsonString, options);
|
|
17067
|
+
}
|
|
17068
|
+
|
|
17069
|
+
static equals(a: StreamProgramJoinMessage | PlainMessage<StreamProgramJoinMessage> | undefined, b: StreamProgramJoinMessage | PlainMessage<StreamProgramJoinMessage> | undefined): boolean {
|
|
17070
|
+
return proto3.util.equals(StreamProgramJoinMessage, a, b);
|
|
17071
|
+
}
|
|
17072
|
+
}
|
|
17073
|
+
|
|
17074
|
+
/**
|
|
17075
|
+
* @generated from message norsk.api.media.StreamProgramJoinEvent
|
|
17076
|
+
*/
|
|
17077
|
+
export class StreamProgramJoinEvent extends Message<StreamProgramJoinEvent> {
|
|
17078
|
+
/**
|
|
17079
|
+
* @generated from oneof norsk.api.media.StreamProgramJoinEvent.message
|
|
17080
|
+
*/
|
|
17081
|
+
message: {
|
|
17082
|
+
/**
|
|
17083
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
17084
|
+
*/
|
|
17085
|
+
value: MediaNodeId;
|
|
17086
|
+
case: "nodeId";
|
|
17087
|
+
} | {
|
|
17088
|
+
/**
|
|
17089
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
17090
|
+
*/
|
|
17091
|
+
value: Context;
|
|
17092
|
+
case: "outboundContext";
|
|
17093
|
+
} | {
|
|
17094
|
+
/**
|
|
17095
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
17096
|
+
*/
|
|
17097
|
+
value: SubscriptionResponse;
|
|
17098
|
+
case: "subscriptionResponse";
|
|
17099
|
+
} | {
|
|
17100
|
+
/**
|
|
17101
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
17102
|
+
*/
|
|
17103
|
+
value: Context;
|
|
17104
|
+
case: "inboundContext";
|
|
17105
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17106
|
+
|
|
17107
|
+
constructor(data?: PartialMessage<StreamProgramJoinEvent>) {
|
|
17108
|
+
super();
|
|
17109
|
+
proto3.util.initPartial(data, this);
|
|
17110
|
+
}
|
|
17111
|
+
|
|
17112
|
+
static readonly runtime = proto3;
|
|
17113
|
+
static readonly typeName = "norsk.api.media.StreamProgramJoinEvent";
|
|
17114
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17115
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
17116
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17117
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
17118
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17119
|
+
]);
|
|
17120
|
+
|
|
17121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamProgramJoinEvent {
|
|
17122
|
+
return new StreamProgramJoinEvent().fromBinary(bytes, options);
|
|
17123
|
+
}
|
|
17124
|
+
|
|
17125
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamProgramJoinEvent {
|
|
17126
|
+
return new StreamProgramJoinEvent().fromJson(jsonValue, options);
|
|
17127
|
+
}
|
|
17128
|
+
|
|
17129
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamProgramJoinEvent {
|
|
17130
|
+
return new StreamProgramJoinEvent().fromJsonString(jsonString, options);
|
|
17131
|
+
}
|
|
17132
|
+
|
|
17133
|
+
static equals(a: StreamProgramJoinEvent | PlainMessage<StreamProgramJoinEvent> | undefined, b: StreamProgramJoinEvent | PlainMessage<StreamProgramJoinEvent> | undefined): boolean {
|
|
17134
|
+
return proto3.util.equals(StreamProgramJoinEvent, a, b);
|
|
17135
|
+
}
|
|
17136
|
+
}
|
|
17137
|
+
|
|
16618
17138
|
/**
|
|
16619
17139
|
* ///////////////////////////////
|
|
16620
17140
|
* AudioEncode
|
|
@@ -16901,6 +17421,12 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
|
|
|
16901
17421
|
*/
|
|
16902
17422
|
value: SubscriptionResponse;
|
|
16903
17423
|
case: "subscriptionResponse";
|
|
17424
|
+
} | {
|
|
17425
|
+
/**
|
|
17426
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
17427
|
+
*/
|
|
17428
|
+
value: Context;
|
|
17429
|
+
case: "inboundContext";
|
|
16904
17430
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16905
17431
|
|
|
16906
17432
|
constructor(data?: PartialMessage<AudioEncodeEvent>) {
|
|
@@ -16914,6 +17440,7 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
|
|
|
16914
17440
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
16915
17441
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16916
17442
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
17443
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
16917
17444
|
]);
|
|
16918
17445
|
|
|
16919
17446
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeEvent {
|
|
@@ -17221,10 +17748,10 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
17221
17748
|
* input in this message means that media has arrived and is ready to switch
|
|
17222
17749
|
* immediately
|
|
17223
17750
|
*
|
|
17224
|
-
* @generated from field: norsk.api.media.MultipleContext
|
|
17751
|
+
* @generated from field: norsk.api.media.MultipleContext validated_context = 5;
|
|
17225
17752
|
*/
|
|
17226
17753
|
value: MultipleContext;
|
|
17227
|
-
case: "
|
|
17754
|
+
case: "validatedContext";
|
|
17228
17755
|
} | {
|
|
17229
17756
|
/**
|
|
17230
17757
|
* Message indicating a transition has succesfully completed for a requested switch, i.e. the new source
|
|
@@ -17234,6 +17761,16 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
17234
17761
|
*/
|
|
17235
17762
|
value: StreamSwitchTransitionComplete;
|
|
17236
17763
|
case: "transitionComplete";
|
|
17764
|
+
} | {
|
|
17765
|
+
/**
|
|
17766
|
+
* The shared validation message used by all nodes, this takes
|
|
17767
|
+
* place before synchronisation and is useful for gathering all streams
|
|
17768
|
+
* before letting through to sync
|
|
17769
|
+
*
|
|
17770
|
+
* @generated from field: norsk.api.media.Context inbound_context = 7;
|
|
17771
|
+
*/
|
|
17772
|
+
value: Context;
|
|
17773
|
+
case: "inboundContext";
|
|
17237
17774
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17238
17775
|
|
|
17239
17776
|
constructor(data?: PartialMessage<StreamSwitchSmoothEvent>) {
|
|
@@ -17248,8 +17785,9 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
17248
17785
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17249
17786
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
17250
17787
|
{ no: 4, name: "switch_error", kind: "message", T: StreamSwitchSmoothSwitchError, oneof: "message" },
|
|
17251
|
-
{ no: 5, name: "
|
|
17788
|
+
{ no: 5, name: "validated_context", kind: "message", T: MultipleContext, oneof: "message" },
|
|
17252
17789
|
{ no: 6, name: "transition_complete", kind: "message", T: StreamSwitchTransitionComplete, oneof: "message" },
|
|
17790
|
+
{ no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17253
17791
|
]);
|
|
17254
17792
|
|
|
17255
17793
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothEvent {
|
|
@@ -17443,6 +17981,12 @@ export class StreamSwitchHardEvent extends Message<StreamSwitchHardEvent> {
|
|
|
17443
17981
|
*/
|
|
17444
17982
|
value: SubscriptionResponse;
|
|
17445
17983
|
case: "subscriptionResponse";
|
|
17984
|
+
} | {
|
|
17985
|
+
/**
|
|
17986
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
17987
|
+
*/
|
|
17988
|
+
value: Context;
|
|
17989
|
+
case: "inboundContext";
|
|
17446
17990
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17447
17991
|
|
|
17448
17992
|
constructor(data?: PartialMessage<StreamSwitchHardEvent>) {
|
|
@@ -17456,6 +18000,7 @@ export class StreamSwitchHardEvent extends Message<StreamSwitchHardEvent> {
|
|
|
17456
18000
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
17457
18001
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17458
18002
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
18003
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17459
18004
|
]);
|
|
17460
18005
|
|
|
17461
18006
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchHardEvent {
|
|
@@ -17602,6 +18147,12 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
|
|
|
17602
18147
|
*/
|
|
17603
18148
|
value: SubscriptionResponse;
|
|
17604
18149
|
case: "subscriptionResponse";
|
|
18150
|
+
} | {
|
|
18151
|
+
/**
|
|
18152
|
+
* @generated from field: norsk.api.media.Context inbound_context = 5;
|
|
18153
|
+
*/
|
|
18154
|
+
value: Context;
|
|
18155
|
+
case: "inboundContext";
|
|
17605
18156
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17606
18157
|
|
|
17607
18158
|
constructor(data?: PartialMessage<StreamStatisticsEvent>) {
|
|
@@ -17616,6 +18167,7 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
|
|
|
17616
18167
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17617
18168
|
{ no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
17618
18169
|
{ no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
18170
|
+
{ no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17619
18171
|
]);
|
|
17620
18172
|
|
|
17621
18173
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStatisticsEvent {
|
|
@@ -17941,6 +18493,12 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
|
|
|
17941
18493
|
*/
|
|
17942
18494
|
value: SubscriptionResponse;
|
|
17943
18495
|
case: "subscriptionResponse";
|
|
18496
|
+
} | {
|
|
18497
|
+
/**
|
|
18498
|
+
* @generated from field: norsk.api.media.Context inbound_context = 5;
|
|
18499
|
+
*/
|
|
18500
|
+
value: Context;
|
|
18501
|
+
case: "inboundContext";
|
|
17944
18502
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17945
18503
|
|
|
17946
18504
|
constructor(data?: PartialMessage<AudioMeasureLevelsEvent>) {
|
|
@@ -17955,6 +18513,7 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
|
|
|
17955
18513
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17956
18514
|
{ no: 3, name: "levels", kind: "message", T: AudioMeasureLevels, oneof: "message" },
|
|
17957
18515
|
{ no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
18516
|
+
{ no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17958
18517
|
]);
|
|
17959
18518
|
|
|
17960
18519
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMeasureLevelsEvent {
|
|
@@ -18705,6 +19264,12 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
|
|
|
18705
19264
|
*/
|
|
18706
19265
|
value: SubscriptionResponse;
|
|
18707
19266
|
case: "subscriptionResponse";
|
|
19267
|
+
} | {
|
|
19268
|
+
/**
|
|
19269
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
19270
|
+
*/
|
|
19271
|
+
value: Context;
|
|
19272
|
+
case: "inboundContext";
|
|
18708
19273
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
18709
19274
|
|
|
18710
19275
|
constructor(data?: PartialMessage<AudioTranscribeAwsEvent>) {
|
|
@@ -18718,6 +19283,7 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
|
|
|
18718
19283
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
18719
19284
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
18720
19285
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
19286
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
18721
19287
|
]);
|
|
18722
19288
|
|
|
18723
19289
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAwsEvent {
|
|
@@ -18872,6 +19438,12 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
18872
19438
|
*/
|
|
18873
19439
|
value: Smpte2038Message;
|
|
18874
19440
|
case: "smpte2038Message";
|
|
19441
|
+
} | {
|
|
19442
|
+
/**
|
|
19443
|
+
* @generated from field: norsk.api.media.Context inbound_context = 7;
|
|
19444
|
+
*/
|
|
19445
|
+
value: Context;
|
|
19446
|
+
case: "inboundContext";
|
|
18875
19447
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
18876
19448
|
|
|
18877
19449
|
constructor(data?: PartialMessage<AncillaryEvent>) {
|
|
@@ -18887,6 +19459,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
18887
19459
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
18888
19460
|
{ no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
|
|
18889
19461
|
{ no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
|
|
19462
|
+
{ no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
18890
19463
|
]);
|
|
18891
19464
|
|
|
18892
19465
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
|