@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.d.ts CHANGED
@@ -1894,6 +1894,13 @@ export declare class MultiStreamStatistics extends Message<MultiStreamStatistics
1894
1894
  * @generated from field: repeated norsk.api.media.MultiStreamStatistics.SingleStreamStatistics all_streams = 2;
1895
1895
  */
1896
1896
  allStreams: MultiStreamStatistics_SingleStreamStatistics[];
1897
+ /**
1898
+ * Either `"default"`, if there is only one direction, or `"input"`/`"output"`
1899
+ * (for duplex nodes, where there are two directions)
1900
+ *
1901
+ * @generated from field: string label = 3;
1902
+ */
1903
+ label: string;
1897
1904
  constructor(data?: PartialMessage<MultiStreamStatistics>);
1898
1905
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
1899
1906
  static readonly typeName = "norsk.api.media.MultiStreamStatistics";
@@ -2281,6 +2288,104 @@ export declare class RtmpOnStream extends Message<RtmpOnStream> {
2281
2288
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpOnStream;
2282
2289
  static equals(a: RtmpOnStream | PlainMessage<RtmpOnStream> | undefined, b: RtmpOnStream | PlainMessage<RtmpOnStream> | undefined): boolean;
2283
2290
  }
2291
+ /**
2292
+ * *
2293
+ * Sent to your code when an error is detected on an active connection.
2294
+ * Typically you will receive a disconnected event immediately after
2295
+ *
2296
+ * @generated from message norsk.api.media.RtmpError
2297
+ */
2298
+ export declare class RtmpError extends Message<RtmpError> {
2299
+ /**
2300
+ * @generated from field: norsk.api.media.ConnectionId connection_id = 1;
2301
+ */
2302
+ connectionId?: ConnectionId;
2303
+ /**
2304
+ * @generated from oneof norsk.api.media.RtmpError.error
2305
+ */
2306
+ error: {
2307
+ /**
2308
+ * @generated from field: norsk.api.media.RtmpError.UnsupportedVideo unsupported_video = 2;
2309
+ */
2310
+ value: RtmpError_UnsupportedVideo;
2311
+ case: "unsupportedVideo";
2312
+ } | {
2313
+ /**
2314
+ * @generated from field: norsk.api.media.RtmpError.UnsupportedAudio unsupported_audio = 3;
2315
+ */
2316
+ value: RtmpError_UnsupportedAudio;
2317
+ case: "unsupportedAudio";
2318
+ } | {
2319
+ case: undefined;
2320
+ value?: undefined;
2321
+ };
2322
+ constructor(data?: PartialMessage<RtmpError>);
2323
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
2324
+ static readonly typeName = "norsk.api.media.RtmpError";
2325
+ static readonly fields: FieldList;
2326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError;
2327
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError;
2328
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError;
2329
+ static equals(a: RtmpError | PlainMessage<RtmpError> | undefined, b: RtmpError | PlainMessage<RtmpError> | undefined): boolean;
2330
+ }
2331
+ /**
2332
+ * @generated from message norsk.api.media.RtmpError.UnsupportedVideo
2333
+ */
2334
+ export declare class RtmpError_UnsupportedVideo extends Message<RtmpError_UnsupportedVideo> {
2335
+ /**
2336
+ * @generated from field: string type = 1;
2337
+ */
2338
+ type: string;
2339
+ constructor(data?: PartialMessage<RtmpError_UnsupportedVideo>);
2340
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
2341
+ static readonly typeName = "norsk.api.media.RtmpError.UnsupportedVideo";
2342
+ static readonly fields: FieldList;
2343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError_UnsupportedVideo;
2344
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedVideo;
2345
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedVideo;
2346
+ static equals(a: RtmpError_UnsupportedVideo | PlainMessage<RtmpError_UnsupportedVideo> | undefined, b: RtmpError_UnsupportedVideo | PlainMessage<RtmpError_UnsupportedVideo> | undefined): boolean;
2347
+ }
2348
+ /**
2349
+ * @generated from message norsk.api.media.RtmpError.UnsupportedAudio
2350
+ */
2351
+ export declare class RtmpError_UnsupportedAudio extends Message<RtmpError_UnsupportedAudio> {
2352
+ /**
2353
+ * @generated from field: string type = 1;
2354
+ */
2355
+ type: string;
2356
+ constructor(data?: PartialMessage<RtmpError_UnsupportedAudio>);
2357
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
2358
+ static readonly typeName = "norsk.api.media.RtmpError.UnsupportedAudio";
2359
+ static readonly fields: FieldList;
2360
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpError_UnsupportedAudio;
2361
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedAudio;
2362
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpError_UnsupportedAudio;
2363
+ static equals(a: RtmpError_UnsupportedAudio | PlainMessage<RtmpError_UnsupportedAudio> | undefined, b: RtmpError_UnsupportedAudio | PlainMessage<RtmpError_UnsupportedAudio> | undefined): boolean;
2364
+ }
2365
+ /**
2366
+ * *
2367
+ * Sent to your code when a bytes-read report is received from the peer
2368
+ *
2369
+ * @generated from message norsk.api.media.RtmpBytesRead
2370
+ */
2371
+ export declare class RtmpBytesRead extends Message<RtmpBytesRead> {
2372
+ /**
2373
+ * @generated from field: norsk.api.media.ConnectionId connection_id = 1;
2374
+ */
2375
+ connectionId?: ConnectionId;
2376
+ /**
2377
+ * @generated from field: int64 bytes_read = 2;
2378
+ */
2379
+ bytesRead: bigint;
2380
+ constructor(data?: PartialMessage<RtmpBytesRead>);
2381
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
2382
+ static readonly typeName = "norsk.api.media.RtmpBytesRead";
2383
+ static readonly fields: FieldList;
2384
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpBytesRead;
2385
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtmpBytesRead;
2386
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtmpBytesRead;
2387
+ static equals(a: RtmpBytesRead | PlainMessage<RtmpBytesRead> | undefined, b: RtmpBytesRead | PlainMessage<RtmpBytesRead> | undefined): boolean;
2388
+ }
2284
2389
  /**
2285
2390
  * *
2286
2391
  * Messages that Norsk can send to your code in response to various RTMP
@@ -2328,6 +2433,18 @@ export declare class RtmpServerInputEvent extends Message<RtmpServerInputEvent>
2328
2433
  */
2329
2434
  value: MultiStreamStatistics;
2330
2435
  case: "streamStatistics";
2436
+ } | {
2437
+ /**
2438
+ * @generated from field: norsk.api.media.RtmpError error = 7;
2439
+ */
2440
+ value: RtmpError;
2441
+ case: "error";
2442
+ } | {
2443
+ /**
2444
+ * @generated from field: norsk.api.media.RtmpBytesRead bytes_read = 8;
2445
+ */
2446
+ value: RtmpBytesRead;
2447
+ case: "bytesRead";
2331
2448
  } | {
2332
2449
  case: undefined;
2333
2450
  value?: undefined;
@@ -4285,7 +4402,8 @@ export declare class ComposePart extends Message<ComposePart> {
4285
4402
  * in percentage terms, or a notional resolution can be used that is
4286
4403
  * independant of the source resolutions that may be provided.
4287
4404
  *
4288
- * If unset, this will be overriden by a global reference resolution if present
4405
+ * If unset, this will be overriden by a global reference resolution if
4406
+ * present
4289
4407
  *
4290
4408
  *
4291
4409
  * @generated from field: norsk.api.media.Resolution reference_resolution = 8;
@@ -4468,10 +4586,10 @@ export declare class VideoComposeConfiguration extends Message<VideoComposeConfi
4468
4586
  */
4469
4587
  parts: ComposePart[];
4470
4588
  /**
4471
- * * Optionally supply a fallback reference resolution. This allows description of the
4472
- * composition in a desired coordinate system, e.g. a resolution of 100x100
4473
- * can be specified to allow the source and destination areas to be described
4474
- * in percentage terms, or a notional resolution can be used that is
4589
+ * * Optionally supply a fallback reference resolution. This allows description
4590
+ * of the composition in a desired coordinate system, e.g. a resolution of
4591
+ * 100x100 can be specified to allow the source and destination areas to be
4592
+ * described in percentage terms, or a notional resolution can be used that is
4475
4593
  * independant of the source resolutions that may be provided.
4476
4594
  *
4477
4595
  * if set here, this reference resolution will be applied to
@@ -5598,6 +5716,10 @@ export declare class HlsTsVideoConfiguration extends Message<HlsTsVideoConfigura
5598
5716
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
5599
5717
  */
5600
5718
  statsSampling?: StreamStatisticsSampling;
5719
+ /**
5720
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
5721
+ */
5722
+ destinations: CMAFDestination[];
5601
5723
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>);
5602
5724
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5603
5725
  static readonly typeName = "norsk.api.media.HlsTsVideoConfiguration";
@@ -5626,6 +5748,12 @@ export declare class HlsTsVideoMessage extends Message<HlsTsVideoMessage> {
5626
5748
  */
5627
5749
  value: HlsTsVideoConfiguration;
5628
5750
  case: "configuration";
5751
+ } | {
5752
+ /**
5753
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
5754
+ */
5755
+ value: UpdateCredentials;
5756
+ case: "updateCredentials";
5629
5757
  } | {
5630
5758
  case: undefined;
5631
5759
  value?: undefined;
@@ -5738,6 +5866,10 @@ export declare class HlsTsAudioConfiguration extends Message<HlsTsAudioConfigura
5738
5866
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
5739
5867
  */
5740
5868
  statsSampling?: StreamStatisticsSampling;
5869
+ /**
5870
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
5871
+ */
5872
+ destinations: CMAFDestination[];
5741
5873
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>);
5742
5874
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5743
5875
  static readonly typeName = "norsk.api.media.HlsTsAudioConfiguration";
@@ -5766,6 +5898,12 @@ export declare class HlsTsAudioMessage extends Message<HlsTsAudioMessage> {
5766
5898
  */
5767
5899
  value: HlsTsAudioConfiguration;
5768
5900
  case: "configuration";
5901
+ } | {
5902
+ /**
5903
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
5904
+ */
5905
+ value: UpdateCredentials;
5906
+ case: "updateCredentials";
5769
5907
  } | {
5770
5908
  case: undefined;
5771
5909
  value?: undefined;
@@ -5796,9 +5934,21 @@ export declare class CmafWebVttConfiguration extends Message<CmafWebVttConfigura
5796
5934
  */
5797
5935
  delayOutputMs: number;
5798
5936
  /**
5799
- * @generated from field: string sessionId = 4;
5937
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
5800
5938
  */
5801
- sessionId: string;
5939
+ destinations: CMAFDestination[];
5940
+ /**
5941
+ * @generated from field: string hls_cache_directory = 6;
5942
+ */
5943
+ hlsCacheDirectory: string;
5944
+ /**
5945
+ * @generated from field: uint32 maximum_playlist_segments = 7;
5946
+ */
5947
+ maximumPlaylistSegments: number;
5948
+ /**
5949
+ * @generated from field: norsk.api.media.Interval pts_adjustment = 8;
5950
+ */
5951
+ ptsAdjustment?: Interval;
5802
5952
  constructor(data?: PartialMessage<CmafWebVttConfiguration>);
5803
5953
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5804
5954
  static readonly typeName = "norsk.api.media.CmafWebVttConfiguration";
@@ -5808,6 +5958,42 @@ export declare class CmafWebVttConfiguration extends Message<CmafWebVttConfigura
5808
5958
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttConfiguration;
5809
5959
  static equals(a: CmafWebVttConfiguration | PlainMessage<CmafWebVttConfiguration> | undefined, b: CmafWebVttConfiguration | PlainMessage<CmafWebVttConfiguration> | undefined): boolean;
5810
5960
  }
5961
+ /**
5962
+ * TODO rethink this, not exposed to SDK yet
5963
+ * Only credentials are updateable
5964
+ *
5965
+ * @generated from message norsk.api.media.CmafWebVttUpdateConfiguration
5966
+ */
5967
+ export declare class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfiguration> {
5968
+ /**
5969
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
5970
+ */
5971
+ id?: MediaNodeId;
5972
+ /**
5973
+ * @generated from field: float retention_period_seconds = 2;
5974
+ */
5975
+ retentionPeriodSeconds: number;
5976
+ /**
5977
+ * @generated from field: uint32 maximum_playlist_segments = 3;
5978
+ */
5979
+ maximumPlaylistSegments: number;
5980
+ /**
5981
+ * @generated from field: norsk.api.media.Interval pts_adjustment = 4;
5982
+ */
5983
+ ptsAdjustment?: Interval;
5984
+ /**
5985
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
5986
+ */
5987
+ updateCredentials?: UpdateCredentials;
5988
+ constructor(data?: PartialMessage<CmafWebVttUpdateConfiguration>);
5989
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5990
+ static readonly typeName = "norsk.api.media.CmafWebVttUpdateConfiguration";
5991
+ static readonly fields: FieldList;
5992
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttUpdateConfiguration;
5993
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttUpdateConfiguration;
5994
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttUpdateConfiguration;
5995
+ static equals(a: CmafWebVttUpdateConfiguration | PlainMessage<CmafWebVttUpdateConfiguration> | undefined, b: CmafWebVttUpdateConfiguration | PlainMessage<CmafWebVttUpdateConfiguration> | undefined): boolean;
5996
+ }
5811
5997
  /**
5812
5998
  * @generated from message norsk.api.media.AwsCredentials
5813
5999
  */
@@ -5854,80 +6040,6 @@ export declare class UpdateCredentials extends Message<UpdateCredentials> {
5854
6040
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCredentials;
5855
6041
  static equals(a: UpdateCredentials | PlainMessage<UpdateCredentials> | undefined, b: UpdateCredentials | PlainMessage<UpdateCredentials> | undefined): boolean;
5856
6042
  }
5857
- /**
5858
- * @generated from message norsk.api.media.HlsWebVttPushConfiguration
5859
- */
5860
- export declare class HlsWebVttPushConfiguration extends Message<HlsWebVttPushConfiguration> {
5861
- /**
5862
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
5863
- */
5864
- id?: MediaNodeId;
5865
- /**
5866
- * @generated from field: float segment_duration_seconds = 2;
5867
- */
5868
- segmentDurationSeconds: number;
5869
- /**
5870
- * @generated from field: float delay_output_ms = 3;
5871
- */
5872
- delayOutputMs: number;
5873
- /**
5874
- * @generated from field: norsk.api.media.CMAFDestination destination = 4;
5875
- */
5876
- destination?: CMAFDestination;
5877
- /**
5878
- * @generated from field: float retention_period_s = 6;
5879
- */
5880
- retentionPeriodS: number;
5881
- /**
5882
- * @generated from field: string hls_cache_directory = 7;
5883
- */
5884
- hlsCacheDirectory: string;
5885
- /**
5886
- * @generated from field: uint32 maximum_playlist_segments = 8;
5887
- */
5888
- maximumPlaylistSegments: number;
5889
- /**
5890
- * @generated from field: norsk.api.media.Interval pts_adjustment = 9;
5891
- */
5892
- ptsAdjustment?: Interval;
5893
- constructor(data?: PartialMessage<HlsWebVttPushConfiguration>);
5894
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5895
- static readonly typeName = "norsk.api.media.HlsWebVttPushConfiguration";
5896
- static readonly fields: FieldList;
5897
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushConfiguration;
5898
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushConfiguration;
5899
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushConfiguration;
5900
- static equals(a: HlsWebVttPushConfiguration | PlainMessage<HlsWebVttPushConfiguration> | undefined, b: HlsWebVttPushConfiguration | PlainMessage<HlsWebVttPushConfiguration> | undefined): boolean;
5901
- }
5902
- /**
5903
- * @generated from message norsk.api.media.HlsWebVttPushUpdateConfiguration
5904
- */
5905
- export declare class HlsWebVttPushUpdateConfiguration extends Message<HlsWebVttPushUpdateConfiguration> {
5906
- /**
5907
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
5908
- */
5909
- id?: MediaNodeId;
5910
- /**
5911
- * @generated from field: float retention_period_s = 2;
5912
- */
5913
- retentionPeriodS: number;
5914
- /**
5915
- * @generated from field: uint32 maximum_playlist_segments = 3;
5916
- */
5917
- maximumPlaylistSegments: number;
5918
- /**
5919
- * @generated from field: norsk.api.media.Interval pts_adjustment = 4;
5920
- */
5921
- ptsAdjustment?: Interval;
5922
- constructor(data?: PartialMessage<HlsWebVttPushUpdateConfiguration>);
5923
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5924
- static readonly typeName = "norsk.api.media.HlsWebVttPushUpdateConfiguration";
5925
- static readonly fields: FieldList;
5926
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushUpdateConfiguration;
5927
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushUpdateConfiguration;
5928
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushUpdateConfiguration;
5929
- static equals(a: HlsWebVttPushUpdateConfiguration | PlainMessage<HlsWebVttPushUpdateConfiguration> | undefined, b: HlsWebVttPushUpdateConfiguration | PlainMessage<HlsWebVttPushUpdateConfiguration> | undefined): boolean;
5930
- }
5931
6043
  /**
5932
6044
  * @generated from message norsk.api.media.CmafWebVttMessage
5933
6045
  */
@@ -5947,56 +6059,30 @@ export declare class CmafWebVttMessage extends Message<CmafWebVttMessage> {
5947
6059
  */
5948
6060
  value: CmafWebVttConfiguration;
5949
6061
  case: "configuration";
5950
- } | {
5951
- case: undefined;
5952
- value?: undefined;
5953
- };
5954
- constructor(data?: PartialMessage<CmafWebVttMessage>);
5955
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5956
- static readonly typeName = "norsk.api.media.CmafWebVttMessage";
5957
- static readonly fields: FieldList;
5958
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttMessage;
5959
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttMessage;
5960
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttMessage;
5961
- static equals(a: CmafWebVttMessage | PlainMessage<CmafWebVttMessage> | undefined, b: CmafWebVttMessage | PlainMessage<CmafWebVttMessage> | undefined): boolean;
5962
- }
5963
- /**
5964
- * @generated from message norsk.api.media.HlsWebVttPushMessage
5965
- */
5966
- export declare class HlsWebVttPushMessage extends Message<HlsWebVttPushMessage> {
5967
- /**
5968
- * @generated from oneof norsk.api.media.HlsWebVttPushMessage.message
5969
- */
5970
- message: {
5971
- /**
5972
- * @generated from field: norsk.api.media.Subscription subscription = 1;
5973
- */
5974
- value: Subscription;
5975
- case: "subscription";
5976
6062
  } | {
5977
6063
  /**
5978
- * @generated from field: norsk.api.media.HlsWebVttPushConfiguration configuration = 2;
6064
+ * @generated from field: norsk.api.media.CmafWebVttUpdateConfiguration update_config = 3;
5979
6065
  */
5980
- value: HlsWebVttPushConfiguration;
5981
- case: "configuration";
6066
+ value: CmafWebVttUpdateConfiguration;
6067
+ case: "updateConfig";
5982
6068
  } | {
5983
6069
  /**
5984
- * @generated from field: norsk.api.media.HlsWebVttPushUpdateConfiguration update_config = 3;
6070
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 4;
5985
6071
  */
5986
- value: HlsWebVttPushUpdateConfiguration;
5987
- case: "updateConfig";
6072
+ value: UpdateCredentials;
6073
+ case: "updateCredentials";
5988
6074
  } | {
5989
6075
  case: undefined;
5990
6076
  value?: undefined;
5991
6077
  };
5992
- constructor(data?: PartialMessage<HlsWebVttPushMessage>);
6078
+ constructor(data?: PartialMessage<CmafWebVttMessage>);
5993
6079
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5994
- static readonly typeName = "norsk.api.media.HlsWebVttPushMessage";
6080
+ static readonly typeName = "norsk.api.media.CmafWebVttMessage";
5995
6081
  static readonly fields: FieldList;
5996
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsWebVttPushMessage;
5997
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsWebVttPushMessage;
5998
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsWebVttPushMessage;
5999
- static equals(a: HlsWebVttPushMessage | PlainMessage<HlsWebVttPushMessage> | undefined, b: HlsWebVttPushMessage | PlainMessage<HlsWebVttPushMessage> | undefined): boolean;
6082
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttMessage;
6083
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafWebVttMessage;
6084
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafWebVttMessage;
6085
+ static equals(a: CmafWebVttMessage | PlainMessage<CmafWebVttMessage> | undefined, b: CmafWebVttMessage | PlainMessage<CmafWebVttMessage> | undefined): boolean;
6000
6086
  }
6001
6087
  /**
6002
6088
  * @generated from message norsk.api.media.CmafMasterConfiguration
@@ -6065,197 +6151,6 @@ export declare class CmafMasterMessage extends Message<CmafMasterMessage> {
6065
6151
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMasterMessage;
6066
6152
  static equals(a: CmafMasterMessage | PlainMessage<CmafMasterMessage> | undefined, b: CmafMasterMessage | PlainMessage<CmafMasterMessage> | undefined): boolean;
6067
6153
  }
6068
- /**
6069
- * @generated from message norsk.api.media.HlsMasterPushConfiguration
6070
- */
6071
- export declare class HlsMasterPushConfiguration extends Message<HlsMasterPushConfiguration> {
6072
- /**
6073
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
6074
- */
6075
- id?: MediaNodeId;
6076
- /**
6077
- * @generated from field: string playlist_name = 2;
6078
- */
6079
- playlistName: string;
6080
- /**
6081
- * @generated from field: norsk.api.media.CMAFDestination destination = 3;
6082
- */
6083
- destination?: CMAFDestination;
6084
- /**
6085
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
6086
- */
6087
- statsSampling?: StreamStatisticsSampling;
6088
- constructor(data?: PartialMessage<HlsMasterPushConfiguration>);
6089
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6090
- static readonly typeName = "norsk.api.media.HlsMasterPushConfiguration";
6091
- static readonly fields: FieldList;
6092
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsMasterPushConfiguration;
6093
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsMasterPushConfiguration;
6094
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsMasterPushConfiguration;
6095
- static equals(a: HlsMasterPushConfiguration | PlainMessage<HlsMasterPushConfiguration> | undefined, b: HlsMasterPushConfiguration | PlainMessage<HlsMasterPushConfiguration> | undefined): boolean;
6096
- }
6097
- /**
6098
- * @generated from message norsk.api.media.HlsMasterPushMessage
6099
- */
6100
- export declare class HlsMasterPushMessage extends Message<HlsMasterPushMessage> {
6101
- /**
6102
- * @generated from oneof norsk.api.media.HlsMasterPushMessage.message
6103
- */
6104
- message: {
6105
- /**
6106
- * @generated from field: norsk.api.media.Subscription subscription = 1;
6107
- */
6108
- value: Subscription;
6109
- case: "subscription";
6110
- } | {
6111
- /**
6112
- * @generated from field: norsk.api.media.HlsMasterPushConfiguration configuration = 2;
6113
- */
6114
- value: HlsMasterPushConfiguration;
6115
- case: "configuration";
6116
- } | {
6117
- case: undefined;
6118
- value?: undefined;
6119
- };
6120
- constructor(data?: PartialMessage<HlsMasterPushMessage>);
6121
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6122
- static readonly typeName = "norsk.api.media.HlsMasterPushMessage";
6123
- static readonly fields: FieldList;
6124
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsMasterPushMessage;
6125
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsMasterPushMessage;
6126
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsMasterPushMessage;
6127
- static equals(a: HlsMasterPushMessage | PlainMessage<HlsMasterPushMessage> | undefined, b: HlsMasterPushMessage | PlainMessage<HlsMasterPushMessage> | undefined): boolean;
6128
- }
6129
- /**
6130
- * @generated from message norsk.api.media.HlsTsVideoPushConfiguration
6131
- */
6132
- export declare class HlsTsVideoPushConfiguration extends Message<HlsTsVideoPushConfiguration> {
6133
- /**
6134
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
6135
- */
6136
- id?: MediaNodeId;
6137
- /**
6138
- * @generated from field: norsk.api.media.CMAFDestination destination = 2;
6139
- */
6140
- destination?: CMAFDestination;
6141
- /**
6142
- * @generated from field: float segment_duration_seconds = 3;
6143
- */
6144
- segmentDurationSeconds: number;
6145
- /**
6146
- * @generated from field: float delay_output_ms = 4;
6147
- */
6148
- delayOutputMs: number;
6149
- /**
6150
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
6151
- */
6152
- statsSampling?: StreamStatisticsSampling;
6153
- constructor(data?: PartialMessage<HlsTsVideoPushConfiguration>);
6154
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6155
- static readonly typeName = "norsk.api.media.HlsTsVideoPushConfiguration";
6156
- static readonly fields: FieldList;
6157
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoPushConfiguration;
6158
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsVideoPushConfiguration;
6159
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsVideoPushConfiguration;
6160
- static equals(a: HlsTsVideoPushConfiguration | PlainMessage<HlsTsVideoPushConfiguration> | undefined, b: HlsTsVideoPushConfiguration | PlainMessage<HlsTsVideoPushConfiguration> | undefined): boolean;
6161
- }
6162
- /**
6163
- * @generated from message norsk.api.media.HlsTsVideoPushMessage
6164
- */
6165
- export declare class HlsTsVideoPushMessage extends Message<HlsTsVideoPushMessage> {
6166
- /**
6167
- * @generated from oneof norsk.api.media.HlsTsVideoPushMessage.message
6168
- */
6169
- message: {
6170
- /**
6171
- * @generated from field: norsk.api.media.Subscription subscription = 1;
6172
- */
6173
- value: Subscription;
6174
- case: "subscription";
6175
- } | {
6176
- /**
6177
- * @generated from field: norsk.api.media.HlsTsVideoPushConfiguration configuration = 2;
6178
- */
6179
- value: HlsTsVideoPushConfiguration;
6180
- case: "configuration";
6181
- } | {
6182
- case: undefined;
6183
- value?: undefined;
6184
- };
6185
- constructor(data?: PartialMessage<HlsTsVideoPushMessage>);
6186
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6187
- static readonly typeName = "norsk.api.media.HlsTsVideoPushMessage";
6188
- static readonly fields: FieldList;
6189
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoPushMessage;
6190
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsVideoPushMessage;
6191
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsVideoPushMessage;
6192
- static equals(a: HlsTsVideoPushMessage | PlainMessage<HlsTsVideoPushMessage> | undefined, b: HlsTsVideoPushMessage | PlainMessage<HlsTsVideoPushMessage> | undefined): boolean;
6193
- }
6194
- /**
6195
- * @generated from message norsk.api.media.HlsTsAudioPushConfiguration
6196
- */
6197
- export declare class HlsTsAudioPushConfiguration extends Message<HlsTsAudioPushConfiguration> {
6198
- /**
6199
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
6200
- */
6201
- id?: MediaNodeId;
6202
- /**
6203
- * @generated from field: norsk.api.media.CMAFDestination destination = 2;
6204
- */
6205
- destination?: CMAFDestination;
6206
- /**
6207
- * @generated from field: float segment_duration_seconds = 3;
6208
- */
6209
- segmentDurationSeconds: number;
6210
- /**
6211
- * @generated from field: float delay_output_ms = 4;
6212
- */
6213
- delayOutputMs: number;
6214
- /**
6215
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 5;
6216
- */
6217
- statsSampling?: StreamStatisticsSampling;
6218
- constructor(data?: PartialMessage<HlsTsAudioPushConfiguration>);
6219
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6220
- static readonly typeName = "norsk.api.media.HlsTsAudioPushConfiguration";
6221
- static readonly fields: FieldList;
6222
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioPushConfiguration;
6223
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsAudioPushConfiguration;
6224
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsAudioPushConfiguration;
6225
- static equals(a: HlsTsAudioPushConfiguration | PlainMessage<HlsTsAudioPushConfiguration> | undefined, b: HlsTsAudioPushConfiguration | PlainMessage<HlsTsAudioPushConfiguration> | undefined): boolean;
6226
- }
6227
- /**
6228
- * @generated from message norsk.api.media.HlsTsAudioPushMessage
6229
- */
6230
- export declare class HlsTsAudioPushMessage extends Message<HlsTsAudioPushMessage> {
6231
- /**
6232
- * @generated from oneof norsk.api.media.HlsTsAudioPushMessage.message
6233
- */
6234
- message: {
6235
- /**
6236
- * @generated from field: norsk.api.media.Subscription subscription = 1;
6237
- */
6238
- value: Subscription;
6239
- case: "subscription";
6240
- } | {
6241
- /**
6242
- * @generated from field: norsk.api.media.HlsTsAudioPushConfiguration configuration = 2;
6243
- */
6244
- value: HlsTsAudioPushConfiguration;
6245
- case: "configuration";
6246
- } | {
6247
- case: undefined;
6248
- value?: undefined;
6249
- };
6250
- constructor(data?: PartialMessage<HlsTsAudioPushMessage>);
6251
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6252
- static readonly typeName = "norsk.api.media.HlsTsAudioPushMessage";
6253
- static readonly fields: FieldList;
6254
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioPushMessage;
6255
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsAudioPushMessage;
6256
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsAudioPushMessage;
6257
- static equals(a: HlsTsAudioPushMessage | PlainMessage<HlsTsAudioPushMessage> | undefined, b: HlsTsAudioPushMessage | PlainMessage<HlsTsAudioPushMessage> | undefined): boolean;
6258
- }
6259
6154
  /**
6260
6155
  * @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
6261
6156
  */
@@ -8837,13 +8732,15 @@ export declare class StreamMetadataOverrideConfiguration extends Message<StreamM
8837
8732
  */
8838
8733
  id?: MediaNodeId;
8839
8734
  /**
8840
- * * Override the bitrate metadata of a compressed video stream, or `0` to clear
8735
+ * * Override the bitrate metadata of a compressed video stream, or `0` to
8736
+ * clear
8841
8737
  *
8842
8738
  * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
8843
8739
  */
8844
8740
  videoBitrate?: OptionalInt;
8845
8741
  /**
8846
- * * Override the bitrate metadata of a compressed audio stream, or `0` to clear
8742
+ * * Override the bitrate metadata of a compressed audio stream, or `0` to
8743
+ * clear
8847
8744
  *
8848
8745
  * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
8849
8746
  */
@@ -8874,13 +8771,15 @@ export declare class StreamMetadataOverrideConfiguration extends Message<StreamM
8874
8771
  */
8875
8772
  export declare class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMetadataOverrideUpdateConfiguration> {
8876
8773
  /**
8877
- * * Override the bitrate metadata of a compressed video stream, or `0` to clear
8774
+ * * Override the bitrate metadata of a compressed video stream, or `0` to
8775
+ * clear
8878
8776
  *
8879
8777
  * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
8880
8778
  */
8881
8779
  videoBitrate?: OptionalInt;
8882
8780
  /**
8883
- * * Override the bitrate metadata of a compressed audio stream, or `0` to clear
8781
+ * * Override the bitrate metadata of a compressed audio stream, or `0` to
8782
+ * clear
8884
8783
  *
8885
8784
  * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
8886
8785
  */
@@ -10517,7 +10416,8 @@ export declare class SubscribeSource extends Message<SubscribeSource> {
10517
10416
  */
10518
10417
  export declare class Subscription extends Message<Subscription> {
10519
10418
  /**
10520
- * An arbitrary id of the subscription, to enable correlating of the corresponding subscription response
10419
+ * An arbitrary id of the subscription, to enable correlating of the
10420
+ * corresponding subscription response
10521
10421
  *
10522
10422
  * @generated from field: string id = 1;
10523
10423
  */
@@ -10687,7 +10587,8 @@ export declare class SourceSubscriptionError extends Message<SourceSubscriptionE
10687
10587
  case: "unknownSourceStream";
10688
10588
  } | {
10689
10589
  /**
10690
- * The media node is not set up to receive data on this pin (which may be auto-detected)
10590
+ * The media node is not set up to receive data on this pin (which may be
10591
+ * auto-detected)
10691
10592
  *
10692
10593
  * @generated from field: norsk.api.media.SourceSubscriptionError.NoSubscriberPin no_subscriber_pin = 4;
10693
10594
  */
@@ -10695,7 +10596,8 @@ export declare class SourceSubscriptionError extends Message<SourceSubscriptionE
10695
10596
  case: "noSubscriberPin";
10696
10597
  } | {
10697
10598
  /**
10698
- * Norsk does not support conversion from the media types of the source to the media types accepted by the subscriber
10599
+ * Norsk does not support conversion from the media types of the source to
10600
+ * the media types accepted by the subscriber
10699
10601
  *
10700
10602
  * @generated from field: norsk.api.media.SourceSubscriptionError.UnsupportedConversion unsupported_conversion = 5;
10701
10603
  */