@norskvideo/norsk-api 1.0.372 → 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.ts CHANGED
@@ -8783,21 +8783,6 @@ export class ComposePart extends Message<ComposePart> {
8783
8783
  */
8784
8784
  transition?: Transition;
8785
8785
 
8786
- /**
8787
- * * Optionally supply a reference resolution. This allows description of the
8788
- * composition in a desired coordinate system, e.g. a resolution of 100x100
8789
- * can be specified to allow the source and destination areas to be described
8790
- * in percentage terms, or a notional resolution can be used that is
8791
- * independant of the source resolutions that may be provided.
8792
- *
8793
- * If unset, this will be overriden by a global reference resolution if
8794
- * present
8795
- *
8796
- *
8797
- * @generated from field: norsk.api.media.Resolution reference_resolution = 8;
8798
- */
8799
- referenceResolution?: Resolution;
8800
-
8801
8786
  constructor(data?: PartialMessage<ComposePart>) {
8802
8787
  super();
8803
8788
  proto3.util.initPartial(data, this);
@@ -8813,7 +8798,6 @@ export class ComposePart extends Message<ComposePart> {
8813
8798
  { no: 5, name: "opacity", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
8814
8799
  { no: 6, name: "id", kind: "message", T: PartId },
8815
8800
  { no: 7, name: "transition", kind: "message", T: Transition },
8816
- { no: 8, name: "reference_resolution", kind: "message", T: Resolution },
8817
8801
  ]);
8818
8802
 
8819
8803
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ComposePart {
@@ -9090,23 +9074,6 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
9090
9074
  */
9091
9075
  parts: ComposePart[] = [];
9092
9076
 
9093
- /**
9094
- * * Optionally supply a fallback reference resolution. This allows description
9095
- * of the composition in a desired coordinate system, e.g. a resolution of
9096
- * 100x100 can be specified to allow the source and destination areas to be
9097
- * described in percentage terms, or a notional resolution can be used that is
9098
- * independant of the source resolutions that may be provided.
9099
- *
9100
- * if set here, this reference resolution will be applied to
9101
- * any parts that do not have their own reference resolution specified
9102
- *
9103
- * If not provided the source and destination rectangles are in terms of the
9104
- * source and output resolutions respectively.
9105
- *
9106
- * @generated from field: norsk.api.media.Resolution reference_resolution = 4;
9107
- */
9108
- referenceResolution?: Resolution;
9109
-
9110
9077
  /**
9111
9078
  * The resolution of the output video
9112
9079
  *
@@ -9150,7 +9117,6 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
9150
9117
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
9151
9118
  { no: 2, name: "reference_stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9152
9119
  { no: 3, name: "parts", kind: "message", T: ComposePart, repeated: true },
9153
- { no: 4, name: "reference_resolution", kind: "message", T: Resolution },
9154
9120
  { no: 5, name: "output_resolution", kind: "message", T: Resolution },
9155
9121
  { no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_PixelFormat) },
9156
9122
  { no: 7, name: "missing_stream_behaviour", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_MissingStreamBehaviour) },
@@ -9369,6 +9335,12 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
9369
9335
  */
9370
9336
  value: Context;
9371
9337
  case: "inboundContext";
9338
+ } | {
9339
+ /**
9340
+ * @generated from field: norsk.api.media.MultipleContext validated_context = 6;
9341
+ */
9342
+ value: MultipleContext;
9343
+ case: "validatedContext";
9372
9344
  } | { case: undefined; value?: undefined } = { case: undefined };
9373
9345
 
9374
9346
  constructor(data?: PartialMessage<VideoComposeSourceEvent>) {
@@ -9384,6 +9356,7 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
9384
9356
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9385
9357
  { no: 4, name: "transition_complete", kind: "message", T: TransitionComplete, oneof: "message" },
9386
9358
  { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9359
+ { no: 6, name: "validated_context", kind: "message", T: MultipleContext, oneof: "message" },
9387
9360
  ]);
9388
9361
 
9389
9362
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeSourceEvent {
@@ -21465,6 +21438,13 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
21465
21438
  */
21466
21439
  sampleRate = SampleRate.RATE_8000;
21467
21440
 
21441
+ /**
21442
+ * The sample format of the output
21443
+ *
21444
+ * @generated from field: norsk.api.media.SampleFormat sampleFormat = 11;
21445
+ */
21446
+ sampleFormat = SampleFormat.S16;
21447
+
21468
21448
  /**
21469
21449
  * The frame rate of the output
21470
21450
  *
@@ -21508,6 +21488,7 @@ export class StreamSwitchSmoothConfiguration extends Message<StreamSwitchSmoothC
21508
21488
  { no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
21509
21489
  { no: 5, name: "output_resolution", kind: "message", T: Resolution },
21510
21490
  { no: 6, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
21491
+ { no: 11, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
21511
21492
  { no: 7, name: "frame_rate", kind: "message", T: FrameRate },
21512
21493
  { no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
21513
21494
  { no: 9, name: "alignment", kind: "enum", T: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
@@ -26550,9 +26531,9 @@ export class MediaStoreExpiry extends Message<MediaStoreExpiry> {
26550
26531
  */
26551
26532
  message: {
26552
26533
  /**
26553
- * @generated from field: uint32 by_size = 1;
26534
+ * @generated from field: uint64 by_size = 1;
26554
26535
  */
26555
- value: number;
26536
+ value: bigint;
26556
26537
  case: "bySize";
26557
26538
  } | {
26558
26539
  /**
@@ -26570,7 +26551,7 @@ export class MediaStoreExpiry extends Message<MediaStoreExpiry> {
26570
26551
  static readonly runtime = proto3;
26571
26552
  static readonly typeName = "norsk.api.media.MediaStoreExpiry";
26572
26553
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26573
- { no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
26554
+ { no: 1, name: "by_size", kind: "scalar", T: 4 /* ScalarType.UINT64 */, oneof: "message" },
26574
26555
  { no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
26575
26556
  ]);
26576
26557
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.372",
3
+ "version": "1.0.373",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",