@norskvideo/norsk-api 0.0.329 → 0.0.330
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 +44 -44
- package/lib/media_grpc_pb.js +204 -99
- package/lib/media_pb.d.ts +109 -96
- package/lib/media_pb.js +120 -105
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +147 -134
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -510,21 +510,29 @@ proto3.util.setEnumType(SampleRate, "norsk.api.media.SampleRate", [
|
|
|
510
510
|
*/
|
|
511
511
|
export enum SampleFormat {
|
|
512
512
|
/**
|
|
513
|
+
* Signed 16 bits, non-planar
|
|
514
|
+
*
|
|
513
515
|
* @generated from enum value: S16 = 0;
|
|
514
516
|
*/
|
|
515
517
|
S16 = 0,
|
|
516
518
|
|
|
517
519
|
/**
|
|
520
|
+
* Signed 16 bits, planar
|
|
521
|
+
*
|
|
518
522
|
* @generated from enum value: S16P = 1;
|
|
519
523
|
*/
|
|
520
524
|
S16P = 1,
|
|
521
525
|
|
|
522
526
|
/**
|
|
527
|
+
* 32bit floating point, non-planar
|
|
528
|
+
*
|
|
523
529
|
* @generated from enum value: FLT = 2;
|
|
524
530
|
*/
|
|
525
531
|
FLT = 2,
|
|
526
532
|
|
|
527
533
|
/**
|
|
534
|
+
* 32bit floating point, planar
|
|
535
|
+
*
|
|
528
536
|
* @generated from enum value: FLTP = 3;
|
|
529
537
|
*/
|
|
530
538
|
FLTP = 3,
|
|
@@ -2595,11 +2603,11 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
|
|
|
2595
2603
|
|
|
2596
2604
|
/**
|
|
2597
2605
|
* *
|
|
2598
|
-
* The Context message is sent from Norsk
|
|
2606
|
+
* The Context message is sent from Norsk in response to a
|
|
2599
2607
|
* change to either the Media Node's inbound or output set of streams.
|
|
2600
|
-
* Once received, your code
|
|
2601
|
-
* with a call to
|
|
2602
|
-
* passing in the
|
|
2608
|
+
* Once received, your code **must** acknowledge the context change
|
|
2609
|
+
* with a call to `Media.UnblockCall`,
|
|
2610
|
+
* passing in the `blockingCallRef`; note that if using the
|
|
2603
2611
|
* JavaScript SDK then this is automatically handled.
|
|
2604
2612
|
*
|
|
2605
2613
|
* @generated from message norsk.api.media.Context
|
|
@@ -2900,8 +2908,8 @@ export class TimestampSourceProgramNudge extends Message<TimestampSourceProgramN
|
|
|
2900
2908
|
* and number of keyframes, measured over configurable sampling windows and
|
|
2901
2909
|
* sent to the client.
|
|
2902
2910
|
*
|
|
2903
|
-
* These are reported on
|
|
2904
|
-
* StreamStats node.
|
|
2911
|
+
* These are reported on most input and output media nodes and also for the
|
|
2912
|
+
* dedicated StreamStats node.
|
|
2905
2913
|
*
|
|
2906
2914
|
* @generated from message norsk.api.media.MultiStreamStats
|
|
2907
2915
|
*/
|
|
@@ -3418,8 +3426,8 @@ export class RtmpInputMessage extends Message<RtmpInputMessage> {
|
|
|
3418
3426
|
/**
|
|
3419
3427
|
* *
|
|
3420
3428
|
* Sent to your code when an inbound remote connection is received. Your code
|
|
3421
|
-
* must reply with either an
|
|
3422
|
-
*
|
|
3429
|
+
* must reply with either an `RtmpConnectionAccept` or an
|
|
3430
|
+
* `RtmpConnectionReject`.
|
|
3423
3431
|
*
|
|
3424
3432
|
* @generated from message norsk.api.media.RtmpConnection
|
|
3425
3433
|
*/
|
|
@@ -3539,8 +3547,8 @@ proto3.util.setEnumType(RtmpInputStatus_State, "norsk.api.media.RtmpInputStatus.
|
|
|
3539
3547
|
/**
|
|
3540
3548
|
* *
|
|
3541
3549
|
* Sent to your code when an inbound remote stream is received on an
|
|
3542
|
-
* active connection. You must reply with either an
|
|
3543
|
-
* or an
|
|
3550
|
+
* active connection. You must reply with either an `RtmpStreamAccept`
|
|
3551
|
+
* or an `RtmpStreamReject`.
|
|
3544
3552
|
*
|
|
3545
3553
|
* @generated from message norsk.api.media.RtmpOnStream
|
|
3546
3554
|
*/
|
|
@@ -4464,7 +4472,7 @@ export class SrtTsContext extends Message<SrtTsContext> {
|
|
|
4464
4472
|
*/
|
|
4465
4473
|
export class SrtConnectMessage extends Message<SrtConnectMessage> {
|
|
4466
4474
|
/**
|
|
4467
|
-
* The
|
|
4475
|
+
* The stream_id sent on the SRT socket (or empty if none was set)
|
|
4468
4476
|
*
|
|
4469
4477
|
* @generated from field: string srt_stream_id = 1;
|
|
4470
4478
|
*/
|
|
@@ -4967,8 +4975,6 @@ export class M3u8MediaInputConfiguration extends Message<M3u8MediaInputConfigura
|
|
|
4967
4975
|
url = "";
|
|
4968
4976
|
|
|
4969
4977
|
/**
|
|
4970
|
-
* Stuff here about modes/etc
|
|
4971
|
-
*
|
|
4972
4978
|
* @generated from field: norsk.api.media.StreamStatsSampling stats_sampling = 4;
|
|
4973
4979
|
*/
|
|
4974
4980
|
statsSampling?: StreamStatsSampling;
|
|
@@ -6010,7 +6016,7 @@ export class Mp4FileInputEvent extends Message<Mp4FileInputEvent> {
|
|
|
6010
6016
|
*/
|
|
6011
6017
|
export class SineWave extends Message<SineWave> {
|
|
6012
6018
|
/**
|
|
6013
|
-
* @generated from field:
|
|
6019
|
+
* @generated from field: float freq = 1;
|
|
6014
6020
|
*/
|
|
6015
6021
|
freq = 0;
|
|
6016
6022
|
|
|
@@ -6022,7 +6028,7 @@ export class SineWave extends Message<SineWave> {
|
|
|
6022
6028
|
static readonly runtime = proto3;
|
|
6023
6029
|
static readonly typeName = "norsk.api.media.SineWave";
|
|
6024
6030
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6025
|
-
{ no: 1, name: "freq", kind: "scalar", T:
|
|
6031
|
+
{ no: 1, name: "freq", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
6026
6032
|
]);
|
|
6027
6033
|
|
|
6028
6034
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SineWave {
|
|
@@ -8178,7 +8184,7 @@ export class AudioGainConfiguration extends Message<AudioGainConfiguration> {
|
|
|
8178
8184
|
id?: MediaNodeId;
|
|
8179
8185
|
|
|
8180
8186
|
/**
|
|
8181
|
-
* The gains
|
|
8187
|
+
* The gains for this source, one for each channel
|
|
8182
8188
|
*
|
|
8183
8189
|
* @generated from field: repeated norsk.api.media.Db channel_gains = 2;
|
|
8184
8190
|
*/
|
|
@@ -8218,7 +8224,7 @@ export class AudioGainConfiguration extends Message<AudioGainConfiguration> {
|
|
|
8218
8224
|
*/
|
|
8219
8225
|
export class AudioGainUpdateConfiguration extends Message<AudioGainUpdateConfiguration> {
|
|
8220
8226
|
/**
|
|
8221
|
-
* The
|
|
8227
|
+
* The gains for this source, one for each channel
|
|
8222
8228
|
*
|
|
8223
8229
|
* @generated from field: repeated norsk.api.media.Db channel_gains = 1;
|
|
8224
8230
|
*/
|
|
@@ -8434,6 +8440,11 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
|
|
|
8434
8440
|
channelLayout?: ChannelLayout;
|
|
8435
8441
|
|
|
8436
8442
|
/**
|
|
8443
|
+
* *
|
|
8444
|
+
* Stream keys specifying the source for each channel, where the order is
|
|
8445
|
+
* significant. The streams must all have the same sample format and sample
|
|
8446
|
+
* rate.
|
|
8447
|
+
*
|
|
8437
8448
|
* @generated from field: repeated norsk.api.media.StreamKey channel_list = 7;
|
|
8438
8449
|
*/
|
|
8439
8450
|
channelList: StreamKey[] = [];
|
|
@@ -8964,9 +8975,9 @@ export class CMAFDestination extends Message<CMAFDestination> {
|
|
|
8964
8975
|
}
|
|
8965
8976
|
|
|
8966
8977
|
/**
|
|
8967
|
-
* @generated from message norsk.api.media.
|
|
8978
|
+
* @generated from message norsk.api.media.CmafVideoConfiguration
|
|
8968
8979
|
*/
|
|
8969
|
-
export class
|
|
8980
|
+
export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
8970
8981
|
/**
|
|
8971
8982
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
8972
8983
|
*/
|
|
@@ -9002,13 +9013,13 @@ export class HlsVideoConfiguration extends Message<HlsVideoConfiguration> {
|
|
|
9002
9013
|
*/
|
|
9003
9014
|
destinations: CMAFDestination[] = [];
|
|
9004
9015
|
|
|
9005
|
-
constructor(data?: PartialMessage<
|
|
9016
|
+
constructor(data?: PartialMessage<CmafVideoConfiguration>) {
|
|
9006
9017
|
super();
|
|
9007
9018
|
proto3.util.initPartial(data, this);
|
|
9008
9019
|
}
|
|
9009
9020
|
|
|
9010
9021
|
static readonly runtime = proto3;
|
|
9011
|
-
static readonly typeName = "norsk.api.media.
|
|
9022
|
+
static readonly typeName = "norsk.api.media.CmafVideoConfiguration";
|
|
9012
9023
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9013
9024
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9014
9025
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
@@ -9019,29 +9030,29 @@ export class HlsVideoConfiguration extends Message<HlsVideoConfiguration> {
|
|
|
9019
9030
|
{ no: 7, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
9020
9031
|
]);
|
|
9021
9032
|
|
|
9022
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9023
|
-
return new
|
|
9033
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
|
|
9034
|
+
return new CmafVideoConfiguration().fromBinary(bytes, options);
|
|
9024
9035
|
}
|
|
9025
9036
|
|
|
9026
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9027
|
-
return new
|
|
9037
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafVideoConfiguration {
|
|
9038
|
+
return new CmafVideoConfiguration().fromJson(jsonValue, options);
|
|
9028
9039
|
}
|
|
9029
9040
|
|
|
9030
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9031
|
-
return new
|
|
9041
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafVideoConfiguration {
|
|
9042
|
+
return new CmafVideoConfiguration().fromJsonString(jsonString, options);
|
|
9032
9043
|
}
|
|
9033
9044
|
|
|
9034
|
-
static equals(a:
|
|
9035
|
-
return proto3.util.equals(
|
|
9045
|
+
static equals(a: CmafVideoConfiguration | PlainMessage<CmafVideoConfiguration> | undefined, b: CmafVideoConfiguration | PlainMessage<CmafVideoConfiguration> | undefined): boolean {
|
|
9046
|
+
return proto3.util.equals(CmafVideoConfiguration, a, b);
|
|
9036
9047
|
}
|
|
9037
9048
|
}
|
|
9038
9049
|
|
|
9039
9050
|
/**
|
|
9040
|
-
* @generated from message norsk.api.media.
|
|
9051
|
+
* @generated from message norsk.api.media.CmafVideoMessage
|
|
9041
9052
|
*/
|
|
9042
|
-
export class
|
|
9053
|
+
export class CmafVideoMessage extends Message<CmafVideoMessage> {
|
|
9043
9054
|
/**
|
|
9044
|
-
* @generated from oneof norsk.api.media.
|
|
9055
|
+
* @generated from oneof norsk.api.media.CmafVideoMessage.message
|
|
9045
9056
|
*/
|
|
9046
9057
|
message: {
|
|
9047
9058
|
/**
|
|
@@ -9051,9 +9062,9 @@ export class HlsVideoMessage extends Message<HlsVideoMessage> {
|
|
|
9051
9062
|
case: "subscription";
|
|
9052
9063
|
} | {
|
|
9053
9064
|
/**
|
|
9054
|
-
* @generated from field: norsk.api.media.
|
|
9065
|
+
* @generated from field: norsk.api.media.CmafVideoConfiguration configuration = 2;
|
|
9055
9066
|
*/
|
|
9056
|
-
value:
|
|
9067
|
+
value: CmafVideoConfiguration;
|
|
9057
9068
|
case: "configuration";
|
|
9058
9069
|
} | {
|
|
9059
9070
|
/**
|
|
@@ -9063,33 +9074,33 @@ export class HlsVideoMessage extends Message<HlsVideoMessage> {
|
|
|
9063
9074
|
case: "updateCredentials";
|
|
9064
9075
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9065
9076
|
|
|
9066
|
-
constructor(data?: PartialMessage<
|
|
9077
|
+
constructor(data?: PartialMessage<CmafVideoMessage>) {
|
|
9067
9078
|
super();
|
|
9068
9079
|
proto3.util.initPartial(data, this);
|
|
9069
9080
|
}
|
|
9070
9081
|
|
|
9071
9082
|
static readonly runtime = proto3;
|
|
9072
|
-
static readonly typeName = "norsk.api.media.
|
|
9083
|
+
static readonly typeName = "norsk.api.media.CmafVideoMessage";
|
|
9073
9084
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9074
9085
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9075
|
-
{ no: 2, name: "configuration", kind: "message", T:
|
|
9086
|
+
{ no: 2, name: "configuration", kind: "message", T: CmafVideoConfiguration, oneof: "message" },
|
|
9076
9087
|
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
9077
9088
|
]);
|
|
9078
9089
|
|
|
9079
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9080
|
-
return new
|
|
9090
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoMessage {
|
|
9091
|
+
return new CmafVideoMessage().fromBinary(bytes, options);
|
|
9081
9092
|
}
|
|
9082
9093
|
|
|
9083
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9084
|
-
return new
|
|
9094
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafVideoMessage {
|
|
9095
|
+
return new CmafVideoMessage().fromJson(jsonValue, options);
|
|
9085
9096
|
}
|
|
9086
9097
|
|
|
9087
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9088
|
-
return new
|
|
9098
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafVideoMessage {
|
|
9099
|
+
return new CmafVideoMessage().fromJsonString(jsonString, options);
|
|
9089
9100
|
}
|
|
9090
9101
|
|
|
9091
|
-
static equals(a:
|
|
9092
|
-
return proto3.util.equals(
|
|
9102
|
+
static equals(a: CmafVideoMessage | PlainMessage<CmafVideoMessage> | undefined, b: CmafVideoMessage | PlainMessage<CmafVideoMessage> | undefined): boolean {
|
|
9103
|
+
return proto3.util.equals(CmafVideoMessage, a, b);
|
|
9093
9104
|
}
|
|
9094
9105
|
}
|
|
9095
9106
|
|
|
@@ -9199,9 +9210,9 @@ export class HlsTsVideoMessage extends Message<HlsTsVideoMessage> {
|
|
|
9199
9210
|
}
|
|
9200
9211
|
|
|
9201
9212
|
/**
|
|
9202
|
-
* @generated from message norsk.api.media.
|
|
9213
|
+
* @generated from message norsk.api.media.CmafAudioConfiguration
|
|
9203
9214
|
*/
|
|
9204
|
-
export class
|
|
9215
|
+
export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
|
|
9205
9216
|
/**
|
|
9206
9217
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
9207
9218
|
*/
|
|
@@ -9237,13 +9248,13 @@ export class HlsAudioConfiguration extends Message<HlsAudioConfiguration> {
|
|
|
9237
9248
|
*/
|
|
9238
9249
|
destinations: CMAFDestination[] = [];
|
|
9239
9250
|
|
|
9240
|
-
constructor(data?: PartialMessage<
|
|
9251
|
+
constructor(data?: PartialMessage<CmafAudioConfiguration>) {
|
|
9241
9252
|
super();
|
|
9242
9253
|
proto3.util.initPartial(data, this);
|
|
9243
9254
|
}
|
|
9244
9255
|
|
|
9245
9256
|
static readonly runtime = proto3;
|
|
9246
|
-
static readonly typeName = "norsk.api.media.
|
|
9257
|
+
static readonly typeName = "norsk.api.media.CmafAudioConfiguration";
|
|
9247
9258
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9248
9259
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9249
9260
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
@@ -9254,29 +9265,29 @@ export class HlsAudioConfiguration extends Message<HlsAudioConfiguration> {
|
|
|
9254
9265
|
{ no: 8, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
9255
9266
|
]);
|
|
9256
9267
|
|
|
9257
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9258
|
-
return new
|
|
9268
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
|
|
9269
|
+
return new CmafAudioConfiguration().fromBinary(bytes, options);
|
|
9259
9270
|
}
|
|
9260
9271
|
|
|
9261
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9262
|
-
return new
|
|
9272
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafAudioConfiguration {
|
|
9273
|
+
return new CmafAudioConfiguration().fromJson(jsonValue, options);
|
|
9263
9274
|
}
|
|
9264
9275
|
|
|
9265
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9266
|
-
return new
|
|
9276
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafAudioConfiguration {
|
|
9277
|
+
return new CmafAudioConfiguration().fromJsonString(jsonString, options);
|
|
9267
9278
|
}
|
|
9268
9279
|
|
|
9269
|
-
static equals(a:
|
|
9270
|
-
return proto3.util.equals(
|
|
9280
|
+
static equals(a: CmafAudioConfiguration | PlainMessage<CmafAudioConfiguration> | undefined, b: CmafAudioConfiguration | PlainMessage<CmafAudioConfiguration> | undefined): boolean {
|
|
9281
|
+
return proto3.util.equals(CmafAudioConfiguration, a, b);
|
|
9271
9282
|
}
|
|
9272
9283
|
}
|
|
9273
9284
|
|
|
9274
9285
|
/**
|
|
9275
|
-
* @generated from message norsk.api.media.
|
|
9286
|
+
* @generated from message norsk.api.media.CmafAudioMessage
|
|
9276
9287
|
*/
|
|
9277
|
-
export class
|
|
9288
|
+
export class CmafAudioMessage extends Message<CmafAudioMessage> {
|
|
9278
9289
|
/**
|
|
9279
|
-
* @generated from oneof norsk.api.media.
|
|
9290
|
+
* @generated from oneof norsk.api.media.CmafAudioMessage.message
|
|
9280
9291
|
*/
|
|
9281
9292
|
message: {
|
|
9282
9293
|
/**
|
|
@@ -9286,9 +9297,9 @@ export class HlsAudioMessage extends Message<HlsAudioMessage> {
|
|
|
9286
9297
|
case: "subscription";
|
|
9287
9298
|
} | {
|
|
9288
9299
|
/**
|
|
9289
|
-
* @generated from field: norsk.api.media.
|
|
9300
|
+
* @generated from field: norsk.api.media.CmafAudioConfiguration configuration = 2;
|
|
9290
9301
|
*/
|
|
9291
|
-
value:
|
|
9302
|
+
value: CmafAudioConfiguration;
|
|
9292
9303
|
case: "configuration";
|
|
9293
9304
|
} | {
|
|
9294
9305
|
/**
|
|
@@ -9298,33 +9309,33 @@ export class HlsAudioMessage extends Message<HlsAudioMessage> {
|
|
|
9298
9309
|
case: "updateCredentials";
|
|
9299
9310
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9300
9311
|
|
|
9301
|
-
constructor(data?: PartialMessage<
|
|
9312
|
+
constructor(data?: PartialMessage<CmafAudioMessage>) {
|
|
9302
9313
|
super();
|
|
9303
9314
|
proto3.util.initPartial(data, this);
|
|
9304
9315
|
}
|
|
9305
9316
|
|
|
9306
9317
|
static readonly runtime = proto3;
|
|
9307
|
-
static readonly typeName = "norsk.api.media.
|
|
9318
|
+
static readonly typeName = "norsk.api.media.CmafAudioMessage";
|
|
9308
9319
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9309
9320
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9310
|
-
{ no: 2, name: "configuration", kind: "message", T:
|
|
9321
|
+
{ no: 2, name: "configuration", kind: "message", T: CmafAudioConfiguration, oneof: "message" },
|
|
9311
9322
|
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
9312
9323
|
]);
|
|
9313
9324
|
|
|
9314
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9315
|
-
return new
|
|
9325
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioMessage {
|
|
9326
|
+
return new CmafAudioMessage().fromBinary(bytes, options);
|
|
9316
9327
|
}
|
|
9317
9328
|
|
|
9318
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9319
|
-
return new
|
|
9329
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafAudioMessage {
|
|
9330
|
+
return new CmafAudioMessage().fromJson(jsonValue, options);
|
|
9320
9331
|
}
|
|
9321
9332
|
|
|
9322
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9323
|
-
return new
|
|
9333
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafAudioMessage {
|
|
9334
|
+
return new CmafAudioMessage().fromJsonString(jsonString, options);
|
|
9324
9335
|
}
|
|
9325
9336
|
|
|
9326
|
-
static equals(a:
|
|
9327
|
-
return proto3.util.equals(
|
|
9337
|
+
static equals(a: CmafAudioMessage | PlainMessage<CmafAudioMessage> | undefined, b: CmafAudioMessage | PlainMessage<CmafAudioMessage> | undefined): boolean {
|
|
9338
|
+
return proto3.util.equals(CmafAudioMessage, a, b);
|
|
9328
9339
|
}
|
|
9329
9340
|
}
|
|
9330
9341
|
|
|
@@ -9434,9 +9445,9 @@ export class HlsTsAudioMessage extends Message<HlsTsAudioMessage> {
|
|
|
9434
9445
|
}
|
|
9435
9446
|
|
|
9436
9447
|
/**
|
|
9437
|
-
* @generated from message norsk.api.media.
|
|
9448
|
+
* @generated from message norsk.api.media.CmafWebVttConfiguration
|
|
9438
9449
|
*/
|
|
9439
|
-
export class
|
|
9450
|
+
export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
9440
9451
|
/**
|
|
9441
9452
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
9442
9453
|
*/
|
|
@@ -9457,13 +9468,13 @@ export class HlsWebVttConfiguration extends Message<HlsWebVttConfiguration> {
|
|
|
9457
9468
|
*/
|
|
9458
9469
|
sessionId = "";
|
|
9459
9470
|
|
|
9460
|
-
constructor(data?: PartialMessage<
|
|
9471
|
+
constructor(data?: PartialMessage<CmafWebVttConfiguration>) {
|
|
9461
9472
|
super();
|
|
9462
9473
|
proto3.util.initPartial(data, this);
|
|
9463
9474
|
}
|
|
9464
9475
|
|
|
9465
9476
|
static readonly runtime = proto3;
|
|
9466
|
-
static readonly typeName = "norsk.api.media.
|
|
9477
|
+
static readonly typeName = "norsk.api.media.CmafWebVttConfiguration";
|
|
9467
9478
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9468
9479
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9469
9480
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
@@ -9471,20 +9482,20 @@ export class HlsWebVttConfiguration extends Message<HlsWebVttConfiguration> {
|
|
|
9471
9482
|
{ no: 4, name: "sessionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
9472
9483
|
]);
|
|
9473
9484
|
|
|
9474
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9475
|
-
return new
|
|
9485
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttConfiguration {
|
|
9486
|
+
return new CmafWebVttConfiguration().fromBinary(bytes, options);
|
|
9476
9487
|
}
|
|
9477
9488
|
|
|
9478
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9479
|
-
return new
|
|
9489
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttConfiguration {
|
|
9490
|
+
return new CmafWebVttConfiguration().fromJson(jsonValue, options);
|
|
9480
9491
|
}
|
|
9481
9492
|
|
|
9482
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9483
|
-
return new
|
|
9493
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttConfiguration {
|
|
9494
|
+
return new CmafWebVttConfiguration().fromJsonString(jsonString, options);
|
|
9484
9495
|
}
|
|
9485
9496
|
|
|
9486
|
-
static equals(a:
|
|
9487
|
-
return proto3.util.equals(
|
|
9497
|
+
static equals(a: CmafWebVttConfiguration | PlainMessage<CmafWebVttConfiguration> | undefined, b: CmafWebVttConfiguration | PlainMessage<CmafWebVttConfiguration> | undefined): boolean {
|
|
9498
|
+
return proto3.util.equals(CmafWebVttConfiguration, a, b);
|
|
9488
9499
|
}
|
|
9489
9500
|
}
|
|
9490
9501
|
|
|
@@ -9715,11 +9726,11 @@ export class HlsWebVttPushUpdateConfiguration extends Message<HlsWebVttPushUpdat
|
|
|
9715
9726
|
}
|
|
9716
9727
|
|
|
9717
9728
|
/**
|
|
9718
|
-
* @generated from message norsk.api.media.
|
|
9729
|
+
* @generated from message norsk.api.media.CmafWebVttMessage
|
|
9719
9730
|
*/
|
|
9720
|
-
export class
|
|
9731
|
+
export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
|
|
9721
9732
|
/**
|
|
9722
|
-
* @generated from oneof norsk.api.media.
|
|
9733
|
+
* @generated from oneof norsk.api.media.CmafWebVttMessage.message
|
|
9723
9734
|
*/
|
|
9724
9735
|
message: {
|
|
9725
9736
|
/**
|
|
@@ -9729,38 +9740,38 @@ export class HlsWebVttMessage extends Message<HlsWebVttMessage> {
|
|
|
9729
9740
|
case: "subscription";
|
|
9730
9741
|
} | {
|
|
9731
9742
|
/**
|
|
9732
|
-
* @generated from field: norsk.api.media.
|
|
9743
|
+
* @generated from field: norsk.api.media.CmafWebVttConfiguration configuration = 2;
|
|
9733
9744
|
*/
|
|
9734
|
-
value:
|
|
9745
|
+
value: CmafWebVttConfiguration;
|
|
9735
9746
|
case: "configuration";
|
|
9736
9747
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9737
9748
|
|
|
9738
|
-
constructor(data?: PartialMessage<
|
|
9749
|
+
constructor(data?: PartialMessage<CmafWebVttMessage>) {
|
|
9739
9750
|
super();
|
|
9740
9751
|
proto3.util.initPartial(data, this);
|
|
9741
9752
|
}
|
|
9742
9753
|
|
|
9743
9754
|
static readonly runtime = proto3;
|
|
9744
|
-
static readonly typeName = "norsk.api.media.
|
|
9755
|
+
static readonly typeName = "norsk.api.media.CmafWebVttMessage";
|
|
9745
9756
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9746
9757
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9747
|
-
{ no: 2, name: "configuration", kind: "message", T:
|
|
9758
|
+
{ no: 2, name: "configuration", kind: "message", T: CmafWebVttConfiguration, oneof: "message" },
|
|
9748
9759
|
]);
|
|
9749
9760
|
|
|
9750
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9751
|
-
return new
|
|
9761
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttMessage {
|
|
9762
|
+
return new CmafWebVttMessage().fromBinary(bytes, options);
|
|
9752
9763
|
}
|
|
9753
9764
|
|
|
9754
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9755
|
-
return new
|
|
9765
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttMessage {
|
|
9766
|
+
return new CmafWebVttMessage().fromJson(jsonValue, options);
|
|
9756
9767
|
}
|
|
9757
9768
|
|
|
9758
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9759
|
-
return new
|
|
9769
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttMessage {
|
|
9770
|
+
return new CmafWebVttMessage().fromJsonString(jsonString, options);
|
|
9760
9771
|
}
|
|
9761
9772
|
|
|
9762
|
-
static equals(a:
|
|
9763
|
-
return proto3.util.equals(
|
|
9773
|
+
static equals(a: CmafWebVttMessage | PlainMessage<CmafWebVttMessage> | undefined, b: CmafWebVttMessage | PlainMessage<CmafWebVttMessage> | undefined): boolean {
|
|
9774
|
+
return proto3.util.equals(CmafWebVttMessage, a, b);
|
|
9764
9775
|
}
|
|
9765
9776
|
}
|
|
9766
9777
|
|
|
@@ -9822,9 +9833,9 @@ export class HlsWebVttPushMessage extends Message<HlsWebVttPushMessage> {
|
|
|
9822
9833
|
}
|
|
9823
9834
|
|
|
9824
9835
|
/**
|
|
9825
|
-
* @generated from message norsk.api.media.
|
|
9836
|
+
* @generated from message norsk.api.media.CmafMasterConfiguration
|
|
9826
9837
|
*/
|
|
9827
|
-
export class
|
|
9838
|
+
export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
|
|
9828
9839
|
/**
|
|
9829
9840
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
9830
9841
|
*/
|
|
@@ -9845,13 +9856,13 @@ export class HlsMasterConfiguration extends Message<HlsMasterConfiguration> {
|
|
|
9845
9856
|
*/
|
|
9846
9857
|
destinations: CMAFDestination[] = [];
|
|
9847
9858
|
|
|
9848
|
-
constructor(data?: PartialMessage<
|
|
9859
|
+
constructor(data?: PartialMessage<CmafMasterConfiguration>) {
|
|
9849
9860
|
super();
|
|
9850
9861
|
proto3.util.initPartial(data, this);
|
|
9851
9862
|
}
|
|
9852
9863
|
|
|
9853
9864
|
static readonly runtime = proto3;
|
|
9854
|
-
static readonly typeName = "norsk.api.media.
|
|
9865
|
+
static readonly typeName = "norsk.api.media.CmafMasterConfiguration";
|
|
9855
9866
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9856
9867
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
9857
9868
|
{ no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -9859,29 +9870,29 @@ export class HlsMasterConfiguration extends Message<HlsMasterConfiguration> {
|
|
|
9859
9870
|
{ no: 4, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
9860
9871
|
]);
|
|
9861
9872
|
|
|
9862
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9863
|
-
return new
|
|
9873
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMasterConfiguration {
|
|
9874
|
+
return new CmafMasterConfiguration().fromBinary(bytes, options);
|
|
9864
9875
|
}
|
|
9865
9876
|
|
|
9866
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9867
|
-
return new
|
|
9877
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMasterConfiguration {
|
|
9878
|
+
return new CmafMasterConfiguration().fromJson(jsonValue, options);
|
|
9868
9879
|
}
|
|
9869
9880
|
|
|
9870
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9871
|
-
return new
|
|
9881
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMasterConfiguration {
|
|
9882
|
+
return new CmafMasterConfiguration().fromJsonString(jsonString, options);
|
|
9872
9883
|
}
|
|
9873
9884
|
|
|
9874
|
-
static equals(a:
|
|
9875
|
-
return proto3.util.equals(
|
|
9885
|
+
static equals(a: CmafMasterConfiguration | PlainMessage<CmafMasterConfiguration> | undefined, b: CmafMasterConfiguration | PlainMessage<CmafMasterConfiguration> | undefined): boolean {
|
|
9886
|
+
return proto3.util.equals(CmafMasterConfiguration, a, b);
|
|
9876
9887
|
}
|
|
9877
9888
|
}
|
|
9878
9889
|
|
|
9879
9890
|
/**
|
|
9880
|
-
* @generated from message norsk.api.media.
|
|
9891
|
+
* @generated from message norsk.api.media.CmafMasterMessage
|
|
9881
9892
|
*/
|
|
9882
|
-
export class
|
|
9893
|
+
export class CmafMasterMessage extends Message<CmafMasterMessage> {
|
|
9883
9894
|
/**
|
|
9884
|
-
* @generated from oneof norsk.api.media.
|
|
9895
|
+
* @generated from oneof norsk.api.media.CmafMasterMessage.message
|
|
9885
9896
|
*/
|
|
9886
9897
|
message: {
|
|
9887
9898
|
/**
|
|
@@ -9891,9 +9902,9 @@ export class HlsMasterMessage extends Message<HlsMasterMessage> {
|
|
|
9891
9902
|
case: "subscription";
|
|
9892
9903
|
} | {
|
|
9893
9904
|
/**
|
|
9894
|
-
* @generated from field: norsk.api.media.
|
|
9905
|
+
* @generated from field: norsk.api.media.CmafMasterConfiguration configuration = 2;
|
|
9895
9906
|
*/
|
|
9896
|
-
value:
|
|
9907
|
+
value: CmafMasterConfiguration;
|
|
9897
9908
|
case: "configuration";
|
|
9898
9909
|
} | {
|
|
9899
9910
|
/**
|
|
@@ -9903,33 +9914,33 @@ export class HlsMasterMessage extends Message<HlsMasterMessage> {
|
|
|
9903
9914
|
case: "updateCredentials";
|
|
9904
9915
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
9905
9916
|
|
|
9906
|
-
constructor(data?: PartialMessage<
|
|
9917
|
+
constructor(data?: PartialMessage<CmafMasterMessage>) {
|
|
9907
9918
|
super();
|
|
9908
9919
|
proto3.util.initPartial(data, this);
|
|
9909
9920
|
}
|
|
9910
9921
|
|
|
9911
9922
|
static readonly runtime = proto3;
|
|
9912
|
-
static readonly typeName = "norsk.api.media.
|
|
9923
|
+
static readonly typeName = "norsk.api.media.CmafMasterMessage";
|
|
9913
9924
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
9914
9925
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
9915
|
-
{ no: 2, name: "configuration", kind: "message", T:
|
|
9926
|
+
{ no: 2, name: "configuration", kind: "message", T: CmafMasterConfiguration, oneof: "message" },
|
|
9916
9927
|
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
9917
9928
|
]);
|
|
9918
9929
|
|
|
9919
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
9920
|
-
return new
|
|
9930
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMasterMessage {
|
|
9931
|
+
return new CmafMasterMessage().fromBinary(bytes, options);
|
|
9921
9932
|
}
|
|
9922
9933
|
|
|
9923
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
9924
|
-
return new
|
|
9934
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMasterMessage {
|
|
9935
|
+
return new CmafMasterMessage().fromJson(jsonValue, options);
|
|
9925
9936
|
}
|
|
9926
9937
|
|
|
9927
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
9928
|
-
return new
|
|
9938
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMasterMessage {
|
|
9939
|
+
return new CmafMasterMessage().fromJsonString(jsonString, options);
|
|
9929
9940
|
}
|
|
9930
9941
|
|
|
9931
|
-
static equals(a:
|
|
9932
|
-
return proto3.util.equals(
|
|
9942
|
+
static equals(a: CmafMasterMessage | PlainMessage<CmafMasterMessage> | undefined, b: CmafMasterMessage | PlainMessage<CmafMasterMessage> | undefined): boolean {
|
|
9943
|
+
return proto3.util.equals(CmafMasterMessage, a, b);
|
|
9933
9944
|
}
|
|
9934
9945
|
}
|
|
9935
9946
|
|
|
@@ -11661,7 +11672,7 @@ export class Mp4FileOutputMessage extends Message<Mp4FileOutputMessage> {
|
|
|
11661
11672
|
case: "configuration";
|
|
11662
11673
|
} | {
|
|
11663
11674
|
/**
|
|
11664
|
-
* @generated from field: norsk.api.media.Mp4FileOutputWriteMessage
|
|
11675
|
+
* @generated from field: norsk.api.media.Mp4FileOutputWriteMessage write_file = 3;
|
|
11665
11676
|
*/
|
|
11666
11677
|
value: Mp4FileOutputWriteMessage;
|
|
11667
11678
|
case: "writeFile";
|
|
@@ -11677,7 +11688,7 @@ export class Mp4FileOutputMessage extends Message<Mp4FileOutputMessage> {
|
|
|
11677
11688
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11678
11689
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
11679
11690
|
{ no: 2, name: "configuration", kind: "message", T: Mp4FileOutputConfiguration, oneof: "message" },
|
|
11680
|
-
{ no: 3, name: "
|
|
11691
|
+
{ no: 3, name: "write_file", kind: "message", T: Mp4FileOutputWriteMessage, oneof: "message" },
|
|
11681
11692
|
]);
|
|
11682
11693
|
|
|
11683
11694
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Mp4FileOutputMessage {
|
|
@@ -12014,8 +12025,8 @@ export class X264Codec extends Message<X264Codec> {
|
|
|
12014
12025
|
|
|
12015
12026
|
/**
|
|
12016
12027
|
* Sets the level flag in the output. Permissible levels are
|
|
12017
|
-
*
|
|
12018
|
-
* 5, 5.1
|
|
12028
|
+
* 1, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2,
|
|
12029
|
+
* 5, 5.1 - since this field is an integer, you pass in 10 times the
|
|
12019
12030
|
* required value (e.g., 11, 12 etc)
|
|
12020
12031
|
*
|
|
12021
12032
|
* @generated from field: norsk.api.media.OptionalInt level = 3;
|
|
@@ -12445,7 +12456,7 @@ export class X265Codec extends Message<X265Codec> {
|
|
|
12445
12456
|
|
|
12446
12457
|
/**
|
|
12447
12458
|
* Sets the level flag in the output. Permissible levels are
|
|
12448
|
-
*
|
|
12459
|
+
* `1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6, 6.1, 6.2` -
|
|
12449
12460
|
* since this field is an integer, you pass in 10 times the
|
|
12450
12461
|
* required value (e.g., 11, 12 etc)
|
|
12451
12462
|
*
|
|
@@ -16589,6 +16600,8 @@ export class AwsTranscribeConfiguration extends Message<AwsTranscribeConfigurati
|
|
|
16589
16600
|
language = "";
|
|
16590
16601
|
|
|
16591
16602
|
/**
|
|
16603
|
+
* Region for the transcribe endpoint
|
|
16604
|
+
*
|
|
16592
16605
|
* @generated from field: string aws_region = 4;
|
|
16593
16606
|
*/
|
|
16594
16607
|
awsRegion = "";
|