@norskvideo/norsk-api 1.0.340 → 1.0.341

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
@@ -8400,11 +8400,17 @@ export enum VideoComposeConfiguration_ComposeHardwareAcceleration {
8400
8400
  * @generated from enum value: QUADRA = 1;
8401
8401
  */
8402
8402
  QUADRA = 1,
8403
+
8404
+ /**
8405
+ * @generated from enum value: NVIDIA = 2;
8406
+ */
8407
+ NVIDIA = 2,
8403
8408
  }
8404
8409
  // Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration)
8405
8410
  proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration", [
8406
8411
  { no: 0, name: "NONE" },
8407
8412
  { no: 1, name: "QUADRA" },
8413
+ { no: 2, name: "NVIDIA" },
8408
8414
  ]);
8409
8415
 
8410
8416
  /**
@@ -14354,11 +14360,6 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14354
14360
  */
14355
14361
  frameIntervalP?: OptionalInt;
14356
14362
 
14357
- /**
14358
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
14359
- */
14360
- maxNumRefFrames?: OptionalInt;
14361
-
14362
14363
  /**
14363
14364
  * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14364
14365
  */
@@ -14396,7 +14397,6 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14396
14397
  { no: 2, name: "gopInterval", kind: "message", T: OptionalInt },
14397
14398
  { no: 3, name: "idrPeriod", kind: "message", T: OptionalInt },
14398
14399
  { no: 4, name: "frameIntervalP", kind: "message", T: OptionalInt },
14399
- { no: 5, name: "maxNumRefFrames", kind: "message", T: OptionalInt },
14400
14400
  { no: 6, name: "outputAud", kind: "message", T: OptionalBool },
14401
14401
  { no: 7, name: "level", kind: "message", T: OptionalInt },
14402
14402
  { no: 8, name: "tier", kind: "enum", T: proto3.getEnumType(NvidiaHevc_NvidiaHevcTier) },
@@ -17147,6 +17147,43 @@ export class StreamSwitchSmoothSwitchError extends Message<StreamSwitchSmoothSwi
17147
17147
  }
17148
17148
  }
17149
17149
 
17150
+ /**
17151
+ * @generated from message norsk.api.media.StreamSwitchTransitionComplete
17152
+ */
17153
+ export class StreamSwitchTransitionComplete extends Message<StreamSwitchTransitionComplete> {
17154
+ /**
17155
+ * @generated from field: norsk.api.media.InputPin active_source = 1;
17156
+ */
17157
+ activeSource?: InputPin;
17158
+
17159
+ constructor(data?: PartialMessage<StreamSwitchTransitionComplete>) {
17160
+ super();
17161
+ proto3.util.initPartial(data, this);
17162
+ }
17163
+
17164
+ static readonly runtime = proto3;
17165
+ static readonly typeName = "norsk.api.media.StreamSwitchTransitionComplete";
17166
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17167
+ { no: 1, name: "active_source", kind: "message", T: InputPin },
17168
+ ]);
17169
+
17170
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchTransitionComplete {
17171
+ return new StreamSwitchTransitionComplete().fromBinary(bytes, options);
17172
+ }
17173
+
17174
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSwitchTransitionComplete {
17175
+ return new StreamSwitchTransitionComplete().fromJson(jsonValue, options);
17176
+ }
17177
+
17178
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSwitchTransitionComplete {
17179
+ return new StreamSwitchTransitionComplete().fromJsonString(jsonString, options);
17180
+ }
17181
+
17182
+ static equals(a: StreamSwitchTransitionComplete | PlainMessage<StreamSwitchTransitionComplete> | undefined, b: StreamSwitchTransitionComplete | PlainMessage<StreamSwitchTransitionComplete> | undefined): boolean {
17183
+ return proto3.util.equals(StreamSwitchTransitionComplete, a, b);
17184
+ }
17185
+ }
17186
+
17150
17187
  /**
17151
17188
  * @generated from message norsk.api.media.StreamSwitchSmoothEvent
17152
17189
  */
@@ -17188,6 +17225,15 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17188
17225
  */
17189
17226
  value: MultipleContext;
17190
17227
  case: "inboundContext";
17228
+ } | {
17229
+ /**
17230
+ * Message indicating a transition has succesfully completed for a requested switch, i.e. the new source
17231
+ * is now showing
17232
+ *
17233
+ * @generated from field: norsk.api.media.StreamSwitchTransitionComplete transition_complete = 6;
17234
+ */
17235
+ value: StreamSwitchTransitionComplete;
17236
+ case: "transitionComplete";
17191
17237
  } | { case: undefined; value?: undefined } = { case: undefined };
17192
17238
 
17193
17239
  constructor(data?: PartialMessage<StreamSwitchSmoothEvent>) {
@@ -17203,6 +17249,7 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17203
17249
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17204
17250
  { no: 4, name: "switch_error", kind: "message", T: StreamSwitchSmoothSwitchError, oneof: "message" },
17205
17251
  { no: 5, name: "inbound_context", kind: "message", T: MultipleContext, oneof: "message" },
17252
+ { no: 6, name: "transition_complete", kind: "message", T: StreamSwitchTransitionComplete, oneof: "message" },
17206
17253
  ]);
17207
17254
 
17208
17255
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothEvent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.340",
3
+ "version": "1.0.341",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",