@norskvideo/norsk-api 1.0.334 → 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 -0
- package/lib/media_grpc_pb.js +38 -2
- package/lib/media_pb.d.ts +597 -74
- package/lib/media_pb.js +639 -116
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +972 -117
- 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
|
*/
|
|
@@ -4252,6 +4352,13 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
|
|
|
4252
4352
|
*/
|
|
4253
4353
|
statsSampling?: StreamStatisticsSampling;
|
|
4254
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
|
+
|
|
4255
4362
|
constructor(data?: PartialMessage<FileTsInputConfiguration>) {
|
|
4256
4363
|
super();
|
|
4257
4364
|
proto3.util.initPartial(data, this);
|
|
@@ -4264,6 +4371,7 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
|
|
|
4264
4371
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4265
4372
|
{ no: 3, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4266
4373
|
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
4374
|
+
{ no: 5, name: "loop", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
4267
4375
|
]);
|
|
4268
4376
|
|
|
4269
4377
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsInputConfiguration {
|
|
@@ -5962,6 +6070,13 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
|
|
|
5962
6070
|
*/
|
|
5963
6071
|
statsSampling?: StreamStatisticsSampling;
|
|
5964
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
|
+
|
|
5965
6080
|
constructor(data?: PartialMessage<FileMp4InputConfiguration>) {
|
|
5966
6081
|
super();
|
|
5967
6082
|
proto3.util.initPartial(data, this);
|
|
@@ -5974,6 +6089,7 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
|
|
|
5974
6089
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5975
6090
|
{ no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5976
6091
|
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
6092
|
+
{ no: 5, name: "loop", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
5977
6093
|
]);
|
|
5978
6094
|
|
|
5979
6095
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputConfiguration {
|
|
@@ -6879,6 +6995,96 @@ export class BrowserInputEvent extends Message<BrowserInputEvent> {
|
|
|
6879
6995
|
}
|
|
6880
6996
|
}
|
|
6881
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
|
+
|
|
6882
7088
|
/**
|
|
6883
7089
|
* @generated from message norsk.api.media.WhipInputConfiguration
|
|
6884
7090
|
*/
|
|
@@ -6898,6 +7104,13 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
|
|
|
6898
7104
|
*/
|
|
6899
7105
|
statsSampling?: StreamStatisticsSampling;
|
|
6900
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
|
+
|
|
6901
7114
|
constructor(data?: PartialMessage<WhipInputConfiguration>) {
|
|
6902
7115
|
super();
|
|
6903
7116
|
proto3.util.initPartial(data, this);
|
|
@@ -6909,6 +7122,7 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
|
|
|
6909
7122
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
6910
7123
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6911
7124
|
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
7125
|
+
{ no: 4, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
|
|
6912
7126
|
]);
|
|
6913
7127
|
|
|
6914
7128
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhipInputConfiguration {
|
|
@@ -8968,6 +9182,16 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
|
|
|
8968
9182
|
*/
|
|
8969
9183
|
encryptionKey = "";
|
|
8970
9184
|
|
|
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
|
+
|
|
8971
9195
|
constructor(data?: PartialMessage<Mp4Encryption>) {
|
|
8972
9196
|
super();
|
|
8973
9197
|
proto3.util.initPartial(data, this);
|
|
@@ -8978,6 +9202,8 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
|
|
|
8978
9202
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8979
9203
|
{ no: 1, name: "encryption_key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8980
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) },
|
|
8981
9207
|
]);
|
|
8982
9208
|
|
|
8983
9209
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Mp4Encryption {
|
|
@@ -8997,6 +9223,26 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
|
|
|
8997
9223
|
}
|
|
8998
9224
|
}
|
|
8999
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
|
+
|
|
9000
9246
|
/**
|
|
9001
9247
|
* @generated from message norsk.api.media.AwsS3PushDestination
|
|
9002
9248
|
*/
|
|
@@ -10801,6 +11047,70 @@ export class WhipOutputMessage extends Message<WhipOutputMessage> {
|
|
|
10801
11047
|
}
|
|
10802
11048
|
}
|
|
10803
11049
|
|
|
11050
|
+
/**
|
|
11051
|
+
* @generated from message norsk.api.media.WhipOutputEvent
|
|
11052
|
+
*/
|
|
11053
|
+
export class WhipOutputEvent extends Message<WhipOutputEvent> {
|
|
11054
|
+
/**
|
|
11055
|
+
* @generated from oneof norsk.api.media.WhipOutputEvent.message
|
|
11056
|
+
*/
|
|
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
|
+
|
|
10804
11114
|
/**
|
|
10805
11115
|
* @generated from message norsk.api.media.WebRTCBrowserDuplexConfiguration
|
|
10806
11116
|
*/
|
|
@@ -10815,6 +11125,13 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
|
|
|
10815
11125
|
*/
|
|
10816
11126
|
statsSampling?: StreamStatisticsSampling;
|
|
10817
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;
|
|
11134
|
+
|
|
10818
11135
|
constructor(data?: PartialMessage<WebRTCBrowserDuplexConfiguration>) {
|
|
10819
11136
|
super();
|
|
10820
11137
|
proto3.util.initPartial(data, this);
|
|
@@ -10825,6 +11142,7 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
|
|
|
10825
11142
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10826
11143
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10827
11144
|
{ no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11145
|
+
{ no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
|
|
10828
11146
|
]);
|
|
10829
11147
|
|
|
10830
11148
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRTCBrowserDuplexConfiguration {
|
|
@@ -10895,11 +11213,11 @@ export class WebRTCBrowserDuplexMessage extends Message<WebRTCBrowserDuplexMessa
|
|
|
10895
11213
|
}
|
|
10896
11214
|
|
|
10897
11215
|
/**
|
|
10898
|
-
* @generated from message norsk.api.media.
|
|
11216
|
+
* @generated from message norsk.api.media.WebRTCBrowserDuplexEvent
|
|
10899
11217
|
*/
|
|
10900
|
-
export class
|
|
11218
|
+
export class WebRTCBrowserDuplexEvent extends Message<WebRTCBrowserDuplexEvent> {
|
|
10901
11219
|
/**
|
|
10902
|
-
* @generated from oneof norsk.api.media.
|
|
11220
|
+
* @generated from oneof norsk.api.media.WebRTCBrowserDuplexEvent.message
|
|
10903
11221
|
*/
|
|
10904
11222
|
message: {
|
|
10905
11223
|
/**
|
|
@@ -10921,49 +11239,157 @@ export class WhipOutputEvent extends Message<WhipOutputEvent> {
|
|
|
10921
11239
|
case: "inboundContext";
|
|
10922
11240
|
} | {
|
|
10923
11241
|
/**
|
|
10924
|
-
* @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;
|
|
10925
11249
|
*/
|
|
10926
11250
|
value: MultiStreamStatistics;
|
|
10927
11251
|
case: "streamStatistics";
|
|
10928
11252
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10929
11253
|
|
|
10930
|
-
constructor(data?: PartialMessage<
|
|
11254
|
+
constructor(data?: PartialMessage<WebRTCBrowserDuplexEvent>) {
|
|
10931
11255
|
super();
|
|
10932
11256
|
proto3.util.initPartial(data, this);
|
|
10933
11257
|
}
|
|
10934
11258
|
|
|
10935
11259
|
static readonly runtime = proto3;
|
|
10936
|
-
static readonly typeName = "norsk.api.media.
|
|
11260
|
+
static readonly typeName = "norsk.api.media.WebRTCBrowserDuplexEvent";
|
|
10937
11261
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10938
11262
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
10939
11263
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
10940
11264
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
10941
|
-
{ 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" },
|
|
10942
11267
|
]);
|
|
10943
11268
|
|
|
10944
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
10945
|
-
return new
|
|
11269
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRTCBrowserDuplexEvent {
|
|
11270
|
+
return new WebRTCBrowserDuplexEvent().fromBinary(bytes, options);
|
|
10946
11271
|
}
|
|
10947
11272
|
|
|
10948
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
10949
|
-
return new
|
|
11273
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRTCBrowserDuplexEvent {
|
|
11274
|
+
return new WebRTCBrowserDuplexEvent().fromJson(jsonValue, options);
|
|
10950
11275
|
}
|
|
10951
11276
|
|
|
10952
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
10953
|
-
return new
|
|
11277
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRTCBrowserDuplexEvent {
|
|
11278
|
+
return new WebRTCBrowserDuplexEvent().fromJsonString(jsonString, options);
|
|
10954
11279
|
}
|
|
10955
11280
|
|
|
10956
|
-
static equals(a:
|
|
10957
|
-
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);
|
|
10958
11283
|
}
|
|
10959
11284
|
}
|
|
10960
11285
|
|
|
10961
11286
|
/**
|
|
10962
|
-
* @generated from message norsk.api.media.
|
|
11287
|
+
* @generated from message norsk.api.media.WhepOutputConfiguration
|
|
10963
11288
|
*/
|
|
10964
|
-
export class
|
|
11289
|
+
export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
|
|
10965
11290
|
/**
|
|
10966
|
-
* @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
|
|
10967
11393
|
*/
|
|
10968
11394
|
message: {
|
|
10969
11395
|
/**
|
|
@@ -10985,47 +11411,40 @@ export class WebRTCBrowserDuplexEvent extends Message<WebRTCBrowserDuplexEvent>
|
|
|
10985
11411
|
case: "inboundContext";
|
|
10986
11412
|
} | {
|
|
10987
11413
|
/**
|
|
10988
|
-
* @generated from field: norsk.api.media.
|
|
10989
|
-
*/
|
|
10990
|
-
value: Context;
|
|
10991
|
-
case: "outboundContext";
|
|
10992
|
-
} | {
|
|
10993
|
-
/**
|
|
10994
|
-
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 5;
|
|
11414
|
+
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 4;
|
|
10995
11415
|
*/
|
|
10996
11416
|
value: MultiStreamStatistics;
|
|
10997
11417
|
case: "streamStatistics";
|
|
10998
11418
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10999
11419
|
|
|
11000
|
-
constructor(data?: PartialMessage<
|
|
11420
|
+
constructor(data?: PartialMessage<WhepOutputEvent>) {
|
|
11001
11421
|
super();
|
|
11002
11422
|
proto3.util.initPartial(data, this);
|
|
11003
11423
|
}
|
|
11004
11424
|
|
|
11005
11425
|
static readonly runtime = proto3;
|
|
11006
|
-
static readonly typeName = "norsk.api.media.
|
|
11426
|
+
static readonly typeName = "norsk.api.media.WhepOutputEvent";
|
|
11007
11427
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11008
11428
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
11009
11429
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
11010
11430
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11011
|
-
{ no: 4, name: "
|
|
11012
|
-
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11431
|
+
{ no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11013
11432
|
]);
|
|
11014
11433
|
|
|
11015
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
11016
|
-
return new
|
|
11434
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputEvent {
|
|
11435
|
+
return new WhepOutputEvent().fromBinary(bytes, options);
|
|
11017
11436
|
}
|
|
11018
11437
|
|
|
11019
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
11020
|
-
return new
|
|
11438
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WhepOutputEvent {
|
|
11439
|
+
return new WhepOutputEvent().fromJson(jsonValue, options);
|
|
11021
11440
|
}
|
|
11022
11441
|
|
|
11023
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
11024
|
-
return new
|
|
11442
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhepOutputEvent {
|
|
11443
|
+
return new WhepOutputEvent().fromJsonString(jsonString, options);
|
|
11025
11444
|
}
|
|
11026
11445
|
|
|
11027
|
-
static equals(a:
|
|
11028
|
-
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);
|
|
11029
11448
|
}
|
|
11030
11449
|
}
|
|
11031
11450
|
|
|
@@ -11375,12 +11794,17 @@ export class FileMp4OutputConfiguration extends Message<FileMp4OutputConfigurati
|
|
|
11375
11794
|
nonfragmentedFileName = "";
|
|
11376
11795
|
|
|
11377
11796
|
/**
|
|
11378
|
-
* @generated from field: norsk.api.media.Mp4Encryption
|
|
11797
|
+
* @generated from field: norsk.api.media.Mp4Encryption audio_encryption = 4;
|
|
11379
11798
|
*/
|
|
11380
|
-
|
|
11799
|
+
audioEncryption?: Mp4Encryption;
|
|
11381
11800
|
|
|
11382
11801
|
/**
|
|
11383
|
-
* @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;
|
|
11384
11808
|
*/
|
|
11385
11809
|
statsSampling?: StreamStatisticsSampling;
|
|
11386
11810
|
|
|
@@ -11395,8 +11819,9 @@ export class FileMp4OutputConfiguration extends Message<FileMp4OutputConfigurati
|
|
|
11395
11819
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11396
11820
|
{ no: 2, name: "fragmented_file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11397
11821
|
{ no: 3, name: "nonfragmented_file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11398
|
-
{ no: 4, name: "
|
|
11399
|
-
{ 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 },
|
|
11400
11825
|
]);
|
|
11401
11826
|
|
|
11402
11827
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputConfiguration {
|
|
@@ -12608,16 +13033,28 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
12608
13033
|
case: "nvidiaHevc";
|
|
12609
13034
|
} | {
|
|
12610
13035
|
/**
|
|
12611
|
-
* @generated from field: norsk.api.media.
|
|
13036
|
+
* @generated from field: norsk.api.media.LoganH264 loganH264 = 9;
|
|
12612
13037
|
*/
|
|
12613
|
-
value:
|
|
12614
|
-
case: "
|
|
13038
|
+
value: LoganH264;
|
|
13039
|
+
case: "loganH264";
|
|
12615
13040
|
} | {
|
|
12616
13041
|
/**
|
|
12617
|
-
* @generated from field: norsk.api.media.
|
|
13042
|
+
* @generated from field: norsk.api.media.LoganHevc loganHevc = 10;
|
|
12618
13043
|
*/
|
|
12619
|
-
value:
|
|
12620
|
-
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";
|
|
12621
13058
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
12622
13059
|
|
|
12623
13060
|
constructor(data?: PartialMessage<VideoEncodeStream>) {
|
|
@@ -12636,8 +13073,10 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
12636
13073
|
{ no: 6, name: "x265", kind: "message", T: X265Codec, oneof: "codec" },
|
|
12637
13074
|
{ no: 7, name: "nvidiaH264", kind: "message", T: NvidiaH264, oneof: "codec" },
|
|
12638
13075
|
{ no: 8, name: "nvidiaHevc", kind: "message", T: NvidiaHevc, oneof: "codec" },
|
|
12639
|
-
{ no: 9, name: "
|
|
12640
|
-
{ 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" },
|
|
12641
13080
|
]);
|
|
12642
13081
|
|
|
12643
13082
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeStream {
|
|
@@ -13173,9 +13612,174 @@ proto3.util.setEnumType(NvidiaHevc_NvidiaHevcTier, "norsk.api.media.NvidiaHevc.N
|
|
|
13173
13612
|
]);
|
|
13174
13613
|
|
|
13175
13614
|
/**
|
|
13176
|
-
* @generated from message norsk.api.media.
|
|
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;
|
|
13655
|
+
*/
|
|
13656
|
+
cbr?: OptionalBool;
|
|
13657
|
+
|
|
13658
|
+
/**
|
|
13659
|
+
* @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
|
|
13660
|
+
*/
|
|
13661
|
+
gopPresetIndex?: OptionalInt;
|
|
13662
|
+
|
|
13663
|
+
/**
|
|
13664
|
+
* @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
|
|
13665
|
+
*/
|
|
13666
|
+
intraPeriod?: OptionalInt;
|
|
13667
|
+
|
|
13668
|
+
/**
|
|
13669
|
+
* @generated from field: norsk.api.media.QuadraH264.QuadraH264Profile profile = 11;
|
|
13670
|
+
*/
|
|
13671
|
+
profile = QuadraH264_QuadraH264Profile.DEFAULT;
|
|
13672
|
+
|
|
13673
|
+
/**
|
|
13674
|
+
* @generated from field: norsk.api.media.OptionalInt level = 12;
|
|
13675
|
+
*/
|
|
13676
|
+
level?: OptionalInt;
|
|
13677
|
+
|
|
13678
|
+
/**
|
|
13679
|
+
* @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
|
|
13680
|
+
*/
|
|
13681
|
+
rcEnable?: OptionalBool;
|
|
13682
|
+
|
|
13683
|
+
/**
|
|
13684
|
+
* @generated from field: norsk.api.media.OptionalInt intraQp = 14;
|
|
13685
|
+
*/
|
|
13686
|
+
intraQp?: OptionalInt;
|
|
13687
|
+
|
|
13688
|
+
/**
|
|
13689
|
+
* @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
|
|
13690
|
+
*/
|
|
13691
|
+
rcInitDelay?: OptionalInt;
|
|
13692
|
+
|
|
13693
|
+
constructor(data?: PartialMessage<QuadraH264>) {
|
|
13694
|
+
super();
|
|
13695
|
+
proto3.util.initPartial(data, this);
|
|
13696
|
+
}
|
|
13697
|
+
|
|
13698
|
+
static readonly runtime = proto3;
|
|
13699
|
+
static readonly typeName = "norsk.api.media.QuadraH264";
|
|
13700
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
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 },
|
|
13716
|
+
]);
|
|
13717
|
+
|
|
13718
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraH264 {
|
|
13719
|
+
return new QuadraH264().fromBinary(bytes, options);
|
|
13720
|
+
}
|
|
13721
|
+
|
|
13722
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraH264 {
|
|
13723
|
+
return new QuadraH264().fromJson(jsonValue, options);
|
|
13724
|
+
}
|
|
13725
|
+
|
|
13726
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraH264 {
|
|
13727
|
+
return new QuadraH264().fromJsonString(jsonString, options);
|
|
13728
|
+
}
|
|
13729
|
+
|
|
13730
|
+
static equals(a: QuadraH264 | PlainMessage<QuadraH264> | undefined, b: QuadraH264 | PlainMessage<QuadraH264> | undefined): boolean {
|
|
13731
|
+
return proto3.util.equals(QuadraH264, a, b);
|
|
13732
|
+
}
|
|
13733
|
+
}
|
|
13734
|
+
|
|
13735
|
+
/**
|
|
13736
|
+
* @generated from enum norsk.api.media.QuadraH264.QuadraH264Profile
|
|
13737
|
+
*/
|
|
13738
|
+
export enum QuadraH264_QuadraH264Profile {
|
|
13739
|
+
/**
|
|
13740
|
+
* @generated from enum value: QUADRA_H264_PROFILE_DEFAULT = 0;
|
|
13741
|
+
*/
|
|
13742
|
+
DEFAULT = 0,
|
|
13743
|
+
|
|
13744
|
+
/**
|
|
13745
|
+
* @generated from enum value: QUADRA_H264_PROFILE_BASELINE = 1;
|
|
13746
|
+
*/
|
|
13747
|
+
BASELINE = 1,
|
|
13748
|
+
|
|
13749
|
+
/**
|
|
13750
|
+
* @generated from enum value: QUADRA_H264_PROFILE_MAIN = 2;
|
|
13751
|
+
*/
|
|
13752
|
+
MAIN = 2,
|
|
13753
|
+
|
|
13754
|
+
/**
|
|
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;
|
|
13761
|
+
*/
|
|
13762
|
+
HIGH = 4,
|
|
13763
|
+
|
|
13764
|
+
/**
|
|
13765
|
+
* @generated from enum value: QUADRA_H264_PROFILE_HIGH10 = 5;
|
|
13766
|
+
*/
|
|
13767
|
+
HIGH10 = 5,
|
|
13768
|
+
}
|
|
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" },
|
|
13777
|
+
]);
|
|
13778
|
+
|
|
13779
|
+
/**
|
|
13780
|
+
* @generated from message norsk.api.media.QuadraHevc
|
|
13177
13781
|
*/
|
|
13178
|
-
export class
|
|
13782
|
+
export class QuadraHevc extends Message<QuadraHevc> {
|
|
13179
13783
|
/**
|
|
13180
13784
|
* @generated from field: string extraOpts = 1;
|
|
13181
13785
|
*/
|
|
@@ -13227,9 +13831,200 @@ export class NetintH264 extends Message<NetintH264> {
|
|
|
13227
13831
|
intraPeriod?: OptionalInt;
|
|
13228
13832
|
|
|
13229
13833
|
/**
|
|
13230
|
-
* @generated from field: norsk.api.media.
|
|
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;
|
|
13231
13840
|
*/
|
|
13232
|
-
profile =
|
|
13841
|
+
profile = QuadraHevc_QuadraHevcProfile.DEFAULT;
|
|
13842
|
+
|
|
13843
|
+
/**
|
|
13844
|
+
* @generated from field: norsk.api.media.OptionalInt level = 13;
|
|
13845
|
+
*/
|
|
13846
|
+
level?: OptionalInt;
|
|
13847
|
+
|
|
13848
|
+
/**
|
|
13849
|
+
* @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
|
|
13850
|
+
*/
|
|
13851
|
+
rcEnable?: OptionalBool;
|
|
13852
|
+
|
|
13853
|
+
/**
|
|
13854
|
+
* @generated from field: norsk.api.media.OptionalBool lossless = 15;
|
|
13855
|
+
*/
|
|
13856
|
+
lossless?: OptionalBool;
|
|
13857
|
+
|
|
13858
|
+
/**
|
|
13859
|
+
* @generated from field: norsk.api.media.OptionalInt intraQp = 16;
|
|
13860
|
+
*/
|
|
13861
|
+
intraQp?: OptionalInt;
|
|
13862
|
+
|
|
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>) {
|
|
13879
|
+
super();
|
|
13880
|
+
proto3.util.initPartial(data, this);
|
|
13881
|
+
}
|
|
13882
|
+
|
|
13883
|
+
static readonly runtime = proto3;
|
|
13884
|
+
static readonly typeName = "norsk.api.media.QuadraHevc";
|
|
13885
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
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 },
|
|
13905
|
+
]);
|
|
13906
|
+
|
|
13907
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraHevc {
|
|
13908
|
+
return new QuadraHevc().fromBinary(bytes, options);
|
|
13909
|
+
}
|
|
13910
|
+
|
|
13911
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraHevc {
|
|
13912
|
+
return new QuadraHevc().fromJson(jsonValue, options);
|
|
13913
|
+
}
|
|
13914
|
+
|
|
13915
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraHevc {
|
|
13916
|
+
return new QuadraHevc().fromJsonString(jsonString, options);
|
|
13917
|
+
}
|
|
13918
|
+
|
|
13919
|
+
static equals(a: QuadraHevc | PlainMessage<QuadraHevc> | undefined, b: QuadraHevc | PlainMessage<QuadraHevc> | undefined): boolean {
|
|
13920
|
+
return proto3.util.equals(QuadraHevc, a, b);
|
|
13921
|
+
}
|
|
13922
|
+
}
|
|
13923
|
+
|
|
13924
|
+
/**
|
|
13925
|
+
* @generated from enum norsk.api.media.QuadraHevc.QuadraHevcProfile
|
|
13926
|
+
*/
|
|
13927
|
+
export enum QuadraHevc_QuadraHevcProfile {
|
|
13928
|
+
/**
|
|
13929
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_DEFAULT = 0;
|
|
13930
|
+
*/
|
|
13931
|
+
DEFAULT = 0,
|
|
13932
|
+
|
|
13933
|
+
/**
|
|
13934
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN = 1;
|
|
13935
|
+
*/
|
|
13936
|
+
MAIN = 1,
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN10 = 2;
|
|
13940
|
+
*/
|
|
13941
|
+
MAIN10 = 2,
|
|
13942
|
+
}
|
|
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" },
|
|
13948
|
+
]);
|
|
13949
|
+
|
|
13950
|
+
/**
|
|
13951
|
+
* @generated from enum norsk.api.media.QuadraHevc.QuadraHevcTier
|
|
13952
|
+
*/
|
|
13953
|
+
export enum QuadraHevc_QuadraHevcTier {
|
|
13954
|
+
/**
|
|
13955
|
+
* @generated from enum value: QUADRA_HEVC_TIER_MAIN = 0;
|
|
13956
|
+
*/
|
|
13957
|
+
MAIN = 0,
|
|
13958
|
+
|
|
13959
|
+
/**
|
|
13960
|
+
* @generated from enum value: QUADRA_HEVC_TIER_HIGH = 1;
|
|
13961
|
+
*/
|
|
13962
|
+
HIGH = 1,
|
|
13963
|
+
}
|
|
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" },
|
|
13968
|
+
]);
|
|
13969
|
+
|
|
13970
|
+
/**
|
|
13971
|
+
* @generated from message norsk.api.media.LoganH264
|
|
13972
|
+
*/
|
|
13973
|
+
export class LoganH264 extends Message<LoganH264> {
|
|
13974
|
+
/**
|
|
13975
|
+
* @generated from field: string extraOpts = 1;
|
|
13976
|
+
*/
|
|
13977
|
+
extraOpts = "";
|
|
13978
|
+
|
|
13979
|
+
/**
|
|
13980
|
+
* @generated from field: norsk.api.media.OptionalBool enableAud = 2;
|
|
13981
|
+
*/
|
|
13982
|
+
enableAud?: OptionalBool;
|
|
13983
|
+
|
|
13984
|
+
/**
|
|
13985
|
+
* @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
|
|
13986
|
+
*/
|
|
13987
|
+
gpuIndex?: OptionalInt;
|
|
13988
|
+
|
|
13989
|
+
/**
|
|
13990
|
+
* @generated from field: norsk.api.media.OptionalInt bitrate = 4;
|
|
13991
|
+
*/
|
|
13992
|
+
bitrate?: OptionalInt;
|
|
13993
|
+
|
|
13994
|
+
/**
|
|
13995
|
+
* @generated from field: norsk.api.media.OptionalBool flushGop = 5;
|
|
13996
|
+
*/
|
|
13997
|
+
flushGop?: OptionalBool;
|
|
13998
|
+
|
|
13999
|
+
/**
|
|
14000
|
+
* @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
|
|
14001
|
+
*/
|
|
14002
|
+
enableVfr?: OptionalBool;
|
|
14003
|
+
|
|
14004
|
+
/**
|
|
14005
|
+
* @generated from field: norsk.api.media.OptionalInt crf = 7;
|
|
14006
|
+
*/
|
|
14007
|
+
crf?: OptionalInt;
|
|
14008
|
+
|
|
14009
|
+
/**
|
|
14010
|
+
* @generated from field: norsk.api.media.OptionalBool cbr = 8;
|
|
14011
|
+
*/
|
|
14012
|
+
cbr?: OptionalBool;
|
|
14013
|
+
|
|
14014
|
+
/**
|
|
14015
|
+
* @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
|
|
14016
|
+
*/
|
|
14017
|
+
gopPresetIndex?: OptionalInt;
|
|
14018
|
+
|
|
14019
|
+
/**
|
|
14020
|
+
* @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
|
|
14021
|
+
*/
|
|
14022
|
+
intraPeriod?: OptionalInt;
|
|
14023
|
+
|
|
14024
|
+
/**
|
|
14025
|
+
* @generated from field: norsk.api.media.LoganH264.LoganH264Profile profile = 11;
|
|
14026
|
+
*/
|
|
14027
|
+
profile = LoganH264_LoganH264Profile.DEFAULT;
|
|
13233
14028
|
|
|
13234
14029
|
/**
|
|
13235
14030
|
* @generated from field: norsk.api.media.OptionalInt level = 12;
|
|
@@ -13251,13 +14046,13 @@ export class NetintH264 extends Message<NetintH264> {
|
|
|
13251
14046
|
*/
|
|
13252
14047
|
rcInitDelay?: OptionalInt;
|
|
13253
14048
|
|
|
13254
|
-
constructor(data?: PartialMessage<
|
|
14049
|
+
constructor(data?: PartialMessage<LoganH264>) {
|
|
13255
14050
|
super();
|
|
13256
14051
|
proto3.util.initPartial(data, this);
|
|
13257
14052
|
}
|
|
13258
14053
|
|
|
13259
14054
|
static readonly runtime = proto3;
|
|
13260
|
-
static readonly typeName = "norsk.api.media.
|
|
14055
|
+
static readonly typeName = "norsk.api.media.LoganH264";
|
|
13261
14056
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13262
14057
|
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13263
14058
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
@@ -13269,78 +14064,78 @@ export class NetintH264 extends Message<NetintH264> {
|
|
|
13269
14064
|
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
13270
14065
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
13271
14066
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
13272
|
-
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(
|
|
14067
|
+
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(LoganH264_LoganH264Profile) },
|
|
13273
14068
|
{ no: 12, name: "level", kind: "message", T: OptionalInt },
|
|
13274
14069
|
{ no: 13, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
13275
14070
|
{ no: 14, name: "intraQp", kind: "message", T: OptionalInt },
|
|
13276
14071
|
{ no: 15, name: "rcInitDelay", kind: "message", T: OptionalInt },
|
|
13277
14072
|
]);
|
|
13278
14073
|
|
|
13279
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
13280
|
-
return new
|
|
14074
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoganH264 {
|
|
14075
|
+
return new LoganH264().fromBinary(bytes, options);
|
|
13281
14076
|
}
|
|
13282
14077
|
|
|
13283
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
13284
|
-
return new
|
|
14078
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoganH264 {
|
|
14079
|
+
return new LoganH264().fromJson(jsonValue, options);
|
|
13285
14080
|
}
|
|
13286
14081
|
|
|
13287
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
13288
|
-
return new
|
|
14082
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoganH264 {
|
|
14083
|
+
return new LoganH264().fromJsonString(jsonString, options);
|
|
13289
14084
|
}
|
|
13290
14085
|
|
|
13291
|
-
static equals(a:
|
|
13292
|
-
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);
|
|
13293
14088
|
}
|
|
13294
14089
|
}
|
|
13295
14090
|
|
|
13296
14091
|
/**
|
|
13297
|
-
* @generated from enum norsk.api.media.
|
|
14092
|
+
* @generated from enum norsk.api.media.LoganH264.LoganH264Profile
|
|
13298
14093
|
*/
|
|
13299
|
-
export enum
|
|
14094
|
+
export enum LoganH264_LoganH264Profile {
|
|
13300
14095
|
/**
|
|
13301
|
-
* @generated from enum value:
|
|
14096
|
+
* @generated from enum value: LOGAN_H264_PROFILE_DEFAULT = 0;
|
|
13302
14097
|
*/
|
|
13303
14098
|
DEFAULT = 0,
|
|
13304
14099
|
|
|
13305
14100
|
/**
|
|
13306
|
-
* @generated from enum value:
|
|
14101
|
+
* @generated from enum value: LOGAN_H264_PROFILE_BASELINE = 1;
|
|
13307
14102
|
*/
|
|
13308
14103
|
BASELINE = 1,
|
|
13309
14104
|
|
|
13310
14105
|
/**
|
|
13311
|
-
* @generated from enum value:
|
|
14106
|
+
* @generated from enum value: LOGAN_H264_PROFILE_MAIN = 2;
|
|
13312
14107
|
*/
|
|
13313
14108
|
MAIN = 2,
|
|
13314
14109
|
|
|
13315
14110
|
/**
|
|
13316
|
-
* @generated from enum value:
|
|
14111
|
+
* @generated from enum value: LOGAN_H264_PROFILE_EXTENDED = 3;
|
|
13317
14112
|
*/
|
|
13318
14113
|
EXTENDED = 3,
|
|
13319
14114
|
|
|
13320
14115
|
/**
|
|
13321
|
-
* @generated from enum value:
|
|
14116
|
+
* @generated from enum value: LOGAN_H264_PROFILE_HIGH = 4;
|
|
13322
14117
|
*/
|
|
13323
14118
|
HIGH = 4,
|
|
13324
14119
|
|
|
13325
14120
|
/**
|
|
13326
|
-
* @generated from enum value:
|
|
14121
|
+
* @generated from enum value: LOGAN_H264_PROFILE_HIGH10 = 5;
|
|
13327
14122
|
*/
|
|
13328
14123
|
HIGH10 = 5,
|
|
13329
14124
|
}
|
|
13330
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13331
|
-
proto3.util.setEnumType(
|
|
13332
|
-
{ no: 0, name: "
|
|
13333
|
-
{ no: 1, name: "
|
|
13334
|
-
{ no: 2, name: "
|
|
13335
|
-
{ no: 3, name: "
|
|
13336
|
-
{ no: 4, name: "
|
|
13337
|
-
{ 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" },
|
|
13338
14133
|
]);
|
|
13339
14134
|
|
|
13340
14135
|
/**
|
|
13341
|
-
* @generated from message norsk.api.media.
|
|
14136
|
+
* @generated from message norsk.api.media.LoganHevc
|
|
13342
14137
|
*/
|
|
13343
|
-
export class
|
|
14138
|
+
export class LoganHevc extends Message<LoganHevc> {
|
|
13344
14139
|
/**
|
|
13345
14140
|
* @generated from field: string extraOpts = 1;
|
|
13346
14141
|
*/
|
|
@@ -13392,14 +14187,14 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13392
14187
|
intraPeriod?: OptionalInt;
|
|
13393
14188
|
|
|
13394
14189
|
/**
|
|
13395
|
-
* @generated from field: norsk.api.media.
|
|
14190
|
+
* @generated from field: norsk.api.media.LoganHevc.LoganHevcTier tier = 11;
|
|
13396
14191
|
*/
|
|
13397
|
-
tier =
|
|
14192
|
+
tier = LoganHevc_LoganHevcTier.MAIN;
|
|
13398
14193
|
|
|
13399
14194
|
/**
|
|
13400
|
-
* @generated from field: norsk.api.media.
|
|
14195
|
+
* @generated from field: norsk.api.media.LoganHevc.LoganHevcProfile profile = 12;
|
|
13401
14196
|
*/
|
|
13402
|
-
profile =
|
|
14197
|
+
profile = LoganHevc_LoganHevcProfile.DEFAULT;
|
|
13403
14198
|
|
|
13404
14199
|
/**
|
|
13405
14200
|
* @generated from field: norsk.api.media.OptionalInt level = 13;
|
|
@@ -13436,13 +14231,13 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13436
14231
|
*/
|
|
13437
14232
|
dolbyVisionProfile?: OptionalInt;
|
|
13438
14233
|
|
|
13439
|
-
constructor(data?: PartialMessage<
|
|
14234
|
+
constructor(data?: PartialMessage<LoganHevc>) {
|
|
13440
14235
|
super();
|
|
13441
14236
|
proto3.util.initPartial(data, this);
|
|
13442
14237
|
}
|
|
13443
14238
|
|
|
13444
14239
|
static readonly runtime = proto3;
|
|
13445
|
-
static readonly typeName = "norsk.api.media.
|
|
14240
|
+
static readonly typeName = "norsk.api.media.LoganHevc";
|
|
13446
14241
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13447
14242
|
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13448
14243
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
@@ -13454,8 +14249,8 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13454
14249
|
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
13455
14250
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
13456
14251
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
13457
|
-
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(
|
|
13458
|
-
{ 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) },
|
|
13459
14254
|
{ no: 13, name: "level", kind: "message", T: OptionalInt },
|
|
13460
14255
|
{ no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
13461
14256
|
{ no: 15, name: "lossless", kind: "message", T: OptionalBool },
|
|
@@ -13465,67 +14260,67 @@ export class NetintHevc extends Message<NetintHevc> {
|
|
|
13465
14260
|
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
13466
14261
|
]);
|
|
13467
14262
|
|
|
13468
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
13469
|
-
return new
|
|
14263
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoganHevc {
|
|
14264
|
+
return new LoganHevc().fromBinary(bytes, options);
|
|
13470
14265
|
}
|
|
13471
14266
|
|
|
13472
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
13473
|
-
return new
|
|
14267
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoganHevc {
|
|
14268
|
+
return new LoganHevc().fromJson(jsonValue, options);
|
|
13474
14269
|
}
|
|
13475
14270
|
|
|
13476
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
13477
|
-
return new
|
|
14271
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoganHevc {
|
|
14272
|
+
return new LoganHevc().fromJsonString(jsonString, options);
|
|
13478
14273
|
}
|
|
13479
14274
|
|
|
13480
|
-
static equals(a:
|
|
13481
|
-
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);
|
|
13482
14277
|
}
|
|
13483
14278
|
}
|
|
13484
14279
|
|
|
13485
14280
|
/**
|
|
13486
|
-
* @generated from enum norsk.api.media.
|
|
14281
|
+
* @generated from enum norsk.api.media.LoganHevc.LoganHevcProfile
|
|
13487
14282
|
*/
|
|
13488
|
-
export enum
|
|
14283
|
+
export enum LoganHevc_LoganHevcProfile {
|
|
13489
14284
|
/**
|
|
13490
|
-
* @generated from enum value:
|
|
14285
|
+
* @generated from enum value: LOGAN_HEVC_PROFILE_DEFAULT = 0;
|
|
13491
14286
|
*/
|
|
13492
14287
|
DEFAULT = 0,
|
|
13493
14288
|
|
|
13494
14289
|
/**
|
|
13495
|
-
* @generated from enum value:
|
|
14290
|
+
* @generated from enum value: LOGAN_HEVC_PROFILE_MAIN = 1;
|
|
13496
14291
|
*/
|
|
13497
14292
|
MAIN = 1,
|
|
13498
14293
|
|
|
13499
14294
|
/**
|
|
13500
|
-
* @generated from enum value:
|
|
14295
|
+
* @generated from enum value: LOGAN_HEVC_PROFILE_MAIN10 = 2;
|
|
13501
14296
|
*/
|
|
13502
14297
|
MAIN10 = 2,
|
|
13503
14298
|
}
|
|
13504
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13505
|
-
proto3.util.setEnumType(
|
|
13506
|
-
{ no: 0, name: "
|
|
13507
|
-
{ no: 1, name: "
|
|
13508
|
-
{ 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" },
|
|
13509
14304
|
]);
|
|
13510
14305
|
|
|
13511
14306
|
/**
|
|
13512
|
-
* @generated from enum norsk.api.media.
|
|
14307
|
+
* @generated from enum norsk.api.media.LoganHevc.LoganHevcTier
|
|
13513
14308
|
*/
|
|
13514
|
-
export enum
|
|
14309
|
+
export enum LoganHevc_LoganHevcTier {
|
|
13515
14310
|
/**
|
|
13516
|
-
* @generated from enum value:
|
|
14311
|
+
* @generated from enum value: LOGAN_HEVC_TIER_MAIN = 0;
|
|
13517
14312
|
*/
|
|
13518
14313
|
MAIN = 0,
|
|
13519
14314
|
|
|
13520
14315
|
/**
|
|
13521
|
-
* @generated from enum value:
|
|
14316
|
+
* @generated from enum value: LOGAN_HEVC_TIER_HIGH = 1;
|
|
13522
14317
|
*/
|
|
13523
14318
|
HIGH = 1,
|
|
13524
14319
|
}
|
|
13525
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
13526
|
-
proto3.util.setEnumType(
|
|
13527
|
-
{ no: 0, name: "
|
|
13528
|
-
{ 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" },
|
|
13529
14324
|
]);
|
|
13530
14325
|
|
|
13531
14326
|
/**
|
|
@@ -15043,6 +15838,49 @@ export class StreamSwitchSmoothMessage extends Message<StreamSwitchSmoothMessage
|
|
|
15043
15838
|
}
|
|
15044
15839
|
}
|
|
15045
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
|
+
|
|
15046
15884
|
/**
|
|
15047
15885
|
* @generated from message norsk.api.media.StreamSwitchSmoothEvent
|
|
15048
15886
|
*/
|
|
@@ -15068,6 +15906,21 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
15068
15906
|
*/
|
|
15069
15907
|
value: SubscriptionResponse;
|
|
15070
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";
|
|
15071
15924
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
15072
15925
|
|
|
15073
15926
|
constructor(data?: PartialMessage<StreamSwitchSmoothEvent>) {
|
|
@@ -15081,6 +15934,8 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
15081
15934
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
15082
15935
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
15083
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" },
|
|
15084
15939
|
]);
|
|
15085
15940
|
|
|
15086
15941
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothEvent {
|