@norskvideo/norsk-api 1.0.364 → 1.0.365

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
@@ -23952,6 +23952,80 @@ export class StreamConditionConfiguration extends Message<StreamConditionConfigu
23952
23952
  }
23953
23953
  }
23954
23954
 
23955
+ /**
23956
+ * @generated from message norsk.api.media.StreamConditionSpliceOut
23957
+ */
23958
+ export class StreamConditionSpliceOut extends Message<StreamConditionSpliceOut> {
23959
+ /**
23960
+ * @generated from field: norsk.api.media.Interval pts = 1;
23961
+ */
23962
+ pts?: Interval;
23963
+
23964
+ constructor(data?: PartialMessage<StreamConditionSpliceOut>) {
23965
+ super();
23966
+ proto3.util.initPartial(data, this);
23967
+ }
23968
+
23969
+ static readonly runtime = proto3;
23970
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceOut";
23971
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
23972
+ { no: 1, name: "pts", kind: "message", T: Interval },
23973
+ ]);
23974
+
23975
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceOut {
23976
+ return new StreamConditionSpliceOut().fromBinary(bytes, options);
23977
+ }
23978
+
23979
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut {
23980
+ return new StreamConditionSpliceOut().fromJson(jsonValue, options);
23981
+ }
23982
+
23983
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut {
23984
+ return new StreamConditionSpliceOut().fromJsonString(jsonString, options);
23985
+ }
23986
+
23987
+ static equals(a: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined, b: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined): boolean {
23988
+ return proto3.util.equals(StreamConditionSpliceOut, a, b);
23989
+ }
23990
+ }
23991
+
23992
+ /**
23993
+ * @generated from message norsk.api.media.StreamConditionSpliceIn
23994
+ */
23995
+ export class StreamConditionSpliceIn extends Message<StreamConditionSpliceIn> {
23996
+ /**
23997
+ * @generated from field: norsk.api.media.Interval pts = 1;
23998
+ */
23999
+ pts?: Interval;
24000
+
24001
+ constructor(data?: PartialMessage<StreamConditionSpliceIn>) {
24002
+ super();
24003
+ proto3.util.initPartial(data, this);
24004
+ }
24005
+
24006
+ static readonly runtime = proto3;
24007
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceIn";
24008
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
24009
+ { no: 1, name: "pts", kind: "message", T: Interval },
24010
+ ]);
24011
+
24012
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceIn {
24013
+ return new StreamConditionSpliceIn().fromBinary(bytes, options);
24014
+ }
24015
+
24016
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn {
24017
+ return new StreamConditionSpliceIn().fromJson(jsonValue, options);
24018
+ }
24019
+
24020
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn {
24021
+ return new StreamConditionSpliceIn().fromJsonString(jsonString, options);
24022
+ }
24023
+
24024
+ static equals(a: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined, b: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined): boolean {
24025
+ return proto3.util.equals(StreamConditionSpliceIn, a, b);
24026
+ }
24027
+ }
24028
+
23955
24029
  /**
23956
24030
  * @generated from message norsk.api.media.StreamConditionMessage
23957
24031
  */
@@ -23971,6 +24045,18 @@ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23971
24045
  */
23972
24046
  value: Subscription;
23973
24047
  case: "subscription";
24048
+ } | {
24049
+ /**
24050
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_out = 3;
24051
+ */
24052
+ value: StreamConditionSpliceOut;
24053
+ case: "spliceOut";
24054
+ } | {
24055
+ /**
24056
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_in = 4;
24057
+ */
24058
+ value: StreamConditionSpliceOut;
24059
+ case: "spliceIn";
23974
24060
  } | { case: undefined; value?: undefined } = { case: undefined };
23975
24061
 
23976
24062
  constructor(data?: PartialMessage<StreamConditionMessage>) {
@@ -23983,6 +24069,8 @@ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23983
24069
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
23984
24070
  { no: 1, name: "initial_config", kind: "message", T: StreamConditionConfiguration, oneof: "message" },
23985
24071
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
24072
+ { no: 3, name: "splice_out", kind: "message", T: StreamConditionSpliceOut, oneof: "message" },
24073
+ { no: 4, name: "splice_in", kind: "message", T: StreamConditionSpliceOut, oneof: "message" },
23986
24074
  ]);
23987
24075
 
23988
24076
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage {
@@ -25901,9 +25989,9 @@ export class SingleCut extends Message<SingleCut> {
25901
25989
  durationMs = 0;
25902
25990
 
25903
25991
  /**
25904
- * @generated from field: bool trim_partial_segments = 5;
25992
+ * @generated from field: bool trim_partial_gops = 5;
25905
25993
  */
25906
- trimPartialSegments = false;
25994
+ trimPartialGops = false;
25907
25995
 
25908
25996
  /**
25909
25997
  * @generated from field: norsk.api.common.OptionalInt session_num = 6;
@@ -25922,7 +26010,7 @@ export class SingleCut extends Message<SingleCut> {
25922
26010
  { no: 2, name: "stream_selection", kind: "message", T: StreamSelection, repeated: true },
25923
26011
  { no: 3, name: "start_date_time", kind: "message", T: Timestamp },
25924
26012
  { no: 4, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25925
- { no: 5, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26013
+ { no: 5, name: "trim_partial_gops", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25926
26014
  { no: 6, name: "session_num", kind: "message", T: OptionalInt },
25927
26015
  ]);
25928
26016
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.364",
3
+ "version": "1.0.365",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",