@norskvideo/norsk-api 1.0.332 → 1.0.335
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 -64
- package/lib/media_grpc_pb.js +58 -106
- package/lib/media_pb.d.ts +819 -394
- package/lib/media_pb.js +858 -456
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +1446 -776
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -2656,6 +2656,106 @@ export class Context extends Message<Context> {
|
|
|
2656
2656
|
}
|
|
2657
2657
|
}
|
|
2658
2658
|
|
|
2659
|
+
/**
|
|
2660
|
+
* *
|
|
2661
|
+
* The MultipleContext message is sent from Norsk in response to a
|
|
2662
|
+
* change to either the Media Node's inbound set of streams for
|
|
2663
|
+
* certain nodes that are permitted non-disjoint context keys
|
|
2664
|
+
* .
|
|
2665
|
+
* Once received, your code **must** acknowledge the context change
|
|
2666
|
+
* with a call to `Media.UnblockCall`,
|
|
2667
|
+
* passing in the `blockingCallRef`; note that if using the
|
|
2668
|
+
* JavaScript SDK then this is automatically handled.
|
|
2669
|
+
*
|
|
2670
|
+
* @generated from message norsk.api.media.MultipleContext
|
|
2671
|
+
*/
|
|
2672
|
+
export class MultipleContext extends Message<MultipleContext> {
|
|
2673
|
+
/**
|
|
2674
|
+
* @generated from field: repeated norsk.api.media.TaggedContext contexts = 1;
|
|
2675
|
+
*/
|
|
2676
|
+
contexts: TaggedContext[] = [];
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* The reference for acknowledging the context change
|
|
2680
|
+
*
|
|
2681
|
+
* @generated from field: string blocking_call_ref = 2;
|
|
2682
|
+
*/
|
|
2683
|
+
blockingCallRef = "";
|
|
2684
|
+
|
|
2685
|
+
constructor(data?: PartialMessage<MultipleContext>) {
|
|
2686
|
+
super();
|
|
2687
|
+
proto3.util.initPartial(data, this);
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
static readonly runtime = proto3;
|
|
2691
|
+
static readonly typeName = "norsk.api.media.MultipleContext";
|
|
2692
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2693
|
+
{ no: 1, name: "contexts", kind: "message", T: TaggedContext, repeated: true },
|
|
2694
|
+
{ no: 2, name: "blocking_call_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2695
|
+
]);
|
|
2696
|
+
|
|
2697
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultipleContext {
|
|
2698
|
+
return new MultipleContext().fromBinary(bytes, options);
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultipleContext {
|
|
2702
|
+
return new MultipleContext().fromJson(jsonValue, options);
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultipleContext {
|
|
2706
|
+
return new MultipleContext().fromJsonString(jsonString, options);
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
static equals(a: MultipleContext | PlainMessage<MultipleContext> | undefined, b: MultipleContext | PlainMessage<MultipleContext> | undefined): boolean {
|
|
2710
|
+
return proto3.util.equals(MultipleContext, a, b);
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* @generated from message norsk.api.media.TaggedContext
|
|
2716
|
+
*/
|
|
2717
|
+
export class TaggedContext extends Message<TaggedContext> {
|
|
2718
|
+
/**
|
|
2719
|
+
* The set of streams
|
|
2720
|
+
*
|
|
2721
|
+
* @generated from field: repeated norsk.api.media.StreamMetadata streams = 1;
|
|
2722
|
+
*/
|
|
2723
|
+
streams: StreamMetadata[] = [];
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* @generated from field: norsk.api.media.InputPin pin = 2;
|
|
2727
|
+
*/
|
|
2728
|
+
pin?: InputPin;
|
|
2729
|
+
|
|
2730
|
+
constructor(data?: PartialMessage<TaggedContext>) {
|
|
2731
|
+
super();
|
|
2732
|
+
proto3.util.initPartial(data, this);
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
static readonly runtime = proto3;
|
|
2736
|
+
static readonly typeName = "norsk.api.media.TaggedContext";
|
|
2737
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2738
|
+
{ no: 1, name: "streams", kind: "message", T: StreamMetadata, repeated: true },
|
|
2739
|
+
{ no: 2, name: "pin", kind: "message", T: InputPin },
|
|
2740
|
+
]);
|
|
2741
|
+
|
|
2742
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TaggedContext {
|
|
2743
|
+
return new TaggedContext().fromBinary(bytes, options);
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2746
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TaggedContext {
|
|
2747
|
+
return new TaggedContext().fromJson(jsonValue, options);
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TaggedContext {
|
|
2751
|
+
return new TaggedContext().fromJsonString(jsonString, options);
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
static equals(a: TaggedContext | PlainMessage<TaggedContext> | undefined, b: TaggedContext | PlainMessage<TaggedContext> | undefined): boolean {
|
|
2755
|
+
return proto3.util.equals(TaggedContext, a, b);
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2659
2759
|
/**
|
|
2660
2760
|
* @generated from message norsk.api.media.BlockingCallRef
|
|
2661
2761
|
*/
|
|
@@ -2924,6 +3024,14 @@ export class MultiStreamStatistics extends Message<MultiStreamStatistics> {
|
|
|
2924
3024
|
*/
|
|
2925
3025
|
allStreams: MultiStreamStatistics_SingleStreamStatistics[] = [];
|
|
2926
3026
|
|
|
3027
|
+
/**
|
|
3028
|
+
* Either `"default"`, if there is only one direction, or `"input"`/`"output"`
|
|
3029
|
+
* (for duplex nodes, where there are two directions)
|
|
3030
|
+
*
|
|
3031
|
+
* @generated from field: string label = 3;
|
|
3032
|
+
*/
|
|
3033
|
+
label = "";
|
|
3034
|
+
|
|
2927
3035
|
constructor(data?: PartialMessage<MultiStreamStatistics>) {
|
|
2928
3036
|
super();
|
|
2929
3037
|
proto3.util.initPartial(data, this);
|
|
@@ -2934,6 +3042,7 @@ export class MultiStreamStatistics extends Message<MultiStreamStatistics> {
|
|
|
2934
3042
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2935
3043
|
{ no: 1, name: "sample_size_seconds", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2936
3044
|
{ no: 2, name: "all_streams", kind: "message", T: MultiStreamStatistics_SingleStreamStatistics, repeated: true },
|
|
3045
|
+
{ no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2937
3046
|
]);
|
|
2938
3047
|
|
|
2939
3048
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultiStreamStatistics {
|
|
@@ -3614,6 +3723,186 @@ export class RtmpOnStream extends Message<RtmpOnStream> {
|
|
|
3614
3723
|
}
|
|
3615
3724
|
}
|
|
3616
3725
|
|
|
3726
|
+
/**
|
|
3727
|
+
* *
|
|
3728
|
+
* Sent to your code when an error is detected on an active connection.
|
|
3729
|
+
* Typically you will receive a disconnected event immediately after
|
|
3730
|
+
*
|
|
3731
|
+
* @generated from message norsk.api.media.RtmpError
|
|
3732
|
+
*/
|
|
3733
|
+
export class RtmpError extends Message<RtmpError> {
|
|
3734
|
+
/**
|
|
3735
|
+
* @generated from field: norsk.api.media.ConnectionId connection_id = 1;
|
|
3736
|
+
*/
|
|
3737
|
+
connectionId?: ConnectionId;
|
|
3738
|
+
|
|
3739
|
+
/**
|
|
3740
|
+
* @generated from oneof norsk.api.media.RtmpError.error
|
|
3741
|
+
*/
|
|
3742
|
+
error: {
|
|
3743
|
+
/**
|
|
3744
|
+
* @generated from field: norsk.api.media.RtmpError.UnsupportedVideo unsupported_video = 2;
|
|
3745
|
+
*/
|
|
3746
|
+
value: RtmpError_UnsupportedVideo;
|
|
3747
|
+
case: "unsupportedVideo";
|
|
3748
|
+
} | {
|
|
3749
|
+
/**
|
|
3750
|
+
* @generated from field: norsk.api.media.RtmpError.UnsupportedAudio unsupported_audio = 3;
|
|
3751
|
+
*/
|
|
3752
|
+
value: RtmpError_UnsupportedAudio;
|
|
3753
|
+
case: "unsupportedAudio";
|
|
3754
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
3755
|
+
|
|
3756
|
+
constructor(data?: PartialMessage<RtmpError>) {
|
|
3757
|
+
super();
|
|
3758
|
+
proto3.util.initPartial(data, this);
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
static readonly runtime = proto3;
|
|
3762
|
+
static readonly typeName = "norsk.api.media.RtmpError";
|
|
3763
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3764
|
+
{ no: 1, name: "connection_id", kind: "message", T: ConnectionId },
|
|
3765
|
+
{ no: 2, name: "unsupported_video", kind: "message", T: RtmpError_UnsupportedVideo, oneof: "error" },
|
|
3766
|
+
{ no: 3, name: "unsupported_audio", kind: "message", T: RtmpError_UnsupportedAudio, oneof: "error" },
|
|
3767
|
+
]);
|
|
3768
|
+
|
|
3769
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError {
|
|
3770
|
+
return new RtmpError().fromBinary(bytes, options);
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError {
|
|
3774
|
+
return new RtmpError().fromJson(jsonValue, options);
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError {
|
|
3778
|
+
return new RtmpError().fromJsonString(jsonString, options);
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3781
|
+
static equals(a: RtmpError | PlainMessage<RtmpError> | undefined, b: RtmpError | PlainMessage<RtmpError> | undefined): boolean {
|
|
3782
|
+
return proto3.util.equals(RtmpError, a, b);
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
/**
|
|
3787
|
+
* @generated from message norsk.api.media.RtmpError.UnsupportedVideo
|
|
3788
|
+
*/
|
|
3789
|
+
export class RtmpError_UnsupportedVideo extends Message<RtmpError_UnsupportedVideo> {
|
|
3790
|
+
/**
|
|
3791
|
+
* @generated from field: string type = 1;
|
|
3792
|
+
*/
|
|
3793
|
+
type = "";
|
|
3794
|
+
|
|
3795
|
+
constructor(data?: PartialMessage<RtmpError_UnsupportedVideo>) {
|
|
3796
|
+
super();
|
|
3797
|
+
proto3.util.initPartial(data, this);
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3800
|
+
static readonly runtime = proto3;
|
|
3801
|
+
static readonly typeName = "norsk.api.media.RtmpError.UnsupportedVideo";
|
|
3802
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3803
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3804
|
+
]);
|
|
3805
|
+
|
|
3806
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError_UnsupportedVideo {
|
|
3807
|
+
return new RtmpError_UnsupportedVideo().fromBinary(bytes, options);
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3810
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedVideo {
|
|
3811
|
+
return new RtmpError_UnsupportedVideo().fromJson(jsonValue, options);
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedVideo {
|
|
3815
|
+
return new RtmpError_UnsupportedVideo().fromJsonString(jsonString, options);
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3818
|
+
static equals(a: RtmpError_UnsupportedVideo | PlainMessage<RtmpError_UnsupportedVideo> | undefined, b: RtmpError_UnsupportedVideo | PlainMessage<RtmpError_UnsupportedVideo> | undefined): boolean {
|
|
3819
|
+
return proto3.util.equals(RtmpError_UnsupportedVideo, a, b);
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* @generated from message norsk.api.media.RtmpError.UnsupportedAudio
|
|
3825
|
+
*/
|
|
3826
|
+
export class RtmpError_UnsupportedAudio extends Message<RtmpError_UnsupportedAudio> {
|
|
3827
|
+
/**
|
|
3828
|
+
* @generated from field: string type = 1;
|
|
3829
|
+
*/
|
|
3830
|
+
type = "";
|
|
3831
|
+
|
|
3832
|
+
constructor(data?: PartialMessage<RtmpError_UnsupportedAudio>) {
|
|
3833
|
+
super();
|
|
3834
|
+
proto3.util.initPartial(data, this);
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
static readonly runtime = proto3;
|
|
3838
|
+
static readonly typeName = "norsk.api.media.RtmpError.UnsupportedAudio";
|
|
3839
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3840
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3841
|
+
]);
|
|
3842
|
+
|
|
3843
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError_UnsupportedAudio {
|
|
3844
|
+
return new RtmpError_UnsupportedAudio().fromBinary(bytes, options);
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedAudio {
|
|
3848
|
+
return new RtmpError_UnsupportedAudio().fromJson(jsonValue, options);
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedAudio {
|
|
3852
|
+
return new RtmpError_UnsupportedAudio().fromJsonString(jsonString, options);
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
static equals(a: RtmpError_UnsupportedAudio | PlainMessage<RtmpError_UnsupportedAudio> | undefined, b: RtmpError_UnsupportedAudio | PlainMessage<RtmpError_UnsupportedAudio> | undefined): boolean {
|
|
3856
|
+
return proto3.util.equals(RtmpError_UnsupportedAudio, a, b);
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* *
|
|
3862
|
+
* Sent to your code when a bytes-read report is received from the peer
|
|
3863
|
+
*
|
|
3864
|
+
* @generated from message norsk.api.media.RtmpBytesRead
|
|
3865
|
+
*/
|
|
3866
|
+
export class RtmpBytesRead extends Message<RtmpBytesRead> {
|
|
3867
|
+
/**
|
|
3868
|
+
* @generated from field: norsk.api.media.ConnectionId connection_id = 1;
|
|
3869
|
+
*/
|
|
3870
|
+
connectionId?: ConnectionId;
|
|
3871
|
+
|
|
3872
|
+
/**
|
|
3873
|
+
* @generated from field: int64 bytes_read = 2;
|
|
3874
|
+
*/
|
|
3875
|
+
bytesRead = protoInt64.zero;
|
|
3876
|
+
|
|
3877
|
+
constructor(data?: PartialMessage<RtmpBytesRead>) {
|
|
3878
|
+
super();
|
|
3879
|
+
proto3.util.initPartial(data, this);
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3882
|
+
static readonly runtime = proto3;
|
|
3883
|
+
static readonly typeName = "norsk.api.media.RtmpBytesRead";
|
|
3884
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3885
|
+
{ no: 1, name: "connection_id", kind: "message", T: ConnectionId },
|
|
3886
|
+
{ no: 2, name: "bytes_read", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
3887
|
+
]);
|
|
3888
|
+
|
|
3889
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpBytesRead {
|
|
3890
|
+
return new RtmpBytesRead().fromBinary(bytes, options);
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpBytesRead {
|
|
3894
|
+
return new RtmpBytesRead().fromJson(jsonValue, options);
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpBytesRead {
|
|
3898
|
+
return new RtmpBytesRead().fromJsonString(jsonString, options);
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
static equals(a: RtmpBytesRead | PlainMessage<RtmpBytesRead> | undefined, b: RtmpBytesRead | PlainMessage<RtmpBytesRead> | undefined): boolean {
|
|
3902
|
+
return proto3.util.equals(RtmpBytesRead, a, b);
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
|
|
3617
3906
|
/**
|
|
3618
3907
|
* *
|
|
3619
3908
|
* Messages that Norsk can send to your code in response to various RTMP
|
|
@@ -3661,6 +3950,18 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
|
|
|
3661
3950
|
*/
|
|
3662
3951
|
value: MultiStreamStatistics;
|
|
3663
3952
|
case: "streamStatistics";
|
|
3953
|
+
} | {
|
|
3954
|
+
/**
|
|
3955
|
+
* @generated from field: norsk.api.media.RtmpError error = 7;
|
|
3956
|
+
*/
|
|
3957
|
+
value: RtmpError;
|
|
3958
|
+
case: "error";
|
|
3959
|
+
} | {
|
|
3960
|
+
/**
|
|
3961
|
+
* @generated from field: norsk.api.media.RtmpBytesRead bytes_read = 8;
|
|
3962
|
+
*/
|
|
3963
|
+
value: RtmpBytesRead;
|
|
3964
|
+
case: "bytesRead";
|
|
3664
3965
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
3665
3966
|
|
|
3666
3967
|
constructor(data?: PartialMessage<RtmpServerInputEvent>) {
|
|
@@ -3677,6 +3978,8 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
|
|
|
3677
3978
|
{ no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
3678
3979
|
{ no: 5, name: "status", kind: "message", T: RtmpServerInputStatus, oneof: "message" },
|
|
3679
3980
|
{ no: 6, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
3981
|
+
{ no: 7, name: "error", kind: "message", T: RtmpError, oneof: "message" },
|
|
3982
|
+
{ no: 8, name: "bytes_read", kind: "message", T: RtmpBytesRead, oneof: "message" },
|
|
3680
3983
|
]);
|
|
3681
3984
|
|
|
3682
3985
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpServerInputEvent {
|
|
@@ -4049,6 +4352,13 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
|
|
|
4049
4352
|
*/
|
|
4050
4353
|
statsSampling?: StreamStatisticsSampling;
|
|
4051
4354
|
|
|
4355
|
+
/**
|
|
4356
|
+
* Loop back to play the start after reaching the end of the file
|
|
4357
|
+
*
|
|
4358
|
+
* @generated from field: bool loop = 5;
|
|
4359
|
+
*/
|
|
4360
|
+
loop = false;
|
|
4361
|
+
|
|
4052
4362
|
constructor(data?: PartialMessage<FileTsInputConfiguration>) {
|
|
4053
4363
|
super();
|
|
4054
4364
|
proto3.util.initPartial(data, this);
|
|
@@ -4061,6 +4371,7 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
|
|
|
4061
4371
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4062
4372
|
{ no: 3, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4063
4373
|
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
4374
|
+
{ no: 5, name: "loop", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
4064
4375
|
]);
|
|
4065
4376
|
|
|
4066
4377
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsInputConfiguration {
|
|
@@ -5759,6 +6070,13 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
|
|
|
5759
6070
|
*/
|
|
5760
6071
|
statsSampling?: StreamStatisticsSampling;
|
|
5761
6072
|
|
|
6073
|
+
/**
|
|
6074
|
+
* Loop back to play the start after reaching the end of the file
|
|
6075
|
+
*
|
|
6076
|
+
* @generated from field: bool loop = 5;
|
|
6077
|
+
*/
|
|
6078
|
+
loop = false;
|
|
6079
|
+
|
|
5762
6080
|
constructor(data?: PartialMessage<FileMp4InputConfiguration>) {
|
|
5763
6081
|
super();
|
|
5764
6082
|
proto3.util.initPartial(data, this);
|
|
@@ -5771,6 +6089,7 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
|
|
|
5771
6089
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5772
6090
|
{ no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5773
6091
|
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
6092
|
+
{ no: 5, name: "loop", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
5774
6093
|
]);
|
|
5775
6094
|
|
|
5776
6095
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputConfiguration {
|
|
@@ -6676,6 +6995,96 @@ export class BrowserInputEvent extends Message<BrowserInputEvent> {
|
|
|
6676
6995
|
}
|
|
6677
6996
|
}
|
|
6678
6997
|
|
|
6998
|
+
/**
|
|
6999
|
+
* @generated from message norsk.api.media.WebRtcIceServerConfiguration
|
|
7000
|
+
*/
|
|
7001
|
+
export class WebRtcIceServerConfiguration extends Message<WebRtcIceServerConfiguration> {
|
|
7002
|
+
/**
|
|
7003
|
+
* @generated from field: repeated norsk.api.media.WebRtcIceServer servers = 1;
|
|
7004
|
+
*/
|
|
7005
|
+
servers: WebRtcIceServer[] = [];
|
|
7006
|
+
|
|
7007
|
+
constructor(data?: PartialMessage<WebRtcIceServerConfiguration>) {
|
|
7008
|
+
super();
|
|
7009
|
+
proto3.util.initPartial(data, this);
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
static readonly runtime = proto3;
|
|
7013
|
+
static readonly typeName = "norsk.api.media.WebRtcIceServerConfiguration";
|
|
7014
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7015
|
+
{ no: 1, name: "servers", kind: "message", T: WebRtcIceServer, repeated: true },
|
|
7016
|
+
]);
|
|
7017
|
+
|
|
7018
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcIceServerConfiguration {
|
|
7019
|
+
return new WebRtcIceServerConfiguration().fromBinary(bytes, options);
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcIceServerConfiguration {
|
|
7023
|
+
return new WebRtcIceServerConfiguration().fromJson(jsonValue, options);
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7026
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcIceServerConfiguration {
|
|
7027
|
+
return new WebRtcIceServerConfiguration().fromJsonString(jsonString, options);
|
|
7028
|
+
}
|
|
7029
|
+
|
|
7030
|
+
static equals(a: WebRtcIceServerConfiguration | PlainMessage<WebRtcIceServerConfiguration> | undefined, b: WebRtcIceServerConfiguration | PlainMessage<WebRtcIceServerConfiguration> | undefined): boolean {
|
|
7031
|
+
return proto3.util.equals(WebRtcIceServerConfiguration, a, b);
|
|
7032
|
+
}
|
|
7033
|
+
}
|
|
7034
|
+
|
|
7035
|
+
/**
|
|
7036
|
+
* @generated from message norsk.api.media.WebRtcIceServer
|
|
7037
|
+
*/
|
|
7038
|
+
export class WebRtcIceServer extends Message<WebRtcIceServer> {
|
|
7039
|
+
/**
|
|
7040
|
+
* @generated from field: repeated string urls = 1;
|
|
7041
|
+
*/
|
|
7042
|
+
urls: string[] = [];
|
|
7043
|
+
|
|
7044
|
+
/**
|
|
7045
|
+
* The username to use when logging into a TURN server. Ignored otherwise.
|
|
7046
|
+
*
|
|
7047
|
+
* @generated from field: string username = 2;
|
|
7048
|
+
*/
|
|
7049
|
+
username = "";
|
|
7050
|
+
|
|
7051
|
+
/**
|
|
7052
|
+
* The username to use when logging into a TURN server. Ignored otherwise.
|
|
7053
|
+
*
|
|
7054
|
+
* @generated from field: string credential = 3;
|
|
7055
|
+
*/
|
|
7056
|
+
credential = "";
|
|
7057
|
+
|
|
7058
|
+
constructor(data?: PartialMessage<WebRtcIceServer>) {
|
|
7059
|
+
super();
|
|
7060
|
+
proto3.util.initPartial(data, this);
|
|
7061
|
+
}
|
|
7062
|
+
|
|
7063
|
+
static readonly runtime = proto3;
|
|
7064
|
+
static readonly typeName = "norsk.api.media.WebRtcIceServer";
|
|
7065
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7066
|
+
{ no: 1, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
7067
|
+
{ no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7068
|
+
{ no: 3, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7069
|
+
]);
|
|
7070
|
+
|
|
7071
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcIceServer {
|
|
7072
|
+
return new WebRtcIceServer().fromBinary(bytes, options);
|
|
7073
|
+
}
|
|
7074
|
+
|
|
7075
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcIceServer {
|
|
7076
|
+
return new WebRtcIceServer().fromJson(jsonValue, options);
|
|
7077
|
+
}
|
|
7078
|
+
|
|
7079
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcIceServer {
|
|
7080
|
+
return new WebRtcIceServer().fromJsonString(jsonString, options);
|
|
7081
|
+
}
|
|
7082
|
+
|
|
7083
|
+
static equals(a: WebRtcIceServer | PlainMessage<WebRtcIceServer> | undefined, b: WebRtcIceServer | PlainMessage<WebRtcIceServer> | undefined): boolean {
|
|
7084
|
+
return proto3.util.equals(WebRtcIceServer, a, b);
|
|
7085
|
+
}
|
|
7086
|
+
}
|
|
7087
|
+
|
|
6679
7088
|
/**
|
|
6680
7089
|
* @generated from message norsk.api.media.WhipInputConfiguration
|
|
6681
7090
|
*/
|
|
@@ -6695,6 +7104,13 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
|
|
|
6695
7104
|
*/
|
|
6696
7105
|
statsSampling?: StreamStatisticsSampling;
|
|
6697
7106
|
|
|
7107
|
+
/**
|
|
7108
|
+
* Optionally configure ICE servers (STUN/TURN)
|
|
7109
|
+
*
|
|
7110
|
+
* @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 4;
|
|
7111
|
+
*/
|
|
7112
|
+
iceServerConfiguration?: WebRtcIceServerConfiguration;
|
|
7113
|
+
|
|
6698
7114
|
constructor(data?: PartialMessage<WhipInputConfiguration>) {
|
|
6699
7115
|
super();
|
|
6700
7116
|
proto3.util.initPartial(data, this);
|
|
@@ -6706,6 +7122,7 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
|
|
|
6706
7122
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
6707
7123
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6708
7124
|
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
7125
|
+
{ no: 4, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
|
|
6709
7126
|
]);
|
|
6710
7127
|
|
|
6711
7128
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhipInputConfiguration {
|
|
@@ -6961,7 +7378,8 @@ export class ComposePart extends Message<ComposePart> {
|
|
|
6961
7378
|
* in percentage terms, or a notional resolution can be used that is
|
|
6962
7379
|
* independant of the source resolutions that may be provided.
|
|
6963
7380
|
*
|
|
6964
|
-
* If unset, this will be overriden by a global reference resolution if
|
|
7381
|
+
* If unset, this will be overriden by a global reference resolution if
|
|
7382
|
+
* present
|
|
6965
7383
|
*
|
|
6966
7384
|
*
|
|
6967
7385
|
* @generated from field: norsk.api.media.Resolution reference_resolution = 8;
|
|
@@ -7263,10 +7681,10 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
7263
7681
|
parts: ComposePart[] = [];
|
|
7264
7682
|
|
|
7265
7683
|
/**
|
|
7266
|
-
* * Optionally supply a fallback reference resolution. This allows description
|
|
7267
|
-
* composition in a desired coordinate system, e.g. a resolution of
|
|
7268
|
-
* can be specified to allow the source and destination areas to be
|
|
7269
|
-
* in percentage terms, or a notional resolution can be used that is
|
|
7684
|
+
* * Optionally supply a fallback reference resolution. This allows description
|
|
7685
|
+
* of the composition in a desired coordinate system, e.g. a resolution of
|
|
7686
|
+
* 100x100 can be specified to allow the source and destination areas to be
|
|
7687
|
+
* described in percentage terms, or a notional resolution can be used that is
|
|
7270
7688
|
* independant of the source resolutions that may be provided.
|
|
7271
7689
|
*
|
|
7272
7690
|
* if set here, this reference resolution will be applied to
|
|
@@ -8764,7 +9182,17 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
|
|
|
8764
9182
|
*/
|
|
8765
9183
|
encryptionKey = "";
|
|
8766
9184
|
|
|
8767
|
-
|
|
9185
|
+
/**
|
|
9186
|
+
* @generated from field: string encryption_pssh = 3;
|
|
9187
|
+
*/
|
|
9188
|
+
encryptionPssh = "";
|
|
9189
|
+
|
|
9190
|
+
/**
|
|
9191
|
+
* @generated from field: norsk.api.media.Mp4Encryption.Mp4EncryptionScheme encryption_scheme = 4;
|
|
9192
|
+
*/
|
|
9193
|
+
encryptionScheme = Mp4Encryption_Mp4EncryptionScheme.CBCS;
|
|
9194
|
+
|
|
9195
|
+
constructor(data?: PartialMessage<Mp4Encryption>) {
|
|
8768
9196
|
super();
|
|
8769
9197
|
proto3.util.initPartial(data, this);
|
|
8770
9198
|
}
|
|
@@ -8774,6 +9202,8 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
|
|
|
8774
9202
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8775
9203
|
{ no: 1, name: "encryption_key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8776
9204
|
{ no: 2, name: "encryption_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9205
|
+
{ no: 3, name: "encryption_pssh", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9206
|
+
{ no: 4, name: "encryption_scheme", kind: "enum", T: proto3.getEnumType(Mp4Encryption_Mp4EncryptionScheme) },
|
|
8777
9207
|
]);
|
|
8778
9208
|
|
|
8779
9209
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Mp4Encryption {
|
|
@@ -8793,6 +9223,26 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
|
|
|
8793
9223
|
}
|
|
8794
9224
|
}
|
|
8795
9225
|
|
|
9226
|
+
/**
|
|
9227
|
+
* @generated from enum norsk.api.media.Mp4Encryption.Mp4EncryptionScheme
|
|
9228
|
+
*/
|
|
9229
|
+
export enum Mp4Encryption_Mp4EncryptionScheme {
|
|
9230
|
+
/**
|
|
9231
|
+
* @generated from enum value: MP4_ENCRYPTION_SCHEME_CBCS = 0;
|
|
9232
|
+
*/
|
|
9233
|
+
CBCS = 0,
|
|
9234
|
+
|
|
9235
|
+
/**
|
|
9236
|
+
* @generated from enum value: MP4_ENCRYPTION_SCHEME_CENC = 1;
|
|
9237
|
+
*/
|
|
9238
|
+
CENC = 1,
|
|
9239
|
+
}
|
|
9240
|
+
// Retrieve enum metadata with: proto3.getEnumType(Mp4Encryption_Mp4EncryptionScheme)
|
|
9241
|
+
proto3.util.setEnumType(Mp4Encryption_Mp4EncryptionScheme, "norsk.api.media.Mp4Encryption.Mp4EncryptionScheme", [
|
|
9242
|
+
{ no: 0, name: "MP4_ENCRYPTION_SCHEME_CBCS" },
|
|
9243
|
+
{ no: 1, name: "MP4_ENCRYPTION_SCHEME_CENC" },
|
|
9244
|
+
]);
|
|
9245
|
+
|
|
8796
9246
|
/**
|
|
8797
9247
|
* @generated from message norsk.api.media.AwsS3PushDestination
|
|
8798
9248
|
*/
|
|
@@ -9128,6 +9578,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
9128
9578
|
*/
|
|
9129
9579
|
statsSampling?: StreamStatisticsSampling;
|
|
9130
9580
|
|
|
9581
|
+
/**
|
|
9582
|
+
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
|
|
9583
|
+
*/
|
|
9584
|
+
destinations: CMAFDestination[] = [];
|
|
9585
|
+
|
|
9131
9586
|
constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
|
|
9132
9587
|
super();
|
|
9133
9588
|
proto3.util.initPartial(data, this);
|
|
@@ -9140,6 +9595,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
9140
9595
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9141
9596
|
{ no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9142
9597
|
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
9598
|
+
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
9143
9599
|
]);
|
|
9144
9600
|
|
|
9145
9601
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
|
|
@@ -9178,6 +9634,12 @@ export class HlsTsVideoMessage extends Message<HlsTsVideoMessage> {
|
|
|
9178
9634
|
*/
|
|
9179
9635
|
value: HlsTsVideoConfiguration;
|
|
9180
9636
|
case: "configuration";
|
|
9637
|
+
} | {
|
|
9638
|
+
/**
|
|
9639
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
|
|
9640
|
+
*/
|
|
9641
|
+
value: UpdateCredentials;
|
|
9642
|
+
case: "updateCredentials";
|
|
9181
9643
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9182
9644
|
|
|
9183
9645
|
constructor(data?: PartialMessage<HlsTsVideoMessage>) {
|
|
@@ -9190,6 +9652,7 @@ export class HlsTsVideoMessage extends Message<HlsTsVideoMessage> {
|
|
|
9190
9652
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9191
9653
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9192
9654
|
{ no: 2, name: "configuration", kind: "message", T: HlsTsVideoConfiguration, oneof: "message" },
|
|
9655
|
+
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
9193
9656
|
]);
|
|
9194
9657
|
|
|
9195
9658
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoMessage {
|
|
@@ -9363,6 +9826,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
9363
9826
|
*/
|
|
9364
9827
|
statsSampling?: StreamStatisticsSampling;
|
|
9365
9828
|
|
|
9829
|
+
/**
|
|
9830
|
+
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
|
|
9831
|
+
*/
|
|
9832
|
+
destinations: CMAFDestination[] = [];
|
|
9833
|
+
|
|
9366
9834
|
constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
|
|
9367
9835
|
super();
|
|
9368
9836
|
proto3.util.initPartial(data, this);
|
|
@@ -9375,6 +9843,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
9375
9843
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9376
9844
|
{ no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9377
9845
|
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
9846
|
+
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
9378
9847
|
]);
|
|
9379
9848
|
|
|
9380
9849
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
|
|
@@ -9413,6 +9882,12 @@ export class HlsTsAudioMessage extends Message<HlsTsAudioMessage> {
|
|
|
9413
9882
|
*/
|
|
9414
9883
|
value: HlsTsAudioConfiguration;
|
|
9415
9884
|
case: "configuration";
|
|
9885
|
+
} | {
|
|
9886
|
+
/**
|
|
9887
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
|
|
9888
|
+
*/
|
|
9889
|
+
value: UpdateCredentials;
|
|
9890
|
+
case: "updateCredentials";
|
|
9416
9891
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9417
9892
|
|
|
9418
9893
|
constructor(data?: PartialMessage<HlsTsAudioMessage>) {
|
|
@@ -9425,6 +9900,7 @@ export class HlsTsAudioMessage extends Message<HlsTsAudioMessage> {
|
|
|
9425
9900
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9426
9901
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9427
9902
|
{ no: 2, name: "configuration", kind: "message", T: HlsTsAudioConfiguration, oneof: "message" },
|
|
9903
|
+
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
9428
9904
|
]);
|
|
9429
9905
|
|
|
9430
9906
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioMessage {
|
|
@@ -9464,9 +9940,24 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
9464
9940
|
delayOutputMs = 0;
|
|
9465
9941
|
|
|
9466
9942
|
/**
|
|
9467
|
-
* @generated from field:
|
|
9943
|
+
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
|
|
9468
9944
|
*/
|
|
9469
|
-
|
|
9945
|
+
destinations: CMAFDestination[] = [];
|
|
9946
|
+
|
|
9947
|
+
/**
|
|
9948
|
+
* @generated from field: string hls_cache_directory = 6;
|
|
9949
|
+
*/
|
|
9950
|
+
hlsCacheDirectory = "";
|
|
9951
|
+
|
|
9952
|
+
/**
|
|
9953
|
+
* @generated from field: uint32 maximum_playlist_segments = 7;
|
|
9954
|
+
*/
|
|
9955
|
+
maximumPlaylistSegments = 0;
|
|
9956
|
+
|
|
9957
|
+
/**
|
|
9958
|
+
* @generated from field: norsk.api.media.Interval pts_adjustment = 8;
|
|
9959
|
+
*/
|
|
9960
|
+
ptsAdjustment?: Interval;
|
|
9470
9961
|
|
|
9471
9962
|
constructor(data?: PartialMessage<CmafWebVttConfiguration>) {
|
|
9472
9963
|
super();
|
|
@@ -9479,7 +9970,10 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
9479
9970
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9480
9971
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9481
9972
|
{ no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9482
|
-
{ no:
|
|
9973
|
+
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
9974
|
+
{ no: 6, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9975
|
+
{ no: 7, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
9976
|
+
{ no: 8, name: "pts_adjustment", kind: "message", T: Interval },
|
|
9483
9977
|
]);
|
|
9484
9978
|
|
|
9485
9979
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttConfiguration {
|
|
@@ -9499,6 +9993,70 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
9499
9993
|
}
|
|
9500
9994
|
}
|
|
9501
9995
|
|
|
9996
|
+
/**
|
|
9997
|
+
* TODO rethink this, not exposed to SDK yet
|
|
9998
|
+
* Only credentials are updateable
|
|
9999
|
+
*
|
|
10000
|
+
* @generated from message norsk.api.media.CmafWebVttUpdateConfiguration
|
|
10001
|
+
*/
|
|
10002
|
+
export class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfiguration> {
|
|
10003
|
+
/**
|
|
10004
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
10005
|
+
*/
|
|
10006
|
+
id?: MediaNodeId;
|
|
10007
|
+
|
|
10008
|
+
/**
|
|
10009
|
+
* @generated from field: float retention_period_seconds = 2;
|
|
10010
|
+
*/
|
|
10011
|
+
retentionPeriodSeconds = 0;
|
|
10012
|
+
|
|
10013
|
+
/**
|
|
10014
|
+
* @generated from field: uint32 maximum_playlist_segments = 3;
|
|
10015
|
+
*/
|
|
10016
|
+
maximumPlaylistSegments = 0;
|
|
10017
|
+
|
|
10018
|
+
/**
|
|
10019
|
+
* @generated from field: norsk.api.media.Interval pts_adjustment = 4;
|
|
10020
|
+
*/
|
|
10021
|
+
ptsAdjustment?: Interval;
|
|
10022
|
+
|
|
10023
|
+
/**
|
|
10024
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
|
|
10025
|
+
*/
|
|
10026
|
+
updateCredentials?: UpdateCredentials;
|
|
10027
|
+
|
|
10028
|
+
constructor(data?: PartialMessage<CmafWebVttUpdateConfiguration>) {
|
|
10029
|
+
super();
|
|
10030
|
+
proto3.util.initPartial(data, this);
|
|
10031
|
+
}
|
|
10032
|
+
|
|
10033
|
+
static readonly runtime = proto3;
|
|
10034
|
+
static readonly typeName = "norsk.api.media.CmafWebVttUpdateConfiguration";
|
|
10035
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10036
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10037
|
+
{ no: 2, name: "retention_period_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
10038
|
+
{ no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
10039
|
+
{ no: 4, name: "pts_adjustment", kind: "message", T: Interval },
|
|
10040
|
+
{ no: 5, name: "update_credentials", kind: "message", T: UpdateCredentials },
|
|
10041
|
+
]);
|
|
10042
|
+
|
|
10043
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttUpdateConfiguration {
|
|
10044
|
+
return new CmafWebVttUpdateConfiguration().fromBinary(bytes, options);
|
|
10045
|
+
}
|
|
10046
|
+
|
|
10047
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttUpdateConfiguration {
|
|
10048
|
+
return new CmafWebVttUpdateConfiguration().fromJson(jsonValue, options);
|
|
10049
|
+
}
|
|
10050
|
+
|
|
10051
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttUpdateConfiguration {
|
|
10052
|
+
return new CmafWebVttUpdateConfiguration().fromJsonString(jsonString, options);
|
|
10053
|
+
}
|
|
10054
|
+
|
|
10055
|
+
static equals(a: CmafWebVttUpdateConfiguration | PlainMessage<CmafWebVttUpdateConfiguration> | undefined, b: CmafWebVttUpdateConfiguration | PlainMessage<CmafWebVttUpdateConfiguration> | undefined): boolean {
|
|
10056
|
+
return proto3.util.equals(CmafWebVttUpdateConfiguration, a, b);
|
|
10057
|
+
}
|
|
10058
|
+
}
|
|
10059
|
+
|
|
9502
10060
|
/**
|
|
9503
10061
|
* @generated from message norsk.api.media.AwsCredentials
|
|
9504
10062
|
*/
|
|
@@ -9591,140 +10149,6 @@ export class UpdateCredentials extends Message<UpdateCredentials> {
|
|
|
9591
10149
|
}
|
|
9592
10150
|
}
|
|
9593
10151
|
|
|
9594
|
-
/**
|
|
9595
|
-
* @generated from message norsk.api.media.HlsWebVttPushConfiguration
|
|
9596
|
-
*/
|
|
9597
|
-
export class HlsWebVttPushConfiguration extends Message<HlsWebVttPushConfiguration> {
|
|
9598
|
-
/**
|
|
9599
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
9600
|
-
*/
|
|
9601
|
-
id?: MediaNodeId;
|
|
9602
|
-
|
|
9603
|
-
/**
|
|
9604
|
-
* @generated from field: float segment_duration_seconds = 2;
|
|
9605
|
-
*/
|
|
9606
|
-
segmentDurationSeconds = 0;
|
|
9607
|
-
|
|
9608
|
-
/**
|
|
9609
|
-
* @generated from field: float delay_output_ms = 3;
|
|
9610
|
-
*/
|
|
9611
|
-
delayOutputMs = 0;
|
|
9612
|
-
|
|
9613
|
-
/**
|
|
9614
|
-
* @generated from field: norsk.api.media.CMAFDestination destination = 4;
|
|
9615
|
-
*/
|
|
9616
|
-
destination?: CMAFDestination;
|
|
9617
|
-
|
|
9618
|
-
/**
|
|
9619
|
-
* @generated from field: float retention_period_s = 6;
|
|
9620
|
-
*/
|
|
9621
|
-
retentionPeriodS = 0;
|
|
9622
|
-
|
|
9623
|
-
/**
|
|
9624
|
-
* @generated from field: string hls_cache_directory = 7;
|
|
9625
|
-
*/
|
|
9626
|
-
hlsCacheDirectory = "";
|
|
9627
|
-
|
|
9628
|
-
/**
|
|
9629
|
-
* @generated from field: uint32 maximum_playlist_segments = 8;
|
|
9630
|
-
*/
|
|
9631
|
-
maximumPlaylistSegments = 0;
|
|
9632
|
-
|
|
9633
|
-
/**
|
|
9634
|
-
* @generated from field: norsk.api.media.Interval pts_adjustment = 9;
|
|
9635
|
-
*/
|
|
9636
|
-
ptsAdjustment?: Interval;
|
|
9637
|
-
|
|
9638
|
-
constructor(data?: PartialMessage<HlsWebVttPushConfiguration>) {
|
|
9639
|
-
super();
|
|
9640
|
-
proto3.util.initPartial(data, this);
|
|
9641
|
-
}
|
|
9642
|
-
|
|
9643
|
-
static readonly runtime = proto3;
|
|
9644
|
-
static readonly typeName = "norsk.api.media.HlsWebVttPushConfiguration";
|
|
9645
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9646
|
-
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9647
|
-
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9648
|
-
{ no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9649
|
-
{ no: 4, name: "destination", kind: "message", T: CMAFDestination },
|
|
9650
|
-
{ no: 6, name: "retention_period_s", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9651
|
-
{ no: 7, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9652
|
-
{ no: 8, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
9653
|
-
{ no: 9, name: "pts_adjustment", kind: "message", T: Interval },
|
|
9654
|
-
]);
|
|
9655
|
-
|
|
9656
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushConfiguration {
|
|
9657
|
-
return new HlsWebVttPushConfiguration().fromBinary(bytes, options);
|
|
9658
|
-
}
|
|
9659
|
-
|
|
9660
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushConfiguration {
|
|
9661
|
-
return new HlsWebVttPushConfiguration().fromJson(jsonValue, options);
|
|
9662
|
-
}
|
|
9663
|
-
|
|
9664
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushConfiguration {
|
|
9665
|
-
return new HlsWebVttPushConfiguration().fromJsonString(jsonString, options);
|
|
9666
|
-
}
|
|
9667
|
-
|
|
9668
|
-
static equals(a: HlsWebVttPushConfiguration | PlainMessage<HlsWebVttPushConfiguration> | undefined, b: HlsWebVttPushConfiguration | PlainMessage<HlsWebVttPushConfiguration> | undefined): boolean {
|
|
9669
|
-
return proto3.util.equals(HlsWebVttPushConfiguration, a, b);
|
|
9670
|
-
}
|
|
9671
|
-
}
|
|
9672
|
-
|
|
9673
|
-
/**
|
|
9674
|
-
* @generated from message norsk.api.media.HlsWebVttPushUpdateConfiguration
|
|
9675
|
-
*/
|
|
9676
|
-
export class HlsWebVttPushUpdateConfiguration extends Message<HlsWebVttPushUpdateConfiguration> {
|
|
9677
|
-
/**
|
|
9678
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
9679
|
-
*/
|
|
9680
|
-
id?: MediaNodeId;
|
|
9681
|
-
|
|
9682
|
-
/**
|
|
9683
|
-
* @generated from field: float retention_period_s = 2;
|
|
9684
|
-
*/
|
|
9685
|
-
retentionPeriodS = 0;
|
|
9686
|
-
|
|
9687
|
-
/**
|
|
9688
|
-
* @generated from field: uint32 maximum_playlist_segments = 3;
|
|
9689
|
-
*/
|
|
9690
|
-
maximumPlaylistSegments = 0;
|
|
9691
|
-
|
|
9692
|
-
/**
|
|
9693
|
-
* @generated from field: norsk.api.media.Interval pts_adjustment = 4;
|
|
9694
|
-
*/
|
|
9695
|
-
ptsAdjustment?: Interval;
|
|
9696
|
-
|
|
9697
|
-
constructor(data?: PartialMessage<HlsWebVttPushUpdateConfiguration>) {
|
|
9698
|
-
super();
|
|
9699
|
-
proto3.util.initPartial(data, this);
|
|
9700
|
-
}
|
|
9701
|
-
|
|
9702
|
-
static readonly runtime = proto3;
|
|
9703
|
-
static readonly typeName = "norsk.api.media.HlsWebVttPushUpdateConfiguration";
|
|
9704
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9705
|
-
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9706
|
-
{ no: 2, name: "retention_period_s", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
9707
|
-
{ no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
9708
|
-
{ no: 4, name: "pts_adjustment", kind: "message", T: Interval },
|
|
9709
|
-
]);
|
|
9710
|
-
|
|
9711
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushUpdateConfiguration {
|
|
9712
|
-
return new HlsWebVttPushUpdateConfiguration().fromBinary(bytes, options);
|
|
9713
|
-
}
|
|
9714
|
-
|
|
9715
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushUpdateConfiguration {
|
|
9716
|
-
return new HlsWebVttPushUpdateConfiguration().fromJson(jsonValue, options);
|
|
9717
|
-
}
|
|
9718
|
-
|
|
9719
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushUpdateConfiguration {
|
|
9720
|
-
return new HlsWebVttPushUpdateConfiguration().fromJsonString(jsonString, options);
|
|
9721
|
-
}
|
|
9722
|
-
|
|
9723
|
-
static equals(a: HlsWebVttPushUpdateConfiguration | PlainMessage<HlsWebVttPushUpdateConfiguration> | undefined, b: HlsWebVttPushUpdateConfiguration | PlainMessage<HlsWebVttPushUpdateConfiguration> | undefined): boolean {
|
|
9724
|
-
return proto3.util.equals(HlsWebVttPushUpdateConfiguration, a, b);
|
|
9725
|
-
}
|
|
9726
|
-
}
|
|
9727
|
-
|
|
9728
10152
|
/**
|
|
9729
10153
|
* @generated from message norsk.api.media.CmafWebVttMessage
|
|
9730
10154
|
*/
|
|
@@ -9744,6 +10168,18 @@ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
|
|
|
9744
10168
|
*/
|
|
9745
10169
|
value: CmafWebVttConfiguration;
|
|
9746
10170
|
case: "configuration";
|
|
10171
|
+
} | {
|
|
10172
|
+
/**
|
|
10173
|
+
* @generated from field: norsk.api.media.CmafWebVttUpdateConfiguration update_config = 3;
|
|
10174
|
+
*/
|
|
10175
|
+
value: CmafWebVttUpdateConfiguration;
|
|
10176
|
+
case: "updateConfig";
|
|
10177
|
+
} | {
|
|
10178
|
+
/**
|
|
10179
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 4;
|
|
10180
|
+
*/
|
|
10181
|
+
value: UpdateCredentials;
|
|
10182
|
+
case: "updateCredentials";
|
|
9747
10183
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9748
10184
|
|
|
9749
10185
|
constructor(data?: PartialMessage<CmafWebVttMessage>) {
|
|
@@ -9756,6 +10192,8 @@ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
|
|
|
9756
10192
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9757
10193
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9758
10194
|
{ no: 2, name: "configuration", kind: "message", T: CmafWebVttConfiguration, oneof: "message" },
|
|
10195
|
+
{ no: 3, name: "update_config", kind: "message", T: CmafWebVttUpdateConfiguration, oneof: "message" },
|
|
10196
|
+
{ no: 4, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
9759
10197
|
]);
|
|
9760
10198
|
|
|
9761
10199
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttMessage {
|
|
@@ -9775,63 +10213,6 @@ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
|
|
|
9775
10213
|
}
|
|
9776
10214
|
}
|
|
9777
10215
|
|
|
9778
|
-
/**
|
|
9779
|
-
* @generated from message norsk.api.media.HlsWebVttPushMessage
|
|
9780
|
-
*/
|
|
9781
|
-
export class HlsWebVttPushMessage extends Message<HlsWebVttPushMessage> {
|
|
9782
|
-
/**
|
|
9783
|
-
* @generated from oneof norsk.api.media.HlsWebVttPushMessage.message
|
|
9784
|
-
*/
|
|
9785
|
-
message: {
|
|
9786
|
-
/**
|
|
9787
|
-
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
9788
|
-
*/
|
|
9789
|
-
value: Subscription;
|
|
9790
|
-
case: "subscription";
|
|
9791
|
-
} | {
|
|
9792
|
-
/**
|
|
9793
|
-
* @generated from field: norsk.api.media.HlsWebVttPushConfiguration configuration = 2;
|
|
9794
|
-
*/
|
|
9795
|
-
value: HlsWebVttPushConfiguration;
|
|
9796
|
-
case: "configuration";
|
|
9797
|
-
} | {
|
|
9798
|
-
/**
|
|
9799
|
-
* @generated from field: norsk.api.media.HlsWebVttPushUpdateConfiguration update_config = 3;
|
|
9800
|
-
*/
|
|
9801
|
-
value: HlsWebVttPushUpdateConfiguration;
|
|
9802
|
-
case: "updateConfig";
|
|
9803
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9804
|
-
|
|
9805
|
-
constructor(data?: PartialMessage<HlsWebVttPushMessage>) {
|
|
9806
|
-
super();
|
|
9807
|
-
proto3.util.initPartial(data, this);
|
|
9808
|
-
}
|
|
9809
|
-
|
|
9810
|
-
static readonly runtime = proto3;
|
|
9811
|
-
static readonly typeName = "norsk.api.media.HlsWebVttPushMessage";
|
|
9812
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9813
|
-
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9814
|
-
{ no: 2, name: "configuration", kind: "message", T: HlsWebVttPushConfiguration, oneof: "message" },
|
|
9815
|
-
{ no: 3, name: "update_config", kind: "message", T: HlsWebVttPushUpdateConfiguration, oneof: "message" },
|
|
9816
|
-
]);
|
|
9817
|
-
|
|
9818
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushMessage {
|
|
9819
|
-
return new HlsWebVttPushMessage().fromBinary(bytes, options);
|
|
9820
|
-
}
|
|
9821
|
-
|
|
9822
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushMessage {
|
|
9823
|
-
return new HlsWebVttPushMessage().fromJson(jsonValue, options);
|
|
9824
|
-
}
|
|
9825
|
-
|
|
9826
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushMessage {
|
|
9827
|
-
return new HlsWebVttPushMessage().fromJsonString(jsonString, options);
|
|
9828
|
-
}
|
|
9829
|
-
|
|
9830
|
-
static equals(a: HlsWebVttPushMessage | PlainMessage<HlsWebVttPushMessage> | undefined, b: HlsWebVttPushMessage | PlainMessage<HlsWebVttPushMessage> | undefined): boolean {
|
|
9831
|
-
return proto3.util.equals(HlsWebVttPushMessage, a, b);
|
|
9832
|
-
}
|
|
9833
|
-
}
|
|
9834
|
-
|
|
9835
10216
|
/**
|
|
9836
10217
|
* @generated from message norsk.api.media.CmafMasterConfiguration
|
|
9837
10218
|
*/
|
|
@@ -9945,355 +10326,28 @@ export class CmafMasterMessage extends Message<CmafMasterMessage> {
|
|
|
9945
10326
|
}
|
|
9946
10327
|
|
|
9947
10328
|
/**
|
|
9948
|
-
* @generated from message norsk.api.media.
|
|
10329
|
+
* @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
|
|
9949
10330
|
*/
|
|
9950
|
-
export class
|
|
10331
|
+
export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushConfiguration> {
|
|
9951
10332
|
/**
|
|
9952
10333
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
9953
10334
|
*/
|
|
9954
10335
|
id?: MediaNodeId;
|
|
9955
10336
|
|
|
9956
10337
|
/**
|
|
9957
|
-
* @generated from field:
|
|
10338
|
+
* @generated from field: norsk.api.media.CMAFDestination destination = 2;
|
|
9958
10339
|
*/
|
|
9959
|
-
|
|
10340
|
+
destination?: CMAFDestination;
|
|
9960
10341
|
|
|
9961
10342
|
/**
|
|
9962
|
-
* @generated from field:
|
|
10343
|
+
* @generated from field: float segment_duration_seconds = 3;
|
|
9963
10344
|
*/
|
|
9964
|
-
|
|
10345
|
+
segmentDurationSeconds = 0;
|
|
9965
10346
|
|
|
9966
10347
|
/**
|
|
9967
|
-
* @generated from field:
|
|
10348
|
+
* @generated from field: float delay_output_ms = 4;
|
|
9968
10349
|
*/
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
constructor(data?: PartialMessage<HlsMasterPushConfiguration>) {
|
|
9972
|
-
super();
|
|
9973
|
-
proto3.util.initPartial(data, this);
|
|
9974
|
-
}
|
|
9975
|
-
|
|
9976
|
-
static readonly runtime = proto3;
|
|
9977
|
-
static readonly typeName = "norsk.api.media.HlsMasterPushConfiguration";
|
|
9978
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9979
|
-
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9980
|
-
{ no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9981
|
-
{ no: 3, name: "destination", kind: "message", T: CMAFDestination },
|
|
9982
|
-
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
9983
|
-
]);
|
|
9984
|
-
|
|
9985
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsMasterPushConfiguration {
|
|
9986
|
-
return new HlsMasterPushConfiguration().fromBinary(bytes, options);
|
|
9987
|
-
}
|
|
9988
|
-
|
|
9989
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsMasterPushConfiguration {
|
|
9990
|
-
return new HlsMasterPushConfiguration().fromJson(jsonValue, options);
|
|
9991
|
-
}
|
|
9992
|
-
|
|
9993
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsMasterPushConfiguration {
|
|
9994
|
-
return new HlsMasterPushConfiguration().fromJsonString(jsonString, options);
|
|
9995
|
-
}
|
|
9996
|
-
|
|
9997
|
-
static equals(a: HlsMasterPushConfiguration | PlainMessage<HlsMasterPushConfiguration> | undefined, b: HlsMasterPushConfiguration | PlainMessage<HlsMasterPushConfiguration> | undefined): boolean {
|
|
9998
|
-
return proto3.util.equals(HlsMasterPushConfiguration, a, b);
|
|
9999
|
-
}
|
|
10000
|
-
}
|
|
10001
|
-
|
|
10002
|
-
/**
|
|
10003
|
-
* @generated from message norsk.api.media.HlsMasterPushMessage
|
|
10004
|
-
*/
|
|
10005
|
-
export class HlsMasterPushMessage extends Message<HlsMasterPushMessage> {
|
|
10006
|
-
/**
|
|
10007
|
-
* @generated from oneof norsk.api.media.HlsMasterPushMessage.message
|
|
10008
|
-
*/
|
|
10009
|
-
message: {
|
|
10010
|
-
/**
|
|
10011
|
-
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
10012
|
-
*/
|
|
10013
|
-
value: Subscription;
|
|
10014
|
-
case: "subscription";
|
|
10015
|
-
} | {
|
|
10016
|
-
/**
|
|
10017
|
-
* @generated from field: norsk.api.media.HlsMasterPushConfiguration configuration = 2;
|
|
10018
|
-
*/
|
|
10019
|
-
value: HlsMasterPushConfiguration;
|
|
10020
|
-
case: "configuration";
|
|
10021
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10022
|
-
|
|
10023
|
-
constructor(data?: PartialMessage<HlsMasterPushMessage>) {
|
|
10024
|
-
super();
|
|
10025
|
-
proto3.util.initPartial(data, this);
|
|
10026
|
-
}
|
|
10027
|
-
|
|
10028
|
-
static readonly runtime = proto3;
|
|
10029
|
-
static readonly typeName = "norsk.api.media.HlsMasterPushMessage";
|
|
10030
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10031
|
-
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
10032
|
-
{ no: 2, name: "configuration", kind: "message", T: HlsMasterPushConfiguration, oneof: "message" },
|
|
10033
|
-
]);
|
|
10034
|
-
|
|
10035
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsMasterPushMessage {
|
|
10036
|
-
return new HlsMasterPushMessage().fromBinary(bytes, options);
|
|
10037
|
-
}
|
|
10038
|
-
|
|
10039
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsMasterPushMessage {
|
|
10040
|
-
return new HlsMasterPushMessage().fromJson(jsonValue, options);
|
|
10041
|
-
}
|
|
10042
|
-
|
|
10043
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsMasterPushMessage {
|
|
10044
|
-
return new HlsMasterPushMessage().fromJsonString(jsonString, options);
|
|
10045
|
-
}
|
|
10046
|
-
|
|
10047
|
-
static equals(a: HlsMasterPushMessage | PlainMessage<HlsMasterPushMessage> | undefined, b: HlsMasterPushMessage | PlainMessage<HlsMasterPushMessage> | undefined): boolean {
|
|
10048
|
-
return proto3.util.equals(HlsMasterPushMessage, a, b);
|
|
10049
|
-
}
|
|
10050
|
-
}
|
|
10051
|
-
|
|
10052
|
-
/**
|
|
10053
|
-
* @generated from message norsk.api.media.HlsTsVideoPushConfiguration
|
|
10054
|
-
*/
|
|
10055
|
-
export class HlsTsVideoPushConfiguration extends Message<HlsTsVideoPushConfiguration> {
|
|
10056
|
-
/**
|
|
10057
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
10058
|
-
*/
|
|
10059
|
-
id?: MediaNodeId;
|
|
10060
|
-
|
|
10061
|
-
/**
|
|
10062
|
-
* @generated from field: norsk.api.media.CMAFDestination destination = 2;
|
|
10063
|
-
*/
|
|
10064
|
-
destination?: CMAFDestination;
|
|
10065
|
-
|
|
10066
|
-
/**
|
|
10067
|
-
* @generated from field: float segment_duration_seconds = 3;
|
|
10068
|
-
*/
|
|
10069
|
-
segmentDurationSeconds = 0;
|
|
10070
|
-
|
|
10071
|
-
/**
|
|
10072
|
-
* @generated from field: float delay_output_ms = 4;
|
|
10073
|
-
*/
|
|
10074
|
-
delayOutputMs = 0;
|
|
10075
|
-
|
|
10076
|
-
/**
|
|
10077
|
-
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
|
|
10078
|
-
*/
|
|
10079
|
-
statsSampling?: StreamStatisticsSampling;
|
|
10080
|
-
|
|
10081
|
-
constructor(data?: PartialMessage<HlsTsVideoPushConfiguration>) {
|
|
10082
|
-
super();
|
|
10083
|
-
proto3.util.initPartial(data, this);
|
|
10084
|
-
}
|
|
10085
|
-
|
|
10086
|
-
static readonly runtime = proto3;
|
|
10087
|
-
static readonly typeName = "norsk.api.media.HlsTsVideoPushConfiguration";
|
|
10088
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10089
|
-
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10090
|
-
{ no: 2, name: "destination", kind: "message", T: CMAFDestination },
|
|
10091
|
-
{ no: 3, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
10092
|
-
{ no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
10093
|
-
{ no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
10094
|
-
]);
|
|
10095
|
-
|
|
10096
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoPushConfiguration {
|
|
10097
|
-
return new HlsTsVideoPushConfiguration().fromBinary(bytes, options);
|
|
10098
|
-
}
|
|
10099
|
-
|
|
10100
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsVideoPushConfiguration {
|
|
10101
|
-
return new HlsTsVideoPushConfiguration().fromJson(jsonValue, options);
|
|
10102
|
-
}
|
|
10103
|
-
|
|
10104
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsVideoPushConfiguration {
|
|
10105
|
-
return new HlsTsVideoPushConfiguration().fromJsonString(jsonString, options);
|
|
10106
|
-
}
|
|
10107
|
-
|
|
10108
|
-
static equals(a: HlsTsVideoPushConfiguration | PlainMessage<HlsTsVideoPushConfiguration> | undefined, b: HlsTsVideoPushConfiguration | PlainMessage<HlsTsVideoPushConfiguration> | undefined): boolean {
|
|
10109
|
-
return proto3.util.equals(HlsTsVideoPushConfiguration, a, b);
|
|
10110
|
-
}
|
|
10111
|
-
}
|
|
10112
|
-
|
|
10113
|
-
/**
|
|
10114
|
-
* @generated from message norsk.api.media.HlsTsVideoPushMessage
|
|
10115
|
-
*/
|
|
10116
|
-
export class HlsTsVideoPushMessage extends Message<HlsTsVideoPushMessage> {
|
|
10117
|
-
/**
|
|
10118
|
-
* @generated from oneof norsk.api.media.HlsTsVideoPushMessage.message
|
|
10119
|
-
*/
|
|
10120
|
-
message: {
|
|
10121
|
-
/**
|
|
10122
|
-
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
10123
|
-
*/
|
|
10124
|
-
value: Subscription;
|
|
10125
|
-
case: "subscription";
|
|
10126
|
-
} | {
|
|
10127
|
-
/**
|
|
10128
|
-
* @generated from field: norsk.api.media.HlsTsVideoPushConfiguration configuration = 2;
|
|
10129
|
-
*/
|
|
10130
|
-
value: HlsTsVideoPushConfiguration;
|
|
10131
|
-
case: "configuration";
|
|
10132
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10133
|
-
|
|
10134
|
-
constructor(data?: PartialMessage<HlsTsVideoPushMessage>) {
|
|
10135
|
-
super();
|
|
10136
|
-
proto3.util.initPartial(data, this);
|
|
10137
|
-
}
|
|
10138
|
-
|
|
10139
|
-
static readonly runtime = proto3;
|
|
10140
|
-
static readonly typeName = "norsk.api.media.HlsTsVideoPushMessage";
|
|
10141
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10142
|
-
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
10143
|
-
{ no: 2, name: "configuration", kind: "message", T: HlsTsVideoPushConfiguration, oneof: "message" },
|
|
10144
|
-
]);
|
|
10145
|
-
|
|
10146
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoPushMessage {
|
|
10147
|
-
return new HlsTsVideoPushMessage().fromBinary(bytes, options);
|
|
10148
|
-
}
|
|
10149
|
-
|
|
10150
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsVideoPushMessage {
|
|
10151
|
-
return new HlsTsVideoPushMessage().fromJson(jsonValue, options);
|
|
10152
|
-
}
|
|
10153
|
-
|
|
10154
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsVideoPushMessage {
|
|
10155
|
-
return new HlsTsVideoPushMessage().fromJsonString(jsonString, options);
|
|
10156
|
-
}
|
|
10157
|
-
|
|
10158
|
-
static equals(a: HlsTsVideoPushMessage | PlainMessage<HlsTsVideoPushMessage> | undefined, b: HlsTsVideoPushMessage | PlainMessage<HlsTsVideoPushMessage> | undefined): boolean {
|
|
10159
|
-
return proto3.util.equals(HlsTsVideoPushMessage, a, b);
|
|
10160
|
-
}
|
|
10161
|
-
}
|
|
10162
|
-
|
|
10163
|
-
/**
|
|
10164
|
-
* @generated from message norsk.api.media.HlsTsAudioPushConfiguration
|
|
10165
|
-
*/
|
|
10166
|
-
export class HlsTsAudioPushConfiguration extends Message<HlsTsAudioPushConfiguration> {
|
|
10167
|
-
/**
|
|
10168
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
10169
|
-
*/
|
|
10170
|
-
id?: MediaNodeId;
|
|
10171
|
-
|
|
10172
|
-
/**
|
|
10173
|
-
* @generated from field: norsk.api.media.CMAFDestination destination = 2;
|
|
10174
|
-
*/
|
|
10175
|
-
destination?: CMAFDestination;
|
|
10176
|
-
|
|
10177
|
-
/**
|
|
10178
|
-
* @generated from field: float segment_duration_seconds = 3;
|
|
10179
|
-
*/
|
|
10180
|
-
segmentDurationSeconds = 0;
|
|
10181
|
-
|
|
10182
|
-
/**
|
|
10183
|
-
* @generated from field: float delay_output_ms = 4;
|
|
10184
|
-
*/
|
|
10185
|
-
delayOutputMs = 0;
|
|
10186
|
-
|
|
10187
|
-
/**
|
|
10188
|
-
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
|
|
10189
|
-
*/
|
|
10190
|
-
statsSampling?: StreamStatisticsSampling;
|
|
10191
|
-
|
|
10192
|
-
constructor(data?: PartialMessage<HlsTsAudioPushConfiguration>) {
|
|
10193
|
-
super();
|
|
10194
|
-
proto3.util.initPartial(data, this);
|
|
10195
|
-
}
|
|
10196
|
-
|
|
10197
|
-
static readonly runtime = proto3;
|
|
10198
|
-
static readonly typeName = "norsk.api.media.HlsTsAudioPushConfiguration";
|
|
10199
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10200
|
-
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10201
|
-
{ no: 2, name: "destination", kind: "message", T: CMAFDestination },
|
|
10202
|
-
{ no: 3, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
10203
|
-
{ no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
10204
|
-
{ no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
10205
|
-
]);
|
|
10206
|
-
|
|
10207
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioPushConfiguration {
|
|
10208
|
-
return new HlsTsAudioPushConfiguration().fromBinary(bytes, options);
|
|
10209
|
-
}
|
|
10210
|
-
|
|
10211
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsAudioPushConfiguration {
|
|
10212
|
-
return new HlsTsAudioPushConfiguration().fromJson(jsonValue, options);
|
|
10213
|
-
}
|
|
10214
|
-
|
|
10215
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsAudioPushConfiguration {
|
|
10216
|
-
return new HlsTsAudioPushConfiguration().fromJsonString(jsonString, options);
|
|
10217
|
-
}
|
|
10218
|
-
|
|
10219
|
-
static equals(a: HlsTsAudioPushConfiguration | PlainMessage<HlsTsAudioPushConfiguration> | undefined, b: HlsTsAudioPushConfiguration | PlainMessage<HlsTsAudioPushConfiguration> | undefined): boolean {
|
|
10220
|
-
return proto3.util.equals(HlsTsAudioPushConfiguration, a, b);
|
|
10221
|
-
}
|
|
10222
|
-
}
|
|
10223
|
-
|
|
10224
|
-
/**
|
|
10225
|
-
* @generated from message norsk.api.media.HlsTsAudioPushMessage
|
|
10226
|
-
*/
|
|
10227
|
-
export class HlsTsAudioPushMessage extends Message<HlsTsAudioPushMessage> {
|
|
10228
|
-
/**
|
|
10229
|
-
* @generated from oneof norsk.api.media.HlsTsAudioPushMessage.message
|
|
10230
|
-
*/
|
|
10231
|
-
message: {
|
|
10232
|
-
/**
|
|
10233
|
-
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
10234
|
-
*/
|
|
10235
|
-
value: Subscription;
|
|
10236
|
-
case: "subscription";
|
|
10237
|
-
} | {
|
|
10238
|
-
/**
|
|
10239
|
-
* @generated from field: norsk.api.media.HlsTsAudioPushConfiguration configuration = 2;
|
|
10240
|
-
*/
|
|
10241
|
-
value: HlsTsAudioPushConfiguration;
|
|
10242
|
-
case: "configuration";
|
|
10243
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10244
|
-
|
|
10245
|
-
constructor(data?: PartialMessage<HlsTsAudioPushMessage>) {
|
|
10246
|
-
super();
|
|
10247
|
-
proto3.util.initPartial(data, this);
|
|
10248
|
-
}
|
|
10249
|
-
|
|
10250
|
-
static readonly runtime = proto3;
|
|
10251
|
-
static readonly typeName = "norsk.api.media.HlsTsAudioPushMessage";
|
|
10252
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10253
|
-
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
10254
|
-
{ no: 2, name: "configuration", kind: "message", T: HlsTsAudioPushConfiguration, oneof: "message" },
|
|
10255
|
-
]);
|
|
10256
|
-
|
|
10257
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioPushMessage {
|
|
10258
|
-
return new HlsTsAudioPushMessage().fromBinary(bytes, options);
|
|
10259
|
-
}
|
|
10260
|
-
|
|
10261
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsAudioPushMessage {
|
|
10262
|
-
return new HlsTsAudioPushMessage().fromJson(jsonValue, options);
|
|
10263
|
-
}
|
|
10264
|
-
|
|
10265
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsAudioPushMessage {
|
|
10266
|
-
return new HlsTsAudioPushMessage().fromJsonString(jsonString, options);
|
|
10267
|
-
}
|
|
10268
|
-
|
|
10269
|
-
static equals(a: HlsTsAudioPushMessage | PlainMessage<HlsTsAudioPushMessage> | undefined, b: HlsTsAudioPushMessage | PlainMessage<HlsTsAudioPushMessage> | undefined): boolean {
|
|
10270
|
-
return proto3.util.equals(HlsTsAudioPushMessage, a, b);
|
|
10271
|
-
}
|
|
10272
|
-
}
|
|
10273
|
-
|
|
10274
|
-
/**
|
|
10275
|
-
* @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
|
|
10276
|
-
*/
|
|
10277
|
-
export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushConfiguration> {
|
|
10278
|
-
/**
|
|
10279
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
10280
|
-
*/
|
|
10281
|
-
id?: MediaNodeId;
|
|
10282
|
-
|
|
10283
|
-
/**
|
|
10284
|
-
* @generated from field: norsk.api.media.CMAFDestination destination = 2;
|
|
10285
|
-
*/
|
|
10286
|
-
destination?: CMAFDestination;
|
|
10287
|
-
|
|
10288
|
-
/**
|
|
10289
|
-
* @generated from field: float segment_duration_seconds = 3;
|
|
10290
|
-
*/
|
|
10291
|
-
segmentDurationSeconds = 0;
|
|
10292
|
-
|
|
10293
|
-
/**
|
|
10294
|
-
* @generated from field: float delay_output_ms = 4;
|
|
10295
|
-
*/
|
|
10296
|
-
delayOutputMs = 0;
|
|
10350
|
+
delayOutputMs = 0;
|
|
10297
10351
|
|
|
10298
10352
|
/**
|
|
10299
10353
|
* @generated from field: string playlist_name = 5;
|
|
@@ -10994,18 +11048,89 @@ export class WhipOutputMessage extends Message<WhipOutputMessage> {
|
|
|
10994
11048
|
}
|
|
10995
11049
|
|
|
10996
11050
|
/**
|
|
10997
|
-
* @generated from message norsk.api.media.
|
|
11051
|
+
* @generated from message norsk.api.media.WhipOutputEvent
|
|
10998
11052
|
*/
|
|
10999
|
-
export class
|
|
11000
|
-
/**
|
|
11001
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
11002
|
-
*/
|
|
11003
|
-
id?: MediaNodeId;
|
|
11004
|
-
|
|
11053
|
+
export class WhipOutputEvent extends Message<WhipOutputEvent> {
|
|
11005
11054
|
/**
|
|
11006
|
-
* @generated from
|
|
11055
|
+
* @generated from oneof norsk.api.media.WhipOutputEvent.message
|
|
11007
11056
|
*/
|
|
11008
|
-
|
|
11057
|
+
message: {
|
|
11058
|
+
/**
|
|
11059
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
11060
|
+
*/
|
|
11061
|
+
value: MediaNodeId;
|
|
11062
|
+
case: "nodeId";
|
|
11063
|
+
} | {
|
|
11064
|
+
/**
|
|
11065
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 2;
|
|
11066
|
+
*/
|
|
11067
|
+
value: SubscriptionResponse;
|
|
11068
|
+
case: "subscriptionResponse";
|
|
11069
|
+
} | {
|
|
11070
|
+
/**
|
|
11071
|
+
* @generated from field: norsk.api.media.Context inbound_context = 3;
|
|
11072
|
+
*/
|
|
11073
|
+
value: Context;
|
|
11074
|
+
case: "inboundContext";
|
|
11075
|
+
} | {
|
|
11076
|
+
/**
|
|
11077
|
+
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 4;
|
|
11078
|
+
*/
|
|
11079
|
+
value: MultiStreamStatistics;
|
|
11080
|
+
case: "streamStatistics";
|
|
11081
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
11082
|
+
|
|
11083
|
+
constructor(data?: PartialMessage<WhipOutputEvent>) {
|
|
11084
|
+
super();
|
|
11085
|
+
proto3.util.initPartial(data, this);
|
|
11086
|
+
}
|
|
11087
|
+
|
|
11088
|
+
static readonly runtime = proto3;
|
|
11089
|
+
static readonly typeName = "norsk.api.media.WhipOutputEvent";
|
|
11090
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11091
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
11092
|
+
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
11093
|
+
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11094
|
+
{ no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11095
|
+
]);
|
|
11096
|
+
|
|
11097
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhipOutputEvent {
|
|
11098
|
+
return new WhipOutputEvent().fromBinary(bytes, options);
|
|
11099
|
+
}
|
|
11100
|
+
|
|
11101
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WhipOutputEvent {
|
|
11102
|
+
return new WhipOutputEvent().fromJson(jsonValue, options);
|
|
11103
|
+
}
|
|
11104
|
+
|
|
11105
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhipOutputEvent {
|
|
11106
|
+
return new WhipOutputEvent().fromJsonString(jsonString, options);
|
|
11107
|
+
}
|
|
11108
|
+
|
|
11109
|
+
static equals(a: WhipOutputEvent | PlainMessage<WhipOutputEvent> | undefined, b: WhipOutputEvent | PlainMessage<WhipOutputEvent> | undefined): boolean {
|
|
11110
|
+
return proto3.util.equals(WhipOutputEvent, a, b);
|
|
11111
|
+
}
|
|
11112
|
+
}
|
|
11113
|
+
|
|
11114
|
+
/**
|
|
11115
|
+
* @generated from message norsk.api.media.WebRTCBrowserDuplexConfiguration
|
|
11116
|
+
*/
|
|
11117
|
+
export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuplexConfiguration> {
|
|
11118
|
+
/**
|
|
11119
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
11120
|
+
*/
|
|
11121
|
+
id?: MediaNodeId;
|
|
11122
|
+
|
|
11123
|
+
/**
|
|
11124
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 2;
|
|
11125
|
+
*/
|
|
11126
|
+
statsSampling?: StreamStatisticsSampling;
|
|
11127
|
+
|
|
11128
|
+
/**
|
|
11129
|
+
* Optionally configure ICE servers (STUN/TURN)
|
|
11130
|
+
*
|
|
11131
|
+
* @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 3;
|
|
11132
|
+
*/
|
|
11133
|
+
iceServerConfiguration?: WebRtcIceServerConfiguration;
|
|
11009
11134
|
|
|
11010
11135
|
constructor(data?: PartialMessage<WebRTCBrowserDuplexConfiguration>) {
|
|
11011
11136
|
super();
|
|
@@ -11017,6 +11142,7 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
|
|
|
11017
11142
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11018
11143
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11019
11144
|
{ no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11145
|
+
{ no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
|
|
11020
11146
|
]);
|
|
11021
11147
|
|
|
11022
11148
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRTCBrowserDuplexConfiguration {
|
|
@@ -11087,11 +11213,11 @@ export class WebRTCBrowserDuplexMessage extends Message<WebRTCBrowserDuplexMessa
|
|
|
11087
11213
|
}
|
|
11088
11214
|
|
|
11089
11215
|
/**
|
|
11090
|
-
* @generated from message norsk.api.media.
|
|
11216
|
+
* @generated from message norsk.api.media.WebRTCBrowserDuplexEvent
|
|
11091
11217
|
*/
|
|
11092
|
-
export class
|
|
11218
|
+
export class WebRTCBrowserDuplexEvent extends Message<WebRTCBrowserDuplexEvent> {
|
|
11093
11219
|
/**
|
|
11094
|
-
* @generated from oneof norsk.api.media.
|
|
11220
|
+
* @generated from oneof norsk.api.media.WebRTCBrowserDuplexEvent.message
|
|
11095
11221
|
*/
|
|
11096
11222
|
message: {
|
|
11097
11223
|
/**
|
|
@@ -11113,49 +11239,157 @@ export class WhipOutputEvent extends Message<WhipOutputEvent> {
|
|
|
11113
11239
|
case: "inboundContext";
|
|
11114
11240
|
} | {
|
|
11115
11241
|
/**
|
|
11116
|
-
* @generated from field: norsk.api.media.
|
|
11242
|
+
* @generated from field: norsk.api.media.Context outbound_context = 4;
|
|
11243
|
+
*/
|
|
11244
|
+
value: Context;
|
|
11245
|
+
case: "outboundContext";
|
|
11246
|
+
} | {
|
|
11247
|
+
/**
|
|
11248
|
+
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 5;
|
|
11117
11249
|
*/
|
|
11118
11250
|
value: MultiStreamStatistics;
|
|
11119
11251
|
case: "streamStatistics";
|
|
11120
11252
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
11121
11253
|
|
|
11122
|
-
constructor(data?: PartialMessage<
|
|
11254
|
+
constructor(data?: PartialMessage<WebRTCBrowserDuplexEvent>) {
|
|
11123
11255
|
super();
|
|
11124
11256
|
proto3.util.initPartial(data, this);
|
|
11125
11257
|
}
|
|
11126
11258
|
|
|
11127
11259
|
static readonly runtime = proto3;
|
|
11128
|
-
static readonly typeName = "norsk.api.media.
|
|
11260
|
+
static readonly typeName = "norsk.api.media.WebRTCBrowserDuplexEvent";
|
|
11129
11261
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11130
11262
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
11131
11263
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
11132
11264
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11133
|
-
{ no: 4, name: "
|
|
11265
|
+
{ no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11266
|
+
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11134
11267
|
]);
|
|
11135
11268
|
|
|
11136
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
11137
|
-
return new
|
|
11269
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRTCBrowserDuplexEvent {
|
|
11270
|
+
return new WebRTCBrowserDuplexEvent().fromBinary(bytes, options);
|
|
11138
11271
|
}
|
|
11139
11272
|
|
|
11140
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
11141
|
-
return new
|
|
11273
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRTCBrowserDuplexEvent {
|
|
11274
|
+
return new WebRTCBrowserDuplexEvent().fromJson(jsonValue, options);
|
|
11142
11275
|
}
|
|
11143
11276
|
|
|
11144
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
11145
|
-
return new
|
|
11277
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRTCBrowserDuplexEvent {
|
|
11278
|
+
return new WebRTCBrowserDuplexEvent().fromJsonString(jsonString, options);
|
|
11146
11279
|
}
|
|
11147
11280
|
|
|
11148
|
-
static equals(a:
|
|
11149
|
-
return proto3.util.equals(
|
|
11281
|
+
static equals(a: WebRTCBrowserDuplexEvent | PlainMessage<WebRTCBrowserDuplexEvent> | undefined, b: WebRTCBrowserDuplexEvent | PlainMessage<WebRTCBrowserDuplexEvent> | undefined): boolean {
|
|
11282
|
+
return proto3.util.equals(WebRTCBrowserDuplexEvent, a, b);
|
|
11150
11283
|
}
|
|
11151
11284
|
}
|
|
11152
11285
|
|
|
11153
11286
|
/**
|
|
11154
|
-
* @generated from message norsk.api.media.
|
|
11287
|
+
* @generated from message norsk.api.media.WhepOutputConfiguration
|
|
11155
11288
|
*/
|
|
11156
|
-
export class
|
|
11289
|
+
export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
|
|
11157
11290
|
/**
|
|
11158
|
-
* @generated from
|
|
11291
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
11292
|
+
*/
|
|
11293
|
+
id?: MediaNodeId;
|
|
11294
|
+
|
|
11295
|
+
/**
|
|
11296
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 2;
|
|
11297
|
+
*/
|
|
11298
|
+
statsSampling?: StreamStatisticsSampling;
|
|
11299
|
+
|
|
11300
|
+
/**
|
|
11301
|
+
* Optionally configure ICE servers (STUN/TURN)
|
|
11302
|
+
*
|
|
11303
|
+
* @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 3;
|
|
11304
|
+
*/
|
|
11305
|
+
iceServerConfiguration?: WebRtcIceServerConfiguration;
|
|
11306
|
+
|
|
11307
|
+
constructor(data?: PartialMessage<WhepOutputConfiguration>) {
|
|
11308
|
+
super();
|
|
11309
|
+
proto3.util.initPartial(data, this);
|
|
11310
|
+
}
|
|
11311
|
+
|
|
11312
|
+
static readonly runtime = proto3;
|
|
11313
|
+
static readonly typeName = "norsk.api.media.WhepOutputConfiguration";
|
|
11314
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11315
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11316
|
+
{ no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11317
|
+
{ no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
|
|
11318
|
+
]);
|
|
11319
|
+
|
|
11320
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputConfiguration {
|
|
11321
|
+
return new WhepOutputConfiguration().fromBinary(bytes, options);
|
|
11322
|
+
}
|
|
11323
|
+
|
|
11324
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WhepOutputConfiguration {
|
|
11325
|
+
return new WhepOutputConfiguration().fromJson(jsonValue, options);
|
|
11326
|
+
}
|
|
11327
|
+
|
|
11328
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhepOutputConfiguration {
|
|
11329
|
+
return new WhepOutputConfiguration().fromJsonString(jsonString, options);
|
|
11330
|
+
}
|
|
11331
|
+
|
|
11332
|
+
static equals(a: WhepOutputConfiguration | PlainMessage<WhepOutputConfiguration> | undefined, b: WhepOutputConfiguration | PlainMessage<WhepOutputConfiguration> | undefined): boolean {
|
|
11333
|
+
return proto3.util.equals(WhepOutputConfiguration, a, b);
|
|
11334
|
+
}
|
|
11335
|
+
}
|
|
11336
|
+
|
|
11337
|
+
/**
|
|
11338
|
+
* @generated from message norsk.api.media.WhepOutputMessage
|
|
11339
|
+
*/
|
|
11340
|
+
export class WhepOutputMessage extends Message<WhepOutputMessage> {
|
|
11341
|
+
/**
|
|
11342
|
+
* @generated from oneof norsk.api.media.WhepOutputMessage.message
|
|
11343
|
+
*/
|
|
11344
|
+
message: {
|
|
11345
|
+
/**
|
|
11346
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
11347
|
+
*/
|
|
11348
|
+
value: Subscription;
|
|
11349
|
+
case: "subscription";
|
|
11350
|
+
} | {
|
|
11351
|
+
/**
|
|
11352
|
+
* @generated from field: norsk.api.media.WhepOutputConfiguration configuration = 2;
|
|
11353
|
+
*/
|
|
11354
|
+
value: WhepOutputConfiguration;
|
|
11355
|
+
case: "configuration";
|
|
11356
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
11357
|
+
|
|
11358
|
+
constructor(data?: PartialMessage<WhepOutputMessage>) {
|
|
11359
|
+
super();
|
|
11360
|
+
proto3.util.initPartial(data, this);
|
|
11361
|
+
}
|
|
11362
|
+
|
|
11363
|
+
static readonly runtime = proto3;
|
|
11364
|
+
static readonly typeName = "norsk.api.media.WhepOutputMessage";
|
|
11365
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11366
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
11367
|
+
{ no: 2, name: "configuration", kind: "message", T: WhepOutputConfiguration, oneof: "message" },
|
|
11368
|
+
]);
|
|
11369
|
+
|
|
11370
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputMessage {
|
|
11371
|
+
return new WhepOutputMessage().fromBinary(bytes, options);
|
|
11372
|
+
}
|
|
11373
|
+
|
|
11374
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WhepOutputMessage {
|
|
11375
|
+
return new WhepOutputMessage().fromJson(jsonValue, options);
|
|
11376
|
+
}
|
|
11377
|
+
|
|
11378
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhepOutputMessage {
|
|
11379
|
+
return new WhepOutputMessage().fromJsonString(jsonString, options);
|
|
11380
|
+
}
|
|
11381
|
+
|
|
11382
|
+
static equals(a: WhepOutputMessage | PlainMessage<WhepOutputMessage> | undefined, b: WhepOutputMessage | PlainMessage<WhepOutputMessage> | undefined): boolean {
|
|
11383
|
+
return proto3.util.equals(WhepOutputMessage, a, b);
|
|
11384
|
+
}
|
|
11385
|
+
}
|
|
11386
|
+
|
|
11387
|
+
/**
|
|
11388
|
+
* @generated from message norsk.api.media.WhepOutputEvent
|
|
11389
|
+
*/
|
|
11390
|
+
export class WhepOutputEvent extends Message<WhepOutputEvent> {
|
|
11391
|
+
/**
|
|
11392
|
+
* @generated from oneof norsk.api.media.WhepOutputEvent.message
|
|
11159
11393
|
*/
|
|
11160
11394
|
message: {
|
|
11161
11395
|
/**
|
|
@@ -11177,47 +11411,40 @@ export class WebRTCBrowserDuplexEvent extends Message<WebRTCBrowserDuplexEvent>
|
|
|
11177
11411
|
case: "inboundContext";
|
|
11178
11412
|
} | {
|
|
11179
11413
|
/**
|
|
11180
|
-
* @generated from field: norsk.api.media.
|
|
11181
|
-
*/
|
|
11182
|
-
value: Context;
|
|
11183
|
-
case: "outboundContext";
|
|
11184
|
-
} | {
|
|
11185
|
-
/**
|
|
11186
|
-
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 5;
|
|
11414
|
+
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 4;
|
|
11187
11415
|
*/
|
|
11188
11416
|
value: MultiStreamStatistics;
|
|
11189
11417
|
case: "streamStatistics";
|
|
11190
11418
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
11191
11419
|
|
|
11192
|
-
constructor(data?: PartialMessage<
|
|
11420
|
+
constructor(data?: PartialMessage<WhepOutputEvent>) {
|
|
11193
11421
|
super();
|
|
11194
11422
|
proto3.util.initPartial(data, this);
|
|
11195
11423
|
}
|
|
11196
11424
|
|
|
11197
11425
|
static readonly runtime = proto3;
|
|
11198
|
-
static readonly typeName = "norsk.api.media.
|
|
11426
|
+
static readonly typeName = "norsk.api.media.WhepOutputEvent";
|
|
11199
11427
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11200
11428
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
11201
11429
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
11202
11430
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11203
|
-
{ no: 4, name: "
|
|
11204
|
-
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11431
|
+
{ no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11205
11432
|
]);
|
|
11206
11433
|
|
|
11207
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
11208
|
-
return new
|
|
11434
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputEvent {
|
|
11435
|
+
return new WhepOutputEvent().fromBinary(bytes, options);
|
|
11209
11436
|
}
|
|
11210
11437
|
|
|
11211
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
11212
|
-
return new
|
|
11438
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WhepOutputEvent {
|
|
11439
|
+
return new WhepOutputEvent().fromJson(jsonValue, options);
|
|
11213
11440
|
}
|
|
11214
11441
|
|
|
11215
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
11216
|
-
return new
|
|
11442
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhepOutputEvent {
|
|
11443
|
+
return new WhepOutputEvent().fromJsonString(jsonString, options);
|
|
11217
11444
|
}
|
|
11218
11445
|
|
|
11219
|
-
static equals(a:
|
|
11220
|
-
return proto3.util.equals(
|
|
11446
|
+
static equals(a: WhepOutputEvent | PlainMessage<WhepOutputEvent> | undefined, b: WhepOutputEvent | PlainMessage<WhepOutputEvent> | undefined): boolean {
|
|
11447
|
+
return proto3.util.equals(WhepOutputEvent, a, b);
|
|
11221
11448
|
}
|
|
11222
11449
|
}
|
|
11223
11450
|
|
|
@@ -11567,12 +11794,17 @@ export class FileMp4OutputConfiguration extends Message<FileMp4OutputConfigurati
|
|
|
11567
11794
|
nonfragmentedFileName = "";
|
|
11568
11795
|
|
|
11569
11796
|
/**
|
|
11570
|
-
* @generated from field: norsk.api.media.Mp4Encryption
|
|
11797
|
+
* @generated from field: norsk.api.media.Mp4Encryption audio_encryption = 4;
|
|
11571
11798
|
*/
|
|
11572
|
-
|
|
11799
|
+
audioEncryption?: Mp4Encryption;
|
|
11573
11800
|
|
|
11574
11801
|
/**
|
|
11575
|
-
* @generated from field: norsk.api.media.
|
|
11802
|
+
* @generated from field: norsk.api.media.Mp4Encryption video_encryption = 5;
|
|
11803
|
+
*/
|
|
11804
|
+
videoEncryption?: Mp4Encryption;
|
|
11805
|
+
|
|
11806
|
+
/**
|
|
11807
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
|
|
11576
11808
|
*/
|
|
11577
11809
|
statsSampling?: StreamStatisticsSampling;
|
|
11578
11810
|
|
|
@@ -11587,8 +11819,9 @@ export class FileMp4OutputConfiguration extends Message<FileMp4OutputConfigurati
|
|
|
11587
11819
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11588
11820
|
{ no: 2, name: "fragmented_file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11589
11821
|
{ no: 3, name: "nonfragmented_file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11590
|
-
{ no: 4, name: "
|
|
11591
|
-
{ no: 5, name: "
|
|
11822
|
+
{ no: 4, name: "audio_encryption", kind: "message", T: Mp4Encryption },
|
|
11823
|
+
{ no: 5, name: "video_encryption", kind: "message", T: Mp4Encryption },
|
|
11824
|
+
{ no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11592
11825
|
]);
|
|
11593
11826
|
|
|
11594
11827
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputConfiguration {
|
|
@@ -12800,16 +13033,28 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
12800
13033
|
case: "nvidiaHevc";
|
|
12801
13034
|
} | {
|
|
12802
13035
|
/**
|
|
12803
|
-
* @generated from field: norsk.api.media.
|
|
13036
|
+
* @generated from field: norsk.api.media.LoganH264 loganH264 = 9;
|
|
12804
13037
|
*/
|
|
12805
|
-
value:
|
|
12806
|
-
case: "
|
|
13038
|
+
value: LoganH264;
|
|
13039
|
+
case: "loganH264";
|
|
12807
13040
|
} | {
|
|
12808
13041
|
/**
|
|
12809
|
-
* @generated from field: norsk.api.media.
|
|
13042
|
+
* @generated from field: norsk.api.media.LoganHevc loganHevc = 10;
|
|
12810
13043
|
*/
|
|
12811
|
-
value:
|
|
12812
|
-
case: "
|
|
13044
|
+
value: LoganHevc;
|
|
13045
|
+
case: "loganHevc";
|
|
13046
|
+
} | {
|
|
13047
|
+
/**
|
|
13048
|
+
* @generated from field: norsk.api.media.QuadraH264 quadraH264 = 11;
|
|
13049
|
+
*/
|
|
13050
|
+
value: QuadraH264;
|
|
13051
|
+
case: "quadraH264";
|
|
13052
|
+
} | {
|
|
13053
|
+
/**
|
|
13054
|
+
* @generated from field: norsk.api.media.QuadraHevc quadraHevc = 12;
|
|
13055
|
+
*/
|
|
13056
|
+
value: QuadraHevc;
|
|
13057
|
+
case: "quadraHevc";
|
|
12813
13058
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
12814
13059
|
|
|
12815
13060
|
constructor(data?: PartialMessage<VideoEncodeStream>) {
|
|
@@ -12828,8 +13073,10 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
12828
13073
|
{ no: 6, name: "x265", kind: "message", T: X265Codec, oneof: "codec" },
|
|
12829
13074
|
{ no: 7, name: "nvidiaH264", kind: "message", T: NvidiaH264, oneof: "codec" },
|
|
12830
13075
|
{ no: 8, name: "nvidiaHevc", kind: "message", T: NvidiaHevc, oneof: "codec" },
|
|
12831
|
-
{ no: 9, name: "
|
|
12832
|
-
{ no: 10, name: "
|
|
13076
|
+
{ no: 9, name: "loganH264", kind: "message", T: LoganH264, oneof: "codec" },
|
|
13077
|
+
{ no: 10, name: "loganHevc", kind: "message", T: LoganHevc, oneof: "codec" },
|
|
13078
|
+
{ no: 11, name: "quadraH264", kind: "message", T: QuadraH264, oneof: "codec" },
|
|
13079
|
+
{ no: 12, name: "quadraHevc", kind: "message", T: QuadraHevc, oneof: "codec" },
|
|
12833
13080
|
]);
|
|
12834
13081
|
|
|
12835
13082
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeStream {
|
|
@@ -13119,255 +13366,611 @@ export class NvidiaH264 extends Message<NvidiaH264> {
|
|
|
13119
13366
|
gopInterval?: OptionalInt;
|
|
13120
13367
|
|
|
13121
13368
|
/**
|
|
13122
|
-
* @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
|
|
13369
|
+
* @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
|
|
13370
|
+
*/
|
|
13371
|
+
idrPeriod?: OptionalInt;
|
|
13372
|
+
|
|
13373
|
+
/**
|
|
13374
|
+
* @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
|
|
13375
|
+
*/
|
|
13376
|
+
frameIntervalP?: OptionalInt;
|
|
13377
|
+
|
|
13378
|
+
/**
|
|
13379
|
+
* @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
|
|
13380
|
+
*/
|
|
13381
|
+
maxNumRefFrames?: OptionalInt;
|
|
13382
|
+
|
|
13383
|
+
/**
|
|
13384
|
+
* @generated from field: norsk.api.media.OptionalBool outputAud = 6;
|
|
13385
|
+
*/
|
|
13386
|
+
outputAud?: OptionalBool;
|
|
13387
|
+
|
|
13388
|
+
/**
|
|
13389
|
+
* @generated from field: norsk.api.media.OptionalInt level = 7;
|
|
13390
|
+
*/
|
|
13391
|
+
level?: OptionalInt;
|
|
13392
|
+
|
|
13393
|
+
/**
|
|
13394
|
+
* @generated from field: norsk.api.media.NvidiaH264.NvidiaH264Profile profile = 8;
|
|
13395
|
+
*/
|
|
13396
|
+
profile = NvidiaH264_NvidiaH264Profile.AUTO;
|
|
13397
|
+
|
|
13398
|
+
/**
|
|
13399
|
+
* @generated from field: norsk.api.media.NvidiaRateControl rateControl = 9;
|
|
13400
|
+
*/
|
|
13401
|
+
rateControl?: NvidiaRateControl;
|
|
13402
|
+
|
|
13403
|
+
constructor(data?: PartialMessage<NvidiaH264>) {
|
|
13404
|
+
super();
|
|
13405
|
+
proto3.util.initPartial(data, this);
|
|
13406
|
+
}
|
|
13407
|
+
|
|
13408
|
+
static readonly runtime = proto3;
|
|
13409
|
+
static readonly typeName = "norsk.api.media.NvidiaH264";
|
|
13410
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13411
|
+
{ no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(NvidiaPreset) },
|
|
13412
|
+
{ no: 2, name: "gopInterval", kind: "message", T: OptionalInt },
|
|
13413
|
+
{ no: 3, name: "idrPeriod", kind: "message", T: OptionalInt },
|
|
13414
|
+
{ no: 4, name: "frameIntervalP", kind: "message", T: OptionalInt },
|
|
13415
|
+
{ no: 5, name: "maxNumRefFrames", kind: "message", T: OptionalInt },
|
|
13416
|
+
{ no: 6, name: "outputAud", kind: "message", T: OptionalBool },
|
|
13417
|
+
{ no: 7, name: "level", kind: "message", T: OptionalInt },
|
|
13418
|
+
{ no: 8, name: "profile", kind: "enum", T: proto3.getEnumType(NvidiaH264_NvidiaH264Profile) },
|
|
13419
|
+
{ no: 9, name: "rateControl", kind: "message", T: NvidiaRateControl },
|
|
13420
|
+
]);
|
|
13421
|
+
|
|
13422
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NvidiaH264 {
|
|
13423
|
+
return new NvidiaH264().fromBinary(bytes, options);
|
|
13424
|
+
}
|
|
13425
|
+
|
|
13426
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NvidiaH264 {
|
|
13427
|
+
return new NvidiaH264().fromJson(jsonValue, options);
|
|
13428
|
+
}
|
|
13429
|
+
|
|
13430
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NvidiaH264 {
|
|
13431
|
+
return new NvidiaH264().fromJsonString(jsonString, options);
|
|
13432
|
+
}
|
|
13433
|
+
|
|
13434
|
+
static equals(a: NvidiaH264 | PlainMessage<NvidiaH264> | undefined, b: NvidiaH264 | PlainMessage<NvidiaH264> | undefined): boolean {
|
|
13435
|
+
return proto3.util.equals(NvidiaH264, a, b);
|
|
13436
|
+
}
|
|
13437
|
+
}
|
|
13438
|
+
|
|
13439
|
+
/**
|
|
13440
|
+
* @generated from enum norsk.api.media.NvidiaH264.NvidiaH264Profile
|
|
13441
|
+
*/
|
|
13442
|
+
export enum NvidiaH264_NvidiaH264Profile {
|
|
13443
|
+
/**
|
|
13444
|
+
* @generated from enum value: NVIDIA_H264_PROFILE_AUTO = 0;
|
|
13445
|
+
*/
|
|
13446
|
+
AUTO = 0,
|
|
13447
|
+
|
|
13448
|
+
/**
|
|
13449
|
+
* @generated from enum value: NVIDIA_H264_PROFILE_BASELINE = 1;
|
|
13450
|
+
*/
|
|
13451
|
+
BASELINE = 1,
|
|
13452
|
+
|
|
13453
|
+
/**
|
|
13454
|
+
* @generated from enum value: NVIDIA_H264_PROFILE_MAIN = 2;
|
|
13455
|
+
*/
|
|
13456
|
+
MAIN = 2,
|
|
13457
|
+
|
|
13458
|
+
/**
|
|
13459
|
+
* @generated from enum value: NVIDIA_H264_PROFILE_HIGH = 4;
|
|
13460
|
+
*/
|
|
13461
|
+
HIGH = 4,
|
|
13462
|
+
|
|
13463
|
+
/**
|
|
13464
|
+
* @generated from enum value: NVIDIA_H264_PROFILE_HIGH444 = 7;
|
|
13465
|
+
*/
|
|
13466
|
+
HIGH444 = 7,
|
|
13467
|
+
}
|
|
13468
|
+
// Retrieve enum metadata with: proto3.getEnumType(NvidiaH264_NvidiaH264Profile)
|
|
13469
|
+
proto3.util.setEnumType(NvidiaH264_NvidiaH264Profile, "norsk.api.media.NvidiaH264.NvidiaH264Profile", [
|
|
13470
|
+
{ no: 0, name: "NVIDIA_H264_PROFILE_AUTO" },
|
|
13471
|
+
{ no: 1, name: "NVIDIA_H264_PROFILE_BASELINE" },
|
|
13472
|
+
{ no: 2, name: "NVIDIA_H264_PROFILE_MAIN" },
|
|
13473
|
+
{ no: 4, name: "NVIDIA_H264_PROFILE_HIGH" },
|
|
13474
|
+
{ no: 7, name: "NVIDIA_H264_PROFILE_HIGH444" },
|
|
13475
|
+
]);
|
|
13476
|
+
|
|
13477
|
+
/**
|
|
13478
|
+
* @generated from message norsk.api.media.NvidiaHevc
|
|
13479
|
+
*/
|
|
13480
|
+
export class NvidiaHevc extends Message<NvidiaHevc> {
|
|
13481
|
+
/**
|
|
13482
|
+
* @generated from field: norsk.api.media.NvidiaPreset preset = 1;
|
|
13483
|
+
*/
|
|
13484
|
+
preset = NvidiaPreset.P1;
|
|
13485
|
+
|
|
13486
|
+
/**
|
|
13487
|
+
* @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
|
|
13488
|
+
*/
|
|
13489
|
+
gopInterval?: OptionalInt;
|
|
13490
|
+
|
|
13491
|
+
/**
|
|
13492
|
+
* @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
|
|
13493
|
+
*/
|
|
13494
|
+
idrPeriod?: OptionalInt;
|
|
13495
|
+
|
|
13496
|
+
/**
|
|
13497
|
+
* @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
|
|
13498
|
+
*/
|
|
13499
|
+
frameIntervalP?: OptionalInt;
|
|
13500
|
+
|
|
13501
|
+
/**
|
|
13502
|
+
* @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
|
|
13503
|
+
*/
|
|
13504
|
+
maxNumRefFrames?: OptionalInt;
|
|
13505
|
+
|
|
13506
|
+
/**
|
|
13507
|
+
* @generated from field: norsk.api.media.OptionalBool outputAud = 6;
|
|
13508
|
+
*/
|
|
13509
|
+
outputAud?: OptionalBool;
|
|
13510
|
+
|
|
13511
|
+
/**
|
|
13512
|
+
* @generated from field: norsk.api.media.OptionalInt level = 7;
|
|
13513
|
+
*/
|
|
13514
|
+
level?: OptionalInt;
|
|
13515
|
+
|
|
13516
|
+
/**
|
|
13517
|
+
* @generated from field: norsk.api.media.NvidiaHevc.NvidiaHevcTier tier = 8;
|
|
13518
|
+
*/
|
|
13519
|
+
tier = NvidiaHevc_NvidiaHevcTier.MAIN;
|
|
13520
|
+
|
|
13521
|
+
/**
|
|
13522
|
+
* @generated from field: norsk.api.media.NvidiaHevc.NvidiaHevcProfile profile = 9;
|
|
13523
|
+
*/
|
|
13524
|
+
profile = NvidiaHevc_NvidiaHevcProfile.AUTO;
|
|
13525
|
+
|
|
13526
|
+
/**
|
|
13527
|
+
* @generated from field: norsk.api.media.NvidiaRateControl rateControl = 10;
|
|
13528
|
+
*/
|
|
13529
|
+
rateControl?: NvidiaRateControl;
|
|
13530
|
+
|
|
13531
|
+
constructor(data?: PartialMessage<NvidiaHevc>) {
|
|
13532
|
+
super();
|
|
13533
|
+
proto3.util.initPartial(data, this);
|
|
13534
|
+
}
|
|
13535
|
+
|
|
13536
|
+
static readonly runtime = proto3;
|
|
13537
|
+
static readonly typeName = "norsk.api.media.NvidiaHevc";
|
|
13538
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13539
|
+
{ no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(NvidiaPreset) },
|
|
13540
|
+
{ no: 2, name: "gopInterval", kind: "message", T: OptionalInt },
|
|
13541
|
+
{ no: 3, name: "idrPeriod", kind: "message", T: OptionalInt },
|
|
13542
|
+
{ no: 4, name: "frameIntervalP", kind: "message", T: OptionalInt },
|
|
13543
|
+
{ no: 5, name: "maxNumRefFrames", kind: "message", T: OptionalInt },
|
|
13544
|
+
{ no: 6, name: "outputAud", kind: "message", T: OptionalBool },
|
|
13545
|
+
{ no: 7, name: "level", kind: "message", T: OptionalInt },
|
|
13546
|
+
{ no: 8, name: "tier", kind: "enum", T: proto3.getEnumType(NvidiaHevc_NvidiaHevcTier) },
|
|
13547
|
+
{ no: 9, name: "profile", kind: "enum", T: proto3.getEnumType(NvidiaHevc_NvidiaHevcProfile) },
|
|
13548
|
+
{ no: 10, name: "rateControl", kind: "message", T: NvidiaRateControl },
|
|
13549
|
+
]);
|
|
13550
|
+
|
|
13551
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NvidiaHevc {
|
|
13552
|
+
return new NvidiaHevc().fromBinary(bytes, options);
|
|
13553
|
+
}
|
|
13554
|
+
|
|
13555
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NvidiaHevc {
|
|
13556
|
+
return new NvidiaHevc().fromJson(jsonValue, options);
|
|
13557
|
+
}
|
|
13558
|
+
|
|
13559
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NvidiaHevc {
|
|
13560
|
+
return new NvidiaHevc().fromJsonString(jsonString, options);
|
|
13561
|
+
}
|
|
13562
|
+
|
|
13563
|
+
static equals(a: NvidiaHevc | PlainMessage<NvidiaHevc> | undefined, b: NvidiaHevc | PlainMessage<NvidiaHevc> | undefined): boolean {
|
|
13564
|
+
return proto3.util.equals(NvidiaHevc, a, b);
|
|
13565
|
+
}
|
|
13566
|
+
}
|
|
13567
|
+
|
|
13568
|
+
/**
|
|
13569
|
+
* @generated from enum norsk.api.media.NvidiaHevc.NvidiaHevcProfile
|
|
13570
|
+
*/
|
|
13571
|
+
export enum NvidiaHevc_NvidiaHevcProfile {
|
|
13572
|
+
/**
|
|
13573
|
+
* @generated from enum value: NVIDIA_HEVC_PROFILE_AUTO = 0;
|
|
13574
|
+
*/
|
|
13575
|
+
AUTO = 0,
|
|
13576
|
+
|
|
13577
|
+
/**
|
|
13578
|
+
* @generated from enum value: NVIDIA_HEVC_PROFILE_MAIN = 1;
|
|
13579
|
+
*/
|
|
13580
|
+
MAIN = 1,
|
|
13581
|
+
|
|
13582
|
+
/**
|
|
13583
|
+
* @generated from enum value: NVIDIA_HEVC_PROFILE_MAIN10 = 2;
|
|
13584
|
+
*/
|
|
13585
|
+
MAIN10 = 2,
|
|
13586
|
+
}
|
|
13587
|
+
// Retrieve enum metadata with: proto3.getEnumType(NvidiaHevc_NvidiaHevcProfile)
|
|
13588
|
+
proto3.util.setEnumType(NvidiaHevc_NvidiaHevcProfile, "norsk.api.media.NvidiaHevc.NvidiaHevcProfile", [
|
|
13589
|
+
{ no: 0, name: "NVIDIA_HEVC_PROFILE_AUTO" },
|
|
13590
|
+
{ no: 1, name: "NVIDIA_HEVC_PROFILE_MAIN" },
|
|
13591
|
+
{ no: 2, name: "NVIDIA_HEVC_PROFILE_MAIN10" },
|
|
13592
|
+
]);
|
|
13593
|
+
|
|
13594
|
+
/**
|
|
13595
|
+
* @generated from enum norsk.api.media.NvidiaHevc.NvidiaHevcTier
|
|
13596
|
+
*/
|
|
13597
|
+
export enum NvidiaHevc_NvidiaHevcTier {
|
|
13598
|
+
/**
|
|
13599
|
+
* @generated from enum value: NVIDIA_HEVC_TIER_MAIN = 0;
|
|
13600
|
+
*/
|
|
13601
|
+
MAIN = 0,
|
|
13602
|
+
|
|
13603
|
+
/**
|
|
13604
|
+
* @generated from enum value: NVIDIA_HEVC_TIER_HIGH = 1;
|
|
13605
|
+
*/
|
|
13606
|
+
HIGH = 1,
|
|
13607
|
+
}
|
|
13608
|
+
// Retrieve enum metadata with: proto3.getEnumType(NvidiaHevc_NvidiaHevcTier)
|
|
13609
|
+
proto3.util.setEnumType(NvidiaHevc_NvidiaHevcTier, "norsk.api.media.NvidiaHevc.NvidiaHevcTier", [
|
|
13610
|
+
{ no: 0, name: "NVIDIA_HEVC_TIER_MAIN" },
|
|
13611
|
+
{ no: 1, name: "NVIDIA_HEVC_TIER_HIGH" },
|
|
13612
|
+
]);
|
|
13613
|
+
|
|
13614
|
+
/**
|
|
13615
|
+
* @generated from message norsk.api.media.QuadraH264
|
|
13616
|
+
*/
|
|
13617
|
+
export class QuadraH264 extends Message<QuadraH264> {
|
|
13618
|
+
/**
|
|
13619
|
+
* @generated from field: string extraOpts = 1;
|
|
13620
|
+
*/
|
|
13621
|
+
extraOpts = "";
|
|
13622
|
+
|
|
13623
|
+
/**
|
|
13624
|
+
* @generated from field: norsk.api.media.OptionalBool enableAud = 2;
|
|
13625
|
+
*/
|
|
13626
|
+
enableAud?: OptionalBool;
|
|
13627
|
+
|
|
13628
|
+
/**
|
|
13629
|
+
* @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
|
|
13630
|
+
*/
|
|
13631
|
+
gpuIndex?: OptionalInt;
|
|
13632
|
+
|
|
13633
|
+
/**
|
|
13634
|
+
* @generated from field: norsk.api.media.OptionalInt bitrate = 4;
|
|
13635
|
+
*/
|
|
13636
|
+
bitrate?: OptionalInt;
|
|
13637
|
+
|
|
13638
|
+
/**
|
|
13639
|
+
* @generated from field: norsk.api.media.OptionalBool flushGop = 5;
|
|
13640
|
+
*/
|
|
13641
|
+
flushGop?: OptionalBool;
|
|
13642
|
+
|
|
13643
|
+
/**
|
|
13644
|
+
* @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
|
|
13645
|
+
*/
|
|
13646
|
+
enableVfr?: OptionalBool;
|
|
13647
|
+
|
|
13648
|
+
/**
|
|
13649
|
+
* @generated from field: norsk.api.media.OptionalInt crf = 7;
|
|
13650
|
+
*/
|
|
13651
|
+
crf?: OptionalInt;
|
|
13652
|
+
|
|
13653
|
+
/**
|
|
13654
|
+
* @generated from field: norsk.api.media.OptionalBool cbr = 8;
|
|
13123
13655
|
*/
|
|
13124
|
-
|
|
13656
|
+
cbr?: OptionalBool;
|
|
13125
13657
|
|
|
13126
13658
|
/**
|
|
13127
|
-
* @generated from field: norsk.api.media.OptionalInt
|
|
13659
|
+
* @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
|
|
13128
13660
|
*/
|
|
13129
|
-
|
|
13661
|
+
gopPresetIndex?: OptionalInt;
|
|
13130
13662
|
|
|
13131
13663
|
/**
|
|
13132
|
-
* @generated from field: norsk.api.media.OptionalInt
|
|
13664
|
+
* @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
|
|
13133
13665
|
*/
|
|
13134
|
-
|
|
13666
|
+
intraPeriod?: OptionalInt;
|
|
13135
13667
|
|
|
13136
13668
|
/**
|
|
13137
|
-
* @generated from field: norsk.api.media.
|
|
13669
|
+
* @generated from field: norsk.api.media.QuadraH264.QuadraH264Profile profile = 11;
|
|
13138
13670
|
*/
|
|
13139
|
-
|
|
13671
|
+
profile = QuadraH264_QuadraH264Profile.DEFAULT;
|
|
13140
13672
|
|
|
13141
13673
|
/**
|
|
13142
|
-
* @generated from field: norsk.api.media.OptionalInt level =
|
|
13674
|
+
* @generated from field: norsk.api.media.OptionalInt level = 12;
|
|
13143
13675
|
*/
|
|
13144
13676
|
level?: OptionalInt;
|
|
13145
13677
|
|
|
13146
13678
|
/**
|
|
13147
|
-
* @generated from field: norsk.api.media.
|
|
13679
|
+
* @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
|
|
13148
13680
|
*/
|
|
13149
|
-
|
|
13681
|
+
rcEnable?: OptionalBool;
|
|
13150
13682
|
|
|
13151
13683
|
/**
|
|
13152
|
-
* @generated from field: norsk.api.media.
|
|
13684
|
+
* @generated from field: norsk.api.media.OptionalInt intraQp = 14;
|
|
13153
13685
|
*/
|
|
13154
|
-
|
|
13686
|
+
intraQp?: OptionalInt;
|
|
13155
13687
|
|
|
13156
|
-
|
|
13688
|
+
/**
|
|
13689
|
+
* @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
|
|
13690
|
+
*/
|
|
13691
|
+
rcInitDelay?: OptionalInt;
|
|
13692
|
+
|
|
13693
|
+
constructor(data?: PartialMessage<QuadraH264>) {
|
|
13157
13694
|
super();
|
|
13158
13695
|
proto3.util.initPartial(data, this);
|
|
13159
13696
|
}
|
|
13160
13697
|
|
|
13161
13698
|
static readonly runtime = proto3;
|
|
13162
|
-
static readonly typeName = "norsk.api.media.
|
|
13699
|
+
static readonly typeName = "norsk.api.media.QuadraH264";
|
|
13163
13700
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13164
|
-
{ no: 1, name: "
|
|
13165
|
-
{ no: 2, name: "
|
|
13166
|
-
{ no: 3, name: "
|
|
13167
|
-
{ no: 4, name: "
|
|
13168
|
-
{ no: 5, name: "
|
|
13169
|
-
{ no: 6, name: "
|
|
13170
|
-
{ no: 7, name: "
|
|
13171
|
-
{ no: 8, name: "
|
|
13172
|
-
{ no: 9, name: "
|
|
13701
|
+
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13702
|
+
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
13703
|
+
{ no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
|
|
13704
|
+
{ no: 4, name: "bitrate", kind: "message", T: OptionalInt },
|
|
13705
|
+
{ no: 5, name: "flushGop", kind: "message", T: OptionalBool },
|
|
13706
|
+
{ no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
|
|
13707
|
+
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
13708
|
+
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
13709
|
+
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
13710
|
+
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
13711
|
+
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraH264_QuadraH264Profile) },
|
|
13712
|
+
{ no: 12, name: "level", kind: "message", T: OptionalInt },
|
|
13713
|
+
{ no: 13, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
13714
|
+
{ no: 14, name: "intraQp", kind: "message", T: OptionalInt },
|
|
13715
|
+
{ no: 15, name: "rcInitDelay", kind: "message", T: OptionalInt },
|
|
13173
13716
|
]);
|
|
13174
13717
|
|
|
13175
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
13176
|
-
return new
|
|
13718
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraH264 {
|
|
13719
|
+
return new QuadraH264().fromBinary(bytes, options);
|
|
13177
13720
|
}
|
|
13178
13721
|
|
|
13179
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
13180
|
-
return new
|
|
13722
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraH264 {
|
|
13723
|
+
return new QuadraH264().fromJson(jsonValue, options);
|
|
13181
13724
|
}
|
|
13182
13725
|
|
|
13183
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
13184
|
-
return new
|
|
13726
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraH264 {
|
|
13727
|
+
return new QuadraH264().fromJsonString(jsonString, options);
|
|
13185
13728
|
}
|
|
13186
13729
|
|
|
13187
|
-
static equals(a:
|
|
13188
|
-
return proto3.util.equals(
|
|
13730
|
+
static equals(a: QuadraH264 | PlainMessage<QuadraH264> | undefined, b: QuadraH264 | PlainMessage<QuadraH264> | undefined): boolean {
|
|
13731
|
+
return proto3.util.equals(QuadraH264, a, b);
|
|
13189
13732
|
}
|
|
13190
13733
|
}
|
|
13191
13734
|
|
|
13192
13735
|
/**
|
|
13193
|
-
* @generated from enum norsk.api.media.
|
|
13736
|
+
* @generated from enum norsk.api.media.QuadraH264.QuadraH264Profile
|
|
13194
13737
|
*/
|
|
13195
|
-
export enum
|
|
13738
|
+
export enum QuadraH264_QuadraH264Profile {
|
|
13196
13739
|
/**
|
|
13197
|
-
* @generated from enum value:
|
|
13740
|
+
* @generated from enum value: QUADRA_H264_PROFILE_DEFAULT = 0;
|
|
13198
13741
|
*/
|
|
13199
|
-
|
|
13742
|
+
DEFAULT = 0,
|
|
13200
13743
|
|
|
13201
13744
|
/**
|
|
13202
|
-
* @generated from enum value:
|
|
13745
|
+
* @generated from enum value: QUADRA_H264_PROFILE_BASELINE = 1;
|
|
13203
13746
|
*/
|
|
13204
13747
|
BASELINE = 1,
|
|
13205
13748
|
|
|
13206
13749
|
/**
|
|
13207
|
-
* @generated from enum value:
|
|
13750
|
+
* @generated from enum value: QUADRA_H264_PROFILE_MAIN = 2;
|
|
13208
13751
|
*/
|
|
13209
13752
|
MAIN = 2,
|
|
13210
13753
|
|
|
13211
13754
|
/**
|
|
13212
|
-
* @generated from enum value:
|
|
13755
|
+
* @generated from enum value: QUADRA_H264_PROFILE_EXTENDED = 3;
|
|
13756
|
+
*/
|
|
13757
|
+
EXTENDED = 3,
|
|
13758
|
+
|
|
13759
|
+
/**
|
|
13760
|
+
* @generated from enum value: QUADRA_H264_PROFILE_HIGH = 4;
|
|
13213
13761
|
*/
|
|
13214
13762
|
HIGH = 4,
|
|
13215
13763
|
|
|
13216
13764
|
/**
|
|
13217
|
-
* @generated from enum value:
|
|
13765
|
+
* @generated from enum value: QUADRA_H264_PROFILE_HIGH10 = 5;
|
|
13218
13766
|
*/
|
|
13219
|
-
|
|
13767
|
+
HIGH10 = 5,
|
|
13220
13768
|
}
|
|
13221
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13222
|
-
proto3.util.setEnumType(
|
|
13223
|
-
{ no: 0, name: "
|
|
13224
|
-
{ no: 1, name: "
|
|
13225
|
-
{ no: 2, name: "
|
|
13226
|
-
{ no:
|
|
13227
|
-
{ no:
|
|
13769
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraH264_QuadraH264Profile)
|
|
13770
|
+
proto3.util.setEnumType(QuadraH264_QuadraH264Profile, "norsk.api.media.QuadraH264.QuadraH264Profile", [
|
|
13771
|
+
{ no: 0, name: "QUADRA_H264_PROFILE_DEFAULT" },
|
|
13772
|
+
{ no: 1, name: "QUADRA_H264_PROFILE_BASELINE" },
|
|
13773
|
+
{ no: 2, name: "QUADRA_H264_PROFILE_MAIN" },
|
|
13774
|
+
{ no: 3, name: "QUADRA_H264_PROFILE_EXTENDED" },
|
|
13775
|
+
{ no: 4, name: "QUADRA_H264_PROFILE_HIGH" },
|
|
13776
|
+
{ no: 5, name: "QUADRA_H264_PROFILE_HIGH10" },
|
|
13228
13777
|
]);
|
|
13229
13778
|
|
|
13230
13779
|
/**
|
|
13231
|
-
* @generated from message norsk.api.media.
|
|
13780
|
+
* @generated from message norsk.api.media.QuadraHevc
|
|
13232
13781
|
*/
|
|
13233
|
-
export class
|
|
13782
|
+
export class QuadraHevc extends Message<QuadraHevc> {
|
|
13234
13783
|
/**
|
|
13235
|
-
* @generated from field:
|
|
13784
|
+
* @generated from field: string extraOpts = 1;
|
|
13236
13785
|
*/
|
|
13237
|
-
|
|
13786
|
+
extraOpts = "";
|
|
13238
13787
|
|
|
13239
13788
|
/**
|
|
13240
|
-
* @generated from field: norsk.api.media.
|
|
13789
|
+
* @generated from field: norsk.api.media.OptionalBool enableAud = 2;
|
|
13241
13790
|
*/
|
|
13242
|
-
|
|
13791
|
+
enableAud?: OptionalBool;
|
|
13243
13792
|
|
|
13244
13793
|
/**
|
|
13245
|
-
* @generated from field: norsk.api.media.OptionalInt
|
|
13794
|
+
* @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
|
|
13246
13795
|
*/
|
|
13247
|
-
|
|
13796
|
+
gpuIndex?: OptionalInt;
|
|
13248
13797
|
|
|
13249
13798
|
/**
|
|
13250
|
-
* @generated from field: norsk.api.media.OptionalInt
|
|
13799
|
+
* @generated from field: norsk.api.media.OptionalInt bitrate = 4;
|
|
13251
13800
|
*/
|
|
13252
|
-
|
|
13801
|
+
bitrate?: OptionalInt;
|
|
13253
13802
|
|
|
13254
13803
|
/**
|
|
13255
|
-
* @generated from field: norsk.api.media.
|
|
13804
|
+
* @generated from field: norsk.api.media.OptionalBool flushGop = 5;
|
|
13256
13805
|
*/
|
|
13257
|
-
|
|
13806
|
+
flushGop?: OptionalBool;
|
|
13258
13807
|
|
|
13259
13808
|
/**
|
|
13260
|
-
* @generated from field: norsk.api.media.OptionalBool
|
|
13809
|
+
* @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
|
|
13261
13810
|
*/
|
|
13262
|
-
|
|
13811
|
+
enableVfr?: OptionalBool;
|
|
13263
13812
|
|
|
13264
13813
|
/**
|
|
13265
|
-
* @generated from field: norsk.api.media.OptionalInt
|
|
13814
|
+
* @generated from field: norsk.api.media.OptionalInt crf = 7;
|
|
13815
|
+
*/
|
|
13816
|
+
crf?: OptionalInt;
|
|
13817
|
+
|
|
13818
|
+
/**
|
|
13819
|
+
* @generated from field: norsk.api.media.OptionalBool cbr = 8;
|
|
13820
|
+
*/
|
|
13821
|
+
cbr?: OptionalBool;
|
|
13822
|
+
|
|
13823
|
+
/**
|
|
13824
|
+
* @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
|
|
13825
|
+
*/
|
|
13826
|
+
gopPresetIndex?: OptionalInt;
|
|
13827
|
+
|
|
13828
|
+
/**
|
|
13829
|
+
* @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
|
|
13830
|
+
*/
|
|
13831
|
+
intraPeriod?: OptionalInt;
|
|
13832
|
+
|
|
13833
|
+
/**
|
|
13834
|
+
* @generated from field: norsk.api.media.QuadraHevc.QuadraHevcTier tier = 11;
|
|
13835
|
+
*/
|
|
13836
|
+
tier = QuadraHevc_QuadraHevcTier.MAIN;
|
|
13837
|
+
|
|
13838
|
+
/**
|
|
13839
|
+
* @generated from field: norsk.api.media.QuadraHevc.QuadraHevcProfile profile = 12;
|
|
13840
|
+
*/
|
|
13841
|
+
profile = QuadraHevc_QuadraHevcProfile.DEFAULT;
|
|
13842
|
+
|
|
13843
|
+
/**
|
|
13844
|
+
* @generated from field: norsk.api.media.OptionalInt level = 13;
|
|
13266
13845
|
*/
|
|
13267
13846
|
level?: OptionalInt;
|
|
13268
13847
|
|
|
13269
13848
|
/**
|
|
13270
|
-
* @generated from field: norsk.api.media.
|
|
13849
|
+
* @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
|
|
13271
13850
|
*/
|
|
13272
|
-
|
|
13851
|
+
rcEnable?: OptionalBool;
|
|
13273
13852
|
|
|
13274
13853
|
/**
|
|
13275
|
-
* @generated from field: norsk.api.media.
|
|
13854
|
+
* @generated from field: norsk.api.media.OptionalBool lossless = 15;
|
|
13276
13855
|
*/
|
|
13277
|
-
|
|
13856
|
+
lossless?: OptionalBool;
|
|
13278
13857
|
|
|
13279
13858
|
/**
|
|
13280
|
-
* @generated from field: norsk.api.media.
|
|
13859
|
+
* @generated from field: norsk.api.media.OptionalInt intraQp = 16;
|
|
13281
13860
|
*/
|
|
13282
|
-
|
|
13861
|
+
intraQp?: OptionalInt;
|
|
13283
13862
|
|
|
13284
|
-
|
|
13863
|
+
/**
|
|
13864
|
+
* @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
|
|
13865
|
+
*/
|
|
13866
|
+
rcInitDelay?: OptionalInt;
|
|
13867
|
+
|
|
13868
|
+
/**
|
|
13869
|
+
* @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
|
|
13870
|
+
*/
|
|
13871
|
+
hrdEnable?: OptionalBool;
|
|
13872
|
+
|
|
13873
|
+
/**
|
|
13874
|
+
* @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
|
|
13875
|
+
*/
|
|
13876
|
+
dolbyVisionProfile?: OptionalInt;
|
|
13877
|
+
|
|
13878
|
+
constructor(data?: PartialMessage<QuadraHevc>) {
|
|
13285
13879
|
super();
|
|
13286
13880
|
proto3.util.initPartial(data, this);
|
|
13287
13881
|
}
|
|
13288
13882
|
|
|
13289
13883
|
static readonly runtime = proto3;
|
|
13290
|
-
static readonly typeName = "norsk.api.media.
|
|
13884
|
+
static readonly typeName = "norsk.api.media.QuadraHevc";
|
|
13291
13885
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13292
|
-
{ no: 1, name: "
|
|
13293
|
-
{ no: 2, name: "
|
|
13294
|
-
{ no: 3, name: "
|
|
13295
|
-
{ no: 4, name: "
|
|
13296
|
-
{ no: 5, name: "
|
|
13297
|
-
{ no: 6, name: "
|
|
13298
|
-
{ no: 7, name: "
|
|
13299
|
-
{ no: 8, name: "
|
|
13300
|
-
{ no: 9, name: "
|
|
13301
|
-
{ no: 10, name: "
|
|
13886
|
+
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13887
|
+
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
13888
|
+
{ no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
|
|
13889
|
+
{ no: 4, name: "bitrate", kind: "message", T: OptionalInt },
|
|
13890
|
+
{ no: 5, name: "flushGop", kind: "message", T: OptionalBool },
|
|
13891
|
+
{ no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
|
|
13892
|
+
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
13893
|
+
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
13894
|
+
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
13895
|
+
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
13896
|
+
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(QuadraHevc_QuadraHevcTier) },
|
|
13897
|
+
{ no: 12, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraHevc_QuadraHevcProfile) },
|
|
13898
|
+
{ no: 13, name: "level", kind: "message", T: OptionalInt },
|
|
13899
|
+
{ no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
13900
|
+
{ no: 15, name: "lossless", kind: "message", T: OptionalBool },
|
|
13901
|
+
{ no: 16, name: "intraQp", kind: "message", T: OptionalInt },
|
|
13902
|
+
{ no: 17, name: "rcInitDelay", kind: "message", T: OptionalInt },
|
|
13903
|
+
{ no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
|
|
13904
|
+
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
13302
13905
|
]);
|
|
13303
13906
|
|
|
13304
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
13305
|
-
return new
|
|
13907
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraHevc {
|
|
13908
|
+
return new QuadraHevc().fromBinary(bytes, options);
|
|
13306
13909
|
}
|
|
13307
13910
|
|
|
13308
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
13309
|
-
return new
|
|
13911
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraHevc {
|
|
13912
|
+
return new QuadraHevc().fromJson(jsonValue, options);
|
|
13310
13913
|
}
|
|
13311
13914
|
|
|
13312
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
13313
|
-
return new
|
|
13915
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraHevc {
|
|
13916
|
+
return new QuadraHevc().fromJsonString(jsonString, options);
|
|
13314
13917
|
}
|
|
13315
13918
|
|
|
13316
|
-
static equals(a:
|
|
13317
|
-
return proto3.util.equals(
|
|
13919
|
+
static equals(a: QuadraHevc | PlainMessage<QuadraHevc> | undefined, b: QuadraHevc | PlainMessage<QuadraHevc> | undefined): boolean {
|
|
13920
|
+
return proto3.util.equals(QuadraHevc, a, b);
|
|
13318
13921
|
}
|
|
13319
13922
|
}
|
|
13320
13923
|
|
|
13321
13924
|
/**
|
|
13322
|
-
* @generated from enum norsk.api.media.
|
|
13925
|
+
* @generated from enum norsk.api.media.QuadraHevc.QuadraHevcProfile
|
|
13323
13926
|
*/
|
|
13324
|
-
export enum
|
|
13927
|
+
export enum QuadraHevc_QuadraHevcProfile {
|
|
13325
13928
|
/**
|
|
13326
|
-
* @generated from enum value:
|
|
13929
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_DEFAULT = 0;
|
|
13327
13930
|
*/
|
|
13328
|
-
|
|
13931
|
+
DEFAULT = 0,
|
|
13329
13932
|
|
|
13330
13933
|
/**
|
|
13331
|
-
* @generated from enum value:
|
|
13934
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN = 1;
|
|
13332
13935
|
*/
|
|
13333
13936
|
MAIN = 1,
|
|
13334
13937
|
|
|
13335
13938
|
/**
|
|
13336
|
-
* @generated from enum value:
|
|
13939
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN10 = 2;
|
|
13337
13940
|
*/
|
|
13338
13941
|
MAIN10 = 2,
|
|
13339
13942
|
}
|
|
13340
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13341
|
-
proto3.util.setEnumType(
|
|
13342
|
-
{ no: 0, name: "
|
|
13343
|
-
{ no: 1, name: "
|
|
13344
|
-
{ no: 2, name: "
|
|
13943
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraHevc_QuadraHevcProfile)
|
|
13944
|
+
proto3.util.setEnumType(QuadraHevc_QuadraHevcProfile, "norsk.api.media.QuadraHevc.QuadraHevcProfile", [
|
|
13945
|
+
{ no: 0, name: "QUADRA_HEVC_PROFILE_DEFAULT" },
|
|
13946
|
+
{ no: 1, name: "QUADRA_HEVC_PROFILE_MAIN" },
|
|
13947
|
+
{ no: 2, name: "QUADRA_HEVC_PROFILE_MAIN10" },
|
|
13345
13948
|
]);
|
|
13346
13949
|
|
|
13347
13950
|
/**
|
|
13348
|
-
* @generated from enum norsk.api.media.
|
|
13951
|
+
* @generated from enum norsk.api.media.QuadraHevc.QuadraHevcTier
|
|
13349
13952
|
*/
|
|
13350
|
-
export enum
|
|
13953
|
+
export enum QuadraHevc_QuadraHevcTier {
|
|
13351
13954
|
/**
|
|
13352
|
-
* @generated from enum value:
|
|
13955
|
+
* @generated from enum value: QUADRA_HEVC_TIER_MAIN = 0;
|
|
13353
13956
|
*/
|
|
13354
13957
|
MAIN = 0,
|
|
13355
13958
|
|
|
13356
13959
|
/**
|
|
13357
|
-
* @generated from enum value:
|
|
13960
|
+
* @generated from enum value: QUADRA_HEVC_TIER_HIGH = 1;
|
|
13358
13961
|
*/
|
|
13359
13962
|
HIGH = 1,
|
|
13360
13963
|
}
|
|
13361
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13362
|
-
proto3.util.setEnumType(
|
|
13363
|
-
{ no: 0, name: "
|
|
13364
|
-
{ no: 1, name: "
|
|
13964
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraHevc_QuadraHevcTier)
|
|
13965
|
+
proto3.util.setEnumType(QuadraHevc_QuadraHevcTier, "norsk.api.media.QuadraHevc.QuadraHevcTier", [
|
|
13966
|
+
{ no: 0, name: "QUADRA_HEVC_TIER_MAIN" },
|
|
13967
|
+
{ no: 1, name: "QUADRA_HEVC_TIER_HIGH" },
|
|
13365
13968
|
]);
|
|
13366
13969
|
|
|
13367
13970
|
/**
|
|
13368
|
-
* @generated from message norsk.api.media.
|
|
13971
|
+
* @generated from message norsk.api.media.LoganH264
|
|
13369
13972
|
*/
|
|
13370
|
-
export class
|
|
13973
|
+
export class LoganH264 extends Message<LoganH264> {
|
|
13371
13974
|
/**
|
|
13372
13975
|
* @generated from field: string extraOpts = 1;
|
|
13373
13976
|
*/
|
|
@@ -13419,9 +14022,9 @@ export class NetintH264 extends Message<NetintH264> {
|
|
|
13419
14022
|
intraPeriod?: OptionalInt;
|
|
13420
14023
|
|
|
13421
14024
|
/**
|
|
13422
|
-
* @generated from field: norsk.api.media.
|
|
14025
|
+
* @generated from field: norsk.api.media.LoganH264.LoganH264Profile profile = 11;
|
|
13423
14026
|
*/
|
|
13424
|
-
profile =
|
|
14027
|
+
profile = LoganH264_LoganH264Profile.DEFAULT;
|
|
13425
14028
|
|
|
13426
14029
|
/**
|
|
13427
14030
|
* @generated from field: norsk.api.media.OptionalInt level = 12;
|
|
@@ -13443,13 +14046,13 @@ export class NetintH264 extends Message<NetintH264> {
|
|
|
13443
14046
|
*/
|
|
13444
14047
|
rcInitDelay?: OptionalInt;
|
|
13445
14048
|
|
|
13446
|
-
constructor(data?: PartialMessage<
|
|
14049
|
+
constructor(data?: PartialMessage<LoganH264>) {
|
|
13447
14050
|
super();
|
|
13448
14051
|
proto3.util.initPartial(data, this);
|
|
13449
14052
|
}
|
|
13450
14053
|
|
|
13451
14054
|
static readonly runtime = proto3;
|
|
13452
|
-
static readonly typeName = "norsk.api.media.
|
|
14055
|
+
static readonly typeName = "norsk.api.media.LoganH264";
|
|
13453
14056
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13454
14057
|
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13455
14058
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
@@ -13461,78 +14064,78 @@ export class NetintH264 extends Message<NetintH264> {
|
|
|
13461
14064
|
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
13462
14065
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
13463
14066
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
13464
|
-
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(
|
|
14067
|
+
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(LoganH264_LoganH264Profile) },
|
|
13465
14068
|
{ no: 12, name: "level", kind: "message", T: OptionalInt },
|
|
13466
14069
|
{ no: 13, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
13467
14070
|
{ no: 14, name: "intraQp", kind: "message", T: OptionalInt },
|
|
13468
14071
|
{ no: 15, name: "rcInitDelay", kind: "message", T: OptionalInt },
|
|
13469
14072
|
]);
|
|
13470
14073
|
|
|
13471
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
13472
|
-
return new
|
|
14074
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoganH264 {
|
|
14075
|
+
return new LoganH264().fromBinary(bytes, options);
|
|
13473
14076
|
}
|
|
13474
14077
|
|
|
13475
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
13476
|
-
return new
|
|
14078
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoganH264 {
|
|
14079
|
+
return new LoganH264().fromJson(jsonValue, options);
|
|
13477
14080
|
}
|
|
13478
14081
|
|
|
13479
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
13480
|
-
return new
|
|
14082
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoganH264 {
|
|
14083
|
+
return new LoganH264().fromJsonString(jsonString, options);
|
|
13481
14084
|
}
|
|
13482
14085
|
|
|
13483
|
-
static equals(a:
|
|
13484
|
-
return proto3.util.equals(
|
|
14086
|
+
static equals(a: LoganH264 | PlainMessage<LoganH264> | undefined, b: LoganH264 | PlainMessage<LoganH264> | undefined): boolean {
|
|
14087
|
+
return proto3.util.equals(LoganH264, a, b);
|
|
13485
14088
|
}
|
|
13486
14089
|
}
|
|
13487
14090
|
|
|
13488
14091
|
/**
|
|
13489
|
-
* @generated from enum norsk.api.media.
|
|
14092
|
+
* @generated from enum norsk.api.media.LoganH264.LoganH264Profile
|
|
13490
14093
|
*/
|
|
13491
|
-
export enum
|
|
14094
|
+
export enum LoganH264_LoganH264Profile {
|
|
13492
14095
|
/**
|
|
13493
|
-
* @generated from enum value:
|
|
14096
|
+
* @generated from enum value: LOGAN_H264_PROFILE_DEFAULT = 0;
|
|
13494
14097
|
*/
|
|
13495
14098
|
DEFAULT = 0,
|
|
13496
14099
|
|
|
13497
14100
|
/**
|
|
13498
|
-
* @generated from enum value:
|
|
14101
|
+
* @generated from enum value: LOGAN_H264_PROFILE_BASELINE = 1;
|
|
13499
14102
|
*/
|
|
13500
14103
|
BASELINE = 1,
|
|
13501
14104
|
|
|
13502
14105
|
/**
|
|
13503
|
-
* @generated from enum value:
|
|
14106
|
+
* @generated from enum value: LOGAN_H264_PROFILE_MAIN = 2;
|
|
13504
14107
|
*/
|
|
13505
14108
|
MAIN = 2,
|
|
13506
14109
|
|
|
13507
14110
|
/**
|
|
13508
|
-
* @generated from enum value:
|
|
14111
|
+
* @generated from enum value: LOGAN_H264_PROFILE_EXTENDED = 3;
|
|
13509
14112
|
*/
|
|
13510
14113
|
EXTENDED = 3,
|
|
13511
14114
|
|
|
13512
14115
|
/**
|
|
13513
|
-
* @generated from enum value:
|
|
14116
|
+
* @generated from enum value: LOGAN_H264_PROFILE_HIGH = 4;
|
|
13514
14117
|
*/
|
|
13515
14118
|
HIGH = 4,
|
|
13516
14119
|
|
|
13517
14120
|
/**
|
|
13518
|
-
* @generated from enum value:
|
|
14121
|
+
* @generated from enum value: LOGAN_H264_PROFILE_HIGH10 = 5;
|
|
13519
14122
|
*/
|
|
13520
14123
|
HIGH10 = 5,
|
|
13521
14124
|
}
|
|
13522
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13523
|
-
proto3.util.setEnumType(
|
|
13524
|
-
{ no: 0, name: "
|
|
13525
|
-
{ no: 1, name: "
|
|
13526
|
-
{ no: 2, name: "
|
|
13527
|
-
{ no: 3, name: "
|
|
13528
|
-
{ no: 4, name: "
|
|
13529
|
-
{ no: 5, name: "
|
|
14125
|
+
// Retrieve enum metadata with: proto3.getEnumType(LoganH264_LoganH264Profile)
|
|
14126
|
+
proto3.util.setEnumType(LoganH264_LoganH264Profile, "norsk.api.media.LoganH264.LoganH264Profile", [
|
|
14127
|
+
{ no: 0, name: "LOGAN_H264_PROFILE_DEFAULT" },
|
|
14128
|
+
{ no: 1, name: "LOGAN_H264_PROFILE_BASELINE" },
|
|
14129
|
+
{ no: 2, name: "LOGAN_H264_PROFILE_MAIN" },
|
|
14130
|
+
{ no: 3, name: "LOGAN_H264_PROFILE_EXTENDED" },
|
|
14131
|
+
{ no: 4, name: "LOGAN_H264_PROFILE_HIGH" },
|
|
14132
|
+
{ no: 5, name: "LOGAN_H264_PROFILE_HIGH10" },
|
|
13530
14133
|
]);
|
|
13531
14134
|
|
|
13532
14135
|
/**
|
|
13533
|
-
* @generated from message norsk.api.media.
|
|
14136
|
+
* @generated from message norsk.api.media.LoganHevc
|
|
13534
14137
|
*/
|
|
13535
|
-
export class
|
|
14138
|
+
export class LoganHevc extends Message<LoganHevc> {
|
|
13536
14139
|
/**
|
|
13537
14140
|
* @generated from field: string extraOpts = 1;
|
|
13538
14141
|
*/
|
|
@@ -13584,14 +14187,14 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13584
14187
|
intraPeriod?: OptionalInt;
|
|
13585
14188
|
|
|
13586
14189
|
/**
|
|
13587
|
-
* @generated from field: norsk.api.media.
|
|
14190
|
+
* @generated from field: norsk.api.media.LoganHevc.LoganHevcTier tier = 11;
|
|
13588
14191
|
*/
|
|
13589
|
-
tier =
|
|
14192
|
+
tier = LoganHevc_LoganHevcTier.MAIN;
|
|
13590
14193
|
|
|
13591
14194
|
/**
|
|
13592
|
-
* @generated from field: norsk.api.media.
|
|
14195
|
+
* @generated from field: norsk.api.media.LoganHevc.LoganHevcProfile profile = 12;
|
|
13593
14196
|
*/
|
|
13594
|
-
profile =
|
|
14197
|
+
profile = LoganHevc_LoganHevcProfile.DEFAULT;
|
|
13595
14198
|
|
|
13596
14199
|
/**
|
|
13597
14200
|
* @generated from field: norsk.api.media.OptionalInt level = 13;
|
|
@@ -13628,13 +14231,13 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13628
14231
|
*/
|
|
13629
14232
|
dolbyVisionProfile?: OptionalInt;
|
|
13630
14233
|
|
|
13631
|
-
constructor(data?: PartialMessage<
|
|
14234
|
+
constructor(data?: PartialMessage<LoganHevc>) {
|
|
13632
14235
|
super();
|
|
13633
14236
|
proto3.util.initPartial(data, this);
|
|
13634
14237
|
}
|
|
13635
14238
|
|
|
13636
14239
|
static readonly runtime = proto3;
|
|
13637
|
-
static readonly typeName = "norsk.api.media.
|
|
14240
|
+
static readonly typeName = "norsk.api.media.LoganHevc";
|
|
13638
14241
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13639
14242
|
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13640
14243
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
@@ -13646,8 +14249,8 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13646
14249
|
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
13647
14250
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
13648
14251
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
13649
|
-
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(
|
|
13650
|
-
{ no: 12, name: "profile", kind: "enum", T: proto3.getEnumType(
|
|
14252
|
+
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(LoganHevc_LoganHevcTier) },
|
|
14253
|
+
{ no: 12, name: "profile", kind: "enum", T: proto3.getEnumType(LoganHevc_LoganHevcProfile) },
|
|
13651
14254
|
{ no: 13, name: "level", kind: "message", T: OptionalInt },
|
|
13652
14255
|
{ no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
13653
14256
|
{ no: 15, name: "lossless", kind: "message", T: OptionalBool },
|
|
@@ -13657,67 +14260,67 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13657
14260
|
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
13658
14261
|
]);
|
|
13659
14262
|
|
|
13660
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
13661
|
-
return new
|
|
14263
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoganHevc {
|
|
14264
|
+
return new LoganHevc().fromBinary(bytes, options);
|
|
13662
14265
|
}
|
|
13663
14266
|
|
|
13664
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
13665
|
-
return new
|
|
14267
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoganHevc {
|
|
14268
|
+
return new LoganHevc().fromJson(jsonValue, options);
|
|
13666
14269
|
}
|
|
13667
14270
|
|
|
13668
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
13669
|
-
return new
|
|
14271
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoganHevc {
|
|
14272
|
+
return new LoganHevc().fromJsonString(jsonString, options);
|
|
13670
14273
|
}
|
|
13671
14274
|
|
|
13672
|
-
static equals(a:
|
|
13673
|
-
return proto3.util.equals(
|
|
14275
|
+
static equals(a: LoganHevc | PlainMessage<LoganHevc> | undefined, b: LoganHevc | PlainMessage<LoganHevc> | undefined): boolean {
|
|
14276
|
+
return proto3.util.equals(LoganHevc, a, b);
|
|
13674
14277
|
}
|
|
13675
14278
|
}
|
|
13676
14279
|
|
|
13677
14280
|
/**
|
|
13678
|
-
* @generated from enum norsk.api.media.
|
|
14281
|
+
* @generated from enum norsk.api.media.LoganHevc.LoganHevcProfile
|
|
13679
14282
|
*/
|
|
13680
|
-
export enum
|
|
14283
|
+
export enum LoganHevc_LoganHevcProfile {
|
|
13681
14284
|
/**
|
|
13682
|
-
* @generated from enum value:
|
|
14285
|
+
* @generated from enum value: LOGAN_HEVC_PROFILE_DEFAULT = 0;
|
|
13683
14286
|
*/
|
|
13684
14287
|
DEFAULT = 0,
|
|
13685
14288
|
|
|
13686
14289
|
/**
|
|
13687
|
-
* @generated from enum value:
|
|
14290
|
+
* @generated from enum value: LOGAN_HEVC_PROFILE_MAIN = 1;
|
|
13688
14291
|
*/
|
|
13689
14292
|
MAIN = 1,
|
|
13690
14293
|
|
|
13691
14294
|
/**
|
|
13692
|
-
* @generated from enum value:
|
|
14295
|
+
* @generated from enum value: LOGAN_HEVC_PROFILE_MAIN10 = 2;
|
|
13693
14296
|
*/
|
|
13694
14297
|
MAIN10 = 2,
|
|
13695
14298
|
}
|
|
13696
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13697
|
-
proto3.util.setEnumType(
|
|
13698
|
-
{ no: 0, name: "
|
|
13699
|
-
{ no: 1, name: "
|
|
13700
|
-
{ no: 2, name: "
|
|
14299
|
+
// Retrieve enum metadata with: proto3.getEnumType(LoganHevc_LoganHevcProfile)
|
|
14300
|
+
proto3.util.setEnumType(LoganHevc_LoganHevcProfile, "norsk.api.media.LoganHevc.LoganHevcProfile", [
|
|
14301
|
+
{ no: 0, name: "LOGAN_HEVC_PROFILE_DEFAULT" },
|
|
14302
|
+
{ no: 1, name: "LOGAN_HEVC_PROFILE_MAIN" },
|
|
14303
|
+
{ no: 2, name: "LOGAN_HEVC_PROFILE_MAIN10" },
|
|
13701
14304
|
]);
|
|
13702
14305
|
|
|
13703
14306
|
/**
|
|
13704
|
-
* @generated from enum norsk.api.media.
|
|
14307
|
+
* @generated from enum norsk.api.media.LoganHevc.LoganHevcTier
|
|
13705
14308
|
*/
|
|
13706
|
-
export enum
|
|
14309
|
+
export enum LoganHevc_LoganHevcTier {
|
|
13707
14310
|
/**
|
|
13708
|
-
* @generated from enum value:
|
|
14311
|
+
* @generated from enum value: LOGAN_HEVC_TIER_MAIN = 0;
|
|
13709
14312
|
*/
|
|
13710
14313
|
MAIN = 0,
|
|
13711
14314
|
|
|
13712
14315
|
/**
|
|
13713
|
-
* @generated from enum value:
|
|
14316
|
+
* @generated from enum value: LOGAN_HEVC_TIER_HIGH = 1;
|
|
13714
14317
|
*/
|
|
13715
14318
|
HIGH = 1,
|
|
13716
14319
|
}
|
|
13717
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13718
|
-
proto3.util.setEnumType(
|
|
13719
|
-
{ no: 0, name: "
|
|
13720
|
-
{ no: 1, name: "
|
|
14320
|
+
// Retrieve enum metadata with: proto3.getEnumType(LoganHevc_LoganHevcTier)
|
|
14321
|
+
proto3.util.setEnumType(LoganHevc_LoganHevcTier, "norsk.api.media.LoganHevc.LoganHevcTier", [
|
|
14322
|
+
{ no: 0, name: "LOGAN_HEVC_TIER_MAIN" },
|
|
14323
|
+
{ no: 1, name: "LOGAN_HEVC_TIER_HIGH" },
|
|
13721
14324
|
]);
|
|
13722
14325
|
|
|
13723
14326
|
/**
|
|
@@ -14362,14 +14965,16 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
|
|
|
14362
14965
|
id?: MediaNodeId;
|
|
14363
14966
|
|
|
14364
14967
|
/**
|
|
14365
|
-
* * Override the bitrate metadata of a compressed video stream, or `0` to
|
|
14968
|
+
* * Override the bitrate metadata of a compressed video stream, or `0` to
|
|
14969
|
+
* clear
|
|
14366
14970
|
*
|
|
14367
14971
|
* @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
|
|
14368
14972
|
*/
|
|
14369
14973
|
videoBitrate?: OptionalInt;
|
|
14370
14974
|
|
|
14371
14975
|
/**
|
|
14372
|
-
* * Override the bitrate metadata of a compressed audio stream, or `0` to
|
|
14976
|
+
* * Override the bitrate metadata of a compressed audio stream, or `0` to
|
|
14977
|
+
* clear
|
|
14373
14978
|
*
|
|
14374
14979
|
* @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
|
|
14375
14980
|
*/
|
|
@@ -14426,14 +15031,16 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
|
|
|
14426
15031
|
*/
|
|
14427
15032
|
export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMetadataOverrideUpdateConfiguration> {
|
|
14428
15033
|
/**
|
|
14429
|
-
* * Override the bitrate metadata of a compressed video stream, or `0` to
|
|
15034
|
+
* * Override the bitrate metadata of a compressed video stream, or `0` to
|
|
15035
|
+
* clear
|
|
14430
15036
|
*
|
|
14431
15037
|
* @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
|
|
14432
15038
|
*/
|
|
14433
15039
|
videoBitrate?: OptionalInt;
|
|
14434
15040
|
|
|
14435
15041
|
/**
|
|
14436
|
-
* * Override the bitrate metadata of a compressed audio stream, or `0` to
|
|
15042
|
+
* * Override the bitrate metadata of a compressed audio stream, or `0` to
|
|
15043
|
+
* clear
|
|
14437
15044
|
*
|
|
14438
15045
|
* @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
|
|
14439
15046
|
*/
|
|
@@ -15231,6 +15838,49 @@ export class StreamSwitchSmoothMessage extends Message<StreamSwitchSmoothMessage
|
|
|
15231
15838
|
}
|
|
15232
15839
|
}
|
|
15233
15840
|
|
|
15841
|
+
/**
|
|
15842
|
+
* @generated from message norsk.api.media.StreamSwitchSmoothSwitchError
|
|
15843
|
+
*/
|
|
15844
|
+
export class StreamSwitchSmoothSwitchError extends Message<StreamSwitchSmoothSwitchError> {
|
|
15845
|
+
/**
|
|
15846
|
+
* @generated from field: string reason = 1;
|
|
15847
|
+
*/
|
|
15848
|
+
reason = "";
|
|
15849
|
+
|
|
15850
|
+
/**
|
|
15851
|
+
* @generated from field: norsk.api.media.InputPin requested_source = 2;
|
|
15852
|
+
*/
|
|
15853
|
+
requestedSource?: InputPin;
|
|
15854
|
+
|
|
15855
|
+
constructor(data?: PartialMessage<StreamSwitchSmoothSwitchError>) {
|
|
15856
|
+
super();
|
|
15857
|
+
proto3.util.initPartial(data, this);
|
|
15858
|
+
}
|
|
15859
|
+
|
|
15860
|
+
static readonly runtime = proto3;
|
|
15861
|
+
static readonly typeName = "norsk.api.media.StreamSwitchSmoothSwitchError";
|
|
15862
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
15863
|
+
{ no: 1, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
15864
|
+
{ no: 2, name: "requested_source", kind: "message", T: InputPin },
|
|
15865
|
+
]);
|
|
15866
|
+
|
|
15867
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothSwitchError {
|
|
15868
|
+
return new StreamSwitchSmoothSwitchError().fromBinary(bytes, options);
|
|
15869
|
+
}
|
|
15870
|
+
|
|
15871
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSwitchSmoothSwitchError {
|
|
15872
|
+
return new StreamSwitchSmoothSwitchError().fromJson(jsonValue, options);
|
|
15873
|
+
}
|
|
15874
|
+
|
|
15875
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSwitchSmoothSwitchError {
|
|
15876
|
+
return new StreamSwitchSmoothSwitchError().fromJsonString(jsonString, options);
|
|
15877
|
+
}
|
|
15878
|
+
|
|
15879
|
+
static equals(a: StreamSwitchSmoothSwitchError | PlainMessage<StreamSwitchSmoothSwitchError> | undefined, b: StreamSwitchSmoothSwitchError | PlainMessage<StreamSwitchSmoothSwitchError> | undefined): boolean {
|
|
15880
|
+
return proto3.util.equals(StreamSwitchSmoothSwitchError, a, b);
|
|
15881
|
+
}
|
|
15882
|
+
}
|
|
15883
|
+
|
|
15234
15884
|
/**
|
|
15235
15885
|
* @generated from message norsk.api.media.StreamSwitchSmoothEvent
|
|
15236
15886
|
*/
|
|
@@ -15256,6 +15906,21 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
15256
15906
|
*/
|
|
15257
15907
|
value: SubscriptionResponse;
|
|
15258
15908
|
case: "subscriptionResponse";
|
|
15909
|
+
} | {
|
|
15910
|
+
/**
|
|
15911
|
+
* @generated from field: norsk.api.media.StreamSwitchSmoothSwitchError switch_error = 4;
|
|
15912
|
+
*/
|
|
15913
|
+
value: StreamSwitchSmoothSwitchError;
|
|
15914
|
+
case: "switchError";
|
|
15915
|
+
} | {
|
|
15916
|
+
/**
|
|
15917
|
+
* Message sent when inbound context changes on some input; presence of an input in this message means that
|
|
15918
|
+
* media has arrived and is ready to switch immediately
|
|
15919
|
+
*
|
|
15920
|
+
* @generated from field: norsk.api.media.MultipleContext inbound_context = 5;
|
|
15921
|
+
*/
|
|
15922
|
+
value: MultipleContext;
|
|
15923
|
+
case: "inboundContext";
|
|
15259
15924
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15260
15925
|
|
|
15261
15926
|
constructor(data?: PartialMessage<StreamSwitchSmoothEvent>) {
|
|
@@ -15269,6 +15934,8 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
15269
15934
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
15270
15935
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15271
15936
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
15937
|
+
{ no: 4, name: "switch_error", kind: "message", T: StreamSwitchSmoothSwitchError, oneof: "message" },
|
|
15938
|
+
{ no: 5, name: "inbound_context", kind: "message", T: MultipleContext, oneof: "message" },
|
|
15272
15939
|
]);
|
|
15273
15940
|
|
|
15274
15941
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothEvent {
|
|
@@ -17216,7 +17883,8 @@ export class SubscribeSource extends Message<SubscribeSource> {
|
|
|
17216
17883
|
*/
|
|
17217
17884
|
export class Subscription extends Message<Subscription> {
|
|
17218
17885
|
/**
|
|
17219
|
-
* An arbitrary id of the subscription, to enable correlating of the
|
|
17886
|
+
* An arbitrary id of the subscription, to enable correlating of the
|
|
17887
|
+
* corresponding subscription response
|
|
17220
17888
|
*
|
|
17221
17889
|
* @generated from field: string id = 1;
|
|
17222
17890
|
*/
|
|
@@ -17492,7 +18160,8 @@ export class SourceSubscriptionError extends Message<SourceSubscriptionError> {
|
|
|
17492
18160
|
case: "unknownSourceStream";
|
|
17493
18161
|
} | {
|
|
17494
18162
|
/**
|
|
17495
|
-
* The media node is not set up to receive data on this pin (which may be
|
|
18163
|
+
* The media node is not set up to receive data on this pin (which may be
|
|
18164
|
+
* auto-detected)
|
|
17496
18165
|
*
|
|
17497
18166
|
* @generated from field: norsk.api.media.SourceSubscriptionError.NoSubscriberPin no_subscriber_pin = 4;
|
|
17498
18167
|
*/
|
|
@@ -17500,7 +18169,8 @@ export class SourceSubscriptionError extends Message<SourceSubscriptionError> {
|
|
|
17500
18169
|
case: "noSubscriberPin";
|
|
17501
18170
|
} | {
|
|
17502
18171
|
/**
|
|
17503
|
-
* Norsk does not support conversion from the media types of the source to
|
|
18172
|
+
* Norsk does not support conversion from the media types of the source to
|
|
18173
|
+
* the media types accepted by the subscriber
|
|
17504
18174
|
*
|
|
17505
18175
|
* @generated from field: norsk.api.media.SourceSubscriptionError.UnsupportedConversion unsupported_conversion = 5;
|
|
17506
18176
|
*/
|