@norskvideo/norsk-api 1.0.344 → 1.0.345

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
@@ -2008,6 +2008,51 @@ export class Resolution extends Message<Resolution> {
2008
2008
  }
2009
2009
  }
2010
2010
 
2011
+ /**
2012
+ * A time interval measured as ticks / (ticks per second)
2013
+ *
2014
+ * @generated from message norsk.api.media.Interval
2015
+ */
2016
+ export class Interval extends Message<Interval> {
2017
+ /**
2018
+ * @generated from field: uint32 n = 1;
2019
+ */
2020
+ n = 0;
2021
+
2022
+ /**
2023
+ * @generated from field: uint32 d = 2;
2024
+ */
2025
+ d = 0;
2026
+
2027
+ constructor(data?: PartialMessage<Interval>) {
2028
+ super();
2029
+ proto3.util.initPartial(data, this);
2030
+ }
2031
+
2032
+ static readonly runtime = proto3;
2033
+ static readonly typeName = "norsk.api.media.Interval";
2034
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2035
+ { no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2036
+ { no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2037
+ ]);
2038
+
2039
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
2040
+ return new Interval().fromBinary(bytes, options);
2041
+ }
2042
+
2043
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval {
2044
+ return new Interval().fromJson(jsonValue, options);
2045
+ }
2046
+
2047
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval {
2048
+ return new Interval().fromJsonString(jsonString, options);
2049
+ }
2050
+
2051
+ static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean {
2052
+ return proto3.util.equals(Interval, a, b);
2053
+ }
2054
+ }
2055
+
2011
2056
  /**
2012
2057
  * ////////////////////////////////////////////////////////////////////////////
2013
2058
  * Context
@@ -18389,51 +18434,6 @@ export class AudioMeasureLevelsMessage extends Message<AudioMeasureLevelsMessage
18389
18434
  }
18390
18435
  }
18391
18436
 
18392
- /**
18393
- * A time interval measured as ticks / (ticks per second)
18394
- *
18395
- * @generated from message norsk.api.media.Interval
18396
- */
18397
- export class Interval extends Message<Interval> {
18398
- /**
18399
- * @generated from field: uint32 n = 1;
18400
- */
18401
- n = 0;
18402
-
18403
- /**
18404
- * @generated from field: uint32 d = 2;
18405
- */
18406
- d = 0;
18407
-
18408
- constructor(data?: PartialMessage<Interval>) {
18409
- super();
18410
- proto3.util.initPartial(data, this);
18411
- }
18412
-
18413
- static readonly runtime = proto3;
18414
- static readonly typeName = "norsk.api.media.Interval";
18415
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
18416
- { no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18417
- { no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18418
- ]);
18419
-
18420
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
18421
- return new Interval().fromBinary(bytes, options);
18422
- }
18423
-
18424
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval {
18425
- return new Interval().fromJson(jsonValue, options);
18426
- }
18427
-
18428
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval {
18429
- return new Interval().fromJsonString(jsonString, options);
18430
- }
18431
-
18432
- static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean {
18433
- return proto3.util.equals(Interval, a, b);
18434
- }
18435
- }
18436
-
18437
18437
  /**
18438
18438
  * @generated from message norsk.api.media.Db
18439
18439
  */
@@ -18642,6 +18642,200 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
18642
18642
  }
18643
18643
  }
18644
18644
 
18645
+ /**
18646
+ * @generated from message norsk.api.media.StreamTimestampReportConfiguration
18647
+ */
18648
+ export class StreamTimestampReportConfiguration extends Message<StreamTimestampReportConfiguration> {
18649
+ /**
18650
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
18651
+ */
18652
+ id?: MediaNodeId;
18653
+
18654
+ constructor(data?: PartialMessage<StreamTimestampReportConfiguration>) {
18655
+ super();
18656
+ proto3.util.initPartial(data, this);
18657
+ }
18658
+
18659
+ static readonly runtime = proto3;
18660
+ static readonly typeName = "norsk.api.media.StreamTimestampReportConfiguration";
18661
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18662
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
18663
+ ]);
18664
+
18665
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportConfiguration {
18666
+ return new StreamTimestampReportConfiguration().fromBinary(bytes, options);
18667
+ }
18668
+
18669
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration {
18670
+ return new StreamTimestampReportConfiguration().fromJson(jsonValue, options);
18671
+ }
18672
+
18673
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration {
18674
+ return new StreamTimestampReportConfiguration().fromJsonString(jsonString, options);
18675
+ }
18676
+
18677
+ static equals(a: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined, b: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined): boolean {
18678
+ return proto3.util.equals(StreamTimestampReportConfiguration, a, b);
18679
+ }
18680
+ }
18681
+
18682
+ /**
18683
+ * @generated from message norsk.api.media.StreamTimestampReportMessage
18684
+ */
18685
+ export class StreamTimestampReportMessage extends Message<StreamTimestampReportMessage> {
18686
+ /**
18687
+ * @generated from oneof norsk.api.media.StreamTimestampReportMessage.message
18688
+ */
18689
+ message: {
18690
+ /**
18691
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
18692
+ */
18693
+ value: Subscription;
18694
+ case: "subscription";
18695
+ } | {
18696
+ /**
18697
+ * @generated from field: norsk.api.media.StreamTimestampReportConfiguration configuration = 2;
18698
+ */
18699
+ value: StreamTimestampReportConfiguration;
18700
+ case: "configuration";
18701
+ } | { case: undefined; value?: undefined } = { case: undefined };
18702
+
18703
+ constructor(data?: PartialMessage<StreamTimestampReportMessage>) {
18704
+ super();
18705
+ proto3.util.initPartial(data, this);
18706
+ }
18707
+
18708
+ static readonly runtime = proto3;
18709
+ static readonly typeName = "norsk.api.media.StreamTimestampReportMessage";
18710
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18711
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18712
+ { no: 2, name: "configuration", kind: "message", T: StreamTimestampReportConfiguration, oneof: "message" },
18713
+ ]);
18714
+
18715
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportMessage {
18716
+ return new StreamTimestampReportMessage().fromBinary(bytes, options);
18717
+ }
18718
+
18719
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage {
18720
+ return new StreamTimestampReportMessage().fromJson(jsonValue, options);
18721
+ }
18722
+
18723
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage {
18724
+ return new StreamTimestampReportMessage().fromJsonString(jsonString, options);
18725
+ }
18726
+
18727
+ static equals(a: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined, b: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined): boolean {
18728
+ return proto3.util.equals(StreamTimestampReportMessage, a, b);
18729
+ }
18730
+ }
18731
+
18732
+ /**
18733
+ * @generated from message norsk.api.media.StreamTimestampReport
18734
+ */
18735
+ export class StreamTimestampReport extends Message<StreamTimestampReport> {
18736
+ /**
18737
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
18738
+ */
18739
+ stream?: StreamKey;
18740
+
18741
+ /**
18742
+ * @generated from field: norsk.api.media.Interval pts = 2;
18743
+ */
18744
+ pts?: Interval;
18745
+
18746
+ constructor(data?: PartialMessage<StreamTimestampReport>) {
18747
+ super();
18748
+ proto3.util.initPartial(data, this);
18749
+ }
18750
+
18751
+ static readonly runtime = proto3;
18752
+ static readonly typeName = "norsk.api.media.StreamTimestampReport";
18753
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18754
+ { no: 1, name: "stream", kind: "message", T: StreamKey },
18755
+ { no: 2, name: "pts", kind: "message", T: Interval },
18756
+ ]);
18757
+
18758
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReport {
18759
+ return new StreamTimestampReport().fromBinary(bytes, options);
18760
+ }
18761
+
18762
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReport {
18763
+ return new StreamTimestampReport().fromJson(jsonValue, options);
18764
+ }
18765
+
18766
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReport {
18767
+ return new StreamTimestampReport().fromJsonString(jsonString, options);
18768
+ }
18769
+
18770
+ static equals(a: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined, b: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined): boolean {
18771
+ return proto3.util.equals(StreamTimestampReport, a, b);
18772
+ }
18773
+ }
18774
+
18775
+ /**
18776
+ * @generated from message norsk.api.media.StreamTimestampReportEvent
18777
+ */
18778
+ export class StreamTimestampReportEvent extends Message<StreamTimestampReportEvent> {
18779
+ /**
18780
+ * @generated from oneof norsk.api.media.StreamTimestampReportEvent.message
18781
+ */
18782
+ message: {
18783
+ /**
18784
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
18785
+ */
18786
+ value: MediaNodeId;
18787
+ case: "nodeId";
18788
+ } | {
18789
+ /**
18790
+ * @generated from field: norsk.api.media.StreamTimestampReport report = 2;
18791
+ */
18792
+ value: StreamTimestampReport;
18793
+ case: "report";
18794
+ } | {
18795
+ /**
18796
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
18797
+ */
18798
+ value: SubscriptionResponse;
18799
+ case: "subscriptionResponse";
18800
+ } | {
18801
+ /**
18802
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
18803
+ */
18804
+ value: Context;
18805
+ case: "inboundContext";
18806
+ } | { case: undefined; value?: undefined } = { case: undefined };
18807
+
18808
+ constructor(data?: PartialMessage<StreamTimestampReportEvent>) {
18809
+ super();
18810
+ proto3.util.initPartial(data, this);
18811
+ }
18812
+
18813
+ static readonly runtime = proto3;
18814
+ static readonly typeName = "norsk.api.media.StreamTimestampReportEvent";
18815
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18816
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18817
+ { no: 2, name: "report", kind: "message", T: StreamTimestampReport, oneof: "message" },
18818
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18819
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18820
+ ]);
18821
+
18822
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportEvent {
18823
+ return new StreamTimestampReportEvent().fromBinary(bytes, options);
18824
+ }
18825
+
18826
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent {
18827
+ return new StreamTimestampReportEvent().fromJson(jsonValue, options);
18828
+ }
18829
+
18830
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent {
18831
+ return new StreamTimestampReportEvent().fromJsonString(jsonString, options);
18832
+ }
18833
+
18834
+ static equals(a: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined, b: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined): boolean {
18835
+ return proto3.util.equals(StreamTimestampReportEvent, a, b);
18836
+ }
18837
+ }
18838
+
18645
18839
  /**
18646
18840
  * ///////////////////////////////
18647
18841
  * RTP Input
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.344",
3
+ "version": "1.0.345",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",