@norskvideo/norsk-api 1.0.344 → 1.0.346

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
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Empty, Message, proto3, protoInt64 } from "@bufbuild/protobuf";
8
- import { CurrentLoad, Log, Version } from "./shared/common_pb.js";
8
+ import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, Version } from "./shared/common_pb.js";
9
9
 
10
10
  /**
11
11
  * Enumeration of possible channel positions.
@@ -1652,282 +1652,6 @@ proto3.util.setEnumType(ContextType, "norsk.api.media.ContextType", [
1652
1652
  { no: 4, name: "CONTEXT_TYPE_SINGLE_RENDITION" },
1653
1653
  ]);
1654
1654
 
1655
- /**
1656
- * The canonical error codes for gRPC APIs.
1657
- *
1658
- *
1659
- * Sometimes multiple error codes may apply. Services should return
1660
- * the most specific error code that applies. For example, prefer
1661
- * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
1662
- * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
1663
- *
1664
- * @generated from enum norsk.api.media.Code
1665
- */
1666
- export enum Code {
1667
- /**
1668
- * Not an error; returned on success
1669
- *
1670
- * HTTP Mapping: 200 OK
1671
- *
1672
- * @generated from enum value: OK = 0;
1673
- */
1674
- OK = 0,
1675
-
1676
- /**
1677
- * The operation was cancelled, typically by the caller.
1678
- *
1679
- * HTTP Mapping: 499 Client Closed Request
1680
- *
1681
- * @generated from enum value: CANCELLED = 1;
1682
- */
1683
- CANCELLED = 1,
1684
-
1685
- /**
1686
- * Unknown error. For example, this error may be returned when
1687
- * a `Status` value received from another address space belongs to
1688
- * an error space that is not known in this address space. Also
1689
- * errors raised by APIs that do not return enough error information
1690
- * may be converted to this error.
1691
- *
1692
- * HTTP Mapping: 500 Internal Server Error
1693
- *
1694
- * @generated from enum value: UNKNOWN_ERROR = 2;
1695
- */
1696
- UNKNOWN_ERROR = 2,
1697
-
1698
- /**
1699
- * The client specified an invalid argument. Note that this differs
1700
- * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
1701
- * that are problematic regardless of the state of the system
1702
- * (e.g., a malformed file name).
1703
- *
1704
- * HTTP Mapping: 400 Bad Request
1705
- *
1706
- * @generated from enum value: INVALID_ARGUMENT = 3;
1707
- */
1708
- INVALID_ARGUMENT = 3,
1709
-
1710
- /**
1711
- * The deadline expired before the operation could complete. For operations
1712
- * that change the state of the system, this error may be returned
1713
- * even if the operation has completed successfully. For example, a
1714
- * successful response from a server could have been delayed long
1715
- * enough for the deadline to expire.
1716
- *
1717
- * HTTP Mapping: 504 Gateway Timeout
1718
- *
1719
- * @generated from enum value: DEADLINE_EXCEEDED = 4;
1720
- */
1721
- DEADLINE_EXCEEDED = 4,
1722
-
1723
- /**
1724
- * Some requested entity (e.g., file or directory) was not found.
1725
- *
1726
- * Note to server developers: if a request is denied for an entire class
1727
- * of users, such as gradual feature rollout or undocumented whitelist,
1728
- * `NOT_FOUND` may be used. If a request is denied for some users within
1729
- * a class of users, such as user-based access control, `PERMISSION_DENIED`
1730
- * must be used.
1731
- *
1732
- * HTTP Mapping: 404 Not Found
1733
- *
1734
- * @generated from enum value: NOT_FOUND = 5;
1735
- */
1736
- NOT_FOUND = 5,
1737
-
1738
- /**
1739
- * The entity that a client attempted to create (e.g., file or directory)
1740
- * already exists.
1741
- *
1742
- * HTTP Mapping: 409 Conflict
1743
- *
1744
- * @generated from enum value: ALREADY_EXISTS = 6;
1745
- */
1746
- ALREADY_EXISTS = 6,
1747
-
1748
- /**
1749
- * The caller does not have permission to execute the specified
1750
- * operation. `PERMISSION_DENIED` must not be used for rejections
1751
- * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
1752
- * instead for those errors). `PERMISSION_DENIED` must not be
1753
- * used if the caller can not be identified (use `UNAUTHENTICATED`
1754
- * instead for those errors). This error code does not imply the
1755
- * request is valid or the requested entity exists or satisfies
1756
- * other pre-conditions.
1757
- *
1758
- * HTTP Mapping: 403 Forbidden
1759
- *
1760
- * @generated from enum value: PERMISSION_DENIED = 7;
1761
- */
1762
- PERMISSION_DENIED = 7,
1763
-
1764
- /**
1765
- * The request does not have valid authentication credentials for the
1766
- * operation.
1767
- *
1768
- * HTTP Mapping: 401 Unauthorized
1769
- *
1770
- * @generated from enum value: UNAUTHENTICATED = 16;
1771
- */
1772
- UNAUTHENTICATED = 16,
1773
-
1774
- /**
1775
- * Some resource has been exhausted, perhaps a per-user quota, or
1776
- * perhaps the entire file system is out of space.
1777
- *
1778
- * HTTP Mapping: 429 Too Many Requests
1779
- *
1780
- * @generated from enum value: RESOURCE_EXHAUSTED = 8;
1781
- */
1782
- RESOURCE_EXHAUSTED = 8,
1783
-
1784
- /**
1785
- * The operation was rejected because the system is not in a state
1786
- * required for the operation's execution. For example, the directory
1787
- * to be deleted is non-empty, an rmdir operation is applied to
1788
- * a non-directory, etc.
1789
- *
1790
- * Service implementors can use the following guidelines to decide
1791
- * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
1792
- * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
1793
- * (b) Use `ABORTED` if the client should retry at a higher level
1794
- * (e.g., when a client-specified test-and-set fails, indicating the
1795
- * client should restart a read-modify-write sequence).
1796
- * (c) Use `FAILED_PRECONDITION` if the client should not retry until
1797
- * the system state has been explicitly fixed. E.g., if an "rmdir"
1798
- * fails because the directory is non-empty, `FAILED_PRECONDITION`
1799
- * should be returned since the client should not retry unless
1800
- * the files are deleted from the directory.
1801
- *
1802
- * HTTP Mapping: 400 Bad Request
1803
- *
1804
- * @generated from enum value: FAILED_PRECONDITION = 9;
1805
- */
1806
- FAILED_PRECONDITION = 9,
1807
-
1808
- /**
1809
- * The operation was aborted, typically due to a concurrency issue such as
1810
- * a sequencer check failure or transaction abort.
1811
- *
1812
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1813
- * `ABORTED`, and `UNAVAILABLE`.
1814
- *
1815
- * HTTP Mapping: 409 Conflict
1816
- *
1817
- * @generated from enum value: ABORTED = 10;
1818
- */
1819
- ABORTED = 10,
1820
-
1821
- /**
1822
- * The operation was attempted past the valid range. E.g., seeking or
1823
- * reading past end-of-file.
1824
- *
1825
- * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
1826
- * be fixed if the system state changes. For example, a 32-bit file
1827
- * system will generate `INVALID_ARGUMENT` if asked to read at an
1828
- * offset that is not in the range [0,2^32-1], but it will generate
1829
- * `OUT_OF_RANGE` if asked to read from an offset past the current
1830
- * file size.
1831
- *
1832
- * There is a fair bit of overlap between `FAILED_PRECONDITION` and
1833
- * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
1834
- * error) when it applies so that callers who are iterating through
1835
- * a space can easily look for an `OUT_OF_RANGE` error to detect when
1836
- * they are done.
1837
- *
1838
- * HTTP Mapping: 400 Bad Request
1839
- *
1840
- * @generated from enum value: OUT_OF_RANGE = 11;
1841
- */
1842
- OUT_OF_RANGE = 11,
1843
-
1844
- /**
1845
- * The operation is not implemented or is not supported/enabled in this
1846
- * service.
1847
- *
1848
- * HTTP Mapping: 501 Not Implemented
1849
- *
1850
- * @generated from enum value: UNIMPLEMENTED = 12;
1851
- */
1852
- UNIMPLEMENTED = 12,
1853
-
1854
- /**
1855
- * Internal errors. This means that some invariants expected by the
1856
- * underlying system have been broken. This error code is reserved
1857
- * for serious errors.
1858
- *
1859
- * HTTP Mapping: 500 Internal Server Error
1860
- *
1861
- * @generated from enum value: INTERNAL = 13;
1862
- */
1863
- INTERNAL = 13,
1864
-
1865
- /**
1866
- * The service is currently unavailable. This is most likely a
1867
- * transient condition, which can be corrected by retrying with
1868
- * a backoff. Note that it is not always safe to retry
1869
- * non-idempotent operations.
1870
- *
1871
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1872
- * `ABORTED`, and `UNAVAILABLE`.
1873
- *
1874
- * HTTP Mapping: 503 Service Unavailable
1875
- *
1876
- * @generated from enum value: UNAVAILABLE = 14;
1877
- */
1878
- UNAVAILABLE = 14,
1879
-
1880
- /**
1881
- * Unrecoverable data loss or corruption.
1882
- *
1883
- * HTTP Mapping: 500 Internal Server Error
1884
- *
1885
- * @generated from enum value: DATA_LOSS = 15;
1886
- */
1887
- DATA_LOSS = 15,
1888
- }
1889
- // Retrieve enum metadata with: proto3.getEnumType(Code)
1890
- proto3.util.setEnumType(Code, "norsk.api.media.Code", [
1891
- { no: 0, name: "OK" },
1892
- { no: 1, name: "CANCELLED" },
1893
- { no: 2, name: "UNKNOWN_ERROR" },
1894
- { no: 3, name: "INVALID_ARGUMENT" },
1895
- { no: 4, name: "DEADLINE_EXCEEDED" },
1896
- { no: 5, name: "NOT_FOUND" },
1897
- { no: 6, name: "ALREADY_EXISTS" },
1898
- { no: 7, name: "PERMISSION_DENIED" },
1899
- { no: 16, name: "UNAUTHENTICATED" },
1900
- { no: 8, name: "RESOURCE_EXHAUSTED" },
1901
- { no: 9, name: "FAILED_PRECONDITION" },
1902
- { no: 10, name: "ABORTED" },
1903
- { no: 11, name: "OUT_OF_RANGE" },
1904
- { no: 12, name: "UNIMPLEMENTED" },
1905
- { no: 13, name: "INTERNAL" },
1906
- { no: 14, name: "UNAVAILABLE" },
1907
- { no: 15, name: "DATA_LOSS" },
1908
- ]);
1909
-
1910
- /**
1911
- * `NullValue` is a singleton enumeration to represent the null value for the
1912
- * `Value` type union.
1913
- *
1914
- * The JSON representation for `NullValue` is JSON `null`.
1915
- *
1916
- * @generated from enum norsk.api.media.NullValue
1917
- */
1918
- export enum NullValue {
1919
- /**
1920
- * Null value.
1921
- *
1922
- * @generated from enum value: NULL_VALUE = 0;
1923
- */
1924
- NULL_VALUE = 0,
1925
- }
1926
- // Retrieve enum metadata with: proto3.getEnumType(NullValue)
1927
- proto3.util.setEnumType(NullValue, "norsk.api.media.NullValue", [
1928
- { no: 0, name: "NULL_VALUE" },
1929
- ]);
1930
-
1931
1655
  /**
1932
1656
  * @generated from message norsk.api.media.MediaNodeId
1933
1657
  */
@@ -2008,6 +1732,51 @@ export class Resolution extends Message<Resolution> {
2008
1732
  }
2009
1733
  }
2010
1734
 
1735
+ /**
1736
+ * A time interval measured as ticks / (ticks per second)
1737
+ *
1738
+ * @generated from message norsk.api.media.Interval
1739
+ */
1740
+ export class Interval extends Message<Interval> {
1741
+ /**
1742
+ * @generated from field: uint32 n = 1;
1743
+ */
1744
+ n = 0;
1745
+
1746
+ /**
1747
+ * @generated from field: uint32 d = 2;
1748
+ */
1749
+ d = 0;
1750
+
1751
+ constructor(data?: PartialMessage<Interval>) {
1752
+ super();
1753
+ proto3.util.initPartial(data, this);
1754
+ }
1755
+
1756
+ static readonly runtime = proto3;
1757
+ static readonly typeName = "norsk.api.media.Interval";
1758
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1759
+ { no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1760
+ { no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1761
+ ]);
1762
+
1763
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
1764
+ return new Interval().fromBinary(bytes, options);
1765
+ }
1766
+
1767
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval {
1768
+ return new Interval().fromJson(jsonValue, options);
1769
+ }
1770
+
1771
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval {
1772
+ return new Interval().fromJsonString(jsonString, options);
1773
+ }
1774
+
1775
+ static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean {
1776
+ return proto3.util.equals(Interval, a, b);
1777
+ }
1778
+ }
1779
+
2011
1780
  /**
2012
1781
  * ////////////////////////////////////////////////////////////////////////////
2013
1782
  * Context
@@ -5072,7 +4841,7 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
5072
4841
  */
5073
4842
  export class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
5074
4843
  /**
5075
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
4844
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
5076
4845
  */
5077
4846
  loop?: OptionalBool;
5078
4847
 
@@ -5292,12 +5061,12 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
5292
5061
  mode = SrtMode.Listener;
5293
5062
 
5294
5063
  /**
5295
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
5064
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
5296
5065
  */
5297
5066
  passphrase?: OptionalString;
5298
5067
 
5299
5068
  /**
5300
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
5069
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
5301
5070
  */
5302
5071
  streamId?: OptionalString;
5303
5072
 
@@ -6766,7 +6535,7 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
6766
6535
  */
6767
6536
  export class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
6768
6537
  /**
6769
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
6538
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
6770
6539
  */
6771
6540
  loop?: OptionalBool;
6772
6541
 
@@ -6917,12 +6686,12 @@ proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputS
6917
6686
  */
6918
6687
  export class FileMp4InputInfo extends Message<FileMp4InputInfo> {
6919
6688
  /**
6920
- * @generated from field: norsk.api.media.OptionalInt byte_length = 1;
6689
+ * @generated from field: norsk.api.common.OptionalInt byte_length = 1;
6921
6690
  */
6922
6691
  byteLength?: OptionalInt;
6923
6692
 
6924
6693
  /**
6925
- * @generated from field: norsk.api.media.OptionalInt duration_ms = 2;
6694
+ * @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
6926
6695
  */
6927
6696
  durationMs?: OptionalInt;
6928
6697
 
@@ -11788,12 +11557,12 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
11788
11557
  mode = SrtMode.Listener;
11789
11558
 
11790
11559
  /**
11791
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
11560
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
11792
11561
  */
11793
11562
  passphrase?: OptionalString;
11794
11563
 
11795
11564
  /**
11796
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
11565
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
11797
11566
  */
11798
11567
  streamId?: OptionalString;
11799
11568
 
@@ -13221,154 +12990,6 @@ export class SampleAspectRatio extends Message<SampleAspectRatio> {
13221
12990
  }
13222
12991
  }
13223
12992
 
13224
- /**
13225
- * @generated from message norsk.api.media.OptionalInt
13226
- */
13227
- export class OptionalInt extends Message<OptionalInt> {
13228
- /**
13229
- * @generated from field: uint32 value = 1;
13230
- */
13231
- value = 0;
13232
-
13233
- constructor(data?: PartialMessage<OptionalInt>) {
13234
- super();
13235
- proto3.util.initPartial(data, this);
13236
- }
13237
-
13238
- static readonly runtime = proto3;
13239
- static readonly typeName = "norsk.api.media.OptionalInt";
13240
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13241
- { no: 1, name: "value", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
13242
- ]);
13243
-
13244
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt {
13245
- return new OptionalInt().fromBinary(bytes, options);
13246
- }
13247
-
13248
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt {
13249
- return new OptionalInt().fromJson(jsonValue, options);
13250
- }
13251
-
13252
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt {
13253
- return new OptionalInt().fromJsonString(jsonString, options);
13254
- }
13255
-
13256
- static equals(a: OptionalInt | PlainMessage<OptionalInt> | undefined, b: OptionalInt | PlainMessage<OptionalInt> | undefined): boolean {
13257
- return proto3.util.equals(OptionalInt, a, b);
13258
- }
13259
- }
13260
-
13261
- /**
13262
- * @generated from message norsk.api.media.OptionalInt64
13263
- */
13264
- export class OptionalInt64 extends Message<OptionalInt64> {
13265
- /**
13266
- * @generated from field: uint64 value = 1;
13267
- */
13268
- value = protoInt64.zero;
13269
-
13270
- constructor(data?: PartialMessage<OptionalInt64>) {
13271
- super();
13272
- proto3.util.initPartial(data, this);
13273
- }
13274
-
13275
- static readonly runtime = proto3;
13276
- static readonly typeName = "norsk.api.media.OptionalInt64";
13277
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13278
- { no: 1, name: "value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
13279
- ]);
13280
-
13281
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt64 {
13282
- return new OptionalInt64().fromBinary(bytes, options);
13283
- }
13284
-
13285
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt64 {
13286
- return new OptionalInt64().fromJson(jsonValue, options);
13287
- }
13288
-
13289
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt64 {
13290
- return new OptionalInt64().fromJsonString(jsonString, options);
13291
- }
13292
-
13293
- static equals(a: OptionalInt64 | PlainMessage<OptionalInt64> | undefined, b: OptionalInt64 | PlainMessage<OptionalInt64> | undefined): boolean {
13294
- return proto3.util.equals(OptionalInt64, a, b);
13295
- }
13296
- }
13297
-
13298
- /**
13299
- * @generated from message norsk.api.media.OptionalBool
13300
- */
13301
- export class OptionalBool extends Message<OptionalBool> {
13302
- /**
13303
- * @generated from field: bool value = 1;
13304
- */
13305
- value = false;
13306
-
13307
- constructor(data?: PartialMessage<OptionalBool>) {
13308
- super();
13309
- proto3.util.initPartial(data, this);
13310
- }
13311
-
13312
- static readonly runtime = proto3;
13313
- static readonly typeName = "norsk.api.media.OptionalBool";
13314
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13315
- { no: 1, name: "value", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13316
- ]);
13317
-
13318
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalBool {
13319
- return new OptionalBool().fromBinary(bytes, options);
13320
- }
13321
-
13322
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalBool {
13323
- return new OptionalBool().fromJson(jsonValue, options);
13324
- }
13325
-
13326
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalBool {
13327
- return new OptionalBool().fromJsonString(jsonString, options);
13328
- }
13329
-
13330
- static equals(a: OptionalBool | PlainMessage<OptionalBool> | undefined, b: OptionalBool | PlainMessage<OptionalBool> | undefined): boolean {
13331
- return proto3.util.equals(OptionalBool, a, b);
13332
- }
13333
- }
13334
-
13335
- /**
13336
- * @generated from message norsk.api.media.OptionalString
13337
- */
13338
- export class OptionalString extends Message<OptionalString> {
13339
- /**
13340
- * @generated from field: string value = 1;
13341
- */
13342
- value = "";
13343
-
13344
- constructor(data?: PartialMessage<OptionalString>) {
13345
- super();
13346
- proto3.util.initPartial(data, this);
13347
- }
13348
-
13349
- static readonly runtime = proto3;
13350
- static readonly typeName = "norsk.api.media.OptionalString";
13351
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13352
- { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13353
- ]);
13354
-
13355
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalString {
13356
- return new OptionalString().fromBinary(bytes, options);
13357
- }
13358
-
13359
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalString {
13360
- return new OptionalString().fromJson(jsonValue, options);
13361
- }
13362
-
13363
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalString {
13364
- return new OptionalString().fromJsonString(jsonString, options);
13365
- }
13366
-
13367
- static equals(a: OptionalString | PlainMessage<OptionalString> | undefined, b: OptionalString | PlainMessage<OptionalString> | undefined): boolean {
13368
- return proto3.util.equals(OptionalString, a, b);
13369
- }
13370
- }
13371
-
13372
12993
  /**
13373
12994
  * Parameters for tuning the x264 encoder
13374
12995
  *
@@ -13376,7 +12997,7 @@ export class OptionalString extends Message<OptionalString> {
13376
12997
  */
13377
12998
  export class X264Codec extends Message<X264Codec> {
13378
12999
  /**
13379
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
13000
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
13380
13001
  */
13381
13002
  threads?: OptionalInt;
13382
13003
 
@@ -13429,28 +13050,28 @@ export class X264Codec extends Message<X264Codec> {
13429
13050
  * 5, 5.1 - since this field is an integer, you pass in 10 times the
13430
13051
  * required value (e.g., 11, 12 etc)
13431
13052
  *
13432
- * @generated from field: norsk.api.media.OptionalInt level = 3;
13053
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
13433
13054
  */
13434
13055
  level?: OptionalInt;
13435
13056
 
13436
13057
  /**
13437
13058
  * Sets the minimum length between IDR frames
13438
13059
  *
13439
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
13060
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
13440
13061
  */
13441
13062
  keyFrameIntervalMin?: OptionalInt;
13442
13063
 
13443
13064
  /**
13444
13065
  * Sets the maximum length between IDR frames
13445
13066
  *
13446
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
13067
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
13447
13068
  */
13448
13069
  keyFrameIntervalMax?: OptionalInt;
13449
13070
 
13450
13071
  /**
13451
13072
  * Sets the maximum number of concurrent B-frames
13452
13073
  *
13453
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
13074
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
13454
13075
  */
13455
13076
  bframes?: OptionalInt;
13456
13077
 
@@ -13476,7 +13097,7 @@ export class X264Codec extends Message<X264Codec> {
13476
13097
  * Maximum number of reference frames, i.e., the number of previous frames
13477
13098
  * each P-frame can use as references
13478
13099
  *
13479
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
13100
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
13480
13101
  */
13481
13102
  frameReference?: OptionalInt;
13482
13103
 
@@ -13487,21 +13108,21 @@ export class X264Codec extends Message<X264Codec> {
13487
13108
  * (10-20% typically) and the decoding requirements, at the expense of encode
13488
13109
  * CPU requirements
13489
13110
  *
13490
- * @generated from field: norsk.api.media.OptionalBool cabac = 10;
13111
+ * @generated from field: norsk.api.common.OptionalBool cabac = 10;
13491
13112
  */
13492
13113
  cabac?: OptionalBool;
13493
13114
 
13494
13115
  /**
13495
13116
  * Sets the maximum rate the VBV buffer should be assumed to refill at
13496
13117
  *
13497
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
13118
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
13498
13119
  */
13499
13120
  vbvMaxRate?: OptionalInt;
13500
13121
 
13501
13122
  /**
13502
13123
  * Sets the size of the VBV buffer in kilobits
13503
13124
  *
13504
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
13125
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
13505
13126
  */
13506
13127
  vbvBufferSize?: OptionalInt;
13507
13128
 
@@ -13509,21 +13130,21 @@ export class X264Codec extends Message<X264Codec> {
13509
13130
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
13510
13131
  * disables adaptive I-frame decisioning
13511
13132
  *
13512
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
13133
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
13513
13134
  */
13514
13135
  sceneCut?: OptionalInt;
13515
13136
 
13516
13137
  /**
13517
13138
  * Use access unit delimiters in the output
13518
13139
  *
13519
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
13140
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
13520
13141
  */
13521
13142
  aud?: OptionalBool;
13522
13143
 
13523
13144
  /**
13524
13145
  * Disables the loop filter. Not Recommended.
13525
13146
  *
13526
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
13147
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
13527
13148
  */
13528
13149
  noDeblock?: OptionalBool;
13529
13150
 
@@ -13807,7 +13428,7 @@ export class X265Codec extends Message<X265Codec> {
13807
13428
  /**
13808
13429
  * The number of threads to allocate to the encode
13809
13430
  *
13810
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
13431
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
13811
13432
  */
13812
13433
  threads?: OptionalInt;
13813
13434
 
@@ -13860,28 +13481,28 @@ export class X265Codec extends Message<X265Codec> {
13860
13481
  * since this field is an integer, you pass in 10 times the
13861
13482
  * required value (e.g., 11, 12 etc)
13862
13483
  *
13863
- * @generated from field: norsk.api.media.OptionalInt level = 3;
13484
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
13864
13485
  */
13865
13486
  level?: OptionalInt;
13866
13487
 
13867
13488
  /**
13868
13489
  * Sets the minimum length between IDR frames
13869
13490
  *
13870
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
13491
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
13871
13492
  */
13872
13493
  keyFrameIntervalMin?: OptionalInt;
13873
13494
 
13874
13495
  /**
13875
13496
  * Sets the maximum length between IDR frames
13876
13497
  *
13877
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
13498
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
13878
13499
  */
13879
13500
  keyFrameIntervalMax?: OptionalInt;
13880
13501
 
13881
13502
  /**
13882
13503
  * Sets the maximum number of concurrent B-frames
13883
13504
  *
13884
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
13505
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
13885
13506
  */
13886
13507
  bframes?: OptionalInt;
13887
13508
 
@@ -13907,21 +13528,21 @@ export class X265Codec extends Message<X265Codec> {
13907
13528
  * Maximum number of reference frames, i.e., the number of previous frames
13908
13529
  * each P-frame can use as references
13909
13530
  *
13910
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
13531
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
13911
13532
  */
13912
13533
  frameReference?: OptionalInt;
13913
13534
 
13914
13535
  /**
13915
13536
  * Sets the maximum rate the VBV buffer should be assumed to refill at
13916
13537
  *
13917
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
13538
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
13918
13539
  */
13919
13540
  vbvMaxRate?: OptionalInt;
13920
13541
 
13921
13542
  /**
13922
13543
  * Sets the size of the VBV buffer in kilobits
13923
13544
  *
13924
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
13545
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
13925
13546
  */
13926
13547
  vbvBufferSize?: OptionalInt;
13927
13548
 
@@ -13929,21 +13550,21 @@ export class X265Codec extends Message<X265Codec> {
13929
13550
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
13930
13551
  * disables adaptive I-frame decisioning
13931
13552
  *
13932
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
13553
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
13933
13554
  */
13934
13555
  sceneCut?: OptionalInt;
13935
13556
 
13936
13557
  /**
13937
13558
  * Use access unit delimiters in the output
13938
13559
  *
13939
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
13560
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
13940
13561
  */
13941
13562
  aud?: OptionalBool;
13942
13563
 
13943
13564
  /**
13944
13565
  * Disables the loop filter. Not Recommended.
13945
13566
  *
13946
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
13567
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
13947
13568
  */
13948
13569
  noDeblock?: OptionalBool;
13949
13570
 
@@ -14476,37 +14097,37 @@ export class NvidiaRateControl extends Message<NvidiaRateControl> {
14476
14097
  mode = NvidiaRateControl_NvidiaRateControlMode.NVIDIA_RATE_CONTROL_CON_STQP;
14477
14098
 
14478
14099
  /**
14479
- * @generated from field: norsk.api.media.OptionalInt averageBitrate = 2;
14100
+ * @generated from field: norsk.api.common.OptionalInt averageBitrate = 2;
14480
14101
  */
14481
14102
  averageBitrate?: OptionalInt;
14482
14103
 
14483
14104
  /**
14484
- * @generated from field: norsk.api.media.OptionalInt maxBitrate = 3;
14105
+ * @generated from field: norsk.api.common.OptionalInt maxBitrate = 3;
14485
14106
  */
14486
14107
  maxBitrate?: OptionalInt;
14487
14108
 
14488
14109
  /**
14489
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 4;
14110
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 4;
14490
14111
  */
14491
14112
  vbvBufferSize?: OptionalInt;
14492
14113
 
14493
14114
  /**
14494
- * @generated from field: norsk.api.media.OptionalInt vbvInitialDelay = 5;
14115
+ * @generated from field: norsk.api.common.OptionalInt vbvInitialDelay = 5;
14495
14116
  */
14496
14117
  vbvInitialDelay?: OptionalInt;
14497
14118
 
14498
14119
  /**
14499
- * @generated from field: norsk.api.media.OptionalBool enableLookahead = 6;
14120
+ * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
14500
14121
  */
14501
14122
  enableLookahead?: OptionalBool;
14502
14123
 
14503
14124
  /**
14504
- * @generated from field: norsk.api.media.OptionalBool strictGopTarget = 7;
14125
+ * @generated from field: norsk.api.common.OptionalBool strictGopTarget = 7;
14505
14126
  */
14506
14127
  strictGopTarget?: OptionalBool;
14507
14128
 
14508
14129
  /**
14509
- * @generated from field: norsk.api.media.OptionalInt lookaheadDepth = 8;
14130
+ * @generated from field: norsk.api.common.OptionalInt lookaheadDepth = 8;
14510
14131
  */
14511
14132
  lookaheadDepth?: OptionalInt;
14512
14133
 
@@ -14581,32 +14202,32 @@ export class NvidiaH264 extends Message<NvidiaH264> {
14581
14202
  preset = NvidiaPreset.P1;
14582
14203
 
14583
14204
  /**
14584
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
14205
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
14585
14206
  */
14586
14207
  gopInterval?: OptionalInt;
14587
14208
 
14588
14209
  /**
14589
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
14210
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
14590
14211
  */
14591
14212
  idrPeriod?: OptionalInt;
14592
14213
 
14593
14214
  /**
14594
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
14215
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
14595
14216
  */
14596
14217
  frameIntervalP?: OptionalInt;
14597
14218
 
14598
14219
  /**
14599
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
14220
+ * @generated from field: norsk.api.common.OptionalInt maxNumRefFrames = 5;
14600
14221
  */
14601
14222
  maxNumRefFrames?: OptionalInt;
14602
14223
 
14603
14224
  /**
14604
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14225
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
14605
14226
  */
14606
14227
  outputAud?: OptionalBool;
14607
14228
 
14608
14229
  /**
14609
- * @generated from field: norsk.api.media.OptionalInt level = 7;
14230
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
14610
14231
  */
14611
14232
  level?: OptionalInt;
14612
14233
 
@@ -14704,27 +14325,27 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14704
14325
  preset = NvidiaPreset.P1;
14705
14326
 
14706
14327
  /**
14707
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
14328
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
14708
14329
  */
14709
14330
  gopInterval?: OptionalInt;
14710
14331
 
14711
14332
  /**
14712
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
14333
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
14713
14334
  */
14714
14335
  idrPeriod?: OptionalInt;
14715
14336
 
14716
14337
  /**
14717
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
14338
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
14718
14339
  */
14719
14340
  frameIntervalP?: OptionalInt;
14720
14341
 
14721
14342
  /**
14722
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14343
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
14723
14344
  */
14724
14345
  outputAud?: OptionalBool;
14725
14346
 
14726
14347
  /**
14727
- * @generated from field: norsk.api.media.OptionalInt level = 7;
14348
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
14728
14349
  */
14729
14350
  level?: OptionalInt;
14730
14351
 
@@ -14835,37 +14456,37 @@ export class QuadraH264 extends Message<QuadraH264> {
14835
14456
  extraOpts = "";
14836
14457
 
14837
14458
  /**
14838
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14459
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
14839
14460
  */
14840
14461
  enableAud?: OptionalBool;
14841
14462
 
14842
14463
  /**
14843
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14464
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
14844
14465
  */
14845
14466
  gpuIndex?: OptionalInt;
14846
14467
 
14847
14468
  /**
14848
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14469
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
14849
14470
  */
14850
14471
  bitrate?: OptionalInt;
14851
14472
 
14852
14473
  /**
14853
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14474
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
14854
14475
  */
14855
14476
  enableVfr?: OptionalBool;
14856
14477
 
14857
14478
  /**
14858
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14479
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
14859
14480
  */
14860
14481
  crf?: OptionalInt;
14861
14482
 
14862
14483
  /**
14863
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14484
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
14864
14485
  */
14865
14486
  gopPresetIndex?: OptionalInt;
14866
14487
 
14867
14488
  /**
14868
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14489
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
14869
14490
  */
14870
14491
  intraPeriod?: OptionalInt;
14871
14492
 
@@ -14875,67 +14496,67 @@ export class QuadraH264 extends Message<QuadraH264> {
14875
14496
  profile = QuadraH264_QuadraH264Profile.DEFAULT;
14876
14497
 
14877
14498
  /**
14878
- * @generated from field: norsk.api.media.OptionalInt level = 12;
14499
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
14879
14500
  */
14880
14501
  level?: OptionalInt;
14881
14502
 
14882
14503
  /**
14883
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
14504
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
14884
14505
  */
14885
14506
  rcEnable?: OptionalBool;
14886
14507
 
14887
14508
  /**
14888
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
14509
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
14889
14510
  */
14890
14511
  intraQp?: OptionalInt;
14891
14512
 
14892
14513
  /**
14893
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14514
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
14894
14515
  */
14895
14516
  hrdEnable?: OptionalBool;
14896
14517
 
14897
14518
  /**
14898
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14519
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
14899
14520
  */
14900
14521
  dolbyVisionProfile?: OptionalInt;
14901
14522
 
14902
14523
  /**
14903
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14524
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
14904
14525
  */
14905
14526
  fillerEnable?: OptionalBool;
14906
14527
 
14907
14528
  /**
14908
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14529
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
14909
14530
  */
14910
14531
  minQp?: OptionalInt;
14911
14532
 
14912
14533
  /**
14913
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14534
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
14914
14535
  */
14915
14536
  maxQp?: OptionalInt;
14916
14537
 
14917
14538
  /**
14918
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14539
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
14919
14540
  */
14920
14541
  maxDeltaQp?: OptionalInt;
14921
14542
 
14922
14543
  /**
14923
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14544
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
14924
14545
  */
14925
14546
  cuLevelRCEnable?: OptionalBool;
14926
14547
 
14927
14548
  /**
14928
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14549
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
14929
14550
  */
14930
14551
  lookAheadDepth?: OptionalInt;
14931
14552
 
14932
14553
  /**
14933
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14554
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
14934
14555
  */
14935
14556
  vbvBufferSize?: OptionalInt;
14936
14557
 
14937
14558
  /**
14938
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14559
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
14939
14560
  */
14940
14561
  vbvMaxRate?: OptionalInt;
14941
14562
 
@@ -15042,37 +14663,37 @@ export class QuadraHevc extends Message<QuadraHevc> {
15042
14663
  extraOpts = "";
15043
14664
 
15044
14665
  /**
15045
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14666
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15046
14667
  */
15047
14668
  enableAud?: OptionalBool;
15048
14669
 
15049
14670
  /**
15050
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14671
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15051
14672
  */
15052
14673
  gpuIndex?: OptionalInt;
15053
14674
 
15054
14675
  /**
15055
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14676
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15056
14677
  */
15057
14678
  bitrate?: OptionalInt;
15058
14679
 
15059
14680
  /**
15060
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14681
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15061
14682
  */
15062
14683
  enableVfr?: OptionalBool;
15063
14684
 
15064
14685
  /**
15065
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14686
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15066
14687
  */
15067
14688
  crf?: OptionalInt;
15068
14689
 
15069
14690
  /**
15070
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14691
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15071
14692
  */
15072
14693
  gopPresetIndex?: OptionalInt;
15073
14694
 
15074
14695
  /**
15075
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14696
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15076
14697
  */
15077
14698
  intraPeriod?: OptionalInt;
15078
14699
 
@@ -15087,72 +14708,72 @@ export class QuadraHevc extends Message<QuadraHevc> {
15087
14708
  profile = QuadraHevc_QuadraHevcProfile.DEFAULT;
15088
14709
 
15089
14710
  /**
15090
- * @generated from field: norsk.api.media.OptionalInt level = 13;
14711
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
15091
14712
  */
15092
14713
  level?: OptionalInt;
15093
14714
 
15094
14715
  /**
15095
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
14716
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
15096
14717
  */
15097
14718
  rcEnable?: OptionalBool;
15098
14719
 
15099
14720
  /**
15100
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
14721
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
15101
14722
  */
15102
14723
  lossless?: OptionalBool;
15103
14724
 
15104
14725
  /**
15105
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
14726
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
15106
14727
  */
15107
14728
  intraQp?: OptionalInt;
15108
14729
 
15109
14730
  /**
15110
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14731
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
15111
14732
  */
15112
14733
  hrdEnable?: OptionalBool;
15113
14734
 
15114
14735
  /**
15115
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14736
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
15116
14737
  */
15117
14738
  dolbyVisionProfile?: OptionalInt;
15118
14739
 
15119
14740
  /**
15120
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14741
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
15121
14742
  */
15122
14743
  fillerEnable?: OptionalBool;
15123
14744
 
15124
14745
  /**
15125
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14746
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
15126
14747
  */
15127
14748
  minQp?: OptionalInt;
15128
14749
 
15129
14750
  /**
15130
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14751
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
15131
14752
  */
15132
14753
  maxQp?: OptionalInt;
15133
14754
 
15134
14755
  /**
15135
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14756
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
15136
14757
  */
15137
14758
  maxDeltaQp?: OptionalInt;
15138
14759
 
15139
14760
  /**
15140
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14761
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
15141
14762
  */
15142
14763
  cuLevelRCEnable?: OptionalBool;
15143
14764
 
15144
14765
  /**
15145
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14766
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
15146
14767
  */
15147
14768
  lookAheadDepth?: OptionalInt;
15148
14769
 
15149
14770
  /**
15150
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14771
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
15151
14772
  */
15152
14773
  vbvBufferSize?: OptionalInt;
15153
14774
 
15154
14775
  /**
15155
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14776
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
15156
14777
  */
15157
14778
  vbvMaxRate?: OptionalInt;
15158
14779
 
@@ -15263,47 +14884,47 @@ export class LoganH264 extends Message<LoganH264> {
15263
14884
  extraOpts = "";
15264
14885
 
15265
14886
  /**
15266
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14887
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15267
14888
  */
15268
14889
  enableAud?: OptionalBool;
15269
14890
 
15270
14891
  /**
15271
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14892
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15272
14893
  */
15273
14894
  gpuIndex?: OptionalInt;
15274
14895
 
15275
14896
  /**
15276
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14897
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15277
14898
  */
15278
14899
  bitrate?: OptionalInt;
15279
14900
 
15280
14901
  /**
15281
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
14902
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
15282
14903
  */
15283
14904
  flushGop?: OptionalBool;
15284
14905
 
15285
14906
  /**
15286
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14907
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15287
14908
  */
15288
14909
  enableVfr?: OptionalBool;
15289
14910
 
15290
14911
  /**
15291
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14912
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15292
14913
  */
15293
14914
  crf?: OptionalInt;
15294
14915
 
15295
14916
  /**
15296
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
14917
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
15297
14918
  */
15298
14919
  cbr?: OptionalBool;
15299
14920
 
15300
14921
  /**
15301
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14922
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15302
14923
  */
15303
14924
  gopPresetIndex?: OptionalInt;
15304
14925
 
15305
14926
  /**
15306
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14927
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15307
14928
  */
15308
14929
  intraPeriod?: OptionalInt;
15309
14930
 
@@ -15313,22 +14934,22 @@ export class LoganH264 extends Message<LoganH264> {
15313
14934
  profile = LoganH264_LoganH264Profile.DEFAULT;
15314
14935
 
15315
14936
  /**
15316
- * @generated from field: norsk.api.media.OptionalInt level = 12;
14937
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
15317
14938
  */
15318
14939
  level?: OptionalInt;
15319
14940
 
15320
14941
  /**
15321
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
14942
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
15322
14943
  */
15323
14944
  rcEnable?: OptionalBool;
15324
14945
 
15325
14946
  /**
15326
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
14947
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
15327
14948
  */
15328
14949
  intraQp?: OptionalInt;
15329
14950
 
15330
14951
  /**
15331
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
14952
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 15;
15332
14953
  */
15333
14954
  rcInitDelay?: OptionalInt;
15334
14955
 
@@ -15428,47 +15049,47 @@ export class LoganHevc extends Message<LoganHevc> {
15428
15049
  extraOpts = "";
15429
15050
 
15430
15051
  /**
15431
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
15052
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15432
15053
  */
15433
15054
  enableAud?: OptionalBool;
15434
15055
 
15435
15056
  /**
15436
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
15057
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15437
15058
  */
15438
15059
  gpuIndex?: OptionalInt;
15439
15060
 
15440
15061
  /**
15441
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
15062
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15442
15063
  */
15443
15064
  bitrate?: OptionalInt;
15444
15065
 
15445
15066
  /**
15446
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
15067
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
15447
15068
  */
15448
15069
  flushGop?: OptionalBool;
15449
15070
 
15450
15071
  /**
15451
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
15072
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15452
15073
  */
15453
15074
  enableVfr?: OptionalBool;
15454
15075
 
15455
15076
  /**
15456
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
15077
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15457
15078
  */
15458
15079
  crf?: OptionalInt;
15459
15080
 
15460
15081
  /**
15461
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
15082
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
15462
15083
  */
15463
15084
  cbr?: OptionalBool;
15464
15085
 
15465
15086
  /**
15466
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
15087
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15467
15088
  */
15468
15089
  gopPresetIndex?: OptionalInt;
15469
15090
 
15470
15091
  /**
15471
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
15092
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15472
15093
  */
15473
15094
  intraPeriod?: OptionalInt;
15474
15095
 
@@ -15483,37 +15104,37 @@ export class LoganHevc extends Message<LoganHevc> {
15483
15104
  profile = LoganHevc_LoganHevcProfile.DEFAULT;
15484
15105
 
15485
15106
  /**
15486
- * @generated from field: norsk.api.media.OptionalInt level = 13;
15107
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
15487
15108
  */
15488
15109
  level?: OptionalInt;
15489
15110
 
15490
15111
  /**
15491
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
15112
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
15492
15113
  */
15493
15114
  rcEnable?: OptionalBool;
15494
15115
 
15495
15116
  /**
15496
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
15117
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
15497
15118
  */
15498
15119
  lossless?: OptionalBool;
15499
15120
 
15500
15121
  /**
15501
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
15122
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
15502
15123
  */
15503
15124
  intraQp?: OptionalInt;
15504
15125
 
15505
15126
  /**
15506
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
15127
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 17;
15507
15128
  */
15508
15129
  rcInitDelay?: OptionalInt;
15509
15130
 
15510
15131
  /**
15511
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
15132
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
15512
15133
  */
15513
15134
  hrdEnable?: OptionalBool;
15514
15135
 
15515
15136
  /**
15516
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
15137
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
15517
15138
  */
15518
15139
  dolbyVisionProfile?: OptionalInt;
15519
15140
 
@@ -15619,7 +15240,7 @@ export class XilinxH264 extends Message<XilinxH264> {
15619
15240
  profile = XilinxH264_XilinxH264Profile.DEFAULT;
15620
15241
 
15621
15242
  /**
15622
- * @generated from field: norsk.api.media.OptionalInt level = 2;
15243
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
15623
15244
  */
15624
15245
  level?: OptionalInt;
15625
15246
 
@@ -15711,7 +15332,7 @@ export class XilinxHevc extends Message<XilinxHevc> {
15711
15332
  profile = XilinxHevc_XilinxHevcProfile.DEFAULT;
15712
15333
 
15713
15334
  /**
15714
- * @generated from field: norsk.api.media.OptionalInt level = 3;
15335
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
15715
15336
  */
15716
15337
  level?: OptionalInt;
15717
15338
 
@@ -16477,7 +16098,7 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16477
16098
  * * Override the bitrate metadata of a compressed video stream, or `0` to
16478
16099
  * clear
16479
16100
  *
16480
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
16101
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
16481
16102
  */
16482
16103
  videoBitrate?: OptionalInt;
16483
16104
 
@@ -16485,21 +16106,21 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16485
16106
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
16486
16107
  * clear
16487
16108
  *
16488
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
16109
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
16489
16110
  */
16490
16111
  audioBitrate?: OptionalInt;
16491
16112
 
16492
16113
  /**
16493
16114
  * * Override the language metadata of an audio stream, or `""` to clear
16494
16115
  *
16495
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
16116
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16496
16117
  */
16497
16118
  audioLanguage?: OptionalString;
16498
16119
 
16499
16120
  /**
16500
16121
  * * Override the language metadata of a subtitles stream, or `""` to clear
16501
16122
  *
16502
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
16123
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16503
16124
  */
16504
16125
  subtitlesLanguage?: OptionalString;
16505
16126
 
@@ -16543,7 +16164,7 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16543
16164
  * * Override the bitrate metadata of a compressed video stream, or `0` to
16544
16165
  * clear
16545
16166
  *
16546
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
16167
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
16547
16168
  */
16548
16169
  videoBitrate?: OptionalInt;
16549
16170
 
@@ -16551,21 +16172,21 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16551
16172
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
16552
16173
  * clear
16553
16174
  *
16554
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
16175
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
16555
16176
  */
16556
16177
  audioBitrate?: OptionalInt;
16557
16178
 
16558
16179
  /**
16559
16180
  * * Override the language metadata of an audio stream, or `""` to clear
16560
16181
  *
16561
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
16182
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16562
16183
  */
16563
16184
  audioLanguage?: OptionalString;
16564
16185
 
16565
16186
  /**
16566
16187
  * * Override the language metadata of a subtitles stream, or `""` to clear
16567
16188
  *
16568
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
16189
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16569
16190
  */
16570
16191
  subtitlesLanguage?: OptionalString;
16571
16192
 
@@ -18390,64 +18011,19 @@ export class AudioMeasureLevelsMessage extends Message<AudioMeasureLevelsMessage
18390
18011
  }
18391
18012
 
18392
18013
  /**
18393
- * A time interval measured as ticks / (ticks per second)
18394
- *
18395
- * @generated from message norsk.api.media.Interval
18014
+ * @generated from message norsk.api.media.Db
18396
18015
  */
18397
- export class Interval extends Message<Interval> {
18016
+ export class Db extends Message<Db> {
18398
18017
  /**
18399
- * @generated from field: uint32 n = 1;
18018
+ * @generated from oneof norsk.api.media.Db.value
18400
18019
  */
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
- /**
18438
- * @generated from message norsk.api.media.Db
18439
- */
18440
- export class Db extends Message<Db> {
18441
- /**
18442
- * @generated from oneof norsk.api.media.Db.value
18443
- */
18444
- value: {
18445
- /**
18446
- * @generated from field: float db = 1;
18447
- */
18448
- value: number;
18449
- case: "db";
18450
- } | { case: undefined; value?: undefined } = { case: undefined };
18020
+ value: {
18021
+ /**
18022
+ * @generated from field: float db = 1;
18023
+ */
18024
+ value: number;
18025
+ case: "db";
18026
+ } | { case: undefined; value?: undefined } = { case: undefined };
18451
18027
 
18452
18028
  constructor(data?: PartialMessage<Db>) {
18453
18029
  super();
@@ -18642,6 +18218,200 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
18642
18218
  }
18643
18219
  }
18644
18220
 
18221
+ /**
18222
+ * @generated from message norsk.api.media.StreamTimestampReportConfiguration
18223
+ */
18224
+ export class StreamTimestampReportConfiguration extends Message<StreamTimestampReportConfiguration> {
18225
+ /**
18226
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
18227
+ */
18228
+ id?: MediaNodeId;
18229
+
18230
+ constructor(data?: PartialMessage<StreamTimestampReportConfiguration>) {
18231
+ super();
18232
+ proto3.util.initPartial(data, this);
18233
+ }
18234
+
18235
+ static readonly runtime = proto3;
18236
+ static readonly typeName = "norsk.api.media.StreamTimestampReportConfiguration";
18237
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18238
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
18239
+ ]);
18240
+
18241
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportConfiguration {
18242
+ return new StreamTimestampReportConfiguration().fromBinary(bytes, options);
18243
+ }
18244
+
18245
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration {
18246
+ return new StreamTimestampReportConfiguration().fromJson(jsonValue, options);
18247
+ }
18248
+
18249
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration {
18250
+ return new StreamTimestampReportConfiguration().fromJsonString(jsonString, options);
18251
+ }
18252
+
18253
+ static equals(a: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined, b: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined): boolean {
18254
+ return proto3.util.equals(StreamTimestampReportConfiguration, a, b);
18255
+ }
18256
+ }
18257
+
18258
+ /**
18259
+ * @generated from message norsk.api.media.StreamTimestampReportMessage
18260
+ */
18261
+ export class StreamTimestampReportMessage extends Message<StreamTimestampReportMessage> {
18262
+ /**
18263
+ * @generated from oneof norsk.api.media.StreamTimestampReportMessage.message
18264
+ */
18265
+ message: {
18266
+ /**
18267
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
18268
+ */
18269
+ value: Subscription;
18270
+ case: "subscription";
18271
+ } | {
18272
+ /**
18273
+ * @generated from field: norsk.api.media.StreamTimestampReportConfiguration configuration = 2;
18274
+ */
18275
+ value: StreamTimestampReportConfiguration;
18276
+ case: "configuration";
18277
+ } | { case: undefined; value?: undefined } = { case: undefined };
18278
+
18279
+ constructor(data?: PartialMessage<StreamTimestampReportMessage>) {
18280
+ super();
18281
+ proto3.util.initPartial(data, this);
18282
+ }
18283
+
18284
+ static readonly runtime = proto3;
18285
+ static readonly typeName = "norsk.api.media.StreamTimestampReportMessage";
18286
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18287
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18288
+ { no: 2, name: "configuration", kind: "message", T: StreamTimestampReportConfiguration, oneof: "message" },
18289
+ ]);
18290
+
18291
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportMessage {
18292
+ return new StreamTimestampReportMessage().fromBinary(bytes, options);
18293
+ }
18294
+
18295
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage {
18296
+ return new StreamTimestampReportMessage().fromJson(jsonValue, options);
18297
+ }
18298
+
18299
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage {
18300
+ return new StreamTimestampReportMessage().fromJsonString(jsonString, options);
18301
+ }
18302
+
18303
+ static equals(a: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined, b: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined): boolean {
18304
+ return proto3.util.equals(StreamTimestampReportMessage, a, b);
18305
+ }
18306
+ }
18307
+
18308
+ /**
18309
+ * @generated from message norsk.api.media.StreamTimestampReport
18310
+ */
18311
+ export class StreamTimestampReport extends Message<StreamTimestampReport> {
18312
+ /**
18313
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
18314
+ */
18315
+ stream?: StreamKey;
18316
+
18317
+ /**
18318
+ * @generated from field: norsk.api.media.Interval pts = 2;
18319
+ */
18320
+ pts?: Interval;
18321
+
18322
+ constructor(data?: PartialMessage<StreamTimestampReport>) {
18323
+ super();
18324
+ proto3.util.initPartial(data, this);
18325
+ }
18326
+
18327
+ static readonly runtime = proto3;
18328
+ static readonly typeName = "norsk.api.media.StreamTimestampReport";
18329
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18330
+ { no: 1, name: "stream", kind: "message", T: StreamKey },
18331
+ { no: 2, name: "pts", kind: "message", T: Interval },
18332
+ ]);
18333
+
18334
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReport {
18335
+ return new StreamTimestampReport().fromBinary(bytes, options);
18336
+ }
18337
+
18338
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReport {
18339
+ return new StreamTimestampReport().fromJson(jsonValue, options);
18340
+ }
18341
+
18342
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReport {
18343
+ return new StreamTimestampReport().fromJsonString(jsonString, options);
18344
+ }
18345
+
18346
+ static equals(a: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined, b: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined): boolean {
18347
+ return proto3.util.equals(StreamTimestampReport, a, b);
18348
+ }
18349
+ }
18350
+
18351
+ /**
18352
+ * @generated from message norsk.api.media.StreamTimestampReportEvent
18353
+ */
18354
+ export class StreamTimestampReportEvent extends Message<StreamTimestampReportEvent> {
18355
+ /**
18356
+ * @generated from oneof norsk.api.media.StreamTimestampReportEvent.message
18357
+ */
18358
+ message: {
18359
+ /**
18360
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
18361
+ */
18362
+ value: MediaNodeId;
18363
+ case: "nodeId";
18364
+ } | {
18365
+ /**
18366
+ * @generated from field: norsk.api.media.StreamTimestampReport report = 2;
18367
+ */
18368
+ value: StreamTimestampReport;
18369
+ case: "report";
18370
+ } | {
18371
+ /**
18372
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
18373
+ */
18374
+ value: SubscriptionResponse;
18375
+ case: "subscriptionResponse";
18376
+ } | {
18377
+ /**
18378
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
18379
+ */
18380
+ value: Context;
18381
+ case: "inboundContext";
18382
+ } | { case: undefined; value?: undefined } = { case: undefined };
18383
+
18384
+ constructor(data?: PartialMessage<StreamTimestampReportEvent>) {
18385
+ super();
18386
+ proto3.util.initPartial(data, this);
18387
+ }
18388
+
18389
+ static readonly runtime = proto3;
18390
+ static readonly typeName = "norsk.api.media.StreamTimestampReportEvent";
18391
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18392
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18393
+ { no: 2, name: "report", kind: "message", T: StreamTimestampReport, oneof: "message" },
18394
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18395
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18396
+ ]);
18397
+
18398
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportEvent {
18399
+ return new StreamTimestampReportEvent().fromBinary(bytes, options);
18400
+ }
18401
+
18402
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent {
18403
+ return new StreamTimestampReportEvent().fromJson(jsonValue, options);
18404
+ }
18405
+
18406
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent {
18407
+ return new StreamTimestampReportEvent().fromJsonString(jsonString, options);
18408
+ }
18409
+
18410
+ static equals(a: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined, b: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined): boolean {
18411
+ return proto3.util.equals(StreamTimestampReportEvent, a, b);
18412
+ }
18413
+ }
18414
+
18645
18415
  /**
18646
18416
  * ///////////////////////////////
18647
18417
  * RTP Input
@@ -20211,7 +19981,7 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
20211
19981
  */
20212
19982
  export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
20213
19983
  /**
20214
- * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
19984
+ * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
20215
19985
  */
20216
19986
  ptsTime?: OptionalInt;
20217
19987
 
@@ -20996,7 +20766,7 @@ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDesc
20996
20766
  components: Scte35SegmentationComponent[] = [];
20997
20767
 
20998
20768
  /**
20999
- * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
20769
+ * @generated from field: norsk.api.common.OptionalInt64 segmentation_duration = 6;
21000
20770
  */
21001
20771
  segmentationDuration?: OptionalInt64;
21002
20772
 
@@ -21026,12 +20796,12 @@ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDesc
21026
20796
  segmentsExpected = 0;
21027
20797
 
21028
20798
  /**
21029
- * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
20799
+ * @generated from field: norsk.api.common.OptionalInt sub_segment_num = 12;
21030
20800
  */
21031
20801
  subSegmentNum?: OptionalInt;
21032
20802
 
21033
20803
  /**
21034
- * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
20804
+ * @generated from field: norsk.api.common.OptionalInt sub_segments_expected = 13;
21035
20805
  */
21036
20806
  subSegmentsExpected?: OptionalInt;
21037
20807
 
@@ -22101,268 +21871,6 @@ export class SourceSubscriptionError_UnsupportedConversion extends Message<Sourc
22101
21871
  }
22102
21872
  }
22103
21873
 
22104
- /**
22105
- * `Struct` represents a structured data value, consisting of fields
22106
- * which map to dynamically typed values. In some languages, `Struct`
22107
- * might be supported by a native representation. For example, in
22108
- * scripting languages like JS a struct is represented as an
22109
- * object. The details of that representation are described together
22110
- * with the proto support for the language.
22111
- *
22112
- * The JSON representation for `Struct` is JSON object.
22113
- *
22114
- * @generated from message norsk.api.media.Struct
22115
- */
22116
- export class Struct extends Message<Struct> {
22117
- /**
22118
- * Unordered map of dynamically typed values.
22119
- *
22120
- * @generated from field: map<string, norsk.api.media.Value> fields = 1;
22121
- */
22122
- fields: { [key: string]: Value } = {};
22123
-
22124
- constructor(data?: PartialMessage<Struct>) {
22125
- super();
22126
- proto3.util.initPartial(data, this);
22127
- }
22128
-
22129
- static readonly runtime = proto3;
22130
- static readonly typeName = "norsk.api.media.Struct";
22131
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22132
- { no: 1, name: "fields", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
22133
- ]);
22134
-
22135
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Struct {
22136
- return new Struct().fromBinary(bytes, options);
22137
- }
22138
-
22139
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Struct {
22140
- return new Struct().fromJson(jsonValue, options);
22141
- }
22142
-
22143
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Struct {
22144
- return new Struct().fromJsonString(jsonString, options);
22145
- }
22146
-
22147
- static equals(a: Struct | PlainMessage<Struct> | undefined, b: Struct | PlainMessage<Struct> | undefined): boolean {
22148
- return proto3.util.equals(Struct, a, b);
22149
- }
22150
- }
22151
-
22152
- /**
22153
- * `Value` represents a dynamically typed value which can be either
22154
- * null, a number, a string, a boolean, a recursive struct value, or a
22155
- * list of values. A producer of value is expected to set one of that
22156
- * variants, absence of any variant indicates an error.
22157
- *
22158
- * The JSON representation for `Value` is JSON value.
22159
- *
22160
- * @generated from message norsk.api.media.Value
22161
- */
22162
- export class Value extends Message<Value> {
22163
- /**
22164
- * The kind of value.
22165
- *
22166
- * @generated from oneof norsk.api.media.Value.kind
22167
- */
22168
- kind: {
22169
- /**
22170
- * Represents a null value.
22171
- *
22172
- * @generated from field: norsk.api.media.NullValue null_value = 1;
22173
- */
22174
- value: NullValue;
22175
- case: "nullValue";
22176
- } | {
22177
- /**
22178
- * Represents a double value.
22179
- *
22180
- * @generated from field: double number_value = 2;
22181
- */
22182
- value: number;
22183
- case: "numberValue";
22184
- } | {
22185
- /**
22186
- * Represents a string value.
22187
- *
22188
- * @generated from field: string string_value = 3;
22189
- */
22190
- value: string;
22191
- case: "stringValue";
22192
- } | {
22193
- /**
22194
- * Represents a boolean value.
22195
- *
22196
- * @generated from field: bool bool_value = 4;
22197
- */
22198
- value: boolean;
22199
- case: "boolValue";
22200
- } | {
22201
- /**
22202
- * Represents a structured value.
22203
- *
22204
- * @generated from field: norsk.api.media.Struct struct_value = 5;
22205
- */
22206
- value: Struct;
22207
- case: "structValue";
22208
- } | {
22209
- /**
22210
- * Represents a repeated `Value`.
22211
- *
22212
- * @generated from field: norsk.api.media.ListValue list_value = 6;
22213
- */
22214
- value: ListValue;
22215
- case: "listValue";
22216
- } | {
22217
- /**
22218
- * Represents a Code value
22219
- *
22220
- * @generated from field: norsk.api.media.Code code_value = 7;
22221
- */
22222
- value: Code;
22223
- case: "codeValue";
22224
- } | { case: undefined; value?: undefined } = { case: undefined };
22225
-
22226
- constructor(data?: PartialMessage<Value>) {
22227
- super();
22228
- proto3.util.initPartial(data, this);
22229
- }
22230
-
22231
- static readonly runtime = proto3;
22232
- static readonly typeName = "norsk.api.media.Value";
22233
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22234
- { no: 1, name: "null_value", kind: "enum", T: proto3.getEnumType(NullValue), oneof: "kind" },
22235
- { no: 2, name: "number_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "kind" },
22236
- { no: 3, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "kind" },
22237
- { no: 4, name: "bool_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "kind" },
22238
- { no: 5, name: "struct_value", kind: "message", T: Struct, oneof: "kind" },
22239
- { no: 6, name: "list_value", kind: "message", T: ListValue, oneof: "kind" },
22240
- { no: 7, name: "code_value", kind: "enum", T: proto3.getEnumType(Code), oneof: "kind" },
22241
- ]);
22242
-
22243
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value {
22244
- return new Value().fromBinary(bytes, options);
22245
- }
22246
-
22247
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value {
22248
- return new Value().fromJson(jsonValue, options);
22249
- }
22250
-
22251
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value {
22252
- return new Value().fromJsonString(jsonString, options);
22253
- }
22254
-
22255
- static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean {
22256
- return proto3.util.equals(Value, a, b);
22257
- }
22258
- }
22259
-
22260
- /**
22261
- * `ListValue` is a wrapper around a repeated field of values.
22262
- *
22263
- * The JSON representation for `ListValue` is JSON array.
22264
- *
22265
- * @generated from message norsk.api.media.ListValue
22266
- */
22267
- export class ListValue extends Message<ListValue> {
22268
- /**
22269
- * Repeated field of dynamically typed values.
22270
- *
22271
- * @generated from field: repeated norsk.api.media.Value values = 1;
22272
- */
22273
- values: Value[] = [];
22274
-
22275
- constructor(data?: PartialMessage<ListValue>) {
22276
- super();
22277
- proto3.util.initPartial(data, this);
22278
- }
22279
-
22280
- static readonly runtime = proto3;
22281
- static readonly typeName = "norsk.api.media.ListValue";
22282
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22283
- { no: 1, name: "values", kind: "message", T: Value, repeated: true },
22284
- ]);
22285
-
22286
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListValue {
22287
- return new ListValue().fromBinary(bytes, options);
22288
- }
22289
-
22290
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListValue {
22291
- return new ListValue().fromJson(jsonValue, options);
22292
- }
22293
-
22294
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListValue {
22295
- return new ListValue().fromJsonString(jsonString, options);
22296
- }
22297
-
22298
- static equals(a: ListValue | PlainMessage<ListValue> | undefined, b: ListValue | PlainMessage<ListValue> | undefined): boolean {
22299
- return proto3.util.equals(ListValue, a, b);
22300
- }
22301
- }
22302
-
22303
- /**
22304
- * ///////////////////////////////////////////////////////////////////////////
22305
- *
22306
- *
22307
- * @generated from message norsk.api.media.Status
22308
- */
22309
- export class Status extends Message<Status> {
22310
- /**
22311
- * The status code, which should be an enum value of
22312
- * [google.rpc.Code][google.rpc.Code].
22313
- *
22314
- * @generated from field: norsk.api.media.Code code = 1;
22315
- */
22316
- code = Code.OK;
22317
-
22318
- /**
22319
- * A developer-facing error message, which should be in English. Any
22320
- * user-facing error message should be localized and sent in the
22321
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
22322
- * by the client.
22323
- *
22324
- * @generated from field: string message = 2;
22325
- */
22326
- message = "";
22327
-
22328
- /**
22329
- * A list of messages that carry the error details. There is a common set of
22330
- * message types for APIs to use.
22331
- *
22332
- * @generated from field: norsk.api.media.Struct details = 3;
22333
- */
22334
- details?: Struct;
22335
-
22336
- constructor(data?: PartialMessage<Status>) {
22337
- super();
22338
- proto3.util.initPartial(data, this);
22339
- }
22340
-
22341
- static readonly runtime = proto3;
22342
- static readonly typeName = "norsk.api.media.Status";
22343
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22344
- { no: 1, name: "code", kind: "enum", T: proto3.getEnumType(Code) },
22345
- { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22346
- { no: 3, name: "details", kind: "message", T: Struct },
22347
- ]);
22348
-
22349
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Status {
22350
- return new Status().fromBinary(bytes, options);
22351
- }
22352
-
22353
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Status {
22354
- return new Status().fromJson(jsonValue, options);
22355
- }
22356
-
22357
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Status {
22358
- return new Status().fromJsonString(jsonString, options);
22359
- }
22360
-
22361
- static equals(a: Status | PlainMessage<Status> | undefined, b: Status | PlainMessage<Status> | undefined): boolean {
22362
- return proto3.util.equals(Status, a, b);
22363
- }
22364
- }
22365
-
22366
21874
  /**
22367
21875
  * `Hello` is sent to the client at the start of a status channel, and gives
22368
21876
  * information about the current Norsk runtime