@norskvideo/norsk-api 1.0.349 → 1.0.351
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/media_grpc_pb.d.ts +16 -0
- package/lib/media_grpc_pb.js +39 -2
- package/lib/media_pb.d.ts +549 -69
- package/lib/media_pb.js +566 -79
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +883 -107
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -2847,12 +2847,18 @@ export enum ValidationResponse_ContextValidationResponse {
|
|
|
2847
2847
|
* @generated from enum value: CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2;
|
|
2848
2848
|
*/
|
|
2849
2849
|
CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2,
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* @generated from enum value: CONTEXT_VALIDATION_DENY_AND_QUEUE = 3;
|
|
2853
|
+
*/
|
|
2854
|
+
CONTEXT_VALIDATION_DENY_AND_QUEUE = 3,
|
|
2850
2855
|
}
|
|
2851
2856
|
// Retrieve enum metadata with: proto3.getEnumType(ValidationResponse_ContextValidationResponse)
|
|
2852
2857
|
proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api.media.ValidationResponse.ContextValidationResponse", [
|
|
2853
2858
|
{ no: 0, name: "CONTEXT_VALIDATION_DENY" },
|
|
2854
2859
|
{ no: 1, name: "CONTEXT_VALIDATION_ALLOW" },
|
|
2855
2860
|
{ no: 2, name: "CONTEXT_VALIDATION_ALLOW_AND_TERMINATE" },
|
|
2861
|
+
{ no: 3, name: "CONTEXT_VALIDATION_DENY_AND_QUEUE" },
|
|
2856
2862
|
]);
|
|
2857
2863
|
|
|
2858
2864
|
/**
|
|
@@ -3646,6 +3652,16 @@ export class RtmpServerInputConfiguration extends Message<RtmpServerInputConfigu
|
|
|
3646
3652
|
*/
|
|
3647
3653
|
statsSampling?: StreamStatisticsSampling;
|
|
3648
3654
|
|
|
3655
|
+
/**
|
|
3656
|
+
* @generated from field: bool ssl = 4;
|
|
3657
|
+
*/
|
|
3658
|
+
ssl = false;
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* @generated from field: norsk.api.media.SslServerOptions ssl_options = 5;
|
|
3662
|
+
*/
|
|
3663
|
+
sslOptions?: SslServerOptions;
|
|
3664
|
+
|
|
3649
3665
|
constructor(data?: PartialMessage<RtmpServerInputConfiguration>) {
|
|
3650
3666
|
super();
|
|
3651
3667
|
proto3.util.initPartial(data, this);
|
|
@@ -3657,6 +3673,8 @@ export class RtmpServerInputConfiguration extends Message<RtmpServerInputConfigu
|
|
|
3657
3673
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
3658
3674
|
{ no: 2, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
3659
3675
|
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
3676
|
+
{ no: 4, name: "ssl", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3677
|
+
{ no: 5, name: "ssl_options", kind: "message", T: SslServerOptions },
|
|
3660
3678
|
]);
|
|
3661
3679
|
|
|
3662
3680
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpServerInputConfiguration {
|
|
@@ -3676,6 +3694,49 @@ export class RtmpServerInputConfiguration extends Message<RtmpServerInputConfigu
|
|
|
3676
3694
|
}
|
|
3677
3695
|
}
|
|
3678
3696
|
|
|
3697
|
+
/**
|
|
3698
|
+
* @generated from message norsk.api.media.SslServerOptions
|
|
3699
|
+
*/
|
|
3700
|
+
export class SslServerOptions extends Message<SslServerOptions> {
|
|
3701
|
+
/**
|
|
3702
|
+
* @generated from field: string cert_file = 1;
|
|
3703
|
+
*/
|
|
3704
|
+
certFile = "";
|
|
3705
|
+
|
|
3706
|
+
/**
|
|
3707
|
+
* @generated from field: string key_file = 2;
|
|
3708
|
+
*/
|
|
3709
|
+
keyFile = "";
|
|
3710
|
+
|
|
3711
|
+
constructor(data?: PartialMessage<SslServerOptions>) {
|
|
3712
|
+
super();
|
|
3713
|
+
proto3.util.initPartial(data, this);
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
static readonly runtime = proto3;
|
|
3717
|
+
static readonly typeName = "norsk.api.media.SslServerOptions";
|
|
3718
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3719
|
+
{ no: 1, name: "cert_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3720
|
+
{ no: 2, name: "key_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3721
|
+
]);
|
|
3722
|
+
|
|
3723
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SslServerOptions {
|
|
3724
|
+
return new SslServerOptions().fromBinary(bytes, options);
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SslServerOptions {
|
|
3728
|
+
return new SslServerOptions().fromJson(jsonValue, options);
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SslServerOptions {
|
|
3732
|
+
return new SslServerOptions().fromJsonString(jsonString, options);
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
static equals(a: SslServerOptions | PlainMessage<SslServerOptions> | undefined, b: SslServerOptions | PlainMessage<SslServerOptions> | undefined): boolean {
|
|
3736
|
+
return proto3.util.equals(SslServerOptions, a, b);
|
|
3737
|
+
}
|
|
3738
|
+
}
|
|
3739
|
+
|
|
3679
3740
|
/**
|
|
3680
3741
|
* *
|
|
3681
3742
|
* Accept a remote connection attempt.
|
|
@@ -4544,6 +4605,11 @@ export enum TsProgram_TsStreamType {
|
|
|
4544
4605
|
* @generated from enum value: SCTE35 = 11;
|
|
4545
4606
|
*/
|
|
4546
4607
|
SCTE35 = 11,
|
|
4608
|
+
|
|
4609
|
+
/**
|
|
4610
|
+
* @generated from enum value: PES_METADATA = 12;
|
|
4611
|
+
*/
|
|
4612
|
+
PES_METADATA = 12,
|
|
4547
4613
|
}
|
|
4548
4614
|
// Retrieve enum metadata with: proto3.getEnumType(TsProgram_TsStreamType)
|
|
4549
4615
|
proto3.util.setEnumType(TsProgram_TsStreamType, "norsk.api.media.TsProgram.TsStreamType", [
|
|
@@ -4559,6 +4625,7 @@ proto3.util.setEnumType(TsProgram_TsStreamType, "norsk.api.media.TsProgram.TsStr
|
|
|
4559
4625
|
{ no: 9, name: "UNKNOWN" },
|
|
4560
4626
|
{ no: 10, name: "HEVC" },
|
|
4561
4627
|
{ no: 11, name: "SCTE35" },
|
|
4628
|
+
{ no: 12, name: "PES_METADATA" },
|
|
4562
4629
|
]);
|
|
4563
4630
|
|
|
4564
4631
|
/**
|
|
@@ -8248,7 +8315,7 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
8248
8315
|
/**
|
|
8249
8316
|
* @generated from field: norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration hardware_acceleration = 8;
|
|
8250
8317
|
*/
|
|
8251
|
-
hardwareAcceleration = VideoComposeConfiguration_ComposeHardwareAcceleration.
|
|
8318
|
+
hardwareAcceleration = VideoComposeConfiguration_ComposeHardwareAcceleration.COMPOSE_NONE;
|
|
8252
8319
|
|
|
8253
8320
|
constructor(data?: PartialMessage<VideoComposeConfiguration>) {
|
|
8254
8321
|
super();
|
|
@@ -8290,25 +8357,25 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
8290
8357
|
*/
|
|
8291
8358
|
export enum VideoComposeConfiguration_ComposeHardwareAcceleration {
|
|
8292
8359
|
/**
|
|
8293
|
-
* @generated from enum value:
|
|
8360
|
+
* @generated from enum value: COMPOSE_NONE = 0;
|
|
8294
8361
|
*/
|
|
8295
|
-
|
|
8362
|
+
COMPOSE_NONE = 0,
|
|
8296
8363
|
|
|
8297
8364
|
/**
|
|
8298
|
-
* @generated from enum value:
|
|
8365
|
+
* @generated from enum value: COMPOSE_QUADRA = 1;
|
|
8299
8366
|
*/
|
|
8300
|
-
|
|
8367
|
+
COMPOSE_QUADRA = 1,
|
|
8301
8368
|
|
|
8302
8369
|
/**
|
|
8303
|
-
* @generated from enum value:
|
|
8370
|
+
* @generated from enum value: COMPOSE_NVIDIA = 2;
|
|
8304
8371
|
*/
|
|
8305
|
-
|
|
8372
|
+
COMPOSE_NVIDIA = 2,
|
|
8306
8373
|
}
|
|
8307
8374
|
// Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration)
|
|
8308
8375
|
proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration", [
|
|
8309
|
-
{ no: 0, name: "
|
|
8310
|
-
{ no: 1, name: "
|
|
8311
|
-
{ no: 2, name: "
|
|
8376
|
+
{ no: 0, name: "COMPOSE_NONE" },
|
|
8377
|
+
{ no: 1, name: "COMPOSE_QUADRA" },
|
|
8378
|
+
{ no: 2, name: "COMPOSE_NVIDIA" },
|
|
8312
8379
|
]);
|
|
8313
8380
|
|
|
8314
8381
|
/**
|
|
@@ -8550,6 +8617,175 @@ export class TransitionComplete extends Message<TransitionComplete> {
|
|
|
8550
8617
|
}
|
|
8551
8618
|
}
|
|
8552
8619
|
|
|
8620
|
+
/**
|
|
8621
|
+
* @generated from message norsk.api.media.MetadataCombineMessage
|
|
8622
|
+
*/
|
|
8623
|
+
export class MetadataCombineMessage extends Message<MetadataCombineMessage> {
|
|
8624
|
+
/**
|
|
8625
|
+
* @generated from oneof norsk.api.media.MetadataCombineMessage.message
|
|
8626
|
+
*/
|
|
8627
|
+
message: {
|
|
8628
|
+
/**
|
|
8629
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
8630
|
+
*/
|
|
8631
|
+
value: Subscription;
|
|
8632
|
+
case: "subscription";
|
|
8633
|
+
} | {
|
|
8634
|
+
/**
|
|
8635
|
+
* @generated from field: norsk.api.media.MetadataCombineConfiguration initial_config = 2;
|
|
8636
|
+
*/
|
|
8637
|
+
value: MetadataCombineConfiguration;
|
|
8638
|
+
case: "initialConfig";
|
|
8639
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
8640
|
+
|
|
8641
|
+
constructor(data?: PartialMessage<MetadataCombineMessage>) {
|
|
8642
|
+
super();
|
|
8643
|
+
proto3.util.initPartial(data, this);
|
|
8644
|
+
}
|
|
8645
|
+
|
|
8646
|
+
static readonly runtime = proto3;
|
|
8647
|
+
static readonly typeName = "norsk.api.media.MetadataCombineMessage";
|
|
8648
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8649
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
8650
|
+
{ no: 2, name: "initial_config", kind: "message", T: MetadataCombineConfiguration, oneof: "message" },
|
|
8651
|
+
]);
|
|
8652
|
+
|
|
8653
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataCombineMessage {
|
|
8654
|
+
return new MetadataCombineMessage().fromBinary(bytes, options);
|
|
8655
|
+
}
|
|
8656
|
+
|
|
8657
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataCombineMessage {
|
|
8658
|
+
return new MetadataCombineMessage().fromJson(jsonValue, options);
|
|
8659
|
+
}
|
|
8660
|
+
|
|
8661
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataCombineMessage {
|
|
8662
|
+
return new MetadataCombineMessage().fromJsonString(jsonString, options);
|
|
8663
|
+
}
|
|
8664
|
+
|
|
8665
|
+
static equals(a: MetadataCombineMessage | PlainMessage<MetadataCombineMessage> | undefined, b: MetadataCombineMessage | PlainMessage<MetadataCombineMessage> | undefined): boolean {
|
|
8666
|
+
return proto3.util.equals(MetadataCombineMessage, a, b);
|
|
8667
|
+
}
|
|
8668
|
+
}
|
|
8669
|
+
|
|
8670
|
+
/**
|
|
8671
|
+
* @generated from message norsk.api.media.MetadataCombineConfiguration
|
|
8672
|
+
*/
|
|
8673
|
+
export class MetadataCombineConfiguration extends Message<MetadataCombineConfiguration> {
|
|
8674
|
+
/**
|
|
8675
|
+
* The Media Node Id
|
|
8676
|
+
*
|
|
8677
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
8678
|
+
*/
|
|
8679
|
+
id?: MediaNodeId;
|
|
8680
|
+
|
|
8681
|
+
/**
|
|
8682
|
+
* The stream key for the merged output metadata stream
|
|
8683
|
+
*
|
|
8684
|
+
* @generated from field: norsk.api.media.StreamKey stream_key = 2;
|
|
8685
|
+
*/
|
|
8686
|
+
streamKey?: StreamKey;
|
|
8687
|
+
|
|
8688
|
+
/**
|
|
8689
|
+
* Max delta to allow for sync purposes, may vary according to source offsets and message frequency
|
|
8690
|
+
*
|
|
8691
|
+
* @generated from field: norsk.api.common.OptionalInt max_sync_delta = 3;
|
|
8692
|
+
*/
|
|
8693
|
+
maxSyncDelta?: OptionalInt;
|
|
8694
|
+
|
|
8695
|
+
constructor(data?: PartialMessage<MetadataCombineConfiguration>) {
|
|
8696
|
+
super();
|
|
8697
|
+
proto3.util.initPartial(data, this);
|
|
8698
|
+
}
|
|
8699
|
+
|
|
8700
|
+
static readonly runtime = proto3;
|
|
8701
|
+
static readonly typeName = "norsk.api.media.MetadataCombineConfiguration";
|
|
8702
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8703
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
8704
|
+
{ no: 2, name: "stream_key", kind: "message", T: StreamKey },
|
|
8705
|
+
{ no: 3, name: "max_sync_delta", kind: "message", T: OptionalInt },
|
|
8706
|
+
]);
|
|
8707
|
+
|
|
8708
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataCombineConfiguration {
|
|
8709
|
+
return new MetadataCombineConfiguration().fromBinary(bytes, options);
|
|
8710
|
+
}
|
|
8711
|
+
|
|
8712
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataCombineConfiguration {
|
|
8713
|
+
return new MetadataCombineConfiguration().fromJson(jsonValue, options);
|
|
8714
|
+
}
|
|
8715
|
+
|
|
8716
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataCombineConfiguration {
|
|
8717
|
+
return new MetadataCombineConfiguration().fromJsonString(jsonString, options);
|
|
8718
|
+
}
|
|
8719
|
+
|
|
8720
|
+
static equals(a: MetadataCombineConfiguration | PlainMessage<MetadataCombineConfiguration> | undefined, b: MetadataCombineConfiguration | PlainMessage<MetadataCombineConfiguration> | undefined): boolean {
|
|
8721
|
+
return proto3.util.equals(MetadataCombineConfiguration, a, b);
|
|
8722
|
+
}
|
|
8723
|
+
}
|
|
8724
|
+
|
|
8725
|
+
/**
|
|
8726
|
+
* @generated from message norsk.api.media.MetadataCombineEvent
|
|
8727
|
+
*/
|
|
8728
|
+
export class MetadataCombineEvent extends Message<MetadataCombineEvent> {
|
|
8729
|
+
/**
|
|
8730
|
+
* @generated from oneof norsk.api.media.MetadataCombineEvent.message
|
|
8731
|
+
*/
|
|
8732
|
+
message: {
|
|
8733
|
+
/**
|
|
8734
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
8735
|
+
*/
|
|
8736
|
+
value: MediaNodeId;
|
|
8737
|
+
case: "nodeId";
|
|
8738
|
+
} | {
|
|
8739
|
+
/**
|
|
8740
|
+
* @generated from field: norsk.api.media.Context inbound_context = 2;
|
|
8741
|
+
*/
|
|
8742
|
+
value: Context;
|
|
8743
|
+
case: "inboundContext";
|
|
8744
|
+
} | {
|
|
8745
|
+
/**
|
|
8746
|
+
* @generated from field: norsk.api.media.Context outbound_context = 3;
|
|
8747
|
+
*/
|
|
8748
|
+
value: Context;
|
|
8749
|
+
case: "outboundContext";
|
|
8750
|
+
} | {
|
|
8751
|
+
/**
|
|
8752
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
|
|
8753
|
+
*/
|
|
8754
|
+
value: SubscriptionResponse;
|
|
8755
|
+
case: "subscriptionResponse";
|
|
8756
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
8757
|
+
|
|
8758
|
+
constructor(data?: PartialMessage<MetadataCombineEvent>) {
|
|
8759
|
+
super();
|
|
8760
|
+
proto3.util.initPartial(data, this);
|
|
8761
|
+
}
|
|
8762
|
+
|
|
8763
|
+
static readonly runtime = proto3;
|
|
8764
|
+
static readonly typeName = "norsk.api.media.MetadataCombineEvent";
|
|
8765
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8766
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
8767
|
+
{ no: 2, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8768
|
+
{ no: 3, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8769
|
+
{ no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
8770
|
+
]);
|
|
8771
|
+
|
|
8772
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataCombineEvent {
|
|
8773
|
+
return new MetadataCombineEvent().fromBinary(bytes, options);
|
|
8774
|
+
}
|
|
8775
|
+
|
|
8776
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataCombineEvent {
|
|
8777
|
+
return new MetadataCombineEvent().fromJson(jsonValue, options);
|
|
8778
|
+
}
|
|
8779
|
+
|
|
8780
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataCombineEvent {
|
|
8781
|
+
return new MetadataCombineEvent().fromJsonString(jsonString, options);
|
|
8782
|
+
}
|
|
8783
|
+
|
|
8784
|
+
static equals(a: MetadataCombineEvent | PlainMessage<MetadataCombineEvent> | undefined, b: MetadataCombineEvent | PlainMessage<MetadataCombineEvent> | undefined): boolean {
|
|
8785
|
+
return proto3.util.equals(MetadataCombineEvent, a, b);
|
|
8786
|
+
}
|
|
8787
|
+
}
|
|
8788
|
+
|
|
8553
8789
|
/**
|
|
8554
8790
|
* *
|
|
8555
8791
|
* Describe an audio source with the output gain mapping for a mixer.
|
|
@@ -9508,6 +9744,11 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
|
|
|
9508
9744
|
*/
|
|
9509
9745
|
channelList: StreamKey[] = [];
|
|
9510
9746
|
|
|
9747
|
+
/**
|
|
9748
|
+
* @generated from field: norsk.api.media.SampleRate sample_rate = 8;
|
|
9749
|
+
*/
|
|
9750
|
+
sampleRate = SampleRate.RATE_8000;
|
|
9751
|
+
|
|
9511
9752
|
constructor(data?: PartialMessage<AudioBuildMultichannelConfiguration>) {
|
|
9512
9753
|
super();
|
|
9513
9754
|
proto3.util.initPartial(data, this);
|
|
@@ -9523,6 +9764,7 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
|
|
|
9523
9764
|
{ no: 5, name: "output_rendition_name", kind: "message", T: RenditionName },
|
|
9524
9765
|
{ no: 6, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
9525
9766
|
{ no: 7, name: "channel_list", kind: "message", T: StreamKey, repeated: true },
|
|
9767
|
+
{ no: 8, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
|
|
9526
9768
|
]);
|
|
9527
9769
|
|
|
9528
9770
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelConfiguration {
|
|
@@ -10966,7 +11208,8 @@ export class UpdateCredentials extends Message<UpdateCredentials> {
|
|
|
10966
11208
|
*/
|
|
10967
11209
|
export class UpdateDestinationPlaylist extends Message<UpdateDestinationPlaylist> {
|
|
10968
11210
|
/**
|
|
10969
|
-
* TODO this doesn't have to be a list anymore, as we're only getting at most
|
|
11211
|
+
* TODO this doesn't have to be a list anymore, as we're only getting at most
|
|
11212
|
+
* one update from the sdk
|
|
10970
11213
|
*
|
|
10971
11214
|
* @generated from field: repeated norsk.api.media.UpdatePlaylist playlists = 1;
|
|
10972
11215
|
*/
|
|
@@ -12096,6 +12339,11 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
|
|
|
12096
12339
|
*/
|
|
12097
12340
|
rtpEncapsulate = false;
|
|
12098
12341
|
|
|
12342
|
+
/**
|
|
12343
|
+
* @generated from field: norsk.api.common.OptionalInt av_delay_ms = 8;
|
|
12344
|
+
*/
|
|
12345
|
+
avDelayMs?: OptionalInt;
|
|
12346
|
+
|
|
12099
12347
|
constructor(data?: PartialMessage<UdpTsOutputConfiguration>) {
|
|
12100
12348
|
super();
|
|
12101
12349
|
proto3.util.initPartial(data, this);
|
|
@@ -12111,6 +12359,7 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
|
|
|
12111
12359
|
{ no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
12112
12360
|
{ no: 6, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
12113
12361
|
{ no: 7, name: "rtp_encapsulate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
12362
|
+
{ no: 8, name: "av_delay_ms", kind: "message", T: OptionalInt },
|
|
12114
12363
|
]);
|
|
12115
12364
|
|
|
12116
12365
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UdpTsOutputConfiguration {
|
|
@@ -12288,6 +12537,11 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
|
|
|
12288
12537
|
*/
|
|
12289
12538
|
bufferDelayMs = 0;
|
|
12290
12539
|
|
|
12540
|
+
/**
|
|
12541
|
+
* @generated from field: norsk.api.common.OptionalInt av_delay_ms = 10;
|
|
12542
|
+
*/
|
|
12543
|
+
avDelayMs?: OptionalInt;
|
|
12544
|
+
|
|
12291
12545
|
constructor(data?: PartialMessage<SrtOutputConfiguration>) {
|
|
12292
12546
|
super();
|
|
12293
12547
|
proto3.util.initPartial(data, this);
|
|
@@ -12304,6 +12558,7 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
|
|
|
12304
12558
|
{ no: 7, name: "stream_id", kind: "message", T: OptionalString },
|
|
12305
12559
|
{ no: 8, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
12306
12560
|
{ no: 9, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
12561
|
+
{ no: 10, name: "av_delay_ms", kind: "message", T: OptionalInt },
|
|
12307
12562
|
]);
|
|
12308
12563
|
|
|
12309
12564
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SrtOutputConfiguration {
|
|
@@ -12992,6 +13247,21 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
|
|
|
12992
13247
|
*/
|
|
12993
13248
|
bufferDelayMs = 0;
|
|
12994
13249
|
|
|
13250
|
+
/**
|
|
13251
|
+
* @generated from field: norsk.api.media.SslClientOptions ssl_options = 5;
|
|
13252
|
+
*/
|
|
13253
|
+
sslOptions?: SslClientOptions;
|
|
13254
|
+
|
|
13255
|
+
/**
|
|
13256
|
+
* @generated from field: int32 retry_connection_timeout = 6;
|
|
13257
|
+
*/
|
|
13258
|
+
retryConnectionTimeout = 0;
|
|
13259
|
+
|
|
13260
|
+
/**
|
|
13261
|
+
* @generated from field: norsk.api.common.OptionalInt av_delay_ms = 7;
|
|
13262
|
+
*/
|
|
13263
|
+
avDelayMs?: OptionalInt;
|
|
13264
|
+
|
|
12995
13265
|
constructor(data?: PartialMessage<RtmpOutputConfiguration>) {
|
|
12996
13266
|
super();
|
|
12997
13267
|
proto3.util.initPartial(data, this);
|
|
@@ -13004,6 +13274,9 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
|
|
|
13004
13274
|
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13005
13275
|
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
13006
13276
|
{ no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
13277
|
+
{ no: 5, name: "ssl_options", kind: "message", T: SslClientOptions },
|
|
13278
|
+
{ no: 6, name: "retry_connection_timeout", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
13279
|
+
{ no: 7, name: "av_delay_ms", kind: "message", T: OptionalInt },
|
|
13007
13280
|
]);
|
|
13008
13281
|
|
|
13009
13282
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputConfiguration {
|
|
@@ -13023,6 +13296,43 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
|
|
|
13023
13296
|
}
|
|
13024
13297
|
}
|
|
13025
13298
|
|
|
13299
|
+
/**
|
|
13300
|
+
* @generated from message norsk.api.media.SslClientOptions
|
|
13301
|
+
*/
|
|
13302
|
+
export class SslClientOptions extends Message<SslClientOptions> {
|
|
13303
|
+
/**
|
|
13304
|
+
* @generated from field: norsk.api.common.OptionalBool verify_peer_cert = 1;
|
|
13305
|
+
*/
|
|
13306
|
+
verifyPeerCert?: OptionalBool;
|
|
13307
|
+
|
|
13308
|
+
constructor(data?: PartialMessage<SslClientOptions>) {
|
|
13309
|
+
super();
|
|
13310
|
+
proto3.util.initPartial(data, this);
|
|
13311
|
+
}
|
|
13312
|
+
|
|
13313
|
+
static readonly runtime = proto3;
|
|
13314
|
+
static readonly typeName = "norsk.api.media.SslClientOptions";
|
|
13315
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13316
|
+
{ no: 1, name: "verify_peer_cert", kind: "message", T: OptionalBool },
|
|
13317
|
+
]);
|
|
13318
|
+
|
|
13319
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SslClientOptions {
|
|
13320
|
+
return new SslClientOptions().fromBinary(bytes, options);
|
|
13321
|
+
}
|
|
13322
|
+
|
|
13323
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SslClientOptions {
|
|
13324
|
+
return new SslClientOptions().fromJson(jsonValue, options);
|
|
13325
|
+
}
|
|
13326
|
+
|
|
13327
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SslClientOptions {
|
|
13328
|
+
return new SslClientOptions().fromJsonString(jsonString, options);
|
|
13329
|
+
}
|
|
13330
|
+
|
|
13331
|
+
static equals(a: SslClientOptions | PlainMessage<SslClientOptions> | undefined, b: SslClientOptions | PlainMessage<SslClientOptions> | undefined): boolean {
|
|
13332
|
+
return proto3.util.equals(SslClientOptions, a, b);
|
|
13333
|
+
}
|
|
13334
|
+
}
|
|
13335
|
+
|
|
13026
13336
|
/**
|
|
13027
13337
|
* @generated from message norsk.api.media.RtmpOutputMessage
|
|
13028
13338
|
*/
|
|
@@ -13157,11 +13467,17 @@ export enum RtmpOutputEvent_State {
|
|
|
13157
13467
|
* @generated from enum value: RTMP_OUTPUT_STATUS_PUBLISH_START = 1;
|
|
13158
13468
|
*/
|
|
13159
13469
|
RTMP_OUTPUT_STATUS_PUBLISH_START = 1,
|
|
13470
|
+
|
|
13471
|
+
/**
|
|
13472
|
+
* @generated from enum value: RTMP_OUTPUT_STATUS_CONNECTION_FAILED_RETRY = 2;
|
|
13473
|
+
*/
|
|
13474
|
+
RTMP_OUTPUT_STATUS_CONNECTION_FAILED_RETRY = 2,
|
|
13160
13475
|
}
|
|
13161
13476
|
// Retrieve enum metadata with: proto3.getEnumType(RtmpOutputEvent_State)
|
|
13162
13477
|
proto3.util.setEnumType(RtmpOutputEvent_State, "norsk.api.media.RtmpOutputEvent.State", [
|
|
13163
13478
|
{ no: 0, name: "RTMP_OUTPUT_STATUS_UNKNOWN" },
|
|
13164
13479
|
{ no: 1, name: "RTMP_OUTPUT_STATUS_PUBLISH_START" },
|
|
13480
|
+
{ no: 2, name: "RTMP_OUTPUT_STATUS_CONNECTION_FAILED_RETRY" },
|
|
13165
13481
|
]);
|
|
13166
13482
|
|
|
13167
13483
|
/**
|
|
@@ -13183,6 +13499,11 @@ export class FileTsOutputConfiguration extends Message<FileTsOutputConfiguration
|
|
|
13183
13499
|
*/
|
|
13184
13500
|
statsSampling?: StreamStatisticsSampling;
|
|
13185
13501
|
|
|
13502
|
+
/**
|
|
13503
|
+
* @generated from field: norsk.api.common.OptionalInt av_delay_ms = 4;
|
|
13504
|
+
*/
|
|
13505
|
+
avDelayMs?: OptionalInt;
|
|
13506
|
+
|
|
13186
13507
|
constructor(data?: PartialMessage<FileTsOutputConfiguration>) {
|
|
13187
13508
|
super();
|
|
13188
13509
|
proto3.util.initPartial(data, this);
|
|
@@ -13194,6 +13515,7 @@ export class FileTsOutputConfiguration extends Message<FileTsOutputConfiguration
|
|
|
13194
13515
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
13195
13516
|
{ no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13196
13517
|
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
13518
|
+
{ no: 4, name: "av_delay_ms", kind: "message", T: OptionalInt },
|
|
13197
13519
|
]);
|
|
13198
13520
|
|
|
13199
13521
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsOutputConfiguration {
|
|
@@ -15956,6 +16278,65 @@ export class XilinxH264 extends Message<XilinxH264> {
|
|
|
15956
16278
|
*/
|
|
15957
16279
|
level?: OptionalInt;
|
|
15958
16280
|
|
|
16281
|
+
/**
|
|
16282
|
+
* @generated from oneof norsk.api.media.XilinxH264.rateControl
|
|
16283
|
+
*/
|
|
16284
|
+
rateControl: {
|
|
16285
|
+
/**
|
|
16286
|
+
* @generated from field: uint32 const_qp = 3;
|
|
16287
|
+
*/
|
|
16288
|
+
value: number;
|
|
16289
|
+
case: "constQp";
|
|
16290
|
+
} | {
|
|
16291
|
+
/**
|
|
16292
|
+
* @generated from field: uint32 cbr = 4;
|
|
16293
|
+
*/
|
|
16294
|
+
value: number;
|
|
16295
|
+
case: "cbr";
|
|
16296
|
+
} | {
|
|
16297
|
+
/**
|
|
16298
|
+
* @generated from field: uint32 vbr = 5;
|
|
16299
|
+
*/
|
|
16300
|
+
value: number;
|
|
16301
|
+
case: "vbr";
|
|
16302
|
+
} | {
|
|
16303
|
+
/**
|
|
16304
|
+
* @generated from field: uint32 low_latency = 6;
|
|
16305
|
+
*/
|
|
16306
|
+
value: number;
|
|
16307
|
+
case: "lowLatency";
|
|
16308
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16309
|
+
|
|
16310
|
+
/**
|
|
16311
|
+
* @generated from field: norsk.api.common.OptionalInt lookahead_depth = 7;
|
|
16312
|
+
*/
|
|
16313
|
+
lookaheadDepth?: OptionalInt;
|
|
16314
|
+
|
|
16315
|
+
/**
|
|
16316
|
+
* @generated from field: norsk.api.common.OptionalInt idr_period = 8;
|
|
16317
|
+
*/
|
|
16318
|
+
idrPeriod?: OptionalInt;
|
|
16319
|
+
|
|
16320
|
+
/**
|
|
16321
|
+
* @generated from field: norsk.api.common.OptionalInt bframes = 9;
|
|
16322
|
+
*/
|
|
16323
|
+
bframes?: OptionalInt;
|
|
16324
|
+
|
|
16325
|
+
/**
|
|
16326
|
+
* @generated from field: norsk.api.common.OptionalInt gop_size = 10;
|
|
16327
|
+
*/
|
|
16328
|
+
gopSize?: OptionalInt;
|
|
16329
|
+
|
|
16330
|
+
/**
|
|
16331
|
+
* @generated from field: norsk.api.common.OptionalInt min_qp = 11;
|
|
16332
|
+
*/
|
|
16333
|
+
minQp?: OptionalInt;
|
|
16334
|
+
|
|
16335
|
+
/**
|
|
16336
|
+
* @generated from field: norsk.api.common.OptionalInt max_qp = 12;
|
|
16337
|
+
*/
|
|
16338
|
+
maxQp?: OptionalInt;
|
|
16339
|
+
|
|
15959
16340
|
constructor(data?: PartialMessage<XilinxH264>) {
|
|
15960
16341
|
super();
|
|
15961
16342
|
proto3.util.initPartial(data, this);
|
|
@@ -15966,6 +16347,16 @@ export class XilinxH264 extends Message<XilinxH264> {
|
|
|
15966
16347
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
15967
16348
|
{ no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxH264_XilinxH264Profile) },
|
|
15968
16349
|
{ no: 2, name: "level", kind: "message", T: OptionalInt },
|
|
16350
|
+
{ no: 3, name: "const_qp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
|
|
16351
|
+
{ no: 4, name: "cbr", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
|
|
16352
|
+
{ no: 5, name: "vbr", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
|
|
16353
|
+
{ no: 6, name: "low_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
|
|
16354
|
+
{ no: 7, name: "lookahead_depth", kind: "message", T: OptionalInt },
|
|
16355
|
+
{ no: 8, name: "idr_period", kind: "message", T: OptionalInt },
|
|
16356
|
+
{ no: 9, name: "bframes", kind: "message", T: OptionalInt },
|
|
16357
|
+
{ no: 10, name: "gop_size", kind: "message", T: OptionalInt },
|
|
16358
|
+
{ no: 11, name: "min_qp", kind: "message", T: OptionalInt },
|
|
16359
|
+
{ no: 12, name: "max_qp", kind: "message", T: OptionalInt },
|
|
15969
16360
|
]);
|
|
15970
16361
|
|
|
15971
16362
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxH264 {
|
|
@@ -16650,7 +17041,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
|
|
|
16650
17041
|
id?: MediaNodeId;
|
|
16651
17042
|
|
|
16652
17043
|
/**
|
|
16653
|
-
* @generated from field: norsk.api.media.StreamKey
|
|
17044
|
+
* @generated from field: norsk.api.media.StreamKey stream_key = 2;
|
|
16654
17045
|
*/
|
|
16655
17046
|
streamKey?: StreamKey;
|
|
16656
17047
|
|
|
@@ -16663,7 +17054,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
|
|
|
16663
17054
|
static readonly typeName = "norsk.api.media.StreamKeyOverrideConfiguration";
|
|
16664
17055
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
16665
17056
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
16666
|
-
{ no: 2, name: "
|
|
17057
|
+
{ no: 2, name: "stream_key", kind: "message", T: StreamKey },
|
|
16667
17058
|
]);
|
|
16668
17059
|
|
|
16669
17060
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideConfiguration {
|
|
@@ -16823,14 +17214,16 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
|
|
|
16823
17214
|
audioBitrate?: OptionalInt;
|
|
16824
17215
|
|
|
16825
17216
|
/**
|
|
16826
|
-
* * Override the language metadata of an audio stream, or `""` to clear. RFC
|
|
17217
|
+
* * Override the language metadata of an audio stream, or `""` to clear. RFC
|
|
17218
|
+
* 5646 language tag.
|
|
16827
17219
|
*
|
|
16828
17220
|
* @generated from field: norsk.api.common.OptionalString audio_language = 4;
|
|
16829
17221
|
*/
|
|
16830
17222
|
audioLanguage?: OptionalString;
|
|
16831
17223
|
|
|
16832
17224
|
/**
|
|
16833
|
-
* * Override the language metadata of a subtitles stream, or `""` to clear RFC
|
|
17225
|
+
* * Override the language metadata of a subtitles stream, or `""` to clear RFC
|
|
17226
|
+
* 5646 language tag.
|
|
16834
17227
|
*
|
|
16835
17228
|
* @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
|
|
16836
17229
|
*/
|
|
@@ -16889,14 +17282,16 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
|
|
|
16889
17282
|
audioBitrate?: OptionalInt;
|
|
16890
17283
|
|
|
16891
17284
|
/**
|
|
16892
|
-
* * Override the language metadata of an audio stream, or `""` to clear. RFC
|
|
17285
|
+
* * Override the language metadata of an audio stream, or `""` to clear. RFC
|
|
17286
|
+
* 5646 language tag.
|
|
16893
17287
|
*
|
|
16894
17288
|
* @generated from field: norsk.api.common.OptionalString audio_language = 4;
|
|
16895
17289
|
*/
|
|
16896
17290
|
audioLanguage?: OptionalString;
|
|
16897
17291
|
|
|
16898
17292
|
/**
|
|
16899
|
-
* * Override the language metadata of a subtitles stream, or `""` to clear.
|
|
17293
|
+
* * Override the language metadata of a subtitles stream, or `""` to clear.
|
|
17294
|
+
* RFC 5646 language tag.
|
|
16900
17295
|
*
|
|
16901
17296
|
* @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
|
|
16902
17297
|
*/
|
|
@@ -17919,6 +18314,14 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17919
18314
|
*/
|
|
17920
18315
|
alignment = StreamSwitchSmoothConfiguration_Alignment.ALIGNED;
|
|
17921
18316
|
|
|
18317
|
+
/**
|
|
18318
|
+
* Whether to do the video compose operation in memory or on the specified
|
|
18319
|
+
* hardware
|
|
18320
|
+
*
|
|
18321
|
+
* @generated from field: norsk.api.media.StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration hardware_acceleration = 10;
|
|
18322
|
+
*/
|
|
18323
|
+
hardwareAcceleration = StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration.SS_NONE;
|
|
18324
|
+
|
|
17922
18325
|
constructor(data?: PartialMessage<StreamSwitchSmoothConfiguration>) {
|
|
17923
18326
|
super();
|
|
17924
18327
|
proto3.util.initPartial(data, this);
|
|
@@ -17936,6 +18339,7 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17936
18339
|
{ no: 7, name: "frame_rate", kind: "message", T: FrameRate },
|
|
17937
18340
|
{ no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
17938
18341
|
{ no: 9, name: "alignment", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
|
|
18342
|
+
{ no: 10, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration) },
|
|
17939
18343
|
]);
|
|
17940
18344
|
|
|
17941
18345
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothConfiguration {
|
|
@@ -17956,13 +18360,39 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
|
|
|
17956
18360
|
}
|
|
17957
18361
|
|
|
17958
18362
|
/**
|
|
17959
|
-
*
|
|
17960
|
-
*
|
|
17961
|
-
* @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.Alignment
|
|
18363
|
+
* @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration
|
|
17962
18364
|
*/
|
|
17963
|
-
export enum
|
|
18365
|
+
export enum StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration {
|
|
17964
18366
|
/**
|
|
17965
|
-
* @generated from enum value:
|
|
18367
|
+
* @generated from enum value: SS_NONE = 0;
|
|
18368
|
+
*/
|
|
18369
|
+
SS_NONE = 0,
|
|
18370
|
+
|
|
18371
|
+
/**
|
|
18372
|
+
* @generated from enum value: SS_QUADRA = 1;
|
|
18373
|
+
*/
|
|
18374
|
+
SS_QUADRA = 1,
|
|
18375
|
+
|
|
18376
|
+
/**
|
|
18377
|
+
* @generated from enum value: SS_NVIDIA = 2;
|
|
18378
|
+
*/
|
|
18379
|
+
SS_NVIDIA = 2,
|
|
18380
|
+
}
|
|
18381
|
+
// Retrieve enum metadata with: proto3.getEnumType(StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration)
|
|
18382
|
+
proto3.util.setEnumType(StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration, "norsk.api.media.StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration", [
|
|
18383
|
+
{ no: 0, name: "SS_NONE" },
|
|
18384
|
+
{ no: 1, name: "SS_QUADRA" },
|
|
18385
|
+
{ no: 2, name: "SS_NVIDIA" },
|
|
18386
|
+
]);
|
|
18387
|
+
|
|
18388
|
+
/**
|
|
18389
|
+
* Whether to align all the incoming timestamps
|
|
18390
|
+
*
|
|
18391
|
+
* @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.Alignment
|
|
18392
|
+
*/
|
|
18393
|
+
export enum StreamSwitchSmoothConfiguration_Alignment {
|
|
18394
|
+
/**
|
|
18395
|
+
* @generated from enum value: ALIGNED = 0;
|
|
17966
18396
|
*/
|
|
17967
18397
|
ALIGNED = 0,
|
|
17968
18398
|
|
|
@@ -19911,8 +20341,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
|
|
|
19911
20341
|
outputStreamId = 0;
|
|
19912
20342
|
|
|
19913
20343
|
/**
|
|
19914
|
-
* The source language to recognise - an RFC 5646/ IETF BCP 47 language tag,
|
|
19915
|
-
* en-GB, de-DE. Supported languages are found at
|
|
20344
|
+
* The source language to recognise - an RFC 5646/ IETF BCP 47 language tag,
|
|
20345
|
+
* eg en-US, en-GB, de-DE. Supported languages are found at
|
|
19916
20346
|
* https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
|
|
19917
20347
|
*
|
|
19918
20348
|
* @generated from field: string source_language = 3;
|
|
@@ -19920,7 +20350,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
|
|
|
19920
20350
|
sourceLanguage = "";
|
|
19921
20351
|
|
|
19922
20352
|
/**
|
|
19923
|
-
* The target output languages for translation - technically a RFC 5646
|
|
20353
|
+
* The target output languages for translation - technically a RFC 5646
|
|
20354
|
+
* language
|
|
19924
20355
|
* tag but but in most cases omitting region, e.g. en, de, zh-Hant.
|
|
19925
20356
|
*
|
|
19926
20357
|
* Leave this field absent/empty to use the transcription service without
|
|
@@ -20163,6 +20594,43 @@ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribe
|
|
|
20163
20594
|
*/
|
|
20164
20595
|
model = "";
|
|
20165
20596
|
|
|
20597
|
+
/**
|
|
20598
|
+
* Translate (to English)
|
|
20599
|
+
*
|
|
20600
|
+
* @generated from field: bool translate = 13;
|
|
20601
|
+
*/
|
|
20602
|
+
translate = false;
|
|
20603
|
+
|
|
20604
|
+
/**
|
|
20605
|
+
* @generated from field: bool tiny_diarize = 14;
|
|
20606
|
+
*/
|
|
20607
|
+
tinyDiarize = false;
|
|
20608
|
+
|
|
20609
|
+
/**
|
|
20610
|
+
* @generated from field: string initial_prompt = 15;
|
|
20611
|
+
*/
|
|
20612
|
+
initialPrompt = "";
|
|
20613
|
+
|
|
20614
|
+
/**
|
|
20615
|
+
* @generated from field: norsk.api.common.OptionalBool suppress_non_speech_tokens = 16;
|
|
20616
|
+
*/
|
|
20617
|
+
suppressNonSpeechTokens?: OptionalBool;
|
|
20618
|
+
|
|
20619
|
+
/**
|
|
20620
|
+
* @generated from field: norsk.api.media.AudioTranscribeWhisperConfiguration.SamplingStrategy sampling_strategy = 17;
|
|
20621
|
+
*/
|
|
20622
|
+
samplingStrategy = AudioTranscribeWhisperConfiguration_SamplingStrategy.WHISPER_SAMPLING_GREEDY;
|
|
20623
|
+
|
|
20624
|
+
/**
|
|
20625
|
+
* @generated from field: norsk.api.common.OptionalInt best_of = 18;
|
|
20626
|
+
*/
|
|
20627
|
+
bestOf?: OptionalInt;
|
|
20628
|
+
|
|
20629
|
+
/**
|
|
20630
|
+
* @generated from field: norsk.api.common.OptionalInt beam_size = 19;
|
|
20631
|
+
*/
|
|
20632
|
+
beamSize?: OptionalInt;
|
|
20633
|
+
|
|
20166
20634
|
constructor(data?: PartialMessage<AudioTranscribeWhisperConfiguration>) {
|
|
20167
20635
|
super();
|
|
20168
20636
|
proto3.util.initPartial(data, this);
|
|
@@ -20183,6 +20651,13 @@ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribe
|
|
|
20183
20651
|
{ no: 10, name: "use_gpu", kind: "message", T: OptionalBool },
|
|
20184
20652
|
{ no: 11, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
20185
20653
|
{ no: 12, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
20654
|
+
{ no: 13, name: "translate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20655
|
+
{ no: 14, name: "tiny_diarize", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
20656
|
+
{ no: 15, name: "initial_prompt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
20657
|
+
{ no: 16, name: "suppress_non_speech_tokens", kind: "message", T: OptionalBool },
|
|
20658
|
+
{ no: 17, name: "sampling_strategy", kind: "enum", T: proto3.getEnumType(AudioTranscribeWhisperConfiguration_SamplingStrategy) },
|
|
20659
|
+
{ no: 18, name: "best_of", kind: "message", T: OptionalInt },
|
|
20660
|
+
{ no: 19, name: "beam_size", kind: "message", T: OptionalInt },
|
|
20186
20661
|
]);
|
|
20187
20662
|
|
|
20188
20663
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperConfiguration {
|
|
@@ -20202,6 +20677,26 @@ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribe
|
|
|
20202
20677
|
}
|
|
20203
20678
|
}
|
|
20204
20679
|
|
|
20680
|
+
/**
|
|
20681
|
+
* @generated from enum norsk.api.media.AudioTranscribeWhisperConfiguration.SamplingStrategy
|
|
20682
|
+
*/
|
|
20683
|
+
export enum AudioTranscribeWhisperConfiguration_SamplingStrategy {
|
|
20684
|
+
/**
|
|
20685
|
+
* @generated from enum value: WHISPER_SAMPLING_GREEDY = 0;
|
|
20686
|
+
*/
|
|
20687
|
+
WHISPER_SAMPLING_GREEDY = 0,
|
|
20688
|
+
|
|
20689
|
+
/**
|
|
20690
|
+
* @generated from enum value: WHISPER_SAMPLING_BEAM_SEARCH = 1;
|
|
20691
|
+
*/
|
|
20692
|
+
WHISPER_SAMPLING_BEAM_SEARCH = 1,
|
|
20693
|
+
}
|
|
20694
|
+
// Retrieve enum metadata with: proto3.getEnumType(AudioTranscribeWhisperConfiguration_SamplingStrategy)
|
|
20695
|
+
proto3.util.setEnumType(AudioTranscribeWhisperConfiguration_SamplingStrategy, "norsk.api.media.AudioTranscribeWhisperConfiguration.SamplingStrategy", [
|
|
20696
|
+
{ no: 0, name: "WHISPER_SAMPLING_GREEDY" },
|
|
20697
|
+
{ no: 1, name: "WHISPER_SAMPLING_BEAM_SEARCH" },
|
|
20698
|
+
]);
|
|
20699
|
+
|
|
20205
20700
|
/**
|
|
20206
20701
|
* @generated from message norsk.api.media.AudioTranscribeWhisperMessage
|
|
20207
20702
|
*/
|
|
@@ -22081,6 +22576,56 @@ export class Scte35SegmentationComponent extends Message<Scte35SegmentationCompo
|
|
|
22081
22576
|
* ////////////////////////////////////////////////////////////////////////////
|
|
22082
22577
|
* FrameStore
|
|
22083
22578
|
*
|
|
22579
|
+
* @generated from message norsk.api.media.FrameStoreExpiry
|
|
22580
|
+
*/
|
|
22581
|
+
export class FrameStoreExpiry extends Message<FrameStoreExpiry> {
|
|
22582
|
+
/**
|
|
22583
|
+
* @generated from oneof norsk.api.media.FrameStoreExpiry.message
|
|
22584
|
+
*/
|
|
22585
|
+
message: {
|
|
22586
|
+
/**
|
|
22587
|
+
* @generated from field: uint32 by_size = 1;
|
|
22588
|
+
*/
|
|
22589
|
+
value: number;
|
|
22590
|
+
case: "bySize";
|
|
22591
|
+
} | {
|
|
22592
|
+
/**
|
|
22593
|
+
* @generated from field: uint32 by_duration = 2;
|
|
22594
|
+
*/
|
|
22595
|
+
value: number;
|
|
22596
|
+
case: "byDuration";
|
|
22597
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
22598
|
+
|
|
22599
|
+
constructor(data?: PartialMessage<FrameStoreExpiry>) {
|
|
22600
|
+
super();
|
|
22601
|
+
proto3.util.initPartial(data, this);
|
|
22602
|
+
}
|
|
22603
|
+
|
|
22604
|
+
static readonly runtime = proto3;
|
|
22605
|
+
static readonly typeName = "norsk.api.media.FrameStoreExpiry";
|
|
22606
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22607
|
+
{ no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
|
|
22608
|
+
{ no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
|
|
22609
|
+
]);
|
|
22610
|
+
|
|
22611
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreExpiry {
|
|
22612
|
+
return new FrameStoreExpiry().fromBinary(bytes, options);
|
|
22613
|
+
}
|
|
22614
|
+
|
|
22615
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
|
|
22616
|
+
return new FrameStoreExpiry().fromJson(jsonValue, options);
|
|
22617
|
+
}
|
|
22618
|
+
|
|
22619
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreExpiry {
|
|
22620
|
+
return new FrameStoreExpiry().fromJsonString(jsonString, options);
|
|
22621
|
+
}
|
|
22622
|
+
|
|
22623
|
+
static equals(a: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined, b: FrameStoreExpiry | PlainMessage<FrameStoreExpiry> | undefined): boolean {
|
|
22624
|
+
return proto3.util.equals(FrameStoreExpiry, a, b);
|
|
22625
|
+
}
|
|
22626
|
+
}
|
|
22627
|
+
|
|
22628
|
+
/**
|
|
22084
22629
|
* @generated from message norsk.api.media.FrameStoreRecorderConfiguration
|
|
22085
22630
|
*/
|
|
22086
22631
|
export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderConfiguration> {
|
|
@@ -22104,6 +22649,11 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
|
|
|
22104
22649
|
*/
|
|
22105
22650
|
chunkFileDurationSeconds = 0;
|
|
22106
22651
|
|
|
22652
|
+
/**
|
|
22653
|
+
* @generated from field: norsk.api.media.FrameStoreExpiry expiry = 5;
|
|
22654
|
+
*/
|
|
22655
|
+
expiry?: FrameStoreExpiry;
|
|
22656
|
+
|
|
22107
22657
|
constructor(data?: PartialMessage<FrameStoreRecorderConfiguration>) {
|
|
22108
22658
|
super();
|
|
22109
22659
|
proto3.util.initPartial(data, this);
|
|
@@ -22116,6 +22666,7 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
|
|
|
22116
22666
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22117
22667
|
{ no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22118
22668
|
{ no: 4, name: "chunk_file_duration_seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
22669
|
+
{ no: 5, name: "expiry", kind: "message", T: FrameStoreExpiry },
|
|
22119
22670
|
]);
|
|
22120
22671
|
|
|
22121
22672
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderConfiguration {
|
|
@@ -22135,6 +22686,173 @@ export class FrameStoreRecorderConfiguration extends Message<FrameStoreRecorderC
|
|
|
22135
22686
|
}
|
|
22136
22687
|
}
|
|
22137
22688
|
|
|
22689
|
+
/**
|
|
22690
|
+
* @generated from message norsk.api.media.FrameStoreCutRequest
|
|
22691
|
+
*/
|
|
22692
|
+
export class FrameStoreCutRequest extends Message<FrameStoreCutRequest> {
|
|
22693
|
+
/**
|
|
22694
|
+
* @generated from field: string id = 1;
|
|
22695
|
+
*/
|
|
22696
|
+
id = "";
|
|
22697
|
+
|
|
22698
|
+
/**
|
|
22699
|
+
* @generated from field: norsk.api.media.StreamSelection stream_selection = 2;
|
|
22700
|
+
*/
|
|
22701
|
+
streamSelection?: StreamSelection;
|
|
22702
|
+
|
|
22703
|
+
/**
|
|
22704
|
+
* @generated from field: repeated norsk.api.media.SingleCut cuts = 3;
|
|
22705
|
+
*/
|
|
22706
|
+
cuts: SingleCut[] = [];
|
|
22707
|
+
|
|
22708
|
+
/**
|
|
22709
|
+
* @generated from field: bool trim_partial_segments = 4;
|
|
22710
|
+
*/
|
|
22711
|
+
trimPartialSegments = false;
|
|
22712
|
+
|
|
22713
|
+
/**
|
|
22714
|
+
* @generated from field: string file_name = 5;
|
|
22715
|
+
*/
|
|
22716
|
+
fileName = "";
|
|
22717
|
+
|
|
22718
|
+
/**
|
|
22719
|
+
* @generated from field: norsk.api.media.FrameStoreCutRequest.FileFormat file_format = 6;
|
|
22720
|
+
*/
|
|
22721
|
+
fileFormat = FrameStoreCutRequest_FileFormat.CUT_MP4;
|
|
22722
|
+
|
|
22723
|
+
constructor(data?: PartialMessage<FrameStoreCutRequest>) {
|
|
22724
|
+
super();
|
|
22725
|
+
proto3.util.initPartial(data, this);
|
|
22726
|
+
}
|
|
22727
|
+
|
|
22728
|
+
static readonly runtime = proto3;
|
|
22729
|
+
static readonly typeName = "norsk.api.media.FrameStoreCutRequest";
|
|
22730
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22731
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22732
|
+
{ no: 2, name: "stream_selection", kind: "message", T: StreamSelection },
|
|
22733
|
+
{ no: 3, name: "cuts", kind: "message", T: SingleCut, repeated: true },
|
|
22734
|
+
{ no: 4, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
22735
|
+
{ no: 5, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22736
|
+
{ no: 6, name: "file_format", kind: "enum", T: proto3.getEnumType(FrameStoreCutRequest_FileFormat) },
|
|
22737
|
+
]);
|
|
22738
|
+
|
|
22739
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutRequest {
|
|
22740
|
+
return new FrameStoreCutRequest().fromBinary(bytes, options);
|
|
22741
|
+
}
|
|
22742
|
+
|
|
22743
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
|
|
22744
|
+
return new FrameStoreCutRequest().fromJson(jsonValue, options);
|
|
22745
|
+
}
|
|
22746
|
+
|
|
22747
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutRequest {
|
|
22748
|
+
return new FrameStoreCutRequest().fromJsonString(jsonString, options);
|
|
22749
|
+
}
|
|
22750
|
+
|
|
22751
|
+
static equals(a: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined, b: FrameStoreCutRequest | PlainMessage<FrameStoreCutRequest> | undefined): boolean {
|
|
22752
|
+
return proto3.util.equals(FrameStoreCutRequest, a, b);
|
|
22753
|
+
}
|
|
22754
|
+
}
|
|
22755
|
+
|
|
22756
|
+
/**
|
|
22757
|
+
* @generated from enum norsk.api.media.FrameStoreCutRequest.FileFormat
|
|
22758
|
+
*/
|
|
22759
|
+
export enum FrameStoreCutRequest_FileFormat {
|
|
22760
|
+
/**
|
|
22761
|
+
* @generated from enum value: CUT_MP4 = 0;
|
|
22762
|
+
*/
|
|
22763
|
+
CUT_MP4 = 0,
|
|
22764
|
+
}
|
|
22765
|
+
// Retrieve enum metadata with: proto3.getEnumType(FrameStoreCutRequest_FileFormat)
|
|
22766
|
+
proto3.util.setEnumType(FrameStoreCutRequest_FileFormat, "norsk.api.media.FrameStoreCutRequest.FileFormat", [
|
|
22767
|
+
{ no: 0, name: "CUT_MP4" },
|
|
22768
|
+
]);
|
|
22769
|
+
|
|
22770
|
+
/**
|
|
22771
|
+
* @generated from message norsk.api.media.FrameStoreCutProgress
|
|
22772
|
+
*/
|
|
22773
|
+
export class FrameStoreCutProgress extends Message<FrameStoreCutProgress> {
|
|
22774
|
+
/**
|
|
22775
|
+
* @generated from field: string id = 1;
|
|
22776
|
+
*/
|
|
22777
|
+
id = "";
|
|
22778
|
+
|
|
22779
|
+
/**
|
|
22780
|
+
* @generated from field: uint32 progress = 2;
|
|
22781
|
+
*/
|
|
22782
|
+
progress = 0;
|
|
22783
|
+
|
|
22784
|
+
constructor(data?: PartialMessage<FrameStoreCutProgress>) {
|
|
22785
|
+
super();
|
|
22786
|
+
proto3.util.initPartial(data, this);
|
|
22787
|
+
}
|
|
22788
|
+
|
|
22789
|
+
static readonly runtime = proto3;
|
|
22790
|
+
static readonly typeName = "norsk.api.media.FrameStoreCutProgress";
|
|
22791
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22792
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22793
|
+
{ no: 2, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
22794
|
+
]);
|
|
22795
|
+
|
|
22796
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutProgress {
|
|
22797
|
+
return new FrameStoreCutProgress().fromBinary(bytes, options);
|
|
22798
|
+
}
|
|
22799
|
+
|
|
22800
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
|
|
22801
|
+
return new FrameStoreCutProgress().fromJson(jsonValue, options);
|
|
22802
|
+
}
|
|
22803
|
+
|
|
22804
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutProgress {
|
|
22805
|
+
return new FrameStoreCutProgress().fromJsonString(jsonString, options);
|
|
22806
|
+
}
|
|
22807
|
+
|
|
22808
|
+
static equals(a: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined, b: FrameStoreCutProgress | PlainMessage<FrameStoreCutProgress> | undefined): boolean {
|
|
22809
|
+
return proto3.util.equals(FrameStoreCutProgress, a, b);
|
|
22810
|
+
}
|
|
22811
|
+
}
|
|
22812
|
+
|
|
22813
|
+
/**
|
|
22814
|
+
* @generated from message norsk.api.media.FrameStoreCutComplete
|
|
22815
|
+
*/
|
|
22816
|
+
export class FrameStoreCutComplete extends Message<FrameStoreCutComplete> {
|
|
22817
|
+
/**
|
|
22818
|
+
* @generated from field: string id = 1;
|
|
22819
|
+
*/
|
|
22820
|
+
id = "";
|
|
22821
|
+
|
|
22822
|
+
/**
|
|
22823
|
+
* @generated from field: uint64 size = 2;
|
|
22824
|
+
*/
|
|
22825
|
+
size = protoInt64.zero;
|
|
22826
|
+
|
|
22827
|
+
constructor(data?: PartialMessage<FrameStoreCutComplete>) {
|
|
22828
|
+
super();
|
|
22829
|
+
proto3.util.initPartial(data, this);
|
|
22830
|
+
}
|
|
22831
|
+
|
|
22832
|
+
static readonly runtime = proto3;
|
|
22833
|
+
static readonly typeName = "norsk.api.media.FrameStoreCutComplete";
|
|
22834
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22835
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22836
|
+
{ no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
22837
|
+
]);
|
|
22838
|
+
|
|
22839
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreCutComplete {
|
|
22840
|
+
return new FrameStoreCutComplete().fromBinary(bytes, options);
|
|
22841
|
+
}
|
|
22842
|
+
|
|
22843
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
|
|
22844
|
+
return new FrameStoreCutComplete().fromJson(jsonValue, options);
|
|
22845
|
+
}
|
|
22846
|
+
|
|
22847
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStoreCutComplete {
|
|
22848
|
+
return new FrameStoreCutComplete().fromJsonString(jsonString, options);
|
|
22849
|
+
}
|
|
22850
|
+
|
|
22851
|
+
static equals(a: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined, b: FrameStoreCutComplete | PlainMessage<FrameStoreCutComplete> | undefined): boolean {
|
|
22852
|
+
return proto3.util.equals(FrameStoreCutComplete, a, b);
|
|
22853
|
+
}
|
|
22854
|
+
}
|
|
22855
|
+
|
|
22138
22856
|
/**
|
|
22139
22857
|
* @generated from message norsk.api.media.FrameStoreRecorderMessage
|
|
22140
22858
|
*/
|
|
@@ -22154,6 +22872,12 @@ export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage
|
|
|
22154
22872
|
*/
|
|
22155
22873
|
value: FrameStoreRecorderConfiguration;
|
|
22156
22874
|
case: "configuration";
|
|
22875
|
+
} | {
|
|
22876
|
+
/**
|
|
22877
|
+
* @generated from field: norsk.api.media.FrameStoreCutRequest cut_request = 3;
|
|
22878
|
+
*/
|
|
22879
|
+
value: FrameStoreCutRequest;
|
|
22880
|
+
case: "cutRequest";
|
|
22157
22881
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
22158
22882
|
|
|
22159
22883
|
constructor(data?: PartialMessage<FrameStoreRecorderMessage>) {
|
|
@@ -22166,6 +22890,7 @@ export class FrameStoreRecorderMessage extends Message<FrameStoreRecorderMessage
|
|
|
22166
22890
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22167
22891
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
22168
22892
|
{ no: 2, name: "configuration", kind: "message", T: FrameStoreRecorderConfiguration, oneof: "message" },
|
|
22893
|
+
{ no: 3, name: "cut_request", kind: "message", T: FrameStoreCutRequest, oneof: "message" },
|
|
22169
22894
|
]);
|
|
22170
22895
|
|
|
22171
22896
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderMessage {
|
|
@@ -22210,6 +22935,18 @@ export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
|
|
|
22210
22935
|
*/
|
|
22211
22936
|
value: Context;
|
|
22212
22937
|
case: "inboundContext";
|
|
22938
|
+
} | {
|
|
22939
|
+
/**
|
|
22940
|
+
* @generated from field: norsk.api.media.FrameStoreCutProgress cut_progress = 4;
|
|
22941
|
+
*/
|
|
22942
|
+
value: FrameStoreCutProgress;
|
|
22943
|
+
case: "cutProgress";
|
|
22944
|
+
} | {
|
|
22945
|
+
/**
|
|
22946
|
+
* @generated from field: norsk.api.media.FrameStoreCutComplete cut_complete = 5;
|
|
22947
|
+
*/
|
|
22948
|
+
value: FrameStoreCutComplete;
|
|
22949
|
+
case: "cutComplete";
|
|
22213
22950
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
22214
22951
|
|
|
22215
22952
|
constructor(data?: PartialMessage<FrameStoreRecorderEvent>) {
|
|
@@ -22223,6 +22960,8 @@ export class FrameStoreRecorderEvent extends Message<FrameStoreRecorderEvent> {
|
|
|
22223
22960
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
22224
22961
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
22225
22962
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
22963
|
+
{ no: 4, name: "cut_progress", kind: "message", T: FrameStoreCutProgress, oneof: "message" },
|
|
22964
|
+
{ no: 5, name: "cut_complete", kind: "message", T: FrameStoreCutComplete, oneof: "message" },
|
|
22226
22965
|
]);
|
|
22227
22966
|
|
|
22228
22967
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStoreRecorderEvent {
|
|
@@ -22257,9 +22996,9 @@ export class SingleCut extends Message<SingleCut> {
|
|
|
22257
22996
|
durationMs = 0;
|
|
22258
22997
|
|
|
22259
22998
|
/**
|
|
22260
|
-
* @generated from field: norsk.api.common.OptionalInt
|
|
22999
|
+
* @generated from field: norsk.api.common.OptionalInt session_num = 3;
|
|
22261
23000
|
*/
|
|
22262
|
-
|
|
23001
|
+
sessionNum?: OptionalInt;
|
|
22263
23002
|
|
|
22264
23003
|
constructor(data?: PartialMessage<SingleCut>) {
|
|
22265
23004
|
super();
|
|
@@ -22271,7 +23010,7 @@ export class SingleCut extends Message<SingleCut> {
|
|
|
22271
23010
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22272
23011
|
{ no: 1, name: "start_date_time", kind: "message", T: Timestamp },
|
|
22273
23012
|
{ no: 2, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
22274
|
-
{ no: 3, name: "
|
|
23013
|
+
{ no: 3, name: "session_num", kind: "message", T: OptionalInt },
|
|
22275
23014
|
]);
|
|
22276
23015
|
|
|
22277
23016
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
|
|
@@ -22292,156 +23031,193 @@ export class SingleCut extends Message<SingleCut> {
|
|
|
22292
23031
|
}
|
|
22293
23032
|
|
|
22294
23033
|
/**
|
|
22295
|
-
* @generated from message norsk.api.media.
|
|
23034
|
+
* @generated from message norsk.api.media.StreamSelection
|
|
22296
23035
|
*/
|
|
22297
|
-
export class
|
|
22298
|
-
/**
|
|
22299
|
-
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
22300
|
-
*/
|
|
22301
|
-
id?: MediaNodeId;
|
|
22302
|
-
|
|
22303
|
-
/**
|
|
22304
|
-
* @generated from field: string name = 2;
|
|
22305
|
-
*/
|
|
22306
|
-
name = "";
|
|
22307
|
-
|
|
22308
|
-
/**
|
|
22309
|
-
* @generated from field: string source_name = 3;
|
|
22310
|
-
*/
|
|
22311
|
-
sourceName = "";
|
|
22312
|
-
|
|
22313
|
-
/**
|
|
22314
|
-
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
|
|
22315
|
-
*/
|
|
22316
|
-
statsSampling?: StreamStatisticsSampling;
|
|
22317
|
-
|
|
23036
|
+
export class StreamSelection extends Message<StreamSelection> {
|
|
22318
23037
|
/**
|
|
22319
|
-
* @generated from oneof norsk.api.media.
|
|
23038
|
+
* @generated from oneof norsk.api.media.StreamSelection.stream_selection
|
|
22320
23039
|
*/
|
|
22321
23040
|
streamSelection: {
|
|
22322
23041
|
/**
|
|
22323
|
-
* @generated from field: norsk.api.media.
|
|
23042
|
+
* @generated from field: norsk.api.media.StreamSelection.All all = 1;
|
|
22324
23043
|
*/
|
|
22325
|
-
value:
|
|
23044
|
+
value: StreamSelection_All;
|
|
22326
23045
|
case: "all";
|
|
22327
23046
|
} | {
|
|
22328
23047
|
/**
|
|
22329
|
-
* @generated from field: norsk.api.media.
|
|
23048
|
+
* @generated from field: norsk.api.media.StreamSelection.Subset subset = 2;
|
|
22330
23049
|
*/
|
|
22331
|
-
value:
|
|
23050
|
+
value: StreamSelection_Subset;
|
|
22332
23051
|
case: "subset";
|
|
22333
23052
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
22334
23053
|
|
|
22335
|
-
|
|
22336
|
-
* @generated from field: repeated norsk.api.media.SingleCut cuts = 7;
|
|
22337
|
-
*/
|
|
22338
|
-
cuts: SingleCut[] = [];
|
|
22339
|
-
|
|
22340
|
-
/**
|
|
22341
|
-
* @generated from field: bool trim_partial_segments = 8;
|
|
22342
|
-
*/
|
|
22343
|
-
trimPartialSegments = false;
|
|
22344
|
-
|
|
22345
|
-
constructor(data?: PartialMessage<FrameStorePlayerConfiguration>) {
|
|
23054
|
+
constructor(data?: PartialMessage<StreamSelection>) {
|
|
22346
23055
|
super();
|
|
22347
23056
|
proto3.util.initPartial(data, this);
|
|
22348
23057
|
}
|
|
22349
23058
|
|
|
22350
23059
|
static readonly runtime = proto3;
|
|
22351
|
-
static readonly typeName = "norsk.api.media.
|
|
23060
|
+
static readonly typeName = "norsk.api.media.StreamSelection";
|
|
22352
23061
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22353
|
-
{ no: 1, name: "
|
|
22354
|
-
{ no: 2, name: "
|
|
22355
|
-
{ no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22356
|
-
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
22357
|
-
{ no: 5, name: "all", kind: "message", T: FrameStorePlayerConfiguration_All, oneof: "stream_selection" },
|
|
22358
|
-
{ no: 6, name: "subset", kind: "message", T: FrameStorePlayerConfiguration_Subset, oneof: "stream_selection" },
|
|
22359
|
-
{ no: 7, name: "cuts", kind: "message", T: SingleCut, repeated: true },
|
|
22360
|
-
{ no: 8, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
23062
|
+
{ no: 1, name: "all", kind: "message", T: StreamSelection_All, oneof: "stream_selection" },
|
|
23063
|
+
{ no: 2, name: "subset", kind: "message", T: StreamSelection_Subset, oneof: "stream_selection" },
|
|
22361
23064
|
]);
|
|
22362
23065
|
|
|
22363
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
22364
|
-
return new
|
|
23066
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection {
|
|
23067
|
+
return new StreamSelection().fromBinary(bytes, options);
|
|
22365
23068
|
}
|
|
22366
23069
|
|
|
22367
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
22368
|
-
return new
|
|
23070
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection {
|
|
23071
|
+
return new StreamSelection().fromJson(jsonValue, options);
|
|
22369
23072
|
}
|
|
22370
23073
|
|
|
22371
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
22372
|
-
return new
|
|
23074
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection {
|
|
23075
|
+
return new StreamSelection().fromJsonString(jsonString, options);
|
|
22373
23076
|
}
|
|
22374
23077
|
|
|
22375
|
-
static equals(a:
|
|
22376
|
-
return proto3.util.equals(
|
|
23078
|
+
static equals(a: StreamSelection | PlainMessage<StreamSelection> | undefined, b: StreamSelection | PlainMessage<StreamSelection> | undefined): boolean {
|
|
23079
|
+
return proto3.util.equals(StreamSelection, a, b);
|
|
22377
23080
|
}
|
|
22378
23081
|
}
|
|
22379
23082
|
|
|
22380
23083
|
/**
|
|
22381
|
-
* @generated from message norsk.api.media.
|
|
23084
|
+
* @generated from message norsk.api.media.StreamSelection.All
|
|
22382
23085
|
*/
|
|
22383
|
-
export class
|
|
22384
|
-
constructor(data?: PartialMessage<
|
|
23086
|
+
export class StreamSelection_All extends Message<StreamSelection_All> {
|
|
23087
|
+
constructor(data?: PartialMessage<StreamSelection_All>) {
|
|
22385
23088
|
super();
|
|
22386
23089
|
proto3.util.initPartial(data, this);
|
|
22387
23090
|
}
|
|
22388
23091
|
|
|
22389
23092
|
static readonly runtime = proto3;
|
|
22390
|
-
static readonly typeName = "norsk.api.media.
|
|
23093
|
+
static readonly typeName = "norsk.api.media.StreamSelection.All";
|
|
22391
23094
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22392
23095
|
]);
|
|
22393
23096
|
|
|
22394
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
22395
|
-
return new
|
|
23097
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_All {
|
|
23098
|
+
return new StreamSelection_All().fromBinary(bytes, options);
|
|
22396
23099
|
}
|
|
22397
23100
|
|
|
22398
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
22399
|
-
return new
|
|
23101
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_All {
|
|
23102
|
+
return new StreamSelection_All().fromJson(jsonValue, options);
|
|
22400
23103
|
}
|
|
22401
23104
|
|
|
22402
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
22403
|
-
return new
|
|
23105
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_All {
|
|
23106
|
+
return new StreamSelection_All().fromJsonString(jsonString, options);
|
|
22404
23107
|
}
|
|
22405
23108
|
|
|
22406
|
-
static equals(a:
|
|
22407
|
-
return proto3.util.equals(
|
|
23109
|
+
static equals(a: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined, b: StreamSelection_All | PlainMessage<StreamSelection_All> | undefined): boolean {
|
|
23110
|
+
return proto3.util.equals(StreamSelection_All, a, b);
|
|
22408
23111
|
}
|
|
22409
23112
|
}
|
|
22410
23113
|
|
|
22411
23114
|
/**
|
|
22412
|
-
* @generated from message norsk.api.media.
|
|
23115
|
+
* @generated from message norsk.api.media.StreamSelection.Subset
|
|
22413
23116
|
*/
|
|
22414
|
-
export class
|
|
23117
|
+
export class StreamSelection_Subset extends Message<StreamSelection_Subset> {
|
|
22415
23118
|
/**
|
|
22416
23119
|
* @generated from field: repeated norsk.api.media.StreamKey stream_list = 1;
|
|
22417
23120
|
*/
|
|
22418
23121
|
streamList: StreamKey[] = [];
|
|
22419
23122
|
|
|
22420
|
-
constructor(data?: PartialMessage<
|
|
23123
|
+
constructor(data?: PartialMessage<StreamSelection_Subset>) {
|
|
22421
23124
|
super();
|
|
22422
23125
|
proto3.util.initPartial(data, this);
|
|
22423
23126
|
}
|
|
22424
23127
|
|
|
22425
23128
|
static readonly runtime = proto3;
|
|
22426
|
-
static readonly typeName = "norsk.api.media.
|
|
23129
|
+
static readonly typeName = "norsk.api.media.StreamSelection.Subset";
|
|
22427
23130
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
22428
23131
|
{ no: 1, name: "stream_list", kind: "message", T: StreamKey, repeated: true },
|
|
22429
23132
|
]);
|
|
22430
23133
|
|
|
22431
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
22432
|
-
return new
|
|
23134
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSelection_Subset {
|
|
23135
|
+
return new StreamSelection_Subset().fromBinary(bytes, options);
|
|
22433
23136
|
}
|
|
22434
23137
|
|
|
22435
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
22436
|
-
return new
|
|
23138
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
|
|
23139
|
+
return new StreamSelection_Subset().fromJson(jsonValue, options);
|
|
22437
23140
|
}
|
|
22438
23141
|
|
|
22439
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
22440
|
-
return new
|
|
23142
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSelection_Subset {
|
|
23143
|
+
return new StreamSelection_Subset().fromJsonString(jsonString, options);
|
|
22441
23144
|
}
|
|
22442
23145
|
|
|
22443
|
-
static equals(a:
|
|
22444
|
-
return proto3.util.equals(
|
|
23146
|
+
static equals(a: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined, b: StreamSelection_Subset | PlainMessage<StreamSelection_Subset> | undefined): boolean {
|
|
23147
|
+
return proto3.util.equals(StreamSelection_Subset, a, b);
|
|
23148
|
+
}
|
|
23149
|
+
}
|
|
23150
|
+
|
|
23151
|
+
/**
|
|
23152
|
+
* @generated from message norsk.api.media.FrameStorePlayerConfiguration
|
|
23153
|
+
*/
|
|
23154
|
+
export class FrameStorePlayerConfiguration extends Message<FrameStorePlayerConfiguration> {
|
|
23155
|
+
/**
|
|
23156
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
23157
|
+
*/
|
|
23158
|
+
id?: MediaNodeId;
|
|
23159
|
+
|
|
23160
|
+
/**
|
|
23161
|
+
* @generated from field: string name = 2;
|
|
23162
|
+
*/
|
|
23163
|
+
name = "";
|
|
23164
|
+
|
|
23165
|
+
/**
|
|
23166
|
+
* @generated from field: string source_name = 3;
|
|
23167
|
+
*/
|
|
23168
|
+
sourceName = "";
|
|
23169
|
+
|
|
23170
|
+
/**
|
|
23171
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
|
|
23172
|
+
*/
|
|
23173
|
+
statsSampling?: StreamStatisticsSampling;
|
|
23174
|
+
|
|
23175
|
+
/**
|
|
23176
|
+
* @generated from field: norsk.api.media.StreamSelection stream_selection = 5;
|
|
23177
|
+
*/
|
|
23178
|
+
streamSelection?: StreamSelection;
|
|
23179
|
+
|
|
23180
|
+
/**
|
|
23181
|
+
* @generated from field: repeated norsk.api.media.SingleCut cuts = 6;
|
|
23182
|
+
*/
|
|
23183
|
+
cuts: SingleCut[] = [];
|
|
23184
|
+
|
|
23185
|
+
/**
|
|
23186
|
+
* @generated from field: bool trim_partial_segments = 7;
|
|
23187
|
+
*/
|
|
23188
|
+
trimPartialSegments = false;
|
|
23189
|
+
|
|
23190
|
+
constructor(data?: PartialMessage<FrameStorePlayerConfiguration>) {
|
|
23191
|
+
super();
|
|
23192
|
+
proto3.util.initPartial(data, this);
|
|
23193
|
+
}
|
|
23194
|
+
|
|
23195
|
+
static readonly runtime = proto3;
|
|
23196
|
+
static readonly typeName = "norsk.api.media.FrameStorePlayerConfiguration";
|
|
23197
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
23198
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
23199
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
23200
|
+
{ no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
23201
|
+
{ no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
23202
|
+
{ no: 5, name: "stream_selection", kind: "message", T: StreamSelection },
|
|
23203
|
+
{ no: 6, name: "cuts", kind: "message", T: SingleCut, repeated: true },
|
|
23204
|
+
{ no: 7, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
23205
|
+
]);
|
|
23206
|
+
|
|
23207
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameStorePlayerConfiguration {
|
|
23208
|
+
return new FrameStorePlayerConfiguration().fromBinary(bytes, options);
|
|
23209
|
+
}
|
|
23210
|
+
|
|
23211
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
|
|
23212
|
+
return new FrameStorePlayerConfiguration().fromJson(jsonValue, options);
|
|
23213
|
+
}
|
|
23214
|
+
|
|
23215
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameStorePlayerConfiguration {
|
|
23216
|
+
return new FrameStorePlayerConfiguration().fromJsonString(jsonString, options);
|
|
23217
|
+
}
|
|
23218
|
+
|
|
23219
|
+
static equals(a: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined, b: FrameStorePlayerConfiguration | PlainMessage<FrameStorePlayerConfiguration> | undefined): boolean {
|
|
23220
|
+
return proto3.util.equals(FrameStorePlayerConfiguration, a, b);
|
|
22445
23221
|
}
|
|
22446
23222
|
}
|
|
22447
23223
|
|