@norskvideo/norsk-api 1.0.332 → 1.0.334

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
@@ -2924,6 +2924,14 @@ export class MultiStreamStatistics extends Message<MultiStreamStatistics> {
2924
2924
  */
2925
2925
  allStreams: MultiStreamStatistics_SingleStreamStatistics[] = [];
2926
2926
 
2927
+ /**
2928
+ * Either `"default"`, if there is only one direction, or `"input"`/`"output"`
2929
+ * (for duplex nodes, where there are two directions)
2930
+ *
2931
+ * @generated from field: string label = 3;
2932
+ */
2933
+ label = "";
2934
+
2927
2935
  constructor(data?: PartialMessage<MultiStreamStatistics>) {
2928
2936
  super();
2929
2937
  proto3.util.initPartial(data, this);
@@ -2934,6 +2942,7 @@ export class MultiStreamStatistics extends Message<MultiStreamStatistics> {
2934
2942
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
2935
2943
  { no: 1, name: "sample_size_seconds", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2936
2944
  { no: 2, name: "all_streams", kind: "message", T: MultiStreamStatistics_SingleStreamStatistics, repeated: true },
2945
+ { no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2937
2946
  ]);
2938
2947
 
2939
2948
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultiStreamStatistics {
@@ -3614,6 +3623,186 @@ export class RtmpOnStream extends Message<RtmpOnStream> {
3614
3623
  }
3615
3624
  }
3616
3625
 
3626
+ /**
3627
+ * *
3628
+ * Sent to your code when an error is detected on an active connection.
3629
+ * Typically you will receive a disconnected event immediately after
3630
+ *
3631
+ * @generated from message norsk.api.media.RtmpError
3632
+ */
3633
+ export class RtmpError extends Message<RtmpError> {
3634
+ /**
3635
+ * @generated from field: norsk.api.media.ConnectionId connection_id = 1;
3636
+ */
3637
+ connectionId?: ConnectionId;
3638
+
3639
+ /**
3640
+ * @generated from oneof norsk.api.media.RtmpError.error
3641
+ */
3642
+ error: {
3643
+ /**
3644
+ * @generated from field: norsk.api.media.RtmpError.UnsupportedVideo unsupported_video = 2;
3645
+ */
3646
+ value: RtmpError_UnsupportedVideo;
3647
+ case: "unsupportedVideo";
3648
+ } | {
3649
+ /**
3650
+ * @generated from field: norsk.api.media.RtmpError.UnsupportedAudio unsupported_audio = 3;
3651
+ */
3652
+ value: RtmpError_UnsupportedAudio;
3653
+ case: "unsupportedAudio";
3654
+ } | { case: undefined; value?: undefined } = { case: undefined };
3655
+
3656
+ constructor(data?: PartialMessage<RtmpError>) {
3657
+ super();
3658
+ proto3.util.initPartial(data, this);
3659
+ }
3660
+
3661
+ static readonly runtime = proto3;
3662
+ static readonly typeName = "norsk.api.media.RtmpError";
3663
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3664
+ { no: 1, name: "connection_id", kind: "message", T: ConnectionId },
3665
+ { no: 2, name: "unsupported_video", kind: "message", T: RtmpError_UnsupportedVideo, oneof: "error" },
3666
+ { no: 3, name: "unsupported_audio", kind: "message", T: RtmpError_UnsupportedAudio, oneof: "error" },
3667
+ ]);
3668
+
3669
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError {
3670
+ return new RtmpError().fromBinary(bytes, options);
3671
+ }
3672
+
3673
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError {
3674
+ return new RtmpError().fromJson(jsonValue, options);
3675
+ }
3676
+
3677
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError {
3678
+ return new RtmpError().fromJsonString(jsonString, options);
3679
+ }
3680
+
3681
+ static equals(a: RtmpError | PlainMessage<RtmpError> | undefined, b: RtmpError | PlainMessage<RtmpError> | undefined): boolean {
3682
+ return proto3.util.equals(RtmpError, a, b);
3683
+ }
3684
+ }
3685
+
3686
+ /**
3687
+ * @generated from message norsk.api.media.RtmpError.UnsupportedVideo
3688
+ */
3689
+ export class RtmpError_UnsupportedVideo extends Message<RtmpError_UnsupportedVideo> {
3690
+ /**
3691
+ * @generated from field: string type = 1;
3692
+ */
3693
+ type = "";
3694
+
3695
+ constructor(data?: PartialMessage<RtmpError_UnsupportedVideo>) {
3696
+ super();
3697
+ proto3.util.initPartial(data, this);
3698
+ }
3699
+
3700
+ static readonly runtime = proto3;
3701
+ static readonly typeName = "norsk.api.media.RtmpError.UnsupportedVideo";
3702
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3703
+ { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3704
+ ]);
3705
+
3706
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError_UnsupportedVideo {
3707
+ return new RtmpError_UnsupportedVideo().fromBinary(bytes, options);
3708
+ }
3709
+
3710
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedVideo {
3711
+ return new RtmpError_UnsupportedVideo().fromJson(jsonValue, options);
3712
+ }
3713
+
3714
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedVideo {
3715
+ return new RtmpError_UnsupportedVideo().fromJsonString(jsonString, options);
3716
+ }
3717
+
3718
+ static equals(a: RtmpError_UnsupportedVideo | PlainMessage<RtmpError_UnsupportedVideo> | undefined, b: RtmpError_UnsupportedVideo | PlainMessage<RtmpError_UnsupportedVideo> | undefined): boolean {
3719
+ return proto3.util.equals(RtmpError_UnsupportedVideo, a, b);
3720
+ }
3721
+ }
3722
+
3723
+ /**
3724
+ * @generated from message norsk.api.media.RtmpError.UnsupportedAudio
3725
+ */
3726
+ export class RtmpError_UnsupportedAudio extends Message<RtmpError_UnsupportedAudio> {
3727
+ /**
3728
+ * @generated from field: string type = 1;
3729
+ */
3730
+ type = "";
3731
+
3732
+ constructor(data?: PartialMessage<RtmpError_UnsupportedAudio>) {
3733
+ super();
3734
+ proto3.util.initPartial(data, this);
3735
+ }
3736
+
3737
+ static readonly runtime = proto3;
3738
+ static readonly typeName = "norsk.api.media.RtmpError.UnsupportedAudio";
3739
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3740
+ { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3741
+ ]);
3742
+
3743
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError_UnsupportedAudio {
3744
+ return new RtmpError_UnsupportedAudio().fromBinary(bytes, options);
3745
+ }
3746
+
3747
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedAudio {
3748
+ return new RtmpError_UnsupportedAudio().fromJson(jsonValue, options);
3749
+ }
3750
+
3751
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedAudio {
3752
+ return new RtmpError_UnsupportedAudio().fromJsonString(jsonString, options);
3753
+ }
3754
+
3755
+ static equals(a: RtmpError_UnsupportedAudio | PlainMessage<RtmpError_UnsupportedAudio> | undefined, b: RtmpError_UnsupportedAudio | PlainMessage<RtmpError_UnsupportedAudio> | undefined): boolean {
3756
+ return proto3.util.equals(RtmpError_UnsupportedAudio, a, b);
3757
+ }
3758
+ }
3759
+
3760
+ /**
3761
+ * *
3762
+ * Sent to your code when a bytes-read report is received from the peer
3763
+ *
3764
+ * @generated from message norsk.api.media.RtmpBytesRead
3765
+ */
3766
+ export class RtmpBytesRead extends Message<RtmpBytesRead> {
3767
+ /**
3768
+ * @generated from field: norsk.api.media.ConnectionId connection_id = 1;
3769
+ */
3770
+ connectionId?: ConnectionId;
3771
+
3772
+ /**
3773
+ * @generated from field: int64 bytes_read = 2;
3774
+ */
3775
+ bytesRead = protoInt64.zero;
3776
+
3777
+ constructor(data?: PartialMessage<RtmpBytesRead>) {
3778
+ super();
3779
+ proto3.util.initPartial(data, this);
3780
+ }
3781
+
3782
+ static readonly runtime = proto3;
3783
+ static readonly typeName = "norsk.api.media.RtmpBytesRead";
3784
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3785
+ { no: 1, name: "connection_id", kind: "message", T: ConnectionId },
3786
+ { no: 2, name: "bytes_read", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3787
+ ]);
3788
+
3789
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpBytesRead {
3790
+ return new RtmpBytesRead().fromBinary(bytes, options);
3791
+ }
3792
+
3793
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpBytesRead {
3794
+ return new RtmpBytesRead().fromJson(jsonValue, options);
3795
+ }
3796
+
3797
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpBytesRead {
3798
+ return new RtmpBytesRead().fromJsonString(jsonString, options);
3799
+ }
3800
+
3801
+ static equals(a: RtmpBytesRead | PlainMessage<RtmpBytesRead> | undefined, b: RtmpBytesRead | PlainMessage<RtmpBytesRead> | undefined): boolean {
3802
+ return proto3.util.equals(RtmpBytesRead, a, b);
3803
+ }
3804
+ }
3805
+
3617
3806
  /**
3618
3807
  * *
3619
3808
  * Messages that Norsk can send to your code in response to various RTMP
@@ -3661,6 +3850,18 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
3661
3850
  */
3662
3851
  value: MultiStreamStatistics;
3663
3852
  case: "streamStatistics";
3853
+ } | {
3854
+ /**
3855
+ * @generated from field: norsk.api.media.RtmpError error = 7;
3856
+ */
3857
+ value: RtmpError;
3858
+ case: "error";
3859
+ } | {
3860
+ /**
3861
+ * @generated from field: norsk.api.media.RtmpBytesRead bytes_read = 8;
3862
+ */
3863
+ value: RtmpBytesRead;
3864
+ case: "bytesRead";
3664
3865
  } | { case: undefined; value?: undefined } = { case: undefined };
3665
3866
 
3666
3867
  constructor(data?: PartialMessage<RtmpServerInputEvent>) {
@@ -3677,6 +3878,8 @@ export class RtmpServerInputEvent extends Message<RtmpServerInputEvent> {
3677
3878
  { no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
3678
3879
  { no: 5, name: "status", kind: "message", T: RtmpServerInputStatus, oneof: "message" },
3679
3880
  { no: 6, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
3881
+ { no: 7, name: "error", kind: "message", T: RtmpError, oneof: "message" },
3882
+ { no: 8, name: "bytes_read", kind: "message", T: RtmpBytesRead, oneof: "message" },
3680
3883
  ]);
3681
3884
 
3682
3885
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpServerInputEvent {
@@ -6961,7 +7164,8 @@ export class ComposePart extends Message<ComposePart> {
6961
7164
  * in percentage terms, or a notional resolution can be used that is
6962
7165
  * independant of the source resolutions that may be provided.
6963
7166
  *
6964
- * If unset, this will be overriden by a global reference resolution if present
7167
+ * If unset, this will be overriden by a global reference resolution if
7168
+ * present
6965
7169
  *
6966
7170
  *
6967
7171
  * @generated from field: norsk.api.media.Resolution reference_resolution = 8;
@@ -7263,10 +7467,10 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
7263
7467
  parts: ComposePart[] = [];
7264
7468
 
7265
7469
  /**
7266
- * * Optionally supply a fallback reference resolution. This allows description of the
7267
- * composition in a desired coordinate system, e.g. a resolution of 100x100
7268
- * can be specified to allow the source and destination areas to be described
7269
- * in percentage terms, or a notional resolution can be used that is
7470
+ * * Optionally supply a fallback reference resolution. This allows description
7471
+ * of the composition in a desired coordinate system, e.g. a resolution of
7472
+ * 100x100 can be specified to allow the source and destination areas to be
7473
+ * described in percentage terms, or a notional resolution can be used that is
7270
7474
  * independant of the source resolutions that may be provided.
7271
7475
  *
7272
7476
  * if set here, this reference resolution will be applied to
@@ -9128,6 +9332,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
9128
9332
  */
9129
9333
  statsSampling?: StreamStatisticsSampling;
9130
9334
 
9335
+ /**
9336
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
9337
+ */
9338
+ destinations: CMAFDestination[] = [];
9339
+
9131
9340
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
9132
9341
  super();
9133
9342
  proto3.util.initPartial(data, this);
@@ -9140,6 +9349,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
9140
9349
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9141
9350
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9142
9351
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9352
+ { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9143
9353
  ]);
9144
9354
 
9145
9355
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -9178,6 +9388,12 @@ export class HlsTsVideoMessage extends Message<HlsTsVideoMessage> {
9178
9388
  */
9179
9389
  value: HlsTsVideoConfiguration;
9180
9390
  case: "configuration";
9391
+ } | {
9392
+ /**
9393
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
9394
+ */
9395
+ value: UpdateCredentials;
9396
+ case: "updateCredentials";
9181
9397
  } | { case: undefined; value?: undefined } = { case: undefined };
9182
9398
 
9183
9399
  constructor(data?: PartialMessage<HlsTsVideoMessage>) {
@@ -9190,6 +9406,7 @@ export class HlsTsVideoMessage extends Message<HlsTsVideoMessage> {
9190
9406
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
9191
9407
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9192
9408
  { no: 2, name: "configuration", kind: "message", T: HlsTsVideoConfiguration, oneof: "message" },
9409
+ { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
9193
9410
  ]);
9194
9411
 
9195
9412
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoMessage {
@@ -9363,6 +9580,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
9363
9580
  */
9364
9581
  statsSampling?: StreamStatisticsSampling;
9365
9582
 
9583
+ /**
9584
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
9585
+ */
9586
+ destinations: CMAFDestination[] = [];
9587
+
9366
9588
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
9367
9589
  super();
9368
9590
  proto3.util.initPartial(data, this);
@@ -9375,6 +9597,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
9375
9597
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9376
9598
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9377
9599
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9600
+ { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9378
9601
  ]);
9379
9602
 
9380
9603
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -9413,6 +9636,12 @@ export class HlsTsAudioMessage extends Message<HlsTsAudioMessage> {
9413
9636
  */
9414
9637
  value: HlsTsAudioConfiguration;
9415
9638
  case: "configuration";
9639
+ } | {
9640
+ /**
9641
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
9642
+ */
9643
+ value: UpdateCredentials;
9644
+ case: "updateCredentials";
9416
9645
  } | { case: undefined; value?: undefined } = { case: undefined };
9417
9646
 
9418
9647
  constructor(data?: PartialMessage<HlsTsAudioMessage>) {
@@ -9425,6 +9654,7 @@ export class HlsTsAudioMessage extends Message<HlsTsAudioMessage> {
9425
9654
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
9426
9655
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9427
9656
  { no: 2, name: "configuration", kind: "message", T: HlsTsAudioConfiguration, oneof: "message" },
9657
+ { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
9428
9658
  ]);
9429
9659
 
9430
9660
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioMessage {
@@ -9464,9 +9694,24 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
9464
9694
  delayOutputMs = 0;
9465
9695
 
9466
9696
  /**
9467
- * @generated from field: string sessionId = 4;
9697
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
9468
9698
  */
9469
- sessionId = "";
9699
+ destinations: CMAFDestination[] = [];
9700
+
9701
+ /**
9702
+ * @generated from field: string hls_cache_directory = 6;
9703
+ */
9704
+ hlsCacheDirectory = "";
9705
+
9706
+ /**
9707
+ * @generated from field: uint32 maximum_playlist_segments = 7;
9708
+ */
9709
+ maximumPlaylistSegments = 0;
9710
+
9711
+ /**
9712
+ * @generated from field: norsk.api.media.Interval pts_adjustment = 8;
9713
+ */
9714
+ ptsAdjustment?: Interval;
9470
9715
 
9471
9716
  constructor(data?: PartialMessage<CmafWebVttConfiguration>) {
9472
9717
  super();
@@ -9479,7 +9724,10 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
9479
9724
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
9480
9725
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9481
9726
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9482
- { no: 4, name: "sessionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9727
+ { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9728
+ { no: 6, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9729
+ { no: 7, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
9730
+ { no: 8, name: "pts_adjustment", kind: "message", T: Interval },
9483
9731
  ]);
9484
9732
 
9485
9733
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttConfiguration {
@@ -9499,6 +9747,70 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
9499
9747
  }
9500
9748
  }
9501
9749
 
9750
+ /**
9751
+ * TODO rethink this, not exposed to SDK yet
9752
+ * Only credentials are updateable
9753
+ *
9754
+ * @generated from message norsk.api.media.CmafWebVttUpdateConfiguration
9755
+ */
9756
+ export class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfiguration> {
9757
+ /**
9758
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
9759
+ */
9760
+ id?: MediaNodeId;
9761
+
9762
+ /**
9763
+ * @generated from field: float retention_period_seconds = 2;
9764
+ */
9765
+ retentionPeriodSeconds = 0;
9766
+
9767
+ /**
9768
+ * @generated from field: uint32 maximum_playlist_segments = 3;
9769
+ */
9770
+ maximumPlaylistSegments = 0;
9771
+
9772
+ /**
9773
+ * @generated from field: norsk.api.media.Interval pts_adjustment = 4;
9774
+ */
9775
+ ptsAdjustment?: Interval;
9776
+
9777
+ /**
9778
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
9779
+ */
9780
+ updateCredentials?: UpdateCredentials;
9781
+
9782
+ constructor(data?: PartialMessage<CmafWebVttUpdateConfiguration>) {
9783
+ super();
9784
+ proto3.util.initPartial(data, this);
9785
+ }
9786
+
9787
+ static readonly runtime = proto3;
9788
+ static readonly typeName = "norsk.api.media.CmafWebVttUpdateConfiguration";
9789
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
9790
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
9791
+ { no: 2, name: "retention_period_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9792
+ { no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
9793
+ { no: 4, name: "pts_adjustment", kind: "message", T: Interval },
9794
+ { no: 5, name: "update_credentials", kind: "message", T: UpdateCredentials },
9795
+ ]);
9796
+
9797
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttUpdateConfiguration {
9798
+ return new CmafWebVttUpdateConfiguration().fromBinary(bytes, options);
9799
+ }
9800
+
9801
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttUpdateConfiguration {
9802
+ return new CmafWebVttUpdateConfiguration().fromJson(jsonValue, options);
9803
+ }
9804
+
9805
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttUpdateConfiguration {
9806
+ return new CmafWebVttUpdateConfiguration().fromJsonString(jsonString, options);
9807
+ }
9808
+
9809
+ static equals(a: CmafWebVttUpdateConfiguration | PlainMessage<CmafWebVttUpdateConfiguration> | undefined, b: CmafWebVttUpdateConfiguration | PlainMessage<CmafWebVttUpdateConfiguration> | undefined): boolean {
9810
+ return proto3.util.equals(CmafWebVttUpdateConfiguration, a, b);
9811
+ }
9812
+ }
9813
+
9502
9814
  /**
9503
9815
  * @generated from message norsk.api.media.AwsCredentials
9504
9816
  */
@@ -9592,171 +9904,51 @@ export class UpdateCredentials extends Message<UpdateCredentials> {
9592
9904
  }
9593
9905
 
9594
9906
  /**
9595
- * @generated from message norsk.api.media.HlsWebVttPushConfiguration
9907
+ * @generated from message norsk.api.media.CmafWebVttMessage
9596
9908
  */
9597
- export class HlsWebVttPushConfiguration extends Message<HlsWebVttPushConfiguration> {
9598
- /**
9599
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
9600
- */
9601
- id?: MediaNodeId;
9602
-
9909
+ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
9603
9910
  /**
9604
- * @generated from field: float segment_duration_seconds = 2;
9911
+ * @generated from oneof norsk.api.media.CmafWebVttMessage.message
9605
9912
  */
9606
- segmentDurationSeconds = 0;
9913
+ message: {
9914
+ /**
9915
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
9916
+ */
9917
+ value: Subscription;
9918
+ case: "subscription";
9919
+ } | {
9920
+ /**
9921
+ * @generated from field: norsk.api.media.CmafWebVttConfiguration configuration = 2;
9922
+ */
9923
+ value: CmafWebVttConfiguration;
9924
+ case: "configuration";
9925
+ } | {
9926
+ /**
9927
+ * @generated from field: norsk.api.media.CmafWebVttUpdateConfiguration update_config = 3;
9928
+ */
9929
+ value: CmafWebVttUpdateConfiguration;
9930
+ case: "updateConfig";
9931
+ } | {
9932
+ /**
9933
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 4;
9934
+ */
9935
+ value: UpdateCredentials;
9936
+ case: "updateCredentials";
9937
+ } | { case: undefined; value?: undefined } = { case: undefined };
9607
9938
 
9608
- /**
9609
- * @generated from field: float delay_output_ms = 3;
9610
- */
9611
- delayOutputMs = 0;
9939
+ constructor(data?: PartialMessage<CmafWebVttMessage>) {
9940
+ super();
9941
+ proto3.util.initPartial(data, this);
9942
+ }
9612
9943
 
9613
- /**
9614
- * @generated from field: norsk.api.media.CMAFDestination destination = 4;
9615
- */
9616
- destination?: CMAFDestination;
9617
-
9618
- /**
9619
- * @generated from field: float retention_period_s = 6;
9620
- */
9621
- retentionPeriodS = 0;
9622
-
9623
- /**
9624
- * @generated from field: string hls_cache_directory = 7;
9625
- */
9626
- hlsCacheDirectory = "";
9627
-
9628
- /**
9629
- * @generated from field: uint32 maximum_playlist_segments = 8;
9630
- */
9631
- maximumPlaylistSegments = 0;
9632
-
9633
- /**
9634
- * @generated from field: norsk.api.media.Interval pts_adjustment = 9;
9635
- */
9636
- ptsAdjustment?: Interval;
9637
-
9638
- constructor(data?: PartialMessage<HlsWebVttPushConfiguration>) {
9639
- super();
9640
- proto3.util.initPartial(data, this);
9641
- }
9642
-
9643
- static readonly runtime = proto3;
9644
- static readonly typeName = "norsk.api.media.HlsWebVttPushConfiguration";
9645
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
9646
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
9647
- { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9648
- { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9649
- { no: 4, name: "destination", kind: "message", T: CMAFDestination },
9650
- { no: 6, name: "retention_period_s", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9651
- { no: 7, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9652
- { no: 8, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
9653
- { no: 9, name: "pts_adjustment", kind: "message", T: Interval },
9654
- ]);
9655
-
9656
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushConfiguration {
9657
- return new HlsWebVttPushConfiguration().fromBinary(bytes, options);
9658
- }
9659
-
9660
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushConfiguration {
9661
- return new HlsWebVttPushConfiguration().fromJson(jsonValue, options);
9662
- }
9663
-
9664
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushConfiguration {
9665
- return new HlsWebVttPushConfiguration().fromJsonString(jsonString, options);
9666
- }
9667
-
9668
- static equals(a: HlsWebVttPushConfiguration | PlainMessage<HlsWebVttPushConfiguration> | undefined, b: HlsWebVttPushConfiguration | PlainMessage<HlsWebVttPushConfiguration> | undefined): boolean {
9669
- return proto3.util.equals(HlsWebVttPushConfiguration, a, b);
9670
- }
9671
- }
9672
-
9673
- /**
9674
- * @generated from message norsk.api.media.HlsWebVttPushUpdateConfiguration
9675
- */
9676
- export class HlsWebVttPushUpdateConfiguration extends Message<HlsWebVttPushUpdateConfiguration> {
9677
- /**
9678
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
9679
- */
9680
- id?: MediaNodeId;
9681
-
9682
- /**
9683
- * @generated from field: float retention_period_s = 2;
9684
- */
9685
- retentionPeriodS = 0;
9686
-
9687
- /**
9688
- * @generated from field: uint32 maximum_playlist_segments = 3;
9689
- */
9690
- maximumPlaylistSegments = 0;
9691
-
9692
- /**
9693
- * @generated from field: norsk.api.media.Interval pts_adjustment = 4;
9694
- */
9695
- ptsAdjustment?: Interval;
9696
-
9697
- constructor(data?: PartialMessage<HlsWebVttPushUpdateConfiguration>) {
9698
- super();
9699
- proto3.util.initPartial(data, this);
9700
- }
9701
-
9702
- static readonly runtime = proto3;
9703
- static readonly typeName = "norsk.api.media.HlsWebVttPushUpdateConfiguration";
9704
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
9705
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
9706
- { no: 2, name: "retention_period_s", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9707
- { no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
9708
- { no: 4, name: "pts_adjustment", kind: "message", T: Interval },
9709
- ]);
9710
-
9711
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushUpdateConfiguration {
9712
- return new HlsWebVttPushUpdateConfiguration().fromBinary(bytes, options);
9713
- }
9714
-
9715
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushUpdateConfiguration {
9716
- return new HlsWebVttPushUpdateConfiguration().fromJson(jsonValue, options);
9717
- }
9718
-
9719
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushUpdateConfiguration {
9720
- return new HlsWebVttPushUpdateConfiguration().fromJsonString(jsonString, options);
9721
- }
9722
-
9723
- static equals(a: HlsWebVttPushUpdateConfiguration | PlainMessage<HlsWebVttPushUpdateConfiguration> | undefined, b: HlsWebVttPushUpdateConfiguration | PlainMessage<HlsWebVttPushUpdateConfiguration> | undefined): boolean {
9724
- return proto3.util.equals(HlsWebVttPushUpdateConfiguration, a, b);
9725
- }
9726
- }
9727
-
9728
- /**
9729
- * @generated from message norsk.api.media.CmafWebVttMessage
9730
- */
9731
- export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
9732
- /**
9733
- * @generated from oneof norsk.api.media.CmafWebVttMessage.message
9734
- */
9735
- message: {
9736
- /**
9737
- * @generated from field: norsk.api.media.Subscription subscription = 1;
9738
- */
9739
- value: Subscription;
9740
- case: "subscription";
9741
- } | {
9742
- /**
9743
- * @generated from field: norsk.api.media.CmafWebVttConfiguration configuration = 2;
9744
- */
9745
- value: CmafWebVttConfiguration;
9746
- case: "configuration";
9747
- } | { case: undefined; value?: undefined } = { case: undefined };
9748
-
9749
- constructor(data?: PartialMessage<CmafWebVttMessage>) {
9750
- super();
9751
- proto3.util.initPartial(data, this);
9752
- }
9753
-
9754
- static readonly runtime = proto3;
9755
- static readonly typeName = "norsk.api.media.CmafWebVttMessage";
9756
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
9757
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9758
- { no: 2, name: "configuration", kind: "message", T: CmafWebVttConfiguration, oneof: "message" },
9759
- ]);
9944
+ static readonly runtime = proto3;
9945
+ static readonly typeName = "norsk.api.media.CmafWebVttMessage";
9946
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
9947
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9948
+ { no: 2, name: "configuration", kind: "message", T: CmafWebVttConfiguration, oneof: "message" },
9949
+ { no: 3, name: "update_config", kind: "message", T: CmafWebVttUpdateConfiguration, oneof: "message" },
9950
+ { no: 4, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
9951
+ ]);
9760
9952
 
9761
9953
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttMessage {
9762
9954
  return new CmafWebVttMessage().fromBinary(bytes, options);
@@ -9775,63 +9967,6 @@ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
9775
9967
  }
9776
9968
  }
9777
9969
 
9778
- /**
9779
- * @generated from message norsk.api.media.HlsWebVttPushMessage
9780
- */
9781
- export class HlsWebVttPushMessage extends Message<HlsWebVttPushMessage> {
9782
- /**
9783
- * @generated from oneof norsk.api.media.HlsWebVttPushMessage.message
9784
- */
9785
- message: {
9786
- /**
9787
- * @generated from field: norsk.api.media.Subscription subscription = 1;
9788
- */
9789
- value: Subscription;
9790
- case: "subscription";
9791
- } | {
9792
- /**
9793
- * @generated from field: norsk.api.media.HlsWebVttPushConfiguration configuration = 2;
9794
- */
9795
- value: HlsWebVttPushConfiguration;
9796
- case: "configuration";
9797
- } | {
9798
- /**
9799
- * @generated from field: norsk.api.media.HlsWebVttPushUpdateConfiguration update_config = 3;
9800
- */
9801
- value: HlsWebVttPushUpdateConfiguration;
9802
- case: "updateConfig";
9803
- } | { case: undefined; value?: undefined } = { case: undefined };
9804
-
9805
- constructor(data?: PartialMessage<HlsWebVttPushMessage>) {
9806
- super();
9807
- proto3.util.initPartial(data, this);
9808
- }
9809
-
9810
- static readonly runtime = proto3;
9811
- static readonly typeName = "norsk.api.media.HlsWebVttPushMessage";
9812
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
9813
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9814
- { no: 2, name: "configuration", kind: "message", T: HlsWebVttPushConfiguration, oneof: "message" },
9815
- { no: 3, name: "update_config", kind: "message", T: HlsWebVttPushUpdateConfiguration, oneof: "message" },
9816
- ]);
9817
-
9818
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushMessage {
9819
- return new HlsWebVttPushMessage().fromBinary(bytes, options);
9820
- }
9821
-
9822
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushMessage {
9823
- return new HlsWebVttPushMessage().fromJson(jsonValue, options);
9824
- }
9825
-
9826
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushMessage {
9827
- return new HlsWebVttPushMessage().fromJsonString(jsonString, options);
9828
- }
9829
-
9830
- static equals(a: HlsWebVttPushMessage | PlainMessage<HlsWebVttPushMessage> | undefined, b: HlsWebVttPushMessage | PlainMessage<HlsWebVttPushMessage> | undefined): boolean {
9831
- return proto3.util.equals(HlsWebVttPushMessage, a, b);
9832
- }
9833
- }
9834
-
9835
9970
  /**
9836
9971
  * @generated from message norsk.api.media.CmafMasterConfiguration
9837
9972
  */
@@ -9944,333 +10079,6 @@ export class CmafMasterMessage extends Message<CmafMasterMessage> {
9944
10079
  }
9945
10080
  }
9946
10081
 
9947
- /**
9948
- * @generated from message norsk.api.media.HlsMasterPushConfiguration
9949
- */
9950
- export class HlsMasterPushConfiguration extends Message<HlsMasterPushConfiguration> {
9951
- /**
9952
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
9953
- */
9954
- id?: MediaNodeId;
9955
-
9956
- /**
9957
- * @generated from field: string playlist_name = 2;
9958
- */
9959
- playlistName = "";
9960
-
9961
- /**
9962
- * @generated from field: norsk.api.media.CMAFDestination destination = 3;
9963
- */
9964
- destination?: CMAFDestination;
9965
-
9966
- /**
9967
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
9968
- */
9969
- statsSampling?: StreamStatisticsSampling;
9970
-
9971
- constructor(data?: PartialMessage<HlsMasterPushConfiguration>) {
9972
- super();
9973
- proto3.util.initPartial(data, this);
9974
- }
9975
-
9976
- static readonly runtime = proto3;
9977
- static readonly typeName = "norsk.api.media.HlsMasterPushConfiguration";
9978
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
9979
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
9980
- { no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9981
- { no: 3, name: "destination", kind: "message", T: CMAFDestination },
9982
- { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9983
- ]);
9984
-
9985
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsMasterPushConfiguration {
9986
- return new HlsMasterPushConfiguration().fromBinary(bytes, options);
9987
- }
9988
-
9989
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsMasterPushConfiguration {
9990
- return new HlsMasterPushConfiguration().fromJson(jsonValue, options);
9991
- }
9992
-
9993
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsMasterPushConfiguration {
9994
- return new HlsMasterPushConfiguration().fromJsonString(jsonString, options);
9995
- }
9996
-
9997
- static equals(a: HlsMasterPushConfiguration | PlainMessage<HlsMasterPushConfiguration> | undefined, b: HlsMasterPushConfiguration | PlainMessage<HlsMasterPushConfiguration> | undefined): boolean {
9998
- return proto3.util.equals(HlsMasterPushConfiguration, a, b);
9999
- }
10000
- }
10001
-
10002
- /**
10003
- * @generated from message norsk.api.media.HlsMasterPushMessage
10004
- */
10005
- export class HlsMasterPushMessage extends Message<HlsMasterPushMessage> {
10006
- /**
10007
- * @generated from oneof norsk.api.media.HlsMasterPushMessage.message
10008
- */
10009
- message: {
10010
- /**
10011
- * @generated from field: norsk.api.media.Subscription subscription = 1;
10012
- */
10013
- value: Subscription;
10014
- case: "subscription";
10015
- } | {
10016
- /**
10017
- * @generated from field: norsk.api.media.HlsMasterPushConfiguration configuration = 2;
10018
- */
10019
- value: HlsMasterPushConfiguration;
10020
- case: "configuration";
10021
- } | { case: undefined; value?: undefined } = { case: undefined };
10022
-
10023
- constructor(data?: PartialMessage<HlsMasterPushMessage>) {
10024
- super();
10025
- proto3.util.initPartial(data, this);
10026
- }
10027
-
10028
- static readonly runtime = proto3;
10029
- static readonly typeName = "norsk.api.media.HlsMasterPushMessage";
10030
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
10031
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
10032
- { no: 2, name: "configuration", kind: "message", T: HlsMasterPushConfiguration, oneof: "message" },
10033
- ]);
10034
-
10035
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsMasterPushMessage {
10036
- return new HlsMasterPushMessage().fromBinary(bytes, options);
10037
- }
10038
-
10039
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsMasterPushMessage {
10040
- return new HlsMasterPushMessage().fromJson(jsonValue, options);
10041
- }
10042
-
10043
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsMasterPushMessage {
10044
- return new HlsMasterPushMessage().fromJsonString(jsonString, options);
10045
- }
10046
-
10047
- static equals(a: HlsMasterPushMessage | PlainMessage<HlsMasterPushMessage> | undefined, b: HlsMasterPushMessage | PlainMessage<HlsMasterPushMessage> | undefined): boolean {
10048
- return proto3.util.equals(HlsMasterPushMessage, a, b);
10049
- }
10050
- }
10051
-
10052
- /**
10053
- * @generated from message norsk.api.media.HlsTsVideoPushConfiguration
10054
- */
10055
- export class HlsTsVideoPushConfiguration extends Message<HlsTsVideoPushConfiguration> {
10056
- /**
10057
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
10058
- */
10059
- id?: MediaNodeId;
10060
-
10061
- /**
10062
- * @generated from field: norsk.api.media.CMAFDestination destination = 2;
10063
- */
10064
- destination?: CMAFDestination;
10065
-
10066
- /**
10067
- * @generated from field: float segment_duration_seconds = 3;
10068
- */
10069
- segmentDurationSeconds = 0;
10070
-
10071
- /**
10072
- * @generated from field: float delay_output_ms = 4;
10073
- */
10074
- delayOutputMs = 0;
10075
-
10076
- /**
10077
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
10078
- */
10079
- statsSampling?: StreamStatisticsSampling;
10080
-
10081
- constructor(data?: PartialMessage<HlsTsVideoPushConfiguration>) {
10082
- super();
10083
- proto3.util.initPartial(data, this);
10084
- }
10085
-
10086
- static readonly runtime = proto3;
10087
- static readonly typeName = "norsk.api.media.HlsTsVideoPushConfiguration";
10088
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
10089
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
10090
- { no: 2, name: "destination", kind: "message", T: CMAFDestination },
10091
- { no: 3, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
10092
- { no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
10093
- { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
10094
- ]);
10095
-
10096
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoPushConfiguration {
10097
- return new HlsTsVideoPushConfiguration().fromBinary(bytes, options);
10098
- }
10099
-
10100
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsVideoPushConfiguration {
10101
- return new HlsTsVideoPushConfiguration().fromJson(jsonValue, options);
10102
- }
10103
-
10104
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsVideoPushConfiguration {
10105
- return new HlsTsVideoPushConfiguration().fromJsonString(jsonString, options);
10106
- }
10107
-
10108
- static equals(a: HlsTsVideoPushConfiguration | PlainMessage<HlsTsVideoPushConfiguration> | undefined, b: HlsTsVideoPushConfiguration | PlainMessage<HlsTsVideoPushConfiguration> | undefined): boolean {
10109
- return proto3.util.equals(HlsTsVideoPushConfiguration, a, b);
10110
- }
10111
- }
10112
-
10113
- /**
10114
- * @generated from message norsk.api.media.HlsTsVideoPushMessage
10115
- */
10116
- export class HlsTsVideoPushMessage extends Message<HlsTsVideoPushMessage> {
10117
- /**
10118
- * @generated from oneof norsk.api.media.HlsTsVideoPushMessage.message
10119
- */
10120
- message: {
10121
- /**
10122
- * @generated from field: norsk.api.media.Subscription subscription = 1;
10123
- */
10124
- value: Subscription;
10125
- case: "subscription";
10126
- } | {
10127
- /**
10128
- * @generated from field: norsk.api.media.HlsTsVideoPushConfiguration configuration = 2;
10129
- */
10130
- value: HlsTsVideoPushConfiguration;
10131
- case: "configuration";
10132
- } | { case: undefined; value?: undefined } = { case: undefined };
10133
-
10134
- constructor(data?: PartialMessage<HlsTsVideoPushMessage>) {
10135
- super();
10136
- proto3.util.initPartial(data, this);
10137
- }
10138
-
10139
- static readonly runtime = proto3;
10140
- static readonly typeName = "norsk.api.media.HlsTsVideoPushMessage";
10141
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
10142
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
10143
- { no: 2, name: "configuration", kind: "message", T: HlsTsVideoPushConfiguration, oneof: "message" },
10144
- ]);
10145
-
10146
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoPushMessage {
10147
- return new HlsTsVideoPushMessage().fromBinary(bytes, options);
10148
- }
10149
-
10150
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsVideoPushMessage {
10151
- return new HlsTsVideoPushMessage().fromJson(jsonValue, options);
10152
- }
10153
-
10154
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsVideoPushMessage {
10155
- return new HlsTsVideoPushMessage().fromJsonString(jsonString, options);
10156
- }
10157
-
10158
- static equals(a: HlsTsVideoPushMessage | PlainMessage<HlsTsVideoPushMessage> | undefined, b: HlsTsVideoPushMessage | PlainMessage<HlsTsVideoPushMessage> | undefined): boolean {
10159
- return proto3.util.equals(HlsTsVideoPushMessage, a, b);
10160
- }
10161
- }
10162
-
10163
- /**
10164
- * @generated from message norsk.api.media.HlsTsAudioPushConfiguration
10165
- */
10166
- export class HlsTsAudioPushConfiguration extends Message<HlsTsAudioPushConfiguration> {
10167
- /**
10168
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
10169
- */
10170
- id?: MediaNodeId;
10171
-
10172
- /**
10173
- * @generated from field: norsk.api.media.CMAFDestination destination = 2;
10174
- */
10175
- destination?: CMAFDestination;
10176
-
10177
- /**
10178
- * @generated from field: float segment_duration_seconds = 3;
10179
- */
10180
- segmentDurationSeconds = 0;
10181
-
10182
- /**
10183
- * @generated from field: float delay_output_ms = 4;
10184
- */
10185
- delayOutputMs = 0;
10186
-
10187
- /**
10188
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
10189
- */
10190
- statsSampling?: StreamStatisticsSampling;
10191
-
10192
- constructor(data?: PartialMessage<HlsTsAudioPushConfiguration>) {
10193
- super();
10194
- proto3.util.initPartial(data, this);
10195
- }
10196
-
10197
- static readonly runtime = proto3;
10198
- static readonly typeName = "norsk.api.media.HlsTsAudioPushConfiguration";
10199
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
10200
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
10201
- { no: 2, name: "destination", kind: "message", T: CMAFDestination },
10202
- { no: 3, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
10203
- { no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
10204
- { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
10205
- ]);
10206
-
10207
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioPushConfiguration {
10208
- return new HlsTsAudioPushConfiguration().fromBinary(bytes, options);
10209
- }
10210
-
10211
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsAudioPushConfiguration {
10212
- return new HlsTsAudioPushConfiguration().fromJson(jsonValue, options);
10213
- }
10214
-
10215
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsAudioPushConfiguration {
10216
- return new HlsTsAudioPushConfiguration().fromJsonString(jsonString, options);
10217
- }
10218
-
10219
- static equals(a: HlsTsAudioPushConfiguration | PlainMessage<HlsTsAudioPushConfiguration> | undefined, b: HlsTsAudioPushConfiguration | PlainMessage<HlsTsAudioPushConfiguration> | undefined): boolean {
10220
- return proto3.util.equals(HlsTsAudioPushConfiguration, a, b);
10221
- }
10222
- }
10223
-
10224
- /**
10225
- * @generated from message norsk.api.media.HlsTsAudioPushMessage
10226
- */
10227
- export class HlsTsAudioPushMessage extends Message<HlsTsAudioPushMessage> {
10228
- /**
10229
- * @generated from oneof norsk.api.media.HlsTsAudioPushMessage.message
10230
- */
10231
- message: {
10232
- /**
10233
- * @generated from field: norsk.api.media.Subscription subscription = 1;
10234
- */
10235
- value: Subscription;
10236
- case: "subscription";
10237
- } | {
10238
- /**
10239
- * @generated from field: norsk.api.media.HlsTsAudioPushConfiguration configuration = 2;
10240
- */
10241
- value: HlsTsAudioPushConfiguration;
10242
- case: "configuration";
10243
- } | { case: undefined; value?: undefined } = { case: undefined };
10244
-
10245
- constructor(data?: PartialMessage<HlsTsAudioPushMessage>) {
10246
- super();
10247
- proto3.util.initPartial(data, this);
10248
- }
10249
-
10250
- static readonly runtime = proto3;
10251
- static readonly typeName = "norsk.api.media.HlsTsAudioPushMessage";
10252
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
10253
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
10254
- { no: 2, name: "configuration", kind: "message", T: HlsTsAudioPushConfiguration, oneof: "message" },
10255
- ]);
10256
-
10257
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioPushMessage {
10258
- return new HlsTsAudioPushMessage().fromBinary(bytes, options);
10259
- }
10260
-
10261
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsAudioPushMessage {
10262
- return new HlsTsAudioPushMessage().fromJson(jsonValue, options);
10263
- }
10264
-
10265
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsAudioPushMessage {
10266
- return new HlsTsAudioPushMessage().fromJsonString(jsonString, options);
10267
- }
10268
-
10269
- static equals(a: HlsTsAudioPushMessage | PlainMessage<HlsTsAudioPushMessage> | undefined, b: HlsTsAudioPushMessage | PlainMessage<HlsTsAudioPushMessage> | undefined): boolean {
10270
- return proto3.util.equals(HlsTsAudioPushMessage, a, b);
10271
- }
10272
- }
10273
-
10274
10082
  /**
10275
10083
  * @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
10276
10084
  */
@@ -14362,14 +14170,16 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
14362
14170
  id?: MediaNodeId;
14363
14171
 
14364
14172
  /**
14365
- * * Override the bitrate metadata of a compressed video stream, or `0` to clear
14173
+ * * Override the bitrate metadata of a compressed video stream, or `0` to
14174
+ * clear
14366
14175
  *
14367
14176
  * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
14368
14177
  */
14369
14178
  videoBitrate?: OptionalInt;
14370
14179
 
14371
14180
  /**
14372
- * * Override the bitrate metadata of a compressed audio stream, or `0` to clear
14181
+ * * Override the bitrate metadata of a compressed audio stream, or `0` to
14182
+ * clear
14373
14183
  *
14374
14184
  * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
14375
14185
  */
@@ -14426,14 +14236,16 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
14426
14236
  */
14427
14237
  export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMetadataOverrideUpdateConfiguration> {
14428
14238
  /**
14429
- * * Override the bitrate metadata of a compressed video stream, or `0` to clear
14239
+ * * Override the bitrate metadata of a compressed video stream, or `0` to
14240
+ * clear
14430
14241
  *
14431
14242
  * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
14432
14243
  */
14433
14244
  videoBitrate?: OptionalInt;
14434
14245
 
14435
14246
  /**
14436
- * * Override the bitrate metadata of a compressed audio stream, or `0` to clear
14247
+ * * Override the bitrate metadata of a compressed audio stream, or `0` to
14248
+ * clear
14437
14249
  *
14438
14250
  * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
14439
14251
  */
@@ -17216,7 +17028,8 @@ export class SubscribeSource extends Message<SubscribeSource> {
17216
17028
  */
17217
17029
  export class Subscription extends Message<Subscription> {
17218
17030
  /**
17219
- * An arbitrary id of the subscription, to enable correlating of the corresponding subscription response
17031
+ * An arbitrary id of the subscription, to enable correlating of the
17032
+ * corresponding subscription response
17220
17033
  *
17221
17034
  * @generated from field: string id = 1;
17222
17035
  */
@@ -17492,7 +17305,8 @@ export class SourceSubscriptionError extends Message<SourceSubscriptionError> {
17492
17305
  case: "unknownSourceStream";
17493
17306
  } | {
17494
17307
  /**
17495
- * The media node is not set up to receive data on this pin (which may be auto-detected)
17308
+ * The media node is not set up to receive data on this pin (which may be
17309
+ * auto-detected)
17496
17310
  *
17497
17311
  * @generated from field: norsk.api.media.SourceSubscriptionError.NoSubscriberPin no_subscriber_pin = 4;
17498
17312
  */
@@ -17500,7 +17314,8 @@ export class SourceSubscriptionError extends Message<SourceSubscriptionError> {
17500
17314
  case: "noSubscriberPin";
17501
17315
  } | {
17502
17316
  /**
17503
- * Norsk does not support conversion from the media types of the source to the media types accepted by the subscriber
17317
+ * Norsk does not support conversion from the media types of the source to
17318
+ * the media types accepted by the subscriber
17504
17319
  *
17505
17320
  * @generated from field: norsk.api.media.SourceSubscriptionError.UnsupportedConversion unsupported_conversion = 5;
17506
17321
  */