@norskvideo/norsk-api 1.0.370 → 1.0.373

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
@@ -5318,20 +5318,6 @@ export declare class ComposePart extends Message<ComposePart> {
5318
5318
  * @generated from field: norsk.api.media.Transition transition = 7;
5319
5319
  */
5320
5320
  transition?: Transition;
5321
- /**
5322
- * * Optionally supply a reference resolution. This allows description of the
5323
- * composition in a desired coordinate system, e.g. a resolution of 100x100
5324
- * can be specified to allow the source and destination areas to be described
5325
- * in percentage terms, or a notional resolution can be used that is
5326
- * independant of the source resolutions that may be provided.
5327
- *
5328
- * If unset, this will be overriden by a global reference resolution if
5329
- * present
5330
- *
5331
- *
5332
- * @generated from field: norsk.api.media.Resolution reference_resolution = 8;
5333
- */
5334
- referenceResolution?: Resolution;
5335
5321
  constructor(data?: PartialMessage<ComposePart>);
5336
5322
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
5337
5323
  static readonly typeName = "norsk.api.media.ComposePart";
@@ -5506,22 +5492,6 @@ export declare class VideoComposeConfiguration extends Message<VideoComposeConfi
5506
5492
  * @generated from field: repeated norsk.api.media.ComposePart parts = 3;
5507
5493
  */
5508
5494
  parts: ComposePart[];
5509
- /**
5510
- * * Optionally supply a fallback reference resolution. This allows description
5511
- * of the composition in a desired coordinate system, e.g. a resolution of
5512
- * 100x100 can be specified to allow the source and destination areas to be
5513
- * described in percentage terms, or a notional resolution can be used that is
5514
- * independant of the source resolutions that may be provided.
5515
- *
5516
- * if set here, this reference resolution will be applied to
5517
- * any parts that do not have their own reference resolution specified
5518
- *
5519
- * If not provided the source and destination rectangles are in terms of the
5520
- * source and output resolutions respectively.
5521
- *
5522
- * @generated from field: norsk.api.media.Resolution reference_resolution = 4;
5523
- */
5524
- referenceResolution?: Resolution;
5525
5495
  /**
5526
5496
  * The resolution of the output video
5527
5497
  *
@@ -5695,6 +5665,12 @@ export declare class VideoComposeSourceEvent extends Message<VideoComposeSourceE
5695
5665
  */
5696
5666
  value: Context;
5697
5667
  case: "inboundContext";
5668
+ } | {
5669
+ /**
5670
+ * @generated from field: norsk.api.media.MultipleContext validated_context = 6;
5671
+ */
5672
+ value: MultipleContext;
5673
+ case: "validatedContext";
5698
5674
  } | {
5699
5675
  case: undefined;
5700
5676
  value?: undefined;
@@ -13208,6 +13184,12 @@ export declare class StreamSwitchSmoothConfiguration extends Message<StreamSwitc
13208
13184
  * @generated from field: norsk.api.media.SampleRate sample_rate = 6;
13209
13185
  */
13210
13186
  sampleRate: SampleRate;
13187
+ /**
13188
+ * The sample format of the output
13189
+ *
13190
+ * @generated from field: norsk.api.media.SampleFormat sampleFormat = 11;
13191
+ */
13192
+ sampleFormat: SampleFormat;
13211
13193
  /**
13212
13194
  * The frame rate of the output
13213
13195
  *
@@ -16207,9 +16189,9 @@ export declare class MediaStoreExpiry extends Message<MediaStoreExpiry> {
16207
16189
  */
16208
16190
  message: {
16209
16191
  /**
16210
- * @generated from field: uint32 by_size = 1;
16192
+ * @generated from field: uint64 by_size = 1;
16211
16193
  */
16212
- value: number;
16194
+ value: bigint;
16213
16195
  case: "bySize";
16214
16196
  } | {
16215
16197
  /**
package/lib/media_pb.js CHANGED
@@ -6563,7 +6563,6 @@ ComposePart.fields = protobuf_1.proto3.util.newFieldList(() => [
6563
6563
  { no: 5, name: "opacity", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6564
6564
  { no: 6, name: "id", kind: "message", T: PartId },
6565
6565
  { no: 7, name: "transition", kind: "message", T: Transition },
6566
- { no: 8, name: "reference_resolution", kind: "message", T: Resolution },
6567
6566
  ]);
6568
6567
  /**
6569
6568
  * A transition for a video composition part.
@@ -6800,7 +6799,6 @@ VideoComposeConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
6800
6799
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
6801
6800
  { no: 2, name: "reference_stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6802
6801
  { no: 3, name: "parts", kind: "message", T: ComposePart, repeated: true },
6803
- { no: 4, name: "reference_resolution", kind: "message", T: Resolution },
6804
6802
  { no: 5, name: "output_resolution", kind: "message", T: Resolution },
6805
6803
  { no: 6, name: "output_pixel_format", kind: "enum", T: protobuf_1.proto3.getEnumType(VideoComposeConfiguration_PixelFormat) },
6806
6804
  { no: 7, name: "missing_stream_behaviour", kind: "enum", T: protobuf_1.proto3.getEnumType(VideoComposeConfiguration_MissingStreamBehaviour) },
@@ -6980,6 +6978,7 @@ VideoComposeSourceEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
6980
6978
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
6981
6979
  { no: 4, name: "transition_complete", kind: "message", T: TransitionComplete, oneof: "message" },
6982
6980
  { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
6981
+ { no: 6, name: "validated_context", kind: "message", T: MultipleContext, oneof: "message" },
6983
6982
  ]);
6984
6983
  /**
6985
6984
  * Indicates that the transitions specified in the last config update have
@@ -14593,6 +14592,12 @@ class StreamSwitchSmoothConfiguration extends protobuf_1.Message {
14593
14592
  * @generated from field: norsk.api.media.SampleRate sample_rate = 6;
14594
14593
  */
14595
14594
  this.sampleRate = SampleRate.RATE_8000;
14595
+ /**
14596
+ * The sample format of the output
14597
+ *
14598
+ * @generated from field: norsk.api.media.SampleFormat sampleFormat = 11;
14599
+ */
14600
+ this.sampleFormat = SampleFormat.S16;
14596
14601
  /**
14597
14602
  * Align all timestamps to minimise timestamp jitter on mixed streams
14598
14603
  *
@@ -14631,6 +14636,7 @@ StreamSwitchSmoothConfiguration.fields = protobuf_1.proto3.util.newFieldList(()
14631
14636
  { no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
14632
14637
  { no: 5, name: "output_resolution", kind: "message", T: Resolution },
14633
14638
  { no: 6, name: "sample_rate", kind: "enum", T: protobuf_1.proto3.getEnumType(SampleRate) },
14639
+ { no: 11, name: "sampleFormat", kind: "enum", T: protobuf_1.proto3.getEnumType(SampleFormat) },
14634
14640
  { no: 7, name: "frame_rate", kind: "message", T: FrameRate },
14635
14641
  { no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
14636
14642
  { no: 9, name: "alignment", kind: "enum", T: protobuf_1.proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
@@ -18046,7 +18052,7 @@ exports.MediaStoreExpiry = MediaStoreExpiry;
18046
18052
  MediaStoreExpiry.runtime = protobuf_1.proto3;
18047
18053
  MediaStoreExpiry.typeName = "norsk.api.media.MediaStoreExpiry";
18048
18054
  MediaStoreExpiry.fields = protobuf_1.proto3.util.newFieldList(() => [
18049
- { no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
18055
+ { no: 1, name: "by_size", kind: "scalar", T: 4 /* ScalarType.UINT64 */, oneof: "message" },
18050
18056
  { no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
18051
18057
  ]);
18052
18058
  /**