@norskvideo/norsk-api 1.0.338 → 1.0.339

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_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 {
@@ -10801,6 +11276,12 @@ export class HlsOutputEvent extends Message<HlsOutputEvent> {
10801
11276
  */
10802
11277
  value: MultiStreamStatistics;
10803
11278
  case: "streamStatistics";
11279
+ } | {
11280
+ /**
11281
+ * @generated from field: norsk.api.media.Context outbound_context = 5;
11282
+ */
11283
+ value: Context;
11284
+ case: "outboundContext";
10804
11285
  } | { case: undefined; value?: undefined } = { case: undefined };
10805
11286
 
10806
11287
  constructor(data?: PartialMessage<HlsOutputEvent>) {
@@ -10815,6 +11296,7 @@ export class HlsOutputEvent extends Message<HlsOutputEvent> {
10815
11296
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
10816
11297
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
10817
11298
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
11299
+ { no: 5, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
10818
11300
  ]);
10819
11301
 
10820
11302
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsOutputEvent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.338",
3
+ "version": "1.0.339",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",