@norskvideo/norsk-api 1.0.337 → 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
@@ -1448,6 +1448,76 @@ proto3.util.setEnumType(SentenceStabilizationMode, "norsk.api.media.SentenceStab
1448
1448
  { no: 2, name: "Low" },
1449
1449
  ]);
1450
1450
 
1451
+ /**
1452
+ * @generated from enum norsk.api.media.VancPayloadFormat
1453
+ */
1454
+ export enum VancPayloadFormat {
1455
+ /**
1456
+ * Other format - see ancillary_id
1457
+ *
1458
+ * @generated from enum value: VANC_OTHER = 0;
1459
+ */
1460
+ VANC_OTHER = 0,
1461
+
1462
+ /**
1463
+ * @generated from enum value: VANC_AFD_BAR = 1;
1464
+ */
1465
+ VANC_AFD_BAR = 1,
1466
+
1467
+ /**
1468
+ * @generated from enum value: VANC_PAN_SCAN = 2;
1469
+ */
1470
+ VANC_PAN_SCAN = 2,
1471
+
1472
+ /**
1473
+ * @generated from enum value: VANC_SCTE_104 = 3;
1474
+ */
1475
+ VANC_SCTE_104 = 3,
1476
+
1477
+ /**
1478
+ * @generated from enum value: VANC_DVB_SCTE_VBI = 4;
1479
+ */
1480
+ VANC_DVB_SCTE_VBI = 4,
1481
+
1482
+ /**
1483
+ * @generated from enum value: VANC_OP47_SDP = 5;
1484
+ */
1485
+ VANC_OP47_SDP = 5,
1486
+
1487
+ /**
1488
+ * @generated from enum value: VANC_OP47_VANC_MULTIPACKET = 6;
1489
+ */
1490
+ VANC_OP47_VANC_MULTIPACKET = 6,
1491
+
1492
+ /**
1493
+ * @generated from enum value: VANC_ANCILLARY_TIME_CODE = 7;
1494
+ */
1495
+ VANC_ANCILLARY_TIME_CODE = 7,
1496
+
1497
+ /**
1498
+ * @generated from enum value: VANC_EIA_708D = 8;
1499
+ */
1500
+ VANC_EIA_708D = 8,
1501
+
1502
+ /**
1503
+ * @generated from enum value: VANC_EIA_608 = 9;
1504
+ */
1505
+ VANC_EIA_608 = 9,
1506
+ }
1507
+ // Retrieve enum metadata with: proto3.getEnumType(VancPayloadFormat)
1508
+ proto3.util.setEnumType(VancPayloadFormat, "norsk.api.media.VancPayloadFormat", [
1509
+ { no: 0, name: "VANC_OTHER" },
1510
+ { no: 1, name: "VANC_AFD_BAR" },
1511
+ { no: 2, name: "VANC_PAN_SCAN" },
1512
+ { no: 3, name: "VANC_SCTE_104" },
1513
+ { no: 4, name: "VANC_DVB_SCTE_VBI" },
1514
+ { no: 5, name: "VANC_OP47_SDP" },
1515
+ { no: 6, name: "VANC_OP47_VANC_MULTIPACKET" },
1516
+ { no: 7, name: "VANC_ANCILLARY_TIME_CODE" },
1517
+ { no: 8, name: "VANC_EIA_708D" },
1518
+ { no: 9, name: "VANC_EIA_608" },
1519
+ ]);
1520
+
1451
1521
  /**
1452
1522
  * @generated from enum norsk.api.media.VideoConnection
1453
1523
  */
@@ -2429,6 +2499,14 @@ export class StreamMetadata extends Message<StreamMetadata> {
2429
2499
  */
2430
2500
  value: StreamMetadata_AncillaryMetadata;
2431
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";
2432
2510
  } | { case: undefined; value?: undefined } = { case: undefined };
2433
2511
 
2434
2512
  constructor(data?: PartialMessage<StreamMetadata>) {
@@ -2444,6 +2522,7 @@ export class StreamMetadata extends Message<StreamMetadata> {
2444
2522
  { no: 3, name: "video", kind: "message", T: StreamMetadata_VideoMetadata, oneof: "message" },
2445
2523
  { no: 4, name: "subtitle", kind: "message", T: StreamMetadata_SubtitleMetadata, oneof: "message" },
2446
2524
  { no: 5, name: "ancillary", kind: "message", T: StreamMetadata_AncillaryMetadata, oneof: "message" },
2525
+ { no: 6, name: "playlist", kind: "message", T: StreamMetadata_PlaylistMetadata, oneof: "message" },
2447
2526
  ]);
2448
2527
 
2449
2528
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata {
@@ -2610,6 +2689,39 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
2610
2689
  }
2611
2690
  }
2612
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
+
2613
2725
  /**
2614
2726
  * Metadata for an ancillary stream
2615
2727
  *
@@ -3196,6 +3308,418 @@ export class StreamStatisticsSampling extends Message<StreamStatisticsSampling>
3196
3308
  }
3197
3309
  }
3198
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
+
3199
3723
  /**
3200
3724
  * @generated from message norsk.api.media.ConnectionId
3201
3725
  */
@@ -4004,6 +4528,12 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
4004
4528
  */
4005
4529
  value: RtmpBytesRead;
4006
4530
  case: "bytesRead";
4531
+ } | {
4532
+ /**
4533
+ * @generated from field: norsk.api.media.GopStructure gop_structure = 9;
4534
+ */
4535
+ value: GopStructure;
4536
+ case: "gopStructure";
4007
4537
  } | { case: undefined; value?: undefined } = { case: undefined };
4008
4538
 
4009
4539
  constructor(data?: PartialMessage<RtmpServerInputEvent>) {
@@ -4022,6 +4552,7 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
4022
4552
  { no: 6, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
4023
4553
  { no: 7, name: "error", kind: "message", T: RtmpError, oneof: "message" },
4024
4554
  { no: 8, name: "bytes_read", kind: "message", T: RtmpBytesRead, oneof: "message" },
4555
+ { no: 9, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
4025
4556
  ]);
4026
4557
 
4027
4558
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpServerInputEvent {
@@ -4342,6 +4873,12 @@ export class TsInputEvent extends Message<TsInputEvent> {
4342
4873
  */
4343
4874
  value: MultiStreamStatistics;
4344
4875
  case: "streamStatistics";
4876
+ } | {
4877
+ /**
4878
+ * @generated from field: norsk.api.media.GopStructure gop_structure = 6;
4879
+ */
4880
+ value: GopStructure;
4881
+ case: "gopStructure";
4345
4882
  } | { case: undefined; value?: undefined } = { case: undefined };
4346
4883
 
4347
4884
  constructor(data?: PartialMessage<TsInputEvent>) {
@@ -4357,6 +4894,7 @@ export class TsInputEvent extends Message<TsInputEvent> {
4357
4894
  { no: 3, name: "ts_context", kind: "message", T: TsContext, oneof: "message" },
4358
4895
  { no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
4359
4896
  { no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
4897
+ { no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
4360
4898
  ]);
4361
4899
 
4362
4900
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TsInputEvent {
@@ -5126,6 +5664,12 @@ export class SrtInputEvent extends Message<SrtInputEvent> {
5126
5664
  */
5127
5665
  value: MultiStreamStatistics;
5128
5666
  case: "streamStatistics";
5667
+ } | {
5668
+ /**
5669
+ * @generated from field: norsk.api.media.GopStructure gop_structure = 8;
5670
+ */
5671
+ value: GopStructure;
5672
+ case: "gopStructure";
5129
5673
  } | { case: undefined; value?: undefined } = { case: undefined };
5130
5674
 
5131
5675
  constructor(data?: PartialMessage<SrtInputEvent>) {
@@ -5142,6 +5686,7 @@ export class SrtInputEvent extends Message<SrtInputEvent> {
5142
5686
  { no: 5, name: "on_connected", kind: "message", T: SrtConnectMessage, oneof: "message" },
5143
5687
  { no: 6, name: "status", kind: "message", T: SrtInputStatus, oneof: "message" },
5144
5688
  { no: 7, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
5689
+ { no: 8, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
5145
5690
  ]);
5146
5691
 
5147
5692
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SrtInputEvent {
@@ -7046,51 +7591,67 @@ export class BrowserInputEvent extends Message<BrowserInputEvent> {
7046
7591
  }
7047
7592
 
7048
7593
  /**
7049
- * @generated from message norsk.api.media.WebRtcIceServerConfiguration
7594
+ * @generated from message norsk.api.media.WebRtcConfiguration
7050
7595
  */
7051
- export class WebRtcIceServerConfiguration extends Message<WebRtcIceServerConfiguration> {
7596
+ export class WebRtcConfiguration extends Message<WebRtcConfiguration> {
7052
7597
  /**
7053
7598
  * STUN/TURN servers to use for the Norsk server (and by default report to
7054
7599
  * clients)
7055
7600
  *
7056
- * @generated from field: repeated norsk.api.media.WebRtcIceServer servers = 1;
7601
+ * @generated from field: repeated norsk.api.media.WebRtcIceServer ice_servers = 1;
7057
7602
  */
7058
- servers: WebRtcIceServer[] = [];
7603
+ iceServers: WebRtcIceServer[] = [];
7059
7604
 
7060
7605
  /**
7061
7606
  * STUN/TURN servers to report to a connecting client (eg via WHIP/WHEP). If
7062
7607
  * specified overrides the configuration in servers
7063
7608
  *
7064
- * @generated from field: repeated norsk.api.media.WebRtcIceServer reported_servers = 2;
7609
+ * @generated from field: repeated norsk.api.media.WebRtcIceServer reported_ice_servers = 2;
7610
+ */
7611
+ reportedIceServers: WebRtcIceServer[] = [];
7612
+
7613
+ /**
7614
+ * Server IPs to use instead of the local server IP (optional)
7615
+ *
7616
+ * @generated from field: repeated string hostIps = 3;
7617
+ */
7618
+ hostIps: string[] = [];
7619
+
7620
+ /**
7621
+ * IPs to report as server relexive candiates at session startup (optional)
7622
+ *
7623
+ * @generated from field: repeated string serverReflexiveIps = 4;
7065
7624
  */
7066
- reportedServers: WebRtcIceServer[] = [];
7625
+ serverReflexiveIps: string[] = [];
7067
7626
 
7068
- constructor(data?: PartialMessage<WebRtcIceServerConfiguration>) {
7627
+ constructor(data?: PartialMessage<WebRtcConfiguration>) {
7069
7628
  super();
7070
7629
  proto3.util.initPartial(data, this);
7071
7630
  }
7072
7631
 
7073
7632
  static readonly runtime = proto3;
7074
- static readonly typeName = "norsk.api.media.WebRtcIceServerConfiguration";
7633
+ static readonly typeName = "norsk.api.media.WebRtcConfiguration";
7075
7634
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
7076
- { no: 1, name: "servers", kind: "message", T: WebRtcIceServer, repeated: true },
7077
- { no: 2, name: "reported_servers", kind: "message", T: WebRtcIceServer, repeated: true },
7635
+ { no: 1, name: "ice_servers", kind: "message", T: WebRtcIceServer, repeated: true },
7636
+ { no: 2, name: "reported_ice_servers", kind: "message", T: WebRtcIceServer, repeated: true },
7637
+ { no: 3, name: "hostIps", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
7638
+ { no: 4, name: "serverReflexiveIps", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
7078
7639
  ]);
7079
7640
 
7080
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcIceServerConfiguration {
7081
- return new WebRtcIceServerConfiguration().fromBinary(bytes, options);
7641
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcConfiguration {
7642
+ return new WebRtcConfiguration().fromBinary(bytes, options);
7082
7643
  }
7083
7644
 
7084
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcIceServerConfiguration {
7085
- return new WebRtcIceServerConfiguration().fromJson(jsonValue, options);
7645
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcConfiguration {
7646
+ return new WebRtcConfiguration().fromJson(jsonValue, options);
7086
7647
  }
7087
7648
 
7088
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcIceServerConfiguration {
7089
- return new WebRtcIceServerConfiguration().fromJsonString(jsonString, options);
7649
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcConfiguration {
7650
+ return new WebRtcConfiguration().fromJsonString(jsonString, options);
7090
7651
  }
7091
7652
 
7092
- static equals(a: WebRtcIceServerConfiguration | PlainMessage<WebRtcIceServerConfiguration> | undefined, b: WebRtcIceServerConfiguration | PlainMessage<WebRtcIceServerConfiguration> | undefined): boolean {
7093
- return proto3.util.equals(WebRtcIceServerConfiguration, a, b);
7653
+ static equals(a: WebRtcConfiguration | PlainMessage<WebRtcConfiguration> | undefined, b: WebRtcConfiguration | PlainMessage<WebRtcConfiguration> | undefined): boolean {
7654
+ return proto3.util.equals(WebRtcConfiguration, a, b);
7094
7655
  }
7095
7656
  }
7096
7657
 
@@ -7167,11 +7728,11 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
7167
7728
  statsSampling?: StreamStatisticsSampling;
7168
7729
 
7169
7730
  /**
7170
- * Optionally configure ICE servers (STUN/TURN)
7731
+ * Optionally configure ICE servers (STUN/TURN...)
7171
7732
  *
7172
- * @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 4;
7733
+ * @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 4;
7173
7734
  */
7174
- iceServerConfiguration?: WebRtcIceServerConfiguration;
7735
+ serverConfiguration?: WebRtcConfiguration;
7175
7736
 
7176
7737
  constructor(data?: PartialMessage<WhipInputConfiguration>) {
7177
7738
  super();
@@ -7184,7 +7745,7 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
7184
7745
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
7185
7746
  { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7186
7747
  { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
7187
- { no: 4, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
7748
+ { no: 4, name: "server_configuration", kind: "message", T: WebRtcConfiguration },
7188
7749
  ]);
7189
7750
 
7190
7751
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhipInputConfiguration {
@@ -10715,6 +11276,12 @@ export class HlsOutputEvent extends Message<HlsOutputEvent> {
10715
11276
  */
10716
11277
  value: MultiStreamStatistics;
10717
11278
  case: "streamStatistics";
11279
+ } | {
11280
+ /**
11281
+ * @generated from field: norsk.api.media.Context outbound_context = 5;
11282
+ */
11283
+ value: Context;
11284
+ case: "outboundContext";
10718
11285
  } | { case: undefined; value?: undefined } = { case: undefined };
10719
11286
 
10720
11287
  constructor(data?: PartialMessage<HlsOutputEvent>) {
@@ -10729,6 +11296,7 @@ export class HlsOutputEvent extends Message<HlsOutputEvent> {
10729
11296
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
10730
11297
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
10731
11298
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
11299
+ { no: 5, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
10732
11300
  ]);
10733
11301
 
10734
11302
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsOutputEvent {
@@ -11321,9 +11889,9 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
11321
11889
  /**
11322
11890
  * Optionally configure ICE servers (STUN/TURN)
11323
11891
  *
11324
- * @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 3;
11892
+ * @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 3;
11325
11893
  */
11326
- iceServerConfiguration?: WebRtcIceServerConfiguration;
11894
+ serverConfiguration?: WebRtcConfiguration;
11327
11895
 
11328
11896
  /**
11329
11897
  * @generated from field: uint32 buffer_delay_ms = 4;
@@ -11340,7 +11908,7 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
11340
11908
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
11341
11909
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11342
11910
  { no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11343
- { no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
11911
+ { no: 3, name: "server_configuration", kind: "message", T: WebRtcConfiguration },
11344
11912
  { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
11345
11913
  ]);
11346
11914
 
@@ -11499,9 +12067,9 @@ export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
11499
12067
  /**
11500
12068
  * Optionally configure ICE servers (STUN/TURN)
11501
12069
  *
11502
- * @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 3;
12070
+ * @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 3;
11503
12071
  */
11504
- iceServerConfiguration?: WebRtcIceServerConfiguration;
12072
+ serverConfiguration?: WebRtcConfiguration;
11505
12073
 
11506
12074
  /**
11507
12075
  * @generated from field: uint32 buffer_delay_ms = 4;
@@ -11518,7 +12086,7 @@ export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
11518
12086
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
11519
12087
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11520
12088
  { no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11521
- { no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
12089
+ { no: 3, name: "server_configuration", kind: "message", T: WebRtcConfiguration },
11522
12090
  { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
11523
12091
  ]);
11524
12092
 
@@ -13303,6 +13871,18 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
13303
13871
  */
13304
13872
  value: QuadraHevc;
13305
13873
  case: "quadraHevc";
13874
+ } | {
13875
+ /**
13876
+ * @generated from field: norsk.api.media.XilinxH264 xilinxH264 = 13;
13877
+ */
13878
+ value: XilinxH264;
13879
+ case: "xilinxH264";
13880
+ } | {
13881
+ /**
13882
+ * @generated from field: norsk.api.media.XilinxHevc xilinxHevc = 14;
13883
+ */
13884
+ value: XilinxHevc;
13885
+ case: "xilinxHevc";
13306
13886
  } | { case: undefined; value?: undefined } = { case: undefined };
13307
13887
 
13308
13888
  constructor(data?: PartialMessage<VideoEncodeStream>) {
@@ -13325,6 +13905,8 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
13325
13905
  { no: 10, name: "loganHevc", kind: "message", T: LoganHevc, oneof: "codec" },
13326
13906
  { no: 11, name: "quadraH264", kind: "message", T: QuadraH264, oneof: "codec" },
13327
13907
  { no: 12, name: "quadraHevc", kind: "message", T: QuadraHevc, oneof: "codec" },
13908
+ { no: 13, name: "xilinxH264", kind: "message", T: XilinxH264, oneof: "codec" },
13909
+ { no: 14, name: "xilinxHevc", kind: "message", T: XilinxHevc, oneof: "codec" },
13328
13910
  ]);
13329
13911
 
13330
13912
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeStream {
@@ -14571,6 +15153,188 @@ proto3.util.setEnumType(LoganHevc_LoganHevcTier, "norsk.api.media.LoganHevc.Loga
14571
15153
  { no: 1, name: "LOGAN_HEVC_TIER_HIGH" },
14572
15154
  ]);
14573
15155
 
15156
+ /**
15157
+ * @generated from message norsk.api.media.XilinxH264
15158
+ */
15159
+ export class XilinxH264 extends Message<XilinxH264> {
15160
+ /**
15161
+ * @generated from field: norsk.api.media.XilinxH264.XilinxH264Profile profile = 1;
15162
+ */
15163
+ profile = XilinxH264_XilinxH264Profile.DEFAULT;
15164
+
15165
+ /**
15166
+ * @generated from field: norsk.api.media.OptionalInt level = 2;
15167
+ */
15168
+ level?: OptionalInt;
15169
+
15170
+ constructor(data?: PartialMessage<XilinxH264>) {
15171
+ super();
15172
+ proto3.util.initPartial(data, this);
15173
+ }
15174
+
15175
+ static readonly runtime = proto3;
15176
+ static readonly typeName = "norsk.api.media.XilinxH264";
15177
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
15178
+ { no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxH264_XilinxH264Profile) },
15179
+ { no: 2, name: "level", kind: "message", T: OptionalInt },
15180
+ ]);
15181
+
15182
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxH264 {
15183
+ return new XilinxH264().fromBinary(bytes, options);
15184
+ }
15185
+
15186
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxH264 {
15187
+ return new XilinxH264().fromJson(jsonValue, options);
15188
+ }
15189
+
15190
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxH264 {
15191
+ return new XilinxH264().fromJsonString(jsonString, options);
15192
+ }
15193
+
15194
+ static equals(a: XilinxH264 | PlainMessage<XilinxH264> | undefined, b: XilinxH264 | PlainMessage<XilinxH264> | undefined): boolean {
15195
+ return proto3.util.equals(XilinxH264, a, b);
15196
+ }
15197
+ }
15198
+
15199
+ /**
15200
+ * @generated from enum norsk.api.media.XilinxH264.XilinxH264Profile
15201
+ */
15202
+ export enum XilinxH264_XilinxH264Profile {
15203
+ /**
15204
+ * @generated from enum value: XILINX_H264_PROFILE_DEFAULT = 0;
15205
+ */
15206
+ DEFAULT = 0,
15207
+
15208
+ /**
15209
+ * @generated from enum value: XILINX_H264_PROFILE_BASELINE = 1;
15210
+ */
15211
+ BASELINE = 1,
15212
+
15213
+ /**
15214
+ * @generated from enum value: XILINX_H264_PROFILE_MAIN = 2;
15215
+ */
15216
+ MAIN = 2,
15217
+
15218
+ /**
15219
+ * @generated from enum value: XILINX_H264_PROFILE_EXTENDED = 3;
15220
+ */
15221
+ EXTENDED = 3,
15222
+
15223
+ /**
15224
+ * @generated from enum value: XILINX_H264_PROFILE_HIGH = 4;
15225
+ */
15226
+ HIGH = 4,
15227
+
15228
+ /**
15229
+ * @generated from enum value: XILINX_H264_PROFILE_HIGH10 = 5;
15230
+ */
15231
+ HIGH10 = 5,
15232
+ }
15233
+ // Retrieve enum metadata with: proto3.getEnumType(XilinxH264_XilinxH264Profile)
15234
+ proto3.util.setEnumType(XilinxH264_XilinxH264Profile, "norsk.api.media.XilinxH264.XilinxH264Profile", [
15235
+ { no: 0, name: "XILINX_H264_PROFILE_DEFAULT" },
15236
+ { no: 1, name: "XILINX_H264_PROFILE_BASELINE" },
15237
+ { no: 2, name: "XILINX_H264_PROFILE_MAIN" },
15238
+ { no: 3, name: "XILINX_H264_PROFILE_EXTENDED" },
15239
+ { no: 4, name: "XILINX_H264_PROFILE_HIGH" },
15240
+ { no: 5, name: "XILINX_H264_PROFILE_HIGH10" },
15241
+ ]);
15242
+
15243
+ /**
15244
+ * @generated from message norsk.api.media.XilinxHevc
15245
+ */
15246
+ export class XilinxHevc extends Message<XilinxHevc> {
15247
+ /**
15248
+ * @generated from field: norsk.api.media.XilinxHevc.XilinxHevcTier tier = 1;
15249
+ */
15250
+ tier = XilinxHevc_XilinxHevcTier.MAIN;
15251
+
15252
+ /**
15253
+ * @generated from field: norsk.api.media.XilinxHevc.XilinxHevcProfile profile = 2;
15254
+ */
15255
+ profile = XilinxHevc_XilinxHevcProfile.DEFAULT;
15256
+
15257
+ /**
15258
+ * @generated from field: norsk.api.media.OptionalInt level = 3;
15259
+ */
15260
+ level?: OptionalInt;
15261
+
15262
+ constructor(data?: PartialMessage<XilinxHevc>) {
15263
+ super();
15264
+ proto3.util.initPartial(data, this);
15265
+ }
15266
+
15267
+ static readonly runtime = proto3;
15268
+ static readonly typeName = "norsk.api.media.XilinxHevc";
15269
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
15270
+ { no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(XilinxHevc_XilinxHevcTier) },
15271
+ { no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxHevc_XilinxHevcProfile) },
15272
+ { no: 3, name: "level", kind: "message", T: OptionalInt },
15273
+ ]);
15274
+
15275
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxHevc {
15276
+ return new XilinxHevc().fromBinary(bytes, options);
15277
+ }
15278
+
15279
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxHevc {
15280
+ return new XilinxHevc().fromJson(jsonValue, options);
15281
+ }
15282
+
15283
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxHevc {
15284
+ return new XilinxHevc().fromJsonString(jsonString, options);
15285
+ }
15286
+
15287
+ static equals(a: XilinxHevc | PlainMessage<XilinxHevc> | undefined, b: XilinxHevc | PlainMessage<XilinxHevc> | undefined): boolean {
15288
+ return proto3.util.equals(XilinxHevc, a, b);
15289
+ }
15290
+ }
15291
+
15292
+ /**
15293
+ * @generated from enum norsk.api.media.XilinxHevc.XilinxHevcProfile
15294
+ */
15295
+ export enum XilinxHevc_XilinxHevcProfile {
15296
+ /**
15297
+ * @generated from enum value: XILINX_HEVC_PROFILE_DEFAULT = 0;
15298
+ */
15299
+ DEFAULT = 0,
15300
+
15301
+ /**
15302
+ * @generated from enum value: XILINX_HEVC_PROFILE_MAIN = 1;
15303
+ */
15304
+ MAIN = 1,
15305
+
15306
+ /**
15307
+ * @generated from enum value: XILINX_HEVC_PROFILE_MAIN10 = 2;
15308
+ */
15309
+ MAIN10 = 2,
15310
+ }
15311
+ // Retrieve enum metadata with: proto3.getEnumType(XilinxHevc_XilinxHevcProfile)
15312
+ proto3.util.setEnumType(XilinxHevc_XilinxHevcProfile, "norsk.api.media.XilinxHevc.XilinxHevcProfile", [
15313
+ { no: 0, name: "XILINX_HEVC_PROFILE_DEFAULT" },
15314
+ { no: 1, name: "XILINX_HEVC_PROFILE_MAIN" },
15315
+ { no: 2, name: "XILINX_HEVC_PROFILE_MAIN10" },
15316
+ ]);
15317
+
15318
+ /**
15319
+ * @generated from enum norsk.api.media.XilinxHevc.XilinxHevcTier
15320
+ */
15321
+ export enum XilinxHevc_XilinxHevcTier {
15322
+ /**
15323
+ * @generated from enum value: XILINX_HEVC_TIER_MAIN = 0;
15324
+ */
15325
+ MAIN = 0,
15326
+
15327
+ /**
15328
+ * @generated from enum value: XILINX_HEVC_TIER_HIGH = 1;
15329
+ */
15330
+ HIGH = 1,
15331
+ }
15332
+ // Retrieve enum metadata with: proto3.getEnumType(XilinxHevc_XilinxHevcTier)
15333
+ proto3.util.setEnumType(XilinxHevc_XilinxHevcTier, "norsk.api.media.XilinxHevc.XilinxHevcTier", [
15334
+ { no: 0, name: "XILINX_HEVC_TIER_MAIN" },
15335
+ { no: 1, name: "XILINX_HEVC_TIER_HIGH" },
15336
+ ]);
15337
+
14574
15338
  /**
14575
15339
  * @generated from message norsk.api.media.VideoTransformConfiguration
14576
15340
  */
@@ -17886,6 +18650,8 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
17886
18650
  case: "subscription";
17887
18651
  } | {
17888
18652
  /**
18653
+ * Scte104Event scte104_event = 4;
18654
+ *
17889
18655
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
17890
18656
  */
17891
18657
  value: Scte35Event;
@@ -17949,10 +18715,18 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
17949
18715
  case: "subscriptionResponse";
17950
18716
  } | {
17951
18717
  /**
18718
+ * Scte104Event scte104_event = 5;
18719
+ *
17952
18720
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
17953
18721
  */
17954
18722
  value: Scte35Event;
17955
18723
  case: "scte35Event";
18724
+ } | {
18725
+ /**
18726
+ * @generated from field: norsk.api.media.Smpte2038Message smpte2038_message = 6;
18727
+ */
18728
+ value: Smpte2038Message;
18729
+ case: "smpte2038Message";
17956
18730
  } | { case: undefined; value?: undefined } = { case: undefined };
17957
18731
 
17958
18732
  constructor(data?: PartialMessage<AncillaryEvent>) {
@@ -17967,6 +18741,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
17967
18741
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17968
18742
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17969
18743
  { no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
18744
+ { no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
17970
18745
  ]);
17971
18746
 
17972
18747
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
@@ -18029,6 +18804,122 @@ export class Scte35Event extends Message<Scte35Event> {
18029
18804
  }
18030
18805
  }
18031
18806
 
18807
+ /**
18808
+ * @generated from message norsk.api.media.Smpte2038Message
18809
+ */
18810
+ export class Smpte2038Message extends Message<Smpte2038Message> {
18811
+ /**
18812
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
18813
+ */
18814
+ stream?: StreamKey;
18815
+
18816
+ /**
18817
+ * @generated from field: bool c_not_y_channel_flag = 2;
18818
+ */
18819
+ cNotYChannelFlag = false;
18820
+
18821
+ /**
18822
+ * @generated from field: uint32 line_number = 3;
18823
+ */
18824
+ lineNumber = 0;
18825
+
18826
+ /**
18827
+ * @generated from field: uint32 horizontal_offset = 4;
18828
+ */
18829
+ horizontalOffset = 0;
18830
+
18831
+ /**
18832
+ * @generated from field: norsk.api.media.VancPayloadFormat payload_format = 5;
18833
+ */
18834
+ payloadFormat = VancPayloadFormat.VANC_OTHER;
18835
+
18836
+ /**
18837
+ * @generated from field: norsk.api.media.VancType2AncillaryId ancillary_id = 6;
18838
+ */
18839
+ ancillaryId?: VancType2AncillaryId;
18840
+
18841
+ /**
18842
+ * @generated from field: bytes user_data = 7;
18843
+ */
18844
+ userData = new Uint8Array(0);
18845
+
18846
+ constructor(data?: PartialMessage<Smpte2038Message>) {
18847
+ super();
18848
+ proto3.util.initPartial(data, this);
18849
+ }
18850
+
18851
+ static readonly runtime = proto3;
18852
+ static readonly typeName = "norsk.api.media.Smpte2038Message";
18853
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18854
+ { no: 1, name: "stream", kind: "message", T: StreamKey },
18855
+ { no: 2, name: "c_not_y_channel_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18856
+ { no: 3, name: "line_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18857
+ { no: 4, name: "horizontal_offset", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18858
+ { no: 5, name: "payload_format", kind: "enum", T: proto3.getEnumType(VancPayloadFormat) },
18859
+ { no: 6, name: "ancillary_id", kind: "message", T: VancType2AncillaryId },
18860
+ { no: 7, name: "user_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
18861
+ ]);
18862
+
18863
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Smpte2038Message {
18864
+ return new Smpte2038Message().fromBinary(bytes, options);
18865
+ }
18866
+
18867
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Smpte2038Message {
18868
+ return new Smpte2038Message().fromJson(jsonValue, options);
18869
+ }
18870
+
18871
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Smpte2038Message {
18872
+ return new Smpte2038Message().fromJsonString(jsonString, options);
18873
+ }
18874
+
18875
+ static equals(a: Smpte2038Message | PlainMessage<Smpte2038Message> | undefined, b: Smpte2038Message | PlainMessage<Smpte2038Message> | undefined): boolean {
18876
+ return proto3.util.equals(Smpte2038Message, a, b);
18877
+ }
18878
+ }
18879
+
18880
+ /**
18881
+ * @generated from message norsk.api.media.VancType2AncillaryId
18882
+ */
18883
+ export class VancType2AncillaryId extends Message<VancType2AncillaryId> {
18884
+ /**
18885
+ * @generated from field: uint32 did = 1;
18886
+ */
18887
+ did = 0;
18888
+
18889
+ /**
18890
+ * @generated from field: uint32 sdid = 2;
18891
+ */
18892
+ sdid = 0;
18893
+
18894
+ constructor(data?: PartialMessage<VancType2AncillaryId>) {
18895
+ super();
18896
+ proto3.util.initPartial(data, this);
18897
+ }
18898
+
18899
+ static readonly runtime = proto3;
18900
+ static readonly typeName = "norsk.api.media.VancType2AncillaryId";
18901
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18902
+ { no: 1, name: "did", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18903
+ { no: 2, name: "sdid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18904
+ ]);
18905
+
18906
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VancType2AncillaryId {
18907
+ return new VancType2AncillaryId().fromBinary(bytes, options);
18908
+ }
18909
+
18910
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VancType2AncillaryId {
18911
+ return new VancType2AncillaryId().fromJson(jsonValue, options);
18912
+ }
18913
+
18914
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VancType2AncillaryId {
18915
+ return new VancType2AncillaryId().fromJsonString(jsonString, options);
18916
+ }
18917
+
18918
+ static equals(a: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined, b: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined): boolean {
18919
+ return proto3.util.equals(VancType2AncillaryId, a, b);
18920
+ }
18921
+ }
18922
+
18032
18923
  /**
18033
18924
  * @generated from message norsk.api.media.Scte35SpliceInfoSection
18034
18925
  */