@norskvideo/norsk-api 1.0.338 → 1.0.340
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 +11 -11
- package/lib/media_grpc_pb.js +10 -10
- package/lib/media_pb.d.ts +391 -42
- package/lib/media_pb.js +437 -37
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +642 -62
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -2499,6 +2499,14 @@ export class StreamMetadata extends Message<StreamMetadata> {
|
|
|
2499
2499
|
*/
|
|
2500
2500
|
value: StreamMetadata_AncillaryMetadata;
|
|
2501
2501
|
case: "ancillary";
|
|
2502
|
+
} | {
|
|
2503
|
+
/**
|
|
2504
|
+
* Playlist metadata
|
|
2505
|
+
*
|
|
2506
|
+
* @generated from field: norsk.api.media.StreamMetadata.PlaylistMetadata playlist = 6;
|
|
2507
|
+
*/
|
|
2508
|
+
value: StreamMetadata_PlaylistMetadata;
|
|
2509
|
+
case: "playlist";
|
|
2502
2510
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
2503
2511
|
|
|
2504
2512
|
constructor(data?: PartialMessage<StreamMetadata>) {
|
|
@@ -2514,6 +2522,7 @@ export class StreamMetadata extends Message<StreamMetadata> {
|
|
|
2514
2522
|
{ no: 3, name: "video", kind: "message", T: StreamMetadata_VideoMetadata, oneof: "message" },
|
|
2515
2523
|
{ no: 4, name: "subtitle", kind: "message", T: StreamMetadata_SubtitleMetadata, oneof: "message" },
|
|
2516
2524
|
{ no: 5, name: "ancillary", kind: "message", T: StreamMetadata_AncillaryMetadata, oneof: "message" },
|
|
2525
|
+
{ no: 6, name: "playlist", kind: "message", T: StreamMetadata_PlaylistMetadata, oneof: "message" },
|
|
2517
2526
|
]);
|
|
2518
2527
|
|
|
2519
2528
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata {
|
|
@@ -2680,6 +2689,39 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
|
|
|
2680
2689
|
}
|
|
2681
2690
|
}
|
|
2682
2691
|
|
|
2692
|
+
/**
|
|
2693
|
+
* Metadata for a playlist stream
|
|
2694
|
+
*
|
|
2695
|
+
* @generated from message norsk.api.media.StreamMetadata.PlaylistMetadata
|
|
2696
|
+
*/
|
|
2697
|
+
export class StreamMetadata_PlaylistMetadata extends Message<StreamMetadata_PlaylistMetadata> {
|
|
2698
|
+
constructor(data?: PartialMessage<StreamMetadata_PlaylistMetadata>) {
|
|
2699
|
+
super();
|
|
2700
|
+
proto3.util.initPartial(data, this);
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
static readonly runtime = proto3;
|
|
2704
|
+
static readonly typeName = "norsk.api.media.StreamMetadata.PlaylistMetadata";
|
|
2705
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2706
|
+
]);
|
|
2707
|
+
|
|
2708
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_PlaylistMetadata {
|
|
2709
|
+
return new StreamMetadata_PlaylistMetadata().fromBinary(bytes, options);
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadata_PlaylistMetadata {
|
|
2713
|
+
return new StreamMetadata_PlaylistMetadata().fromJson(jsonValue, options);
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadata_PlaylistMetadata {
|
|
2717
|
+
return new StreamMetadata_PlaylistMetadata().fromJsonString(jsonString, options);
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
static equals(a: StreamMetadata_PlaylistMetadata | PlainMessage<StreamMetadata_PlaylistMetadata> | undefined, b: StreamMetadata_PlaylistMetadata | PlainMessage<StreamMetadata_PlaylistMetadata> | undefined): boolean {
|
|
2721
|
+
return proto3.util.equals(StreamMetadata_PlaylistMetadata, a, b);
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2683
2725
|
/**
|
|
2684
2726
|
* Metadata for an ancillary stream
|
|
2685
2727
|
*
|
|
@@ -3266,6 +3308,418 @@ export class StreamStatisticsSampling extends Message<StreamStatisticsSampling>
|
|
|
3266
3308
|
}
|
|
3267
3309
|
}
|
|
3268
3310
|
|
|
3311
|
+
/**
|
|
3312
|
+
* @generated from message norsk.api.media.CodecPictureStructure
|
|
3313
|
+
*/
|
|
3314
|
+
export class CodecPictureStructure extends Message<CodecPictureStructure> {
|
|
3315
|
+
/**
|
|
3316
|
+
* @generated from oneof norsk.api.media.CodecPictureStructure.message
|
|
3317
|
+
*/
|
|
3318
|
+
message: {
|
|
3319
|
+
/**
|
|
3320
|
+
* @generated from field: norsk.api.media.CodecPictureStructure.Mpeg2PictureStructure mpeg2video = 1;
|
|
3321
|
+
*/
|
|
3322
|
+
value: CodecPictureStructure_Mpeg2PictureStructure;
|
|
3323
|
+
case: "mpeg2video";
|
|
3324
|
+
} | {
|
|
3325
|
+
/**
|
|
3326
|
+
* @generated from field: norsk.api.media.CodecPictureStructure.H264PictureStructure h264 = 2;
|
|
3327
|
+
*/
|
|
3328
|
+
value: CodecPictureStructure_H264PictureStructure;
|
|
3329
|
+
case: "h264";
|
|
3330
|
+
} | {
|
|
3331
|
+
/**
|
|
3332
|
+
* @generated from field: norsk.api.media.CodecPictureStructure.HEVCPictureStructure hevc = 3;
|
|
3333
|
+
*/
|
|
3334
|
+
value: CodecPictureStructure_HEVCPictureStructure;
|
|
3335
|
+
case: "hevc";
|
|
3336
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
3337
|
+
|
|
3338
|
+
constructor(data?: PartialMessage<CodecPictureStructure>) {
|
|
3339
|
+
super();
|
|
3340
|
+
proto3.util.initPartial(data, this);
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3343
|
+
static readonly runtime = proto3;
|
|
3344
|
+
static readonly typeName = "norsk.api.media.CodecPictureStructure";
|
|
3345
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3346
|
+
{ no: 1, name: "mpeg2video", kind: "message", T: CodecPictureStructure_Mpeg2PictureStructure, oneof: "message" },
|
|
3347
|
+
{ no: 2, name: "h264", kind: "message", T: CodecPictureStructure_H264PictureStructure, oneof: "message" },
|
|
3348
|
+
{ no: 3, name: "hevc", kind: "message", T: CodecPictureStructure_HEVCPictureStructure, oneof: "message" },
|
|
3349
|
+
]);
|
|
3350
|
+
|
|
3351
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecPictureStructure {
|
|
3352
|
+
return new CodecPictureStructure().fromBinary(bytes, options);
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecPictureStructure {
|
|
3356
|
+
return new CodecPictureStructure().fromJson(jsonValue, options);
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecPictureStructure {
|
|
3360
|
+
return new CodecPictureStructure().fromJsonString(jsonString, options);
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
static equals(a: CodecPictureStructure | PlainMessage<CodecPictureStructure> | undefined, b: CodecPictureStructure | PlainMessage<CodecPictureStructure> | undefined): boolean {
|
|
3364
|
+
return proto3.util.equals(CodecPictureStructure, a, b);
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* @generated from message norsk.api.media.CodecPictureStructure.Mpeg2PictureStructure
|
|
3370
|
+
*/
|
|
3371
|
+
export class CodecPictureStructure_Mpeg2PictureStructure extends Message<CodecPictureStructure_Mpeg2PictureStructure> {
|
|
3372
|
+
/**
|
|
3373
|
+
* @generated from field: norsk.api.media.CodecPictureStructure.Mpeg2PictureStructure.Mpeg2GopInfo gop_info = 1;
|
|
3374
|
+
*/
|
|
3375
|
+
gopInfo = CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo.MPEG2_GOP_UNKNOWN;
|
|
3376
|
+
|
|
3377
|
+
constructor(data?: PartialMessage<CodecPictureStructure_Mpeg2PictureStructure>) {
|
|
3378
|
+
super();
|
|
3379
|
+
proto3.util.initPartial(data, this);
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
static readonly runtime = proto3;
|
|
3383
|
+
static readonly typeName = "norsk.api.media.CodecPictureStructure.Mpeg2PictureStructure";
|
|
3384
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3385
|
+
{ no: 1, name: "gop_info", kind: "enum", T: proto3.getEnumType(CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo) },
|
|
3386
|
+
]);
|
|
3387
|
+
|
|
3388
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecPictureStructure_Mpeg2PictureStructure {
|
|
3389
|
+
return new CodecPictureStructure_Mpeg2PictureStructure().fromBinary(bytes, options);
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecPictureStructure_Mpeg2PictureStructure {
|
|
3393
|
+
return new CodecPictureStructure_Mpeg2PictureStructure().fromJson(jsonValue, options);
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecPictureStructure_Mpeg2PictureStructure {
|
|
3397
|
+
return new CodecPictureStructure_Mpeg2PictureStructure().fromJsonString(jsonString, options);
|
|
3398
|
+
}
|
|
3399
|
+
|
|
3400
|
+
static equals(a: CodecPictureStructure_Mpeg2PictureStructure | PlainMessage<CodecPictureStructure_Mpeg2PictureStructure> | undefined, b: CodecPictureStructure_Mpeg2PictureStructure | PlainMessage<CodecPictureStructure_Mpeg2PictureStructure> | undefined): boolean {
|
|
3401
|
+
return proto3.util.equals(CodecPictureStructure_Mpeg2PictureStructure, a, b);
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
/**
|
|
3406
|
+
* @generated from enum norsk.api.media.CodecPictureStructure.Mpeg2PictureStructure.Mpeg2GopInfo
|
|
3407
|
+
*/
|
|
3408
|
+
export enum CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo {
|
|
3409
|
+
/**
|
|
3410
|
+
* There is no gop information, either because it is not coded or this is not the start of a gop
|
|
3411
|
+
*
|
|
3412
|
+
* @generated from enum value: MPEG2_GOP_UNKNOWN = 0;
|
|
3413
|
+
*/
|
|
3414
|
+
MPEG2_GOP_UNKNOWN = 0,
|
|
3415
|
+
|
|
3416
|
+
/**
|
|
3417
|
+
* Indicates gop information is present and this is the start of a closed gop
|
|
3418
|
+
*
|
|
3419
|
+
* @generated from enum value: MPEG2_GOP_CLOSED = 1;
|
|
3420
|
+
*/
|
|
3421
|
+
MPEG2_GOP_CLOSED = 1,
|
|
3422
|
+
|
|
3423
|
+
/**
|
|
3424
|
+
* Indicates gop information is present and this is the start of an open gop
|
|
3425
|
+
*
|
|
3426
|
+
* @generated from enum value: MPEG2_GOP_OPEN = 2;
|
|
3427
|
+
*/
|
|
3428
|
+
MPEG2_GOP_OPEN = 2,
|
|
3429
|
+
}
|
|
3430
|
+
// Retrieve enum metadata with: proto3.getEnumType(CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo)
|
|
3431
|
+
proto3.util.setEnumType(CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo, "norsk.api.media.CodecPictureStructure.Mpeg2PictureStructure.Mpeg2GopInfo", [
|
|
3432
|
+
{ no: 0, name: "MPEG2_GOP_UNKNOWN" },
|
|
3433
|
+
{ no: 1, name: "MPEG2_GOP_CLOSED" },
|
|
3434
|
+
{ no: 2, name: "MPEG2_GOP_OPEN" },
|
|
3435
|
+
]);
|
|
3436
|
+
|
|
3437
|
+
/**
|
|
3438
|
+
* @generated from message norsk.api.media.CodecPictureStructure.H264PictureStructure
|
|
3439
|
+
*/
|
|
3440
|
+
export class CodecPictureStructure_H264PictureStructure extends Message<CodecPictureStructure_H264PictureStructure> {
|
|
3441
|
+
/**
|
|
3442
|
+
* @generated from field: bool idr_frame = 1;
|
|
3443
|
+
*/
|
|
3444
|
+
idrFrame = false;
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
* @generated from field: repeated norsk.api.media.CodecPictureStructure.H264PictureStructure.H264SliceType slice_types = 2;
|
|
3448
|
+
*/
|
|
3449
|
+
sliceTypes: CodecPictureStructure_H264PictureStructure_H264SliceType[] = [];
|
|
3450
|
+
|
|
3451
|
+
constructor(data?: PartialMessage<CodecPictureStructure_H264PictureStructure>) {
|
|
3452
|
+
super();
|
|
3453
|
+
proto3.util.initPartial(data, this);
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
static readonly runtime = proto3;
|
|
3457
|
+
static readonly typeName = "norsk.api.media.CodecPictureStructure.H264PictureStructure";
|
|
3458
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3459
|
+
{ no: 1, name: "idr_frame", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3460
|
+
{ no: 2, name: "slice_types", kind: "enum", T: proto3.getEnumType(CodecPictureStructure_H264PictureStructure_H264SliceType), repeated: true },
|
|
3461
|
+
]);
|
|
3462
|
+
|
|
3463
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecPictureStructure_H264PictureStructure {
|
|
3464
|
+
return new CodecPictureStructure_H264PictureStructure().fromBinary(bytes, options);
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3467
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecPictureStructure_H264PictureStructure {
|
|
3468
|
+
return new CodecPictureStructure_H264PictureStructure().fromJson(jsonValue, options);
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecPictureStructure_H264PictureStructure {
|
|
3472
|
+
return new CodecPictureStructure_H264PictureStructure().fromJsonString(jsonString, options);
|
|
3473
|
+
}
|
|
3474
|
+
|
|
3475
|
+
static equals(a: CodecPictureStructure_H264PictureStructure | PlainMessage<CodecPictureStructure_H264PictureStructure> | undefined, b: CodecPictureStructure_H264PictureStructure | PlainMessage<CodecPictureStructure_H264PictureStructure> | undefined): boolean {
|
|
3476
|
+
return proto3.util.equals(CodecPictureStructure_H264PictureStructure, a, b);
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* @generated from enum norsk.api.media.CodecPictureStructure.H264PictureStructure.H264SliceType
|
|
3482
|
+
*/
|
|
3483
|
+
export enum CodecPictureStructure_H264PictureStructure_H264SliceType {
|
|
3484
|
+
/**
|
|
3485
|
+
* @generated from enum value: H264_SLICE_TYPE_UNKNOWN = 0;
|
|
3486
|
+
*/
|
|
3487
|
+
UNKNOWN = 0,
|
|
3488
|
+
|
|
3489
|
+
/**
|
|
3490
|
+
* @generated from enum value: H264_SLICE_TYPE_I = 1;
|
|
3491
|
+
*/
|
|
3492
|
+
I = 1,
|
|
3493
|
+
|
|
3494
|
+
/**
|
|
3495
|
+
* @generated from enum value: H264_SLICE_TYPE_P = 2;
|
|
3496
|
+
*/
|
|
3497
|
+
P = 2,
|
|
3498
|
+
|
|
3499
|
+
/**
|
|
3500
|
+
* @generated from enum value: H264_SLICE_TYPE_B = 3;
|
|
3501
|
+
*/
|
|
3502
|
+
B = 3,
|
|
3503
|
+
|
|
3504
|
+
/**
|
|
3505
|
+
* @generated from enum value: H264_SLICE_TYPE_SI = 4;
|
|
3506
|
+
*/
|
|
3507
|
+
SI = 4,
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* @generated from enum value: H264_SLICE_TYPE_SP = 5;
|
|
3511
|
+
*/
|
|
3512
|
+
SP = 5,
|
|
3513
|
+
}
|
|
3514
|
+
// Retrieve enum metadata with: proto3.getEnumType(CodecPictureStructure_H264PictureStructure_H264SliceType)
|
|
3515
|
+
proto3.util.setEnumType(CodecPictureStructure_H264PictureStructure_H264SliceType, "norsk.api.media.CodecPictureStructure.H264PictureStructure.H264SliceType", [
|
|
3516
|
+
{ no: 0, name: "H264_SLICE_TYPE_UNKNOWN" },
|
|
3517
|
+
{ no: 1, name: "H264_SLICE_TYPE_I" },
|
|
3518
|
+
{ no: 2, name: "H264_SLICE_TYPE_P" },
|
|
3519
|
+
{ no: 3, name: "H264_SLICE_TYPE_B" },
|
|
3520
|
+
{ no: 4, name: "H264_SLICE_TYPE_SI" },
|
|
3521
|
+
{ no: 5, name: "H264_SLICE_TYPE_SP" },
|
|
3522
|
+
]);
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* @generated from message norsk.api.media.CodecPictureStructure.HEVCPictureStructure
|
|
3526
|
+
*/
|
|
3527
|
+
export class CodecPictureStructure_HEVCPictureStructure extends Message<CodecPictureStructure_HEVCPictureStructure> {
|
|
3528
|
+
/**
|
|
3529
|
+
* @generated from field: bool irap_frame = 1;
|
|
3530
|
+
*/
|
|
3531
|
+
irapFrame = false;
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* @generated from field: bool idr_frame = 2;
|
|
3535
|
+
*/
|
|
3536
|
+
idrFrame = false;
|
|
3537
|
+
|
|
3538
|
+
/**
|
|
3539
|
+
* @generated from field: repeated norsk.api.media.CodecPictureStructure.HEVCPictureStructure.HEVCSliceType slice_types = 3;
|
|
3540
|
+
*/
|
|
3541
|
+
sliceTypes: CodecPictureStructure_HEVCPictureStructure_HEVCSliceType[] = [];
|
|
3542
|
+
|
|
3543
|
+
constructor(data?: PartialMessage<CodecPictureStructure_HEVCPictureStructure>) {
|
|
3544
|
+
super();
|
|
3545
|
+
proto3.util.initPartial(data, this);
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
static readonly runtime = proto3;
|
|
3549
|
+
static readonly typeName = "norsk.api.media.CodecPictureStructure.HEVCPictureStructure";
|
|
3550
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3551
|
+
{ no: 1, name: "irap_frame", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3552
|
+
{ no: 2, name: "idr_frame", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3553
|
+
{ no: 3, name: "slice_types", kind: "enum", T: proto3.getEnumType(CodecPictureStructure_HEVCPictureStructure_HEVCSliceType), repeated: true },
|
|
3554
|
+
]);
|
|
3555
|
+
|
|
3556
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecPictureStructure_HEVCPictureStructure {
|
|
3557
|
+
return new CodecPictureStructure_HEVCPictureStructure().fromBinary(bytes, options);
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3560
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecPictureStructure_HEVCPictureStructure {
|
|
3561
|
+
return new CodecPictureStructure_HEVCPictureStructure().fromJson(jsonValue, options);
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecPictureStructure_HEVCPictureStructure {
|
|
3565
|
+
return new CodecPictureStructure_HEVCPictureStructure().fromJsonString(jsonString, options);
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
static equals(a: CodecPictureStructure_HEVCPictureStructure | PlainMessage<CodecPictureStructure_HEVCPictureStructure> | undefined, b: CodecPictureStructure_HEVCPictureStructure | PlainMessage<CodecPictureStructure_HEVCPictureStructure> | undefined): boolean {
|
|
3569
|
+
return proto3.util.equals(CodecPictureStructure_HEVCPictureStructure, a, b);
|
|
3570
|
+
}
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* @generated from enum norsk.api.media.CodecPictureStructure.HEVCPictureStructure.HEVCSliceType
|
|
3575
|
+
*/
|
|
3576
|
+
export enum CodecPictureStructure_HEVCPictureStructure_HEVCSliceType {
|
|
3577
|
+
/**
|
|
3578
|
+
* @generated from enum value: HEVC_SLICE_TYPE_UNKNOWN = 0;
|
|
3579
|
+
*/
|
|
3580
|
+
HEVC_SLICE_TYPE_UNKNOWN = 0,
|
|
3581
|
+
|
|
3582
|
+
/**
|
|
3583
|
+
* @generated from enum value: HEVC_SLICE_TYPE_I = 1;
|
|
3584
|
+
*/
|
|
3585
|
+
HEVC_SLICE_TYPE_I = 1,
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* @generated from enum value: HEVC_SLICE_TYPE_P = 2;
|
|
3589
|
+
*/
|
|
3590
|
+
HEVC_SLICE_TYPE_P = 2,
|
|
3591
|
+
|
|
3592
|
+
/**
|
|
3593
|
+
* @generated from enum value: HEVC_SLICE_TYPE_B = 3;
|
|
3594
|
+
*/
|
|
3595
|
+
HEVC_SLICE_TYPE_B = 3,
|
|
3596
|
+
}
|
|
3597
|
+
// Retrieve enum metadata with: proto3.getEnumType(CodecPictureStructure_HEVCPictureStructure_HEVCSliceType)
|
|
3598
|
+
proto3.util.setEnumType(CodecPictureStructure_HEVCPictureStructure_HEVCSliceType, "norsk.api.media.CodecPictureStructure.HEVCPictureStructure.HEVCSliceType", [
|
|
3599
|
+
{ no: 0, name: "HEVC_SLICE_TYPE_UNKNOWN" },
|
|
3600
|
+
{ no: 1, name: "HEVC_SLICE_TYPE_I" },
|
|
3601
|
+
{ no: 2, name: "HEVC_SLICE_TYPE_P" },
|
|
3602
|
+
{ no: 3, name: "HEVC_SLICE_TYPE_B" },
|
|
3603
|
+
]);
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* @generated from message norsk.api.media.GopStructure
|
|
3607
|
+
*/
|
|
3608
|
+
export class GopStructure extends Message<GopStructure> {
|
|
3609
|
+
/**
|
|
3610
|
+
* @generated from field: norsk.api.media.StreamKey stream_key = 1;
|
|
3611
|
+
*/
|
|
3612
|
+
streamKey?: StreamKey;
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* @generated from field: repeated norsk.api.media.GopStructure.SinglePictureStructure pictures = 2;
|
|
3616
|
+
*/
|
|
3617
|
+
pictures: GopStructure_SinglePictureStructure[] = [];
|
|
3618
|
+
|
|
3619
|
+
constructor(data?: PartialMessage<GopStructure>) {
|
|
3620
|
+
super();
|
|
3621
|
+
proto3.util.initPartial(data, this);
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
static readonly runtime = proto3;
|
|
3625
|
+
static readonly typeName = "norsk.api.media.GopStructure";
|
|
3626
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3627
|
+
{ no: 1, name: "stream_key", kind: "message", T: StreamKey },
|
|
3628
|
+
{ no: 2, name: "pictures", kind: "message", T: GopStructure_SinglePictureStructure, repeated: true },
|
|
3629
|
+
]);
|
|
3630
|
+
|
|
3631
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GopStructure {
|
|
3632
|
+
return new GopStructure().fromBinary(bytes, options);
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3635
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GopStructure {
|
|
3636
|
+
return new GopStructure().fromJson(jsonValue, options);
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GopStructure {
|
|
3640
|
+
return new GopStructure().fromJsonString(jsonString, options);
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
static equals(a: GopStructure | PlainMessage<GopStructure> | undefined, b: GopStructure | PlainMessage<GopStructure> | undefined): boolean {
|
|
3644
|
+
return proto3.util.equals(GopStructure, a, b);
|
|
3645
|
+
}
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* @generated from enum norsk.api.media.GopStructure.PictureType
|
|
3650
|
+
*/
|
|
3651
|
+
export enum GopStructure_PictureType {
|
|
3652
|
+
/**
|
|
3653
|
+
* @generated from enum value: PICTURE_TYPE_UNKNOWN = 0;
|
|
3654
|
+
*/
|
|
3655
|
+
UNKNOWN = 0,
|
|
3656
|
+
|
|
3657
|
+
/**
|
|
3658
|
+
* @generated from enum value: PICTURE_TYPE_I = 1;
|
|
3659
|
+
*/
|
|
3660
|
+
I = 1,
|
|
3661
|
+
|
|
3662
|
+
/**
|
|
3663
|
+
* @generated from enum value: PICTURE_TYPE_P = 2;
|
|
3664
|
+
*/
|
|
3665
|
+
P = 2,
|
|
3666
|
+
|
|
3667
|
+
/**
|
|
3668
|
+
* @generated from enum value: PICTURE_TYPE_B = 3;
|
|
3669
|
+
*/
|
|
3670
|
+
B = 3,
|
|
3671
|
+
}
|
|
3672
|
+
// Retrieve enum metadata with: proto3.getEnumType(GopStructure_PictureType)
|
|
3673
|
+
proto3.util.setEnumType(GopStructure_PictureType, "norsk.api.media.GopStructure.PictureType", [
|
|
3674
|
+
{ no: 0, name: "PICTURE_TYPE_UNKNOWN" },
|
|
3675
|
+
{ no: 1, name: "PICTURE_TYPE_I" },
|
|
3676
|
+
{ no: 2, name: "PICTURE_TYPE_P" },
|
|
3677
|
+
{ no: 3, name: "PICTURE_TYPE_B" },
|
|
3678
|
+
]);
|
|
3679
|
+
|
|
3680
|
+
/**
|
|
3681
|
+
* @generated from message norsk.api.media.GopStructure.SinglePictureStructure
|
|
3682
|
+
*/
|
|
3683
|
+
export class GopStructure_SinglePictureStructure extends Message<GopStructure_SinglePictureStructure> {
|
|
3684
|
+
/**
|
|
3685
|
+
* @generated from field: norsk.api.media.GopStructure.PictureType generic_picture_type = 1;
|
|
3686
|
+
*/
|
|
3687
|
+
genericPictureType = GopStructure_PictureType.UNKNOWN;
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* @generated from field: norsk.api.media.CodecPictureStructure codec_structure = 2;
|
|
3691
|
+
*/
|
|
3692
|
+
codecStructure?: CodecPictureStructure;
|
|
3693
|
+
|
|
3694
|
+
constructor(data?: PartialMessage<GopStructure_SinglePictureStructure>) {
|
|
3695
|
+
super();
|
|
3696
|
+
proto3.util.initPartial(data, this);
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3699
|
+
static readonly runtime = proto3;
|
|
3700
|
+
static readonly typeName = "norsk.api.media.GopStructure.SinglePictureStructure";
|
|
3701
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3702
|
+
{ no: 1, name: "generic_picture_type", kind: "enum", T: proto3.getEnumType(GopStructure_PictureType) },
|
|
3703
|
+
{ no: 2, name: "codec_structure", kind: "message", T: CodecPictureStructure },
|
|
3704
|
+
]);
|
|
3705
|
+
|
|
3706
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GopStructure_SinglePictureStructure {
|
|
3707
|
+
return new GopStructure_SinglePictureStructure().fromBinary(bytes, options);
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GopStructure_SinglePictureStructure {
|
|
3711
|
+
return new GopStructure_SinglePictureStructure().fromJson(jsonValue, options);
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3714
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GopStructure_SinglePictureStructure {
|
|
3715
|
+
return new GopStructure_SinglePictureStructure().fromJsonString(jsonString, options);
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
static equals(a: GopStructure_SinglePictureStructure | PlainMessage<GopStructure_SinglePictureStructure> | undefined, b: GopStructure_SinglePictureStructure | PlainMessage<GopStructure_SinglePictureStructure> | undefined): boolean {
|
|
3719
|
+
return proto3.util.equals(GopStructure_SinglePictureStructure, a, b);
|
|
3720
|
+
}
|
|
3721
|
+
}
|
|
3722
|
+
|
|
3269
3723
|
/**
|
|
3270
3724
|
* @generated from message norsk.api.media.ConnectionId
|
|
3271
3725
|
*/
|
|
@@ -4074,6 +4528,12 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
|
|
|
4074
4528
|
*/
|
|
4075
4529
|
value: RtmpBytesRead;
|
|
4076
4530
|
case: "bytesRead";
|
|
4531
|
+
} | {
|
|
4532
|
+
/**
|
|
4533
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 9;
|
|
4534
|
+
*/
|
|
4535
|
+
value: GopStructure;
|
|
4536
|
+
case: "gopStructure";
|
|
4077
4537
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
4078
4538
|
|
|
4079
4539
|
constructor(data?: PartialMessage<RtmpServerInputEvent>) {
|
|
@@ -4092,6 +4552,7 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
|
|
|
4092
4552
|
{ no: 6, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
4093
4553
|
{ no: 7, name: "error", kind: "message", T: RtmpError, oneof: "message" },
|
|
4094
4554
|
{ no: 8, name: "bytes_read", kind: "message", T: RtmpBytesRead, oneof: "message" },
|
|
4555
|
+
{ no: 9, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
4095
4556
|
]);
|
|
4096
4557
|
|
|
4097
4558
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpServerInputEvent {
|
|
@@ -4412,6 +4873,12 @@ export class TsInputEvent extends Message<TsInputEvent> {
|
|
|
4412
4873
|
*/
|
|
4413
4874
|
value: MultiStreamStatistics;
|
|
4414
4875
|
case: "streamStatistics";
|
|
4876
|
+
} | {
|
|
4877
|
+
/**
|
|
4878
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 6;
|
|
4879
|
+
*/
|
|
4880
|
+
value: GopStructure;
|
|
4881
|
+
case: "gopStructure";
|
|
4415
4882
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
4416
4883
|
|
|
4417
4884
|
constructor(data?: PartialMessage<TsInputEvent>) {
|
|
@@ -4427,6 +4894,7 @@ export class TsInputEvent extends Message<TsInputEvent> {
|
|
|
4427
4894
|
{ no: 3, name: "ts_context", kind: "message", T: TsContext, oneof: "message" },
|
|
4428
4895
|
{ no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
4429
4896
|
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
4897
|
+
{ no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
4430
4898
|
]);
|
|
4431
4899
|
|
|
4432
4900
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TsInputEvent {
|
|
@@ -5196,6 +5664,12 @@ export class SrtInputEvent extends Message<SrtInputEvent> {
|
|
|
5196
5664
|
*/
|
|
5197
5665
|
value: MultiStreamStatistics;
|
|
5198
5666
|
case: "streamStatistics";
|
|
5667
|
+
} | {
|
|
5668
|
+
/**
|
|
5669
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 8;
|
|
5670
|
+
*/
|
|
5671
|
+
value: GopStructure;
|
|
5672
|
+
case: "gopStructure";
|
|
5199
5673
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
5200
5674
|
|
|
5201
5675
|
constructor(data?: PartialMessage<SrtInputEvent>) {
|
|
@@ -5212,6 +5686,7 @@ export class SrtInputEvent extends Message<SrtInputEvent> {
|
|
|
5212
5686
|
{ no: 5, name: "on_connected", kind: "message", T: SrtConnectMessage, oneof: "message" },
|
|
5213
5687
|
{ no: 6, name: "status", kind: "message", T: SrtInputStatus, oneof: "message" },
|
|
5214
5688
|
{ no: 7, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
5689
|
+
{ no: 8, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
5215
5690
|
]);
|
|
5216
5691
|
|
|
5217
5692
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SrtInputEvent {
|
|
@@ -7872,6 +8347,11 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
7872
8347
|
*/
|
|
7873
8348
|
missingStreamBehaviour = VideoComposeConfiguration_MissingStreamBehaviour.UNSPECIFIED_BEHAVIOUR;
|
|
7874
8349
|
|
|
8350
|
+
/**
|
|
8351
|
+
* @generated from field: norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration hardware_acceleration = 8;
|
|
8352
|
+
*/
|
|
8353
|
+
hardwareAcceleration = VideoComposeConfiguration_ComposeHardwareAcceleration.NONE;
|
|
8354
|
+
|
|
7875
8355
|
constructor(data?: PartialMessage<VideoComposeConfiguration>) {
|
|
7876
8356
|
super();
|
|
7877
8357
|
proto3.util.initPartial(data, this);
|
|
@@ -7887,6 +8367,7 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
7887
8367
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
7888
8368
|
{ no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_PixelFormat) },
|
|
7889
8369
|
{ no: 7, name: "missing_stream_behaviour", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_MissingStreamBehaviour) },
|
|
8370
|
+
{ no: 8, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration) },
|
|
7890
8371
|
]);
|
|
7891
8372
|
|
|
7892
8373
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeConfiguration {
|
|
@@ -7906,6 +8387,26 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
|
|
|
7906
8387
|
}
|
|
7907
8388
|
}
|
|
7908
8389
|
|
|
8390
|
+
/**
|
|
8391
|
+
* @generated from enum norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration
|
|
8392
|
+
*/
|
|
8393
|
+
export enum VideoComposeConfiguration_ComposeHardwareAcceleration {
|
|
8394
|
+
/**
|
|
8395
|
+
* @generated from enum value: NONE = 0;
|
|
8396
|
+
*/
|
|
8397
|
+
NONE = 0,
|
|
8398
|
+
|
|
8399
|
+
/**
|
|
8400
|
+
* @generated from enum value: QUADRA = 1;
|
|
8401
|
+
*/
|
|
8402
|
+
QUADRA = 1,
|
|
8403
|
+
}
|
|
8404
|
+
// Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration)
|
|
8405
|
+
proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration", [
|
|
8406
|
+
{ no: 0, name: "NONE" },
|
|
8407
|
+
{ no: 1, name: "QUADRA" },
|
|
8408
|
+
]);
|
|
8409
|
+
|
|
7909
8410
|
/**
|
|
7910
8411
|
* @generated from enum norsk.api.media.VideoComposeConfiguration.PixelFormat
|
|
7911
8412
|
*/
|
|
@@ -10443,9 +10944,9 @@ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
|
|
|
10443
10944
|
}
|
|
10444
10945
|
|
|
10445
10946
|
/**
|
|
10446
|
-
* @generated from message norsk.api.media.
|
|
10947
|
+
* @generated from message norsk.api.media.CmafMultiVariantConfiguration
|
|
10447
10948
|
*/
|
|
10448
|
-
export class
|
|
10949
|
+
export class CmafMultiVariantConfiguration extends Message<CmafMultiVariantConfiguration> {
|
|
10449
10950
|
/**
|
|
10450
10951
|
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
10451
10952
|
*/
|
|
@@ -10467,7 +10968,7 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
|
|
|
10467
10968
|
destinations: CMAFDestination[] = [];
|
|
10468
10969
|
|
|
10469
10970
|
/**
|
|
10470
|
-
* Directives to add to the m3u
|
|
10971
|
+
* Directives to add to the m3u multi variant playlist
|
|
10471
10972
|
*
|
|
10472
10973
|
* @generated from field: string m3u_additions = 5;
|
|
10473
10974
|
*/
|
|
@@ -10480,13 +10981,13 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
|
|
|
10480
10981
|
*/
|
|
10481
10982
|
mpdAdditions = "";
|
|
10482
10983
|
|
|
10483
|
-
constructor(data?: PartialMessage<
|
|
10984
|
+
constructor(data?: PartialMessage<CmafMultiVariantConfiguration>) {
|
|
10484
10985
|
super();
|
|
10485
10986
|
proto3.util.initPartial(data, this);
|
|
10486
10987
|
}
|
|
10487
10988
|
|
|
10488
10989
|
static readonly runtime = proto3;
|
|
10489
|
-
static readonly typeName = "norsk.api.media.
|
|
10990
|
+
static readonly typeName = "norsk.api.media.CmafMultiVariantConfiguration";
|
|
10490
10991
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10491
10992
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10492
10993
|
{ no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -10496,29 +10997,29 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
|
|
|
10496
10997
|
{ no: 6, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10497
10998
|
]);
|
|
10498
10999
|
|
|
10499
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
10500
|
-
return new
|
|
11000
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMultiVariantConfiguration {
|
|
11001
|
+
return new CmafMultiVariantConfiguration().fromBinary(bytes, options);
|
|
10501
11002
|
}
|
|
10502
11003
|
|
|
10503
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
10504
|
-
return new
|
|
11004
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMultiVariantConfiguration {
|
|
11005
|
+
return new CmafMultiVariantConfiguration().fromJson(jsonValue, options);
|
|
10505
11006
|
}
|
|
10506
11007
|
|
|
10507
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
10508
|
-
return new
|
|
11008
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMultiVariantConfiguration {
|
|
11009
|
+
return new CmafMultiVariantConfiguration().fromJsonString(jsonString, options);
|
|
10509
11010
|
}
|
|
10510
11011
|
|
|
10511
|
-
static equals(a:
|
|
10512
|
-
return proto3.util.equals(
|
|
11012
|
+
static equals(a: CmafMultiVariantConfiguration | PlainMessage<CmafMultiVariantConfiguration> | undefined, b: CmafMultiVariantConfiguration | PlainMessage<CmafMultiVariantConfiguration> | undefined): boolean {
|
|
11013
|
+
return proto3.util.equals(CmafMultiVariantConfiguration, a, b);
|
|
10513
11014
|
}
|
|
10514
11015
|
}
|
|
10515
11016
|
|
|
10516
11017
|
/**
|
|
10517
|
-
* @generated from message norsk.api.media.
|
|
11018
|
+
* @generated from message norsk.api.media.CmafMultiVariantMessage
|
|
10518
11019
|
*/
|
|
10519
|
-
export class
|
|
11020
|
+
export class CmafMultiVariantMessage extends Message<CmafMultiVariantMessage> {
|
|
10520
11021
|
/**
|
|
10521
|
-
* @generated from oneof norsk.api.media.
|
|
11022
|
+
* @generated from oneof norsk.api.media.CmafMultiVariantMessage.message
|
|
10522
11023
|
*/
|
|
10523
11024
|
message: {
|
|
10524
11025
|
/**
|
|
@@ -10528,9 +11029,9 @@ export class CmafMasterMessage extends Message<CmafMasterMessage> {
|
|
|
10528
11029
|
case: "subscription";
|
|
10529
11030
|
} | {
|
|
10530
11031
|
/**
|
|
10531
|
-
* @generated from field: norsk.api.media.
|
|
11032
|
+
* @generated from field: norsk.api.media.CmafMultiVariantConfiguration configuration = 2;
|
|
10532
11033
|
*/
|
|
10533
|
-
value:
|
|
11034
|
+
value: CmafMultiVariantConfiguration;
|
|
10534
11035
|
case: "configuration";
|
|
10535
11036
|
} | {
|
|
10536
11037
|
/**
|
|
@@ -10540,33 +11041,33 @@ export class CmafMasterMessage extends Message<CmafMasterMessage> {
|
|
|
10540
11041
|
case: "updateCredentials";
|
|
10541
11042
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10542
11043
|
|
|
10543
|
-
constructor(data?: PartialMessage<
|
|
11044
|
+
constructor(data?: PartialMessage<CmafMultiVariantMessage>) {
|
|
10544
11045
|
super();
|
|
10545
11046
|
proto3.util.initPartial(data, this);
|
|
10546
11047
|
}
|
|
10547
11048
|
|
|
10548
11049
|
static readonly runtime = proto3;
|
|
10549
|
-
static readonly typeName = "norsk.api.media.
|
|
11050
|
+
static readonly typeName = "norsk.api.media.CmafMultiVariantMessage";
|
|
10550
11051
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
10551
11052
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
10552
|
-
{ no: 2, name: "configuration", kind: "message", T:
|
|
11053
|
+
{ no: 2, name: "configuration", kind: "message", T: CmafMultiVariantConfiguration, oneof: "message" },
|
|
10553
11054
|
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
10554
11055
|
]);
|
|
10555
11056
|
|
|
10556
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
10557
|
-
return new
|
|
11057
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMultiVariantMessage {
|
|
11058
|
+
return new CmafMultiVariantMessage().fromBinary(bytes, options);
|
|
10558
11059
|
}
|
|
10559
11060
|
|
|
10560
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
10561
|
-
return new
|
|
11061
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMultiVariantMessage {
|
|
11062
|
+
return new CmafMultiVariantMessage().fromJson(jsonValue, options);
|
|
10562
11063
|
}
|
|
10563
11064
|
|
|
10564
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
10565
|
-
return new
|
|
11065
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMultiVariantMessage {
|
|
11066
|
+
return new CmafMultiVariantMessage().fromJsonString(jsonString, options);
|
|
10566
11067
|
}
|
|
10567
11068
|
|
|
10568
|
-
static equals(a:
|
|
10569
|
-
return proto3.util.equals(
|
|
11069
|
+
static equals(a: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined, b: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined): boolean {
|
|
11070
|
+
return proto3.util.equals(CmafMultiVariantMessage, a, b);
|
|
10570
11071
|
}
|
|
10571
11072
|
}
|
|
10572
11073
|
|
|
@@ -10801,6 +11302,12 @@ export class HlsOutputEvent extends Message<HlsOutputEvent> {
|
|
|
10801
11302
|
*/
|
|
10802
11303
|
value: MultiStreamStatistics;
|
|
10803
11304
|
case: "streamStatistics";
|
|
11305
|
+
} | {
|
|
11306
|
+
/**
|
|
11307
|
+
* @generated from field: norsk.api.media.Context outbound_context = 5;
|
|
11308
|
+
*/
|
|
11309
|
+
value: Context;
|
|
11310
|
+
case: "outboundContext";
|
|
10804
11311
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
10805
11312
|
|
|
10806
11313
|
constructor(data?: PartialMessage<HlsOutputEvent>) {
|
|
@@ -10815,6 +11322,7 @@ export class HlsOutputEvent extends Message<HlsOutputEvent> {
|
|
|
10815
11322
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
10816
11323
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
10817
11324
|
{ no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
11325
|
+
{ no: 5, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
10818
11326
|
]);
|
|
10819
11327
|
|
|
10820
11328
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsOutputEvent {
|
|
@@ -13983,11 +14491,6 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
13983
14491
|
*/
|
|
13984
14492
|
bitrate?: OptionalInt;
|
|
13985
14493
|
|
|
13986
|
-
/**
|
|
13987
|
-
* @generated from field: norsk.api.media.OptionalBool flushGop = 5;
|
|
13988
|
-
*/
|
|
13989
|
-
flushGop?: OptionalBool;
|
|
13990
|
-
|
|
13991
14494
|
/**
|
|
13992
14495
|
* @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
|
|
13993
14496
|
*/
|
|
@@ -13998,11 +14501,6 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
13998
14501
|
*/
|
|
13999
14502
|
crf?: OptionalInt;
|
|
14000
14503
|
|
|
14001
|
-
/**
|
|
14002
|
-
* @generated from field: norsk.api.media.OptionalBool cbr = 8;
|
|
14003
|
-
*/
|
|
14004
|
-
cbr?: OptionalBool;
|
|
14005
|
-
|
|
14006
14504
|
/**
|
|
14007
14505
|
* @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
|
|
14008
14506
|
*/
|
|
@@ -14034,9 +14532,54 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
14034
14532
|
intraQp?: OptionalInt;
|
|
14035
14533
|
|
|
14036
14534
|
/**
|
|
14037
|
-
* @generated from field: norsk.api.media.
|
|
14535
|
+
* @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
|
|
14038
14536
|
*/
|
|
14039
|
-
|
|
14537
|
+
hrdEnable?: OptionalBool;
|
|
14538
|
+
|
|
14539
|
+
/**
|
|
14540
|
+
* @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
|
|
14541
|
+
*/
|
|
14542
|
+
dolbyVisionProfile?: OptionalInt;
|
|
14543
|
+
|
|
14544
|
+
/**
|
|
14545
|
+
* @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
|
|
14546
|
+
*/
|
|
14547
|
+
fillerEnable?: OptionalBool;
|
|
14548
|
+
|
|
14549
|
+
/**
|
|
14550
|
+
* @generated from field: norsk.api.media.OptionalInt minQp = 21;
|
|
14551
|
+
*/
|
|
14552
|
+
minQp?: OptionalInt;
|
|
14553
|
+
|
|
14554
|
+
/**
|
|
14555
|
+
* @generated from field: norsk.api.media.OptionalInt maxQp = 22;
|
|
14556
|
+
*/
|
|
14557
|
+
maxQp?: OptionalInt;
|
|
14558
|
+
|
|
14559
|
+
/**
|
|
14560
|
+
* @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
|
|
14561
|
+
*/
|
|
14562
|
+
maxDeltaQp?: OptionalInt;
|
|
14563
|
+
|
|
14564
|
+
/**
|
|
14565
|
+
* @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
|
|
14566
|
+
*/
|
|
14567
|
+
cuLevelRCEnable?: OptionalBool;
|
|
14568
|
+
|
|
14569
|
+
/**
|
|
14570
|
+
* @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
|
|
14571
|
+
*/
|
|
14572
|
+
lookAheadDepth?: OptionalInt;
|
|
14573
|
+
|
|
14574
|
+
/**
|
|
14575
|
+
* @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
|
|
14576
|
+
*/
|
|
14577
|
+
vbvBufferSize?: OptionalInt;
|
|
14578
|
+
|
|
14579
|
+
/**
|
|
14580
|
+
* @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
|
|
14581
|
+
*/
|
|
14582
|
+
vbvMaxRate?: OptionalInt;
|
|
14040
14583
|
|
|
14041
14584
|
constructor(data?: PartialMessage<QuadraH264>) {
|
|
14042
14585
|
super();
|
|
@@ -14050,17 +14593,24 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
14050
14593
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
14051
14594
|
{ no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
|
|
14052
14595
|
{ no: 4, name: "bitrate", kind: "message", T: OptionalInt },
|
|
14053
|
-
{ no: 5, name: "flushGop", kind: "message", T: OptionalBool },
|
|
14054
14596
|
{ no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
|
|
14055
14597
|
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
14056
|
-
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
14057
14598
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
14058
14599
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
14059
14600
|
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraH264_QuadraH264Profile) },
|
|
14060
14601
|
{ no: 12, name: "level", kind: "message", T: OptionalInt },
|
|
14061
14602
|
{ no: 13, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
14062
14603
|
{ no: 14, name: "intraQp", kind: "message", T: OptionalInt },
|
|
14063
|
-
{ no:
|
|
14604
|
+
{ no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
|
|
14605
|
+
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
14606
|
+
{ no: 20, name: "fillerEnable", kind: "message", T: OptionalBool },
|
|
14607
|
+
{ no: 21, name: "minQp", kind: "message", T: OptionalInt },
|
|
14608
|
+
{ no: 22, name: "maxQp", kind: "message", T: OptionalInt },
|
|
14609
|
+
{ no: 23, name: "maxDeltaQp", kind: "message", T: OptionalInt },
|
|
14610
|
+
{ no: 24, name: "cuLevelRCEnable", kind: "message", T: OptionalBool },
|
|
14611
|
+
{ no: 25, name: "lookAheadDepth", kind: "message", T: OptionalInt },
|
|
14612
|
+
{ no: 26, name: "vbvBufferSize", kind: "message", T: OptionalInt },
|
|
14613
|
+
{ no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
|
|
14064
14614
|
]);
|
|
14065
14615
|
|
|
14066
14616
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraH264 {
|
|
@@ -14148,11 +14698,6 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
14148
14698
|
*/
|
|
14149
14699
|
bitrate?: OptionalInt;
|
|
14150
14700
|
|
|
14151
|
-
/**
|
|
14152
|
-
* @generated from field: norsk.api.media.OptionalBool flushGop = 5;
|
|
14153
|
-
*/
|
|
14154
|
-
flushGop?: OptionalBool;
|
|
14155
|
-
|
|
14156
14701
|
/**
|
|
14157
14702
|
* @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
|
|
14158
14703
|
*/
|
|
@@ -14163,11 +14708,6 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
14163
14708
|
*/
|
|
14164
14709
|
crf?: OptionalInt;
|
|
14165
14710
|
|
|
14166
|
-
/**
|
|
14167
|
-
* @generated from field: norsk.api.media.OptionalBool cbr = 8;
|
|
14168
|
-
*/
|
|
14169
|
-
cbr?: OptionalBool;
|
|
14170
|
-
|
|
14171
14711
|
/**
|
|
14172
14712
|
* @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
|
|
14173
14713
|
*/
|
|
@@ -14208,11 +14748,6 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
14208
14748
|
*/
|
|
14209
14749
|
intraQp?: OptionalInt;
|
|
14210
14750
|
|
|
14211
|
-
/**
|
|
14212
|
-
* @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
|
|
14213
|
-
*/
|
|
14214
|
-
rcInitDelay?: OptionalInt;
|
|
14215
|
-
|
|
14216
14751
|
/**
|
|
14217
14752
|
* @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
|
|
14218
14753
|
*/
|
|
@@ -14223,6 +14758,46 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
14223
14758
|
*/
|
|
14224
14759
|
dolbyVisionProfile?: OptionalInt;
|
|
14225
14760
|
|
|
14761
|
+
/**
|
|
14762
|
+
* @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
|
|
14763
|
+
*/
|
|
14764
|
+
fillerEnable?: OptionalBool;
|
|
14765
|
+
|
|
14766
|
+
/**
|
|
14767
|
+
* @generated from field: norsk.api.media.OptionalInt minQp = 21;
|
|
14768
|
+
*/
|
|
14769
|
+
minQp?: OptionalInt;
|
|
14770
|
+
|
|
14771
|
+
/**
|
|
14772
|
+
* @generated from field: norsk.api.media.OptionalInt maxQp = 22;
|
|
14773
|
+
*/
|
|
14774
|
+
maxQp?: OptionalInt;
|
|
14775
|
+
|
|
14776
|
+
/**
|
|
14777
|
+
* @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
|
|
14778
|
+
*/
|
|
14779
|
+
maxDeltaQp?: OptionalInt;
|
|
14780
|
+
|
|
14781
|
+
/**
|
|
14782
|
+
* @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
|
|
14783
|
+
*/
|
|
14784
|
+
cuLevelRCEnable?: OptionalBool;
|
|
14785
|
+
|
|
14786
|
+
/**
|
|
14787
|
+
* @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
|
|
14788
|
+
*/
|
|
14789
|
+
lookAheadDepth?: OptionalInt;
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
|
|
14793
|
+
*/
|
|
14794
|
+
vbvBufferSize?: OptionalInt;
|
|
14795
|
+
|
|
14796
|
+
/**
|
|
14797
|
+
* @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
|
|
14798
|
+
*/
|
|
14799
|
+
vbvMaxRate?: OptionalInt;
|
|
14800
|
+
|
|
14226
14801
|
constructor(data?: PartialMessage<QuadraHevc>) {
|
|
14227
14802
|
super();
|
|
14228
14803
|
proto3.util.initPartial(data, this);
|
|
@@ -14235,10 +14810,8 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
14235
14810
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
14236
14811
|
{ no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
|
|
14237
14812
|
{ no: 4, name: "bitrate", kind: "message", T: OptionalInt },
|
|
14238
|
-
{ no: 5, name: "flushGop", kind: "message", T: OptionalBool },
|
|
14239
14813
|
{ no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
|
|
14240
14814
|
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
14241
|
-
{ no: 8, name: "cbr", kind: "message", T: OptionalBool },
|
|
14242
14815
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
14243
14816
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
14244
14817
|
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(QuadraHevc_QuadraHevcTier) },
|
|
@@ -14247,9 +14820,16 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
14247
14820
|
{ no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
14248
14821
|
{ no: 15, name: "lossless", kind: "message", T: OptionalBool },
|
|
14249
14822
|
{ no: 16, name: "intraQp", kind: "message", T: OptionalInt },
|
|
14250
|
-
{ no: 17, name: "rcInitDelay", kind: "message", T: OptionalInt },
|
|
14251
14823
|
{ no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
|
|
14252
14824
|
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
14825
|
+
{ no: 20, name: "fillerEnable", kind: "message", T: OptionalBool },
|
|
14826
|
+
{ no: 21, name: "minQp", kind: "message", T: OptionalInt },
|
|
14827
|
+
{ no: 22, name: "maxQp", kind: "message", T: OptionalInt },
|
|
14828
|
+
{ no: 23, name: "maxDeltaQp", kind: "message", T: OptionalInt },
|
|
14829
|
+
{ no: 24, name: "cuLevelRCEnable", kind: "message", T: OptionalBool },
|
|
14830
|
+
{ no: 25, name: "lookAheadDepth", kind: "message", T: OptionalInt },
|
|
14831
|
+
{ no: 26, name: "vbvBufferSize", kind: "message", T: OptionalInt },
|
|
14832
|
+
{ no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
|
|
14253
14833
|
]);
|
|
14254
14834
|
|
|
14255
14835
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraHevc {
|