@norskvideo/norsk-api 1.0.345 → 1.0.347

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
  */
@@ -3542,21 +3266,24 @@ export class CodecPictureStructure_Mpeg2PictureStructure extends Message<CodecPi
3542
3266
  */
3543
3267
  export enum CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo {
3544
3268
  /**
3545
- * There is no gop information, either because it is not coded or this is not the start of a gop
3269
+ * There is no gop information, either because it is not coded or this is
3270
+ * not the start of a gop
3546
3271
  *
3547
3272
  * @generated from enum value: MPEG2_GOP_UNKNOWN = 0;
3548
3273
  */
3549
3274
  MPEG2_GOP_UNKNOWN = 0,
3550
3275
 
3551
3276
  /**
3552
- * Indicates gop information is present and this is the start of a closed gop
3277
+ * Indicates gop information is present and this is the start of a closed
3278
+ * gop
3553
3279
  *
3554
3280
  * @generated from enum value: MPEG2_GOP_CLOSED = 1;
3555
3281
  */
3556
3282
  MPEG2_GOP_CLOSED = 1,
3557
3283
 
3558
3284
  /**
3559
- * Indicates gop information is present and this is the start of an open gop
3285
+ * Indicates gop information is present and this is the start of an open
3286
+ * gop
3560
3287
  *
3561
3288
  * @generated from enum value: MPEG2_GOP_OPEN = 2;
3562
3289
  */
@@ -5117,7 +4844,7 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
5117
4844
  */
5118
4845
  export class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
5119
4846
  /**
5120
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
4847
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
5121
4848
  */
5122
4849
  loop?: OptionalBool;
5123
4850
 
@@ -5337,12 +5064,12 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
5337
5064
  mode = SrtMode.Listener;
5338
5065
 
5339
5066
  /**
5340
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
5067
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
5341
5068
  */
5342
5069
  passphrase?: OptionalString;
5343
5070
 
5344
5071
  /**
5345
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
5072
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
5346
5073
  */
5347
5074
  streamId?: OptionalString;
5348
5075
 
@@ -6811,7 +6538,7 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
6811
6538
  */
6812
6539
  export class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
6813
6540
  /**
6814
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
6541
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
6815
6542
  */
6816
6543
  loop?: OptionalBool;
6817
6544
 
@@ -6962,12 +6689,12 @@ proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputS
6962
6689
  */
6963
6690
  export class FileMp4InputInfo extends Message<FileMp4InputInfo> {
6964
6691
  /**
6965
- * @generated from field: norsk.api.media.OptionalInt byte_length = 1;
6692
+ * @generated from field: norsk.api.common.OptionalInt byte_length = 1;
6966
6693
  */
6967
6694
  byteLength?: OptionalInt;
6968
6695
 
6969
6696
  /**
6970
- * @generated from field: norsk.api.media.OptionalInt duration_ms = 2;
6697
+ * @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
6971
6698
  */
6972
6699
  durationMs?: OptionalInt;
6973
6700
 
@@ -11030,11 +10757,6 @@ export class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfi
11030
10757
  */
11031
10758
  maximumPlaylistSegments = 0;
11032
10759
 
11033
- /**
11034
- * @generated from field: norsk.api.media.Interval pts_adjustment = 4;
11035
- */
11036
- ptsAdjustment?: Interval;
11037
-
11038
10760
  /**
11039
10761
  * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
11040
10762
  */
@@ -11051,7 +10773,6 @@ export class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfi
11051
10773
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11052
10774
  { no: 2, name: "retention_period_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
11053
10775
  { no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
11054
- { no: 4, name: "pts_adjustment", kind: "message", T: Interval },
11055
10776
  { no: 5, name: "update_credentials", kind: "message", T: UpdateCredentials },
11056
10777
  ]);
11057
10778
 
@@ -11356,6 +11077,126 @@ export class CmafMultiVariantMessage extends Message<CmafMultiVariantMessage> {
11356
11077
  }
11357
11078
  }
11358
11079
 
11080
+ /**
11081
+ * @generated from message norsk.api.media.HlsTsMultiVariantConfiguration
11082
+ */
11083
+ export class HlsTsMultiVariantConfiguration extends Message<HlsTsMultiVariantConfiguration> {
11084
+ /**
11085
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
11086
+ */
11087
+ id?: MediaNodeId;
11088
+
11089
+ /**
11090
+ * @generated from field: string playlist_name = 2;
11091
+ */
11092
+ playlistName = "";
11093
+
11094
+ /**
11095
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 3;
11096
+ */
11097
+ statsSampling?: StreamStatisticsSampling;
11098
+
11099
+ /**
11100
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 4;
11101
+ */
11102
+ destinations: CMAFDestination[] = [];
11103
+
11104
+ /**
11105
+ * Directives to add to the m3u multi variant playlist
11106
+ *
11107
+ * @generated from field: string m3u_additions = 5;
11108
+ */
11109
+ m3uAdditions = "";
11110
+
11111
+ constructor(data?: PartialMessage<HlsTsMultiVariantConfiguration>) {
11112
+ super();
11113
+ proto3.util.initPartial(data, this);
11114
+ }
11115
+
11116
+ static readonly runtime = proto3;
11117
+ static readonly typeName = "norsk.api.media.HlsTsMultiVariantConfiguration";
11118
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
11119
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
11120
+ { no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11121
+ { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11122
+ { no: 4, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
11123
+ { no: 5, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11124
+ ]);
11125
+
11126
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantConfiguration {
11127
+ return new HlsTsMultiVariantConfiguration().fromBinary(bytes, options);
11128
+ }
11129
+
11130
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration {
11131
+ return new HlsTsMultiVariantConfiguration().fromJson(jsonValue, options);
11132
+ }
11133
+
11134
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration {
11135
+ return new HlsTsMultiVariantConfiguration().fromJsonString(jsonString, options);
11136
+ }
11137
+
11138
+ static equals(a: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined, b: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined): boolean {
11139
+ return proto3.util.equals(HlsTsMultiVariantConfiguration, a, b);
11140
+ }
11141
+ }
11142
+
11143
+ /**
11144
+ * @generated from message norsk.api.media.HlsTsMultiVariantMessage
11145
+ */
11146
+ export class HlsTsMultiVariantMessage extends Message<HlsTsMultiVariantMessage> {
11147
+ /**
11148
+ * @generated from oneof norsk.api.media.HlsTsMultiVariantMessage.message
11149
+ */
11150
+ message: {
11151
+ /**
11152
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
11153
+ */
11154
+ value: Subscription;
11155
+ case: "subscription";
11156
+ } | {
11157
+ /**
11158
+ * @generated from field: norsk.api.media.HlsTsMultiVariantConfiguration configuration = 2;
11159
+ */
11160
+ value: HlsTsMultiVariantConfiguration;
11161
+ case: "configuration";
11162
+ } | {
11163
+ /**
11164
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
11165
+ */
11166
+ value: UpdateCredentials;
11167
+ case: "updateCredentials";
11168
+ } | { case: undefined; value?: undefined } = { case: undefined };
11169
+
11170
+ constructor(data?: PartialMessage<HlsTsMultiVariantMessage>) {
11171
+ super();
11172
+ proto3.util.initPartial(data, this);
11173
+ }
11174
+
11175
+ static readonly runtime = proto3;
11176
+ static readonly typeName = "norsk.api.media.HlsTsMultiVariantMessage";
11177
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
11178
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
11179
+ { no: 2, name: "configuration", kind: "message", T: HlsTsMultiVariantConfiguration, oneof: "message" },
11180
+ { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
11181
+ ]);
11182
+
11183
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantMessage {
11184
+ return new HlsTsMultiVariantMessage().fromBinary(bytes, options);
11185
+ }
11186
+
11187
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage {
11188
+ return new HlsTsMultiVariantMessage().fromJson(jsonValue, options);
11189
+ }
11190
+
11191
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage {
11192
+ return new HlsTsMultiVariantMessage().fromJsonString(jsonString, options);
11193
+ }
11194
+
11195
+ static equals(a: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined, b: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined): boolean {
11196
+ return proto3.util.equals(HlsTsMultiVariantMessage, a, b);
11197
+ }
11198
+ }
11199
+
11359
11200
  /**
11360
11201
  * @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
11361
11202
  */
@@ -11397,13 +11238,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
11397
11238
  */
11398
11239
  m3uAdditions = "";
11399
11240
 
11400
- /**
11401
- * XML fragment to add to the mpd Representation elements
11402
- *
11403
- * @generated from field: string mpd_additions = 8;
11404
- */
11405
- mpdAdditions = "";
11406
-
11407
11241
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
11408
11242
  super();
11409
11243
  proto3.util.initPartial(data, this);
@@ -11419,7 +11253,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
11419
11253
  { no: 5, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11420
11254
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11421
11255
  { no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11422
- { no: 8, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11423
11256
  ]);
11424
11257
 
11425
11258
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
@@ -11833,12 +11666,12 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
11833
11666
  mode = SrtMode.Listener;
11834
11667
 
11835
11668
  /**
11836
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
11669
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
11837
11670
  */
11838
11671
  passphrase?: OptionalString;
11839
11672
 
11840
11673
  /**
11841
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
11674
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
11842
11675
  */
11843
11676
  streamId?: OptionalString;
11844
11677
 
@@ -13267,168 +13100,20 @@ export class SampleAspectRatio extends Message<SampleAspectRatio> {
13267
13100
  }
13268
13101
 
13269
13102
  /**
13270
- * @generated from message norsk.api.media.OptionalInt
13271
- */
13272
- export class OptionalInt extends Message<OptionalInt> {
13273
- /**
13274
- * @generated from field: uint32 value = 1;
13275
- */
13276
- value = 0;
13277
-
13278
- constructor(data?: PartialMessage<OptionalInt>) {
13279
- super();
13280
- proto3.util.initPartial(data, this);
13281
- }
13282
-
13283
- static readonly runtime = proto3;
13284
- static readonly typeName = "norsk.api.media.OptionalInt";
13285
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13286
- { no: 1, name: "value", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
13287
- ]);
13288
-
13289
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt {
13290
- return new OptionalInt().fromBinary(bytes, options);
13291
- }
13292
-
13293
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt {
13294
- return new OptionalInt().fromJson(jsonValue, options);
13295
- }
13296
-
13297
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt {
13298
- return new OptionalInt().fromJsonString(jsonString, options);
13299
- }
13300
-
13301
- static equals(a: OptionalInt | PlainMessage<OptionalInt> | undefined, b: OptionalInt | PlainMessage<OptionalInt> | undefined): boolean {
13302
- return proto3.util.equals(OptionalInt, a, b);
13303
- }
13304
- }
13305
-
13306
- /**
13307
- * @generated from message norsk.api.media.OptionalInt64
13103
+ * Parameters for tuning the x264 encoder
13104
+ *
13105
+ * @generated from message norsk.api.media.X264Codec
13308
13106
  */
13309
- export class OptionalInt64 extends Message<OptionalInt64> {
13107
+ export class X264Codec extends Message<X264Codec> {
13310
13108
  /**
13311
- * @generated from field: uint64 value = 1;
13109
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
13312
13110
  */
13313
- value = protoInt64.zero;
13314
-
13315
- constructor(data?: PartialMessage<OptionalInt64>) {
13316
- super();
13317
- proto3.util.initPartial(data, this);
13318
- }
13319
-
13320
- static readonly runtime = proto3;
13321
- static readonly typeName = "norsk.api.media.OptionalInt64";
13322
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13323
- { no: 1, name: "value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
13324
- ]);
13325
-
13326
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt64 {
13327
- return new OptionalInt64().fromBinary(bytes, options);
13328
- }
13329
-
13330
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt64 {
13331
- return new OptionalInt64().fromJson(jsonValue, options);
13332
- }
13333
-
13334
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt64 {
13335
- return new OptionalInt64().fromJsonString(jsonString, options);
13336
- }
13337
-
13338
- static equals(a: OptionalInt64 | PlainMessage<OptionalInt64> | undefined, b: OptionalInt64 | PlainMessage<OptionalInt64> | undefined): boolean {
13339
- return proto3.util.equals(OptionalInt64, a, b);
13340
- }
13341
- }
13111
+ threads?: OptionalInt;
13342
13112
 
13343
- /**
13344
- * @generated from message norsk.api.media.OptionalBool
13345
- */
13346
- export class OptionalBool extends Message<OptionalBool> {
13347
13113
  /**
13348
- * @generated from field: bool value = 1;
13349
- */
13350
- value = false;
13351
-
13352
- constructor(data?: PartialMessage<OptionalBool>) {
13353
- super();
13354
- proto3.util.initPartial(data, this);
13355
- }
13356
-
13357
- static readonly runtime = proto3;
13358
- static readonly typeName = "norsk.api.media.OptionalBool";
13359
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13360
- { no: 1, name: "value", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13361
- ]);
13362
-
13363
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalBool {
13364
- return new OptionalBool().fromBinary(bytes, options);
13365
- }
13366
-
13367
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalBool {
13368
- return new OptionalBool().fromJson(jsonValue, options);
13369
- }
13370
-
13371
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalBool {
13372
- return new OptionalBool().fromJsonString(jsonString, options);
13373
- }
13374
-
13375
- static equals(a: OptionalBool | PlainMessage<OptionalBool> | undefined, b: OptionalBool | PlainMessage<OptionalBool> | undefined): boolean {
13376
- return proto3.util.equals(OptionalBool, a, b);
13377
- }
13378
- }
13379
-
13380
- /**
13381
- * @generated from message norsk.api.media.OptionalString
13382
- */
13383
- export class OptionalString extends Message<OptionalString> {
13384
- /**
13385
- * @generated from field: string value = 1;
13386
- */
13387
- value = "";
13388
-
13389
- constructor(data?: PartialMessage<OptionalString>) {
13390
- super();
13391
- proto3.util.initPartial(data, this);
13392
- }
13393
-
13394
- static readonly runtime = proto3;
13395
- static readonly typeName = "norsk.api.media.OptionalString";
13396
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13397
- { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13398
- ]);
13399
-
13400
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalString {
13401
- return new OptionalString().fromBinary(bytes, options);
13402
- }
13403
-
13404
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalString {
13405
- return new OptionalString().fromJson(jsonValue, options);
13406
- }
13407
-
13408
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalString {
13409
- return new OptionalString().fromJsonString(jsonString, options);
13410
- }
13411
-
13412
- static equals(a: OptionalString | PlainMessage<OptionalString> | undefined, b: OptionalString | PlainMessage<OptionalString> | undefined): boolean {
13413
- return proto3.util.equals(OptionalString, a, b);
13414
- }
13415
- }
13416
-
13417
- /**
13418
- * Parameters for tuning the x264 encoder
13419
- *
13420
- * @generated from message norsk.api.media.X264Codec
13421
- */
13422
- export class X264Codec extends Message<X264Codec> {
13423
- /**
13424
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
13425
- */
13426
- threads?: OptionalInt;
13427
-
13428
- /**
13429
- * Rate control options - one of abr, cqp or crf
13430
- *
13431
- * @generated from oneof norsk.api.media.X264Codec.bitrateMode
13114
+ * Rate control options - one of abr, cqp or crf
13115
+ *
13116
+ * @generated from oneof norsk.api.media.X264Codec.bitrateMode
13432
13117
  */
13433
13118
  bitrateMode: {
13434
13119
  /**
@@ -13474,28 +13159,28 @@ export class X264Codec extends Message<X264Codec> {
13474
13159
  * 5, 5.1 - since this field is an integer, you pass in 10 times the
13475
13160
  * required value (e.g., 11, 12 etc)
13476
13161
  *
13477
- * @generated from field: norsk.api.media.OptionalInt level = 3;
13162
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
13478
13163
  */
13479
13164
  level?: OptionalInt;
13480
13165
 
13481
13166
  /**
13482
13167
  * Sets the minimum length between IDR frames
13483
13168
  *
13484
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
13169
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
13485
13170
  */
13486
13171
  keyFrameIntervalMin?: OptionalInt;
13487
13172
 
13488
13173
  /**
13489
13174
  * Sets the maximum length between IDR frames
13490
13175
  *
13491
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
13176
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
13492
13177
  */
13493
13178
  keyFrameIntervalMax?: OptionalInt;
13494
13179
 
13495
13180
  /**
13496
13181
  * Sets the maximum number of concurrent B-frames
13497
13182
  *
13498
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
13183
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
13499
13184
  */
13500
13185
  bframes?: OptionalInt;
13501
13186
 
@@ -13521,7 +13206,7 @@ export class X264Codec extends Message<X264Codec> {
13521
13206
  * Maximum number of reference frames, i.e., the number of previous frames
13522
13207
  * each P-frame can use as references
13523
13208
  *
13524
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
13209
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
13525
13210
  */
13526
13211
  frameReference?: OptionalInt;
13527
13212
 
@@ -13532,21 +13217,21 @@ export class X264Codec extends Message<X264Codec> {
13532
13217
  * (10-20% typically) and the decoding requirements, at the expense of encode
13533
13218
  * CPU requirements
13534
13219
  *
13535
- * @generated from field: norsk.api.media.OptionalBool cabac = 10;
13220
+ * @generated from field: norsk.api.common.OptionalBool cabac = 10;
13536
13221
  */
13537
13222
  cabac?: OptionalBool;
13538
13223
 
13539
13224
  /**
13540
13225
  * Sets the maximum rate the VBV buffer should be assumed to refill at
13541
13226
  *
13542
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
13227
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
13543
13228
  */
13544
13229
  vbvMaxRate?: OptionalInt;
13545
13230
 
13546
13231
  /**
13547
13232
  * Sets the size of the VBV buffer in kilobits
13548
13233
  *
13549
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
13234
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
13550
13235
  */
13551
13236
  vbvBufferSize?: OptionalInt;
13552
13237
 
@@ -13554,21 +13239,21 @@ export class X264Codec extends Message<X264Codec> {
13554
13239
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
13555
13240
  * disables adaptive I-frame decisioning
13556
13241
  *
13557
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
13242
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
13558
13243
  */
13559
13244
  sceneCut?: OptionalInt;
13560
13245
 
13561
13246
  /**
13562
13247
  * Use access unit delimiters in the output
13563
13248
  *
13564
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
13249
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
13565
13250
  */
13566
13251
  aud?: OptionalBool;
13567
13252
 
13568
13253
  /**
13569
13254
  * Disables the loop filter. Not Recommended.
13570
13255
  *
13571
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
13256
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
13572
13257
  */
13573
13258
  noDeblock?: OptionalBool;
13574
13259
 
@@ -13852,7 +13537,7 @@ export class X265Codec extends Message<X265Codec> {
13852
13537
  /**
13853
13538
  * The number of threads to allocate to the encode
13854
13539
  *
13855
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
13540
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
13856
13541
  */
13857
13542
  threads?: OptionalInt;
13858
13543
 
@@ -13905,28 +13590,28 @@ export class X265Codec extends Message<X265Codec> {
13905
13590
  * since this field is an integer, you pass in 10 times the
13906
13591
  * required value (e.g., 11, 12 etc)
13907
13592
  *
13908
- * @generated from field: norsk.api.media.OptionalInt level = 3;
13593
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
13909
13594
  */
13910
13595
  level?: OptionalInt;
13911
13596
 
13912
13597
  /**
13913
13598
  * Sets the minimum length between IDR frames
13914
13599
  *
13915
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
13600
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
13916
13601
  */
13917
13602
  keyFrameIntervalMin?: OptionalInt;
13918
13603
 
13919
13604
  /**
13920
13605
  * Sets the maximum length between IDR frames
13921
13606
  *
13922
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
13607
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
13923
13608
  */
13924
13609
  keyFrameIntervalMax?: OptionalInt;
13925
13610
 
13926
13611
  /**
13927
13612
  * Sets the maximum number of concurrent B-frames
13928
13613
  *
13929
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
13614
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
13930
13615
  */
13931
13616
  bframes?: OptionalInt;
13932
13617
 
@@ -13952,21 +13637,21 @@ export class X265Codec extends Message<X265Codec> {
13952
13637
  * Maximum number of reference frames, i.e., the number of previous frames
13953
13638
  * each P-frame can use as references
13954
13639
  *
13955
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
13640
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
13956
13641
  */
13957
13642
  frameReference?: OptionalInt;
13958
13643
 
13959
13644
  /**
13960
13645
  * Sets the maximum rate the VBV buffer should be assumed to refill at
13961
13646
  *
13962
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
13647
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
13963
13648
  */
13964
13649
  vbvMaxRate?: OptionalInt;
13965
13650
 
13966
13651
  /**
13967
13652
  * Sets the size of the VBV buffer in kilobits
13968
13653
  *
13969
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
13654
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
13970
13655
  */
13971
13656
  vbvBufferSize?: OptionalInt;
13972
13657
 
@@ -13974,21 +13659,21 @@ export class X265Codec extends Message<X265Codec> {
13974
13659
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
13975
13660
  * disables adaptive I-frame decisioning
13976
13661
  *
13977
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
13662
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
13978
13663
  */
13979
13664
  sceneCut?: OptionalInt;
13980
13665
 
13981
13666
  /**
13982
13667
  * Use access unit delimiters in the output
13983
13668
  *
13984
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
13669
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
13985
13670
  */
13986
13671
  aud?: OptionalBool;
13987
13672
 
13988
13673
  /**
13989
13674
  * Disables the loop filter. Not Recommended.
13990
13675
  *
13991
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
13676
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
13992
13677
  */
13993
13678
  noDeblock?: OptionalBool;
13994
13679
 
@@ -14521,37 +14206,37 @@ export class NvidiaRateControl extends Message<NvidiaRateControl> {
14521
14206
  mode = NvidiaRateControl_NvidiaRateControlMode.NVIDIA_RATE_CONTROL_CON_STQP;
14522
14207
 
14523
14208
  /**
14524
- * @generated from field: norsk.api.media.OptionalInt averageBitrate = 2;
14209
+ * @generated from field: norsk.api.common.OptionalInt averageBitrate = 2;
14525
14210
  */
14526
14211
  averageBitrate?: OptionalInt;
14527
14212
 
14528
14213
  /**
14529
- * @generated from field: norsk.api.media.OptionalInt maxBitrate = 3;
14214
+ * @generated from field: norsk.api.common.OptionalInt maxBitrate = 3;
14530
14215
  */
14531
14216
  maxBitrate?: OptionalInt;
14532
14217
 
14533
14218
  /**
14534
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 4;
14219
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 4;
14535
14220
  */
14536
14221
  vbvBufferSize?: OptionalInt;
14537
14222
 
14538
14223
  /**
14539
- * @generated from field: norsk.api.media.OptionalInt vbvInitialDelay = 5;
14224
+ * @generated from field: norsk.api.common.OptionalInt vbvInitialDelay = 5;
14540
14225
  */
14541
14226
  vbvInitialDelay?: OptionalInt;
14542
14227
 
14543
14228
  /**
14544
- * @generated from field: norsk.api.media.OptionalBool enableLookahead = 6;
14229
+ * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
14545
14230
  */
14546
14231
  enableLookahead?: OptionalBool;
14547
14232
 
14548
14233
  /**
14549
- * @generated from field: norsk.api.media.OptionalBool strictGopTarget = 7;
14234
+ * @generated from field: norsk.api.common.OptionalBool strictGopTarget = 7;
14550
14235
  */
14551
14236
  strictGopTarget?: OptionalBool;
14552
14237
 
14553
14238
  /**
14554
- * @generated from field: norsk.api.media.OptionalInt lookaheadDepth = 8;
14239
+ * @generated from field: norsk.api.common.OptionalInt lookaheadDepth = 8;
14555
14240
  */
14556
14241
  lookaheadDepth?: OptionalInt;
14557
14242
 
@@ -14626,32 +14311,32 @@ export class NvidiaH264 extends Message<NvidiaH264> {
14626
14311
  preset = NvidiaPreset.P1;
14627
14312
 
14628
14313
  /**
14629
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
14314
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
14630
14315
  */
14631
14316
  gopInterval?: OptionalInt;
14632
14317
 
14633
14318
  /**
14634
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
14319
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
14635
14320
  */
14636
14321
  idrPeriod?: OptionalInt;
14637
14322
 
14638
14323
  /**
14639
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
14324
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
14640
14325
  */
14641
14326
  frameIntervalP?: OptionalInt;
14642
14327
 
14643
14328
  /**
14644
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
14329
+ * @generated from field: norsk.api.common.OptionalInt maxNumRefFrames = 5;
14645
14330
  */
14646
14331
  maxNumRefFrames?: OptionalInt;
14647
14332
 
14648
14333
  /**
14649
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14334
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
14650
14335
  */
14651
14336
  outputAud?: OptionalBool;
14652
14337
 
14653
14338
  /**
14654
- * @generated from field: norsk.api.media.OptionalInt level = 7;
14339
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
14655
14340
  */
14656
14341
  level?: OptionalInt;
14657
14342
 
@@ -14749,27 +14434,27 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14749
14434
  preset = NvidiaPreset.P1;
14750
14435
 
14751
14436
  /**
14752
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
14437
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
14753
14438
  */
14754
14439
  gopInterval?: OptionalInt;
14755
14440
 
14756
14441
  /**
14757
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
14442
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
14758
14443
  */
14759
14444
  idrPeriod?: OptionalInt;
14760
14445
 
14761
14446
  /**
14762
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
14447
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
14763
14448
  */
14764
14449
  frameIntervalP?: OptionalInt;
14765
14450
 
14766
14451
  /**
14767
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14452
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
14768
14453
  */
14769
14454
  outputAud?: OptionalBool;
14770
14455
 
14771
14456
  /**
14772
- * @generated from field: norsk.api.media.OptionalInt level = 7;
14457
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
14773
14458
  */
14774
14459
  level?: OptionalInt;
14775
14460
 
@@ -14880,37 +14565,37 @@ export class QuadraH264 extends Message<QuadraH264> {
14880
14565
  extraOpts = "";
14881
14566
 
14882
14567
  /**
14883
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14568
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
14884
14569
  */
14885
14570
  enableAud?: OptionalBool;
14886
14571
 
14887
14572
  /**
14888
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14573
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
14889
14574
  */
14890
14575
  gpuIndex?: OptionalInt;
14891
14576
 
14892
14577
  /**
14893
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14578
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
14894
14579
  */
14895
14580
  bitrate?: OptionalInt;
14896
14581
 
14897
14582
  /**
14898
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14583
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
14899
14584
  */
14900
14585
  enableVfr?: OptionalBool;
14901
14586
 
14902
14587
  /**
14903
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14588
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
14904
14589
  */
14905
14590
  crf?: OptionalInt;
14906
14591
 
14907
14592
  /**
14908
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14593
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
14909
14594
  */
14910
14595
  gopPresetIndex?: OptionalInt;
14911
14596
 
14912
14597
  /**
14913
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14598
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
14914
14599
  */
14915
14600
  intraPeriod?: OptionalInt;
14916
14601
 
@@ -14920,67 +14605,67 @@ export class QuadraH264 extends Message<QuadraH264> {
14920
14605
  profile = QuadraH264_QuadraH264Profile.DEFAULT;
14921
14606
 
14922
14607
  /**
14923
- * @generated from field: norsk.api.media.OptionalInt level = 12;
14608
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
14924
14609
  */
14925
14610
  level?: OptionalInt;
14926
14611
 
14927
14612
  /**
14928
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
14613
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
14929
14614
  */
14930
14615
  rcEnable?: OptionalBool;
14931
14616
 
14932
14617
  /**
14933
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
14618
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
14934
14619
  */
14935
14620
  intraQp?: OptionalInt;
14936
14621
 
14937
14622
  /**
14938
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14623
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
14939
14624
  */
14940
14625
  hrdEnable?: OptionalBool;
14941
14626
 
14942
14627
  /**
14943
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14628
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
14944
14629
  */
14945
14630
  dolbyVisionProfile?: OptionalInt;
14946
14631
 
14947
14632
  /**
14948
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14633
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
14949
14634
  */
14950
14635
  fillerEnable?: OptionalBool;
14951
14636
 
14952
14637
  /**
14953
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14638
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
14954
14639
  */
14955
14640
  minQp?: OptionalInt;
14956
14641
 
14957
14642
  /**
14958
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14643
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
14959
14644
  */
14960
14645
  maxQp?: OptionalInt;
14961
14646
 
14962
14647
  /**
14963
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14648
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
14964
14649
  */
14965
14650
  maxDeltaQp?: OptionalInt;
14966
14651
 
14967
14652
  /**
14968
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14653
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
14969
14654
  */
14970
14655
  cuLevelRCEnable?: OptionalBool;
14971
14656
 
14972
14657
  /**
14973
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14658
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
14974
14659
  */
14975
14660
  lookAheadDepth?: OptionalInt;
14976
14661
 
14977
14662
  /**
14978
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14663
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
14979
14664
  */
14980
14665
  vbvBufferSize?: OptionalInt;
14981
14666
 
14982
14667
  /**
14983
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14668
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
14984
14669
  */
14985
14670
  vbvMaxRate?: OptionalInt;
14986
14671
 
@@ -15087,37 +14772,37 @@ export class QuadraHevc extends Message<QuadraHevc> {
15087
14772
  extraOpts = "";
15088
14773
 
15089
14774
  /**
15090
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14775
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15091
14776
  */
15092
14777
  enableAud?: OptionalBool;
15093
14778
 
15094
14779
  /**
15095
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14780
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15096
14781
  */
15097
14782
  gpuIndex?: OptionalInt;
15098
14783
 
15099
14784
  /**
15100
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14785
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15101
14786
  */
15102
14787
  bitrate?: OptionalInt;
15103
14788
 
15104
14789
  /**
15105
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14790
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15106
14791
  */
15107
14792
  enableVfr?: OptionalBool;
15108
14793
 
15109
14794
  /**
15110
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14795
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15111
14796
  */
15112
14797
  crf?: OptionalInt;
15113
14798
 
15114
14799
  /**
15115
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14800
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15116
14801
  */
15117
14802
  gopPresetIndex?: OptionalInt;
15118
14803
 
15119
14804
  /**
15120
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14805
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15121
14806
  */
15122
14807
  intraPeriod?: OptionalInt;
15123
14808
 
@@ -15132,72 +14817,72 @@ export class QuadraHevc extends Message<QuadraHevc> {
15132
14817
  profile = QuadraHevc_QuadraHevcProfile.DEFAULT;
15133
14818
 
15134
14819
  /**
15135
- * @generated from field: norsk.api.media.OptionalInt level = 13;
14820
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
15136
14821
  */
15137
14822
  level?: OptionalInt;
15138
14823
 
15139
14824
  /**
15140
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
14825
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
15141
14826
  */
15142
14827
  rcEnable?: OptionalBool;
15143
14828
 
15144
14829
  /**
15145
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
14830
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
15146
14831
  */
15147
14832
  lossless?: OptionalBool;
15148
14833
 
15149
14834
  /**
15150
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
14835
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
15151
14836
  */
15152
14837
  intraQp?: OptionalInt;
15153
14838
 
15154
14839
  /**
15155
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14840
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
15156
14841
  */
15157
14842
  hrdEnable?: OptionalBool;
15158
14843
 
15159
14844
  /**
15160
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14845
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
15161
14846
  */
15162
14847
  dolbyVisionProfile?: OptionalInt;
15163
14848
 
15164
14849
  /**
15165
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14850
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
15166
14851
  */
15167
14852
  fillerEnable?: OptionalBool;
15168
14853
 
15169
14854
  /**
15170
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14855
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
15171
14856
  */
15172
14857
  minQp?: OptionalInt;
15173
14858
 
15174
14859
  /**
15175
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14860
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
15176
14861
  */
15177
14862
  maxQp?: OptionalInt;
15178
14863
 
15179
14864
  /**
15180
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14865
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
15181
14866
  */
15182
14867
  maxDeltaQp?: OptionalInt;
15183
14868
 
15184
14869
  /**
15185
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14870
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
15186
14871
  */
15187
14872
  cuLevelRCEnable?: OptionalBool;
15188
14873
 
15189
14874
  /**
15190
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14875
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
15191
14876
  */
15192
14877
  lookAheadDepth?: OptionalInt;
15193
14878
 
15194
14879
  /**
15195
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14880
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
15196
14881
  */
15197
14882
  vbvBufferSize?: OptionalInt;
15198
14883
 
15199
14884
  /**
15200
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14885
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
15201
14886
  */
15202
14887
  vbvMaxRate?: OptionalInt;
15203
14888
 
@@ -15308,47 +14993,47 @@ export class LoganH264 extends Message<LoganH264> {
15308
14993
  extraOpts = "";
15309
14994
 
15310
14995
  /**
15311
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14996
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15312
14997
  */
15313
14998
  enableAud?: OptionalBool;
15314
14999
 
15315
15000
  /**
15316
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
15001
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15317
15002
  */
15318
15003
  gpuIndex?: OptionalInt;
15319
15004
 
15320
15005
  /**
15321
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
15006
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15322
15007
  */
15323
15008
  bitrate?: OptionalInt;
15324
15009
 
15325
15010
  /**
15326
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
15011
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
15327
15012
  */
15328
15013
  flushGop?: OptionalBool;
15329
15014
 
15330
15015
  /**
15331
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
15016
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15332
15017
  */
15333
15018
  enableVfr?: OptionalBool;
15334
15019
 
15335
15020
  /**
15336
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
15021
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15337
15022
  */
15338
15023
  crf?: OptionalInt;
15339
15024
 
15340
15025
  /**
15341
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
15026
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
15342
15027
  */
15343
15028
  cbr?: OptionalBool;
15344
15029
 
15345
15030
  /**
15346
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
15031
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15347
15032
  */
15348
15033
  gopPresetIndex?: OptionalInt;
15349
15034
 
15350
15035
  /**
15351
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
15036
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15352
15037
  */
15353
15038
  intraPeriod?: OptionalInt;
15354
15039
 
@@ -15358,22 +15043,22 @@ export class LoganH264 extends Message<LoganH264> {
15358
15043
  profile = LoganH264_LoganH264Profile.DEFAULT;
15359
15044
 
15360
15045
  /**
15361
- * @generated from field: norsk.api.media.OptionalInt level = 12;
15046
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
15362
15047
  */
15363
15048
  level?: OptionalInt;
15364
15049
 
15365
15050
  /**
15366
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
15051
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
15367
15052
  */
15368
15053
  rcEnable?: OptionalBool;
15369
15054
 
15370
15055
  /**
15371
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
15056
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
15372
15057
  */
15373
15058
  intraQp?: OptionalInt;
15374
15059
 
15375
15060
  /**
15376
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
15061
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 15;
15377
15062
  */
15378
15063
  rcInitDelay?: OptionalInt;
15379
15064
 
@@ -15473,47 +15158,47 @@ export class LoganHevc extends Message<LoganHevc> {
15473
15158
  extraOpts = "";
15474
15159
 
15475
15160
  /**
15476
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
15161
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15477
15162
  */
15478
15163
  enableAud?: OptionalBool;
15479
15164
 
15480
15165
  /**
15481
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
15166
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15482
15167
  */
15483
15168
  gpuIndex?: OptionalInt;
15484
15169
 
15485
15170
  /**
15486
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
15171
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15487
15172
  */
15488
15173
  bitrate?: OptionalInt;
15489
15174
 
15490
15175
  /**
15491
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
15176
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
15492
15177
  */
15493
15178
  flushGop?: OptionalBool;
15494
15179
 
15495
15180
  /**
15496
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
15181
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15497
15182
  */
15498
15183
  enableVfr?: OptionalBool;
15499
15184
 
15500
15185
  /**
15501
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
15186
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15502
15187
  */
15503
15188
  crf?: OptionalInt;
15504
15189
 
15505
15190
  /**
15506
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
15191
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
15507
15192
  */
15508
15193
  cbr?: OptionalBool;
15509
15194
 
15510
15195
  /**
15511
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
15196
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15512
15197
  */
15513
15198
  gopPresetIndex?: OptionalInt;
15514
15199
 
15515
15200
  /**
15516
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
15201
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15517
15202
  */
15518
15203
  intraPeriod?: OptionalInt;
15519
15204
 
@@ -15528,37 +15213,37 @@ export class LoganHevc extends Message<LoganHevc> {
15528
15213
  profile = LoganHevc_LoganHevcProfile.DEFAULT;
15529
15214
 
15530
15215
  /**
15531
- * @generated from field: norsk.api.media.OptionalInt level = 13;
15216
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
15532
15217
  */
15533
15218
  level?: OptionalInt;
15534
15219
 
15535
15220
  /**
15536
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
15221
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
15537
15222
  */
15538
15223
  rcEnable?: OptionalBool;
15539
15224
 
15540
15225
  /**
15541
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
15226
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
15542
15227
  */
15543
15228
  lossless?: OptionalBool;
15544
15229
 
15545
15230
  /**
15546
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
15231
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
15547
15232
  */
15548
15233
  intraQp?: OptionalInt;
15549
15234
 
15550
15235
  /**
15551
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
15236
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 17;
15552
15237
  */
15553
15238
  rcInitDelay?: OptionalInt;
15554
15239
 
15555
15240
  /**
15556
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
15241
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
15557
15242
  */
15558
15243
  hrdEnable?: OptionalBool;
15559
15244
 
15560
15245
  /**
15561
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
15246
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
15562
15247
  */
15563
15248
  dolbyVisionProfile?: OptionalInt;
15564
15249
 
@@ -15664,7 +15349,7 @@ export class XilinxH264 extends Message<XilinxH264> {
15664
15349
  profile = XilinxH264_XilinxH264Profile.DEFAULT;
15665
15350
 
15666
15351
  /**
15667
- * @generated from field: norsk.api.media.OptionalInt level = 2;
15352
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
15668
15353
  */
15669
15354
  level?: OptionalInt;
15670
15355
 
@@ -15756,7 +15441,7 @@ export class XilinxHevc extends Message<XilinxHevc> {
15756
15441
  profile = XilinxHevc_XilinxHevcProfile.DEFAULT;
15757
15442
 
15758
15443
  /**
15759
- * @generated from field: norsk.api.media.OptionalInt level = 3;
15444
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
15760
15445
  */
15761
15446
  level?: OptionalInt;
15762
15447
 
@@ -16522,7 +16207,7 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16522
16207
  * * Override the bitrate metadata of a compressed video stream, or `0` to
16523
16208
  * clear
16524
16209
  *
16525
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
16210
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
16526
16211
  */
16527
16212
  videoBitrate?: OptionalInt;
16528
16213
 
@@ -16530,21 +16215,21 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16530
16215
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
16531
16216
  * clear
16532
16217
  *
16533
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
16218
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
16534
16219
  */
16535
16220
  audioBitrate?: OptionalInt;
16536
16221
 
16537
16222
  /**
16538
- * * Override the language metadata of an audio stream, or `""` to clear
16223
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
16539
16224
  *
16540
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
16225
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16541
16226
  */
16542
16227
  audioLanguage?: OptionalString;
16543
16228
 
16544
16229
  /**
16545
- * * Override the language metadata of a subtitles stream, or `""` to clear
16230
+ * * Override the language metadata of a subtitles stream, or `""` to clear RFC 5646 language tag.
16546
16231
  *
16547
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
16232
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16548
16233
  */
16549
16234
  subtitlesLanguage?: OptionalString;
16550
16235
 
@@ -16588,7 +16273,7 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16588
16273
  * * Override the bitrate metadata of a compressed video stream, or `0` to
16589
16274
  * clear
16590
16275
  *
16591
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
16276
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
16592
16277
  */
16593
16278
  videoBitrate?: OptionalInt;
16594
16279
 
@@ -16596,21 +16281,21 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16596
16281
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
16597
16282
  * clear
16598
16283
  *
16599
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
16284
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
16600
16285
  */
16601
16286
  audioBitrate?: OptionalInt;
16602
16287
 
16603
16288
  /**
16604
- * * Override the language metadata of an audio stream, or `""` to clear
16289
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
16605
16290
  *
16606
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
16291
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16607
16292
  */
16608
16293
  audioLanguage?: OptionalString;
16609
16294
 
16610
16295
  /**
16611
- * * Override the language metadata of a subtitles stream, or `""` to clear
16296
+ * * Override the language metadata of a subtitles stream, or `""` to clear. RFC 5646 language tag.
16612
16297
  *
16613
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
16298
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16614
16299
  */
16615
16300
  subtitlesLanguage?: OptionalString;
16616
16301
 
@@ -17908,8 +17593,8 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17908
17593
  case: "validatedContext";
17909
17594
  } | {
17910
17595
  /**
17911
- * Message indicating a transition has succesfully completed for a requested switch, i.e. the new source
17912
- * is now showing
17596
+ * Message indicating a transition has succesfully completed for a requested
17597
+ * switch, i.e. the new source is now showing
17913
17598
  *
17914
17599
  * @generated from field: norsk.api.media.StreamSwitchTransitionComplete transition_complete = 6;
17915
17600
  */
@@ -18995,6 +18680,8 @@ export class RtpEac3 extends Message<RtpEac3> {
18995
18680
  clockRate = 0;
18996
18681
 
18997
18682
  /**
18683
+ * RFC5646 language tag
18684
+ *
18998
18685
  * @generated from field: string language_code = 2;
18999
18686
  */
19000
18687
  languageCode = "";
@@ -19606,6 +19293,426 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
19606
19293
  }
19607
19294
  }
19608
19295
 
19296
+ /**
19297
+ * @generated from message norsk.api.media.AudioTranscribeAzureConfiguration
19298
+ */
19299
+ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAzureConfiguration> {
19300
+ /**
19301
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
19302
+ */
19303
+ id?: MediaNodeId;
19304
+
19305
+ /**
19306
+ * @generated from field: uint32 output_stream_id = 2;
19307
+ */
19308
+ outputStreamId = 0;
19309
+
19310
+ /**
19311
+ * The source language to recognise - an RFC 5646/ IETF BCP 47 language tag, eg en-US,
19312
+ * en-GB, de-DE. Supported languages are found at
19313
+ * https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
19314
+ *
19315
+ * @generated from field: string source_language = 3;
19316
+ */
19317
+ sourceLanguage = "";
19318
+
19319
+ /**
19320
+ * The target output languages for translation - technically a RFC 5646 language
19321
+ * tag but but in most cases omitting region, e.g. en, de, zh-Hant.
19322
+ *
19323
+ * Leave this field absent/empty to use the transcription service without
19324
+ * translation, while if any target languages are present the translation
19325
+ * service will be used even if this is the same as the
19326
+ * source language.
19327
+ *
19328
+ * @generated from field: repeated string target_languages = 4;
19329
+ */
19330
+ targetLanguages: string[] = [];
19331
+
19332
+ /**
19333
+ * * Key for the Azure Speech Service endpoint
19334
+ *
19335
+ * @generated from field: string azure_key = 5;
19336
+ */
19337
+ azureKey = "";
19338
+
19339
+ /**
19340
+ * * Region for the Azure Speech Service endpoint
19341
+ *
19342
+ * @generated from field: string azure_region = 6;
19343
+ */
19344
+ azureRegion = "";
19345
+
19346
+ /**
19347
+ * @generated from field: norsk.api.common.OptionalInt maximum_line_length = 7;
19348
+ */
19349
+ maximumLineLength?: OptionalInt;
19350
+
19351
+ constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>) {
19352
+ super();
19353
+ proto3.util.initPartial(data, this);
19354
+ }
19355
+
19356
+ static readonly runtime = proto3;
19357
+ static readonly typeName = "norsk.api.media.AudioTranscribeAzureConfiguration";
19358
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19359
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
19360
+ { no: 2, name: "output_stream_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19361
+ { no: 3, name: "source_language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19362
+ { no: 4, name: "target_languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
19363
+ { no: 5, name: "azure_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19364
+ { no: 6, name: "azure_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19365
+ { no: 7, name: "maximum_line_length", kind: "message", T: OptionalInt },
19366
+ ]);
19367
+
19368
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration {
19369
+ return new AudioTranscribeAzureConfiguration().fromBinary(bytes, options);
19370
+ }
19371
+
19372
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration {
19373
+ return new AudioTranscribeAzureConfiguration().fromJson(jsonValue, options);
19374
+ }
19375
+
19376
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration {
19377
+ return new AudioTranscribeAzureConfiguration().fromJsonString(jsonString, options);
19378
+ }
19379
+
19380
+ static equals(a: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined, b: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined): boolean {
19381
+ return proto3.util.equals(AudioTranscribeAzureConfiguration, a, b);
19382
+ }
19383
+ }
19384
+
19385
+ /**
19386
+ * @generated from message norsk.api.media.AudioTranscribeAzureMessage
19387
+ */
19388
+ export class AudioTranscribeAzureMessage extends Message<AudioTranscribeAzureMessage> {
19389
+ /**
19390
+ * @generated from oneof norsk.api.media.AudioTranscribeAzureMessage.message
19391
+ */
19392
+ message: {
19393
+ /**
19394
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
19395
+ */
19396
+ value: Subscription;
19397
+ case: "subscription";
19398
+ } | {
19399
+ /**
19400
+ * @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration configuration = 2;
19401
+ */
19402
+ value: AudioTranscribeAzureConfiguration;
19403
+ case: "configuration";
19404
+ } | { case: undefined; value?: undefined } = { case: undefined };
19405
+
19406
+ constructor(data?: PartialMessage<AudioTranscribeAzureMessage>) {
19407
+ super();
19408
+ proto3.util.initPartial(data, this);
19409
+ }
19410
+
19411
+ static readonly runtime = proto3;
19412
+ static readonly typeName = "norsk.api.media.AudioTranscribeAzureMessage";
19413
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19414
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
19415
+ { no: 2, name: "configuration", kind: "message", T: AudioTranscribeAzureConfiguration, oneof: "message" },
19416
+ ]);
19417
+
19418
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureMessage {
19419
+ return new AudioTranscribeAzureMessage().fromBinary(bytes, options);
19420
+ }
19421
+
19422
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage {
19423
+ return new AudioTranscribeAzureMessage().fromJson(jsonValue, options);
19424
+ }
19425
+
19426
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage {
19427
+ return new AudioTranscribeAzureMessage().fromJsonString(jsonString, options);
19428
+ }
19429
+
19430
+ static equals(a: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined, b: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined): boolean {
19431
+ return proto3.util.equals(AudioTranscribeAzureMessage, a, b);
19432
+ }
19433
+ }
19434
+
19435
+ /**
19436
+ * @generated from message norsk.api.media.AudioTranscribeAzureEvent
19437
+ */
19438
+ export class AudioTranscribeAzureEvent extends Message<AudioTranscribeAzureEvent> {
19439
+ /**
19440
+ * @generated from oneof norsk.api.media.AudioTranscribeAzureEvent.message
19441
+ */
19442
+ message: {
19443
+ /**
19444
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
19445
+ */
19446
+ value: MediaNodeId;
19447
+ case: "nodeId";
19448
+ } | {
19449
+ /**
19450
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
19451
+ */
19452
+ value: Context;
19453
+ case: "outboundContext";
19454
+ } | {
19455
+ /**
19456
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
19457
+ */
19458
+ value: SubscriptionResponse;
19459
+ case: "subscriptionResponse";
19460
+ } | {
19461
+ /**
19462
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
19463
+ */
19464
+ value: Context;
19465
+ case: "inboundContext";
19466
+ } | { case: undefined; value?: undefined } = { case: undefined };
19467
+
19468
+ constructor(data?: PartialMessage<AudioTranscribeAzureEvent>) {
19469
+ super();
19470
+ proto3.util.initPartial(data, this);
19471
+ }
19472
+
19473
+ static readonly runtime = proto3;
19474
+ static readonly typeName = "norsk.api.media.AudioTranscribeAzureEvent";
19475
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19476
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
19477
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
19478
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
19479
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
19480
+ ]);
19481
+
19482
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureEvent {
19483
+ return new AudioTranscribeAzureEvent().fromBinary(bytes, options);
19484
+ }
19485
+
19486
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent {
19487
+ return new AudioTranscribeAzureEvent().fromJson(jsonValue, options);
19488
+ }
19489
+
19490
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent {
19491
+ return new AudioTranscribeAzureEvent().fromJsonString(jsonString, options);
19492
+ }
19493
+
19494
+ static equals(a: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined, b: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined): boolean {
19495
+ return proto3.util.equals(AudioTranscribeAzureEvent, a, b);
19496
+ }
19497
+ }
19498
+
19499
+ /**
19500
+ * @generated from message norsk.api.media.AudioTranscribeWhisperConfiguration
19501
+ */
19502
+ export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribeWhisperConfiguration> {
19503
+ /**
19504
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
19505
+ */
19506
+ id?: MediaNodeId;
19507
+
19508
+ /**
19509
+ * @generated from field: uint32 output_stream_id = 2;
19510
+ */
19511
+ outputStreamId = 0;
19512
+
19513
+ /**
19514
+ * @generated from field: norsk.api.common.OptionalInt step_ms = 3;
19515
+ */
19516
+ stepMs?: OptionalInt;
19517
+
19518
+ /**
19519
+ * @generated from field: norsk.api.common.OptionalInt length_ms = 4;
19520
+ */
19521
+ lengthMs?: OptionalInt;
19522
+
19523
+ /**
19524
+ * @generated from field: norsk.api.common.OptionalInt keep_ms = 5;
19525
+ */
19526
+ keepMs?: OptionalInt;
19527
+
19528
+ /**
19529
+ * @generated from field: norsk.api.common.OptionalInt max_tokens = 6;
19530
+ */
19531
+ maxTokens?: OptionalInt;
19532
+
19533
+ /**
19534
+ * @generated from field: norsk.api.common.OptionalBool speed_up = 7;
19535
+ */
19536
+ speedUp?: OptionalBool;
19537
+
19538
+ /**
19539
+ * @generated from field: norsk.api.common.OptionalBool no_fallback = 8;
19540
+ */
19541
+ noFallback?: OptionalBool;
19542
+
19543
+ /**
19544
+ * @generated from field: norsk.api.common.OptionalInt num_threads = 9;
19545
+ */
19546
+ numThreads?: OptionalInt;
19547
+
19548
+ /**
19549
+ * @generated from field: norsk.api.common.OptionalBool use_gpu = 10;
19550
+ */
19551
+ useGpu?: OptionalBool;
19552
+
19553
+ /**
19554
+ * @generated from field: string language = 11;
19555
+ */
19556
+ language = "";
19557
+
19558
+ /**
19559
+ * @generated from field: string model = 12;
19560
+ */
19561
+ model = "";
19562
+
19563
+ constructor(data?: PartialMessage<AudioTranscribeWhisperConfiguration>) {
19564
+ super();
19565
+ proto3.util.initPartial(data, this);
19566
+ }
19567
+
19568
+ static readonly runtime = proto3;
19569
+ static readonly typeName = "norsk.api.media.AudioTranscribeWhisperConfiguration";
19570
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19571
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
19572
+ { no: 2, name: "output_stream_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19573
+ { no: 3, name: "step_ms", kind: "message", T: OptionalInt },
19574
+ { no: 4, name: "length_ms", kind: "message", T: OptionalInt },
19575
+ { no: 5, name: "keep_ms", kind: "message", T: OptionalInt },
19576
+ { no: 6, name: "max_tokens", kind: "message", T: OptionalInt },
19577
+ { no: 7, name: "speed_up", kind: "message", T: OptionalBool },
19578
+ { no: 8, name: "no_fallback", kind: "message", T: OptionalBool },
19579
+ { no: 9, name: "num_threads", kind: "message", T: OptionalInt },
19580
+ { no: 10, name: "use_gpu", kind: "message", T: OptionalBool },
19581
+ { no: 11, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19582
+ { no: 12, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19583
+ ]);
19584
+
19585
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperConfiguration {
19586
+ return new AudioTranscribeWhisperConfiguration().fromBinary(bytes, options);
19587
+ }
19588
+
19589
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration {
19590
+ return new AudioTranscribeWhisperConfiguration().fromJson(jsonValue, options);
19591
+ }
19592
+
19593
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration {
19594
+ return new AudioTranscribeWhisperConfiguration().fromJsonString(jsonString, options);
19595
+ }
19596
+
19597
+ static equals(a: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined, b: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined): boolean {
19598
+ return proto3.util.equals(AudioTranscribeWhisperConfiguration, a, b);
19599
+ }
19600
+ }
19601
+
19602
+ /**
19603
+ * @generated from message norsk.api.media.AudioTranscribeWhisperMessage
19604
+ */
19605
+ export class AudioTranscribeWhisperMessage extends Message<AudioTranscribeWhisperMessage> {
19606
+ /**
19607
+ * @generated from oneof norsk.api.media.AudioTranscribeWhisperMessage.message
19608
+ */
19609
+ message: {
19610
+ /**
19611
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
19612
+ */
19613
+ value: Subscription;
19614
+ case: "subscription";
19615
+ } | {
19616
+ /**
19617
+ * @generated from field: norsk.api.media.AudioTranscribeWhisperConfiguration configuration = 2;
19618
+ */
19619
+ value: AudioTranscribeWhisperConfiguration;
19620
+ case: "configuration";
19621
+ } | { case: undefined; value?: undefined } = { case: undefined };
19622
+
19623
+ constructor(data?: PartialMessage<AudioTranscribeWhisperMessage>) {
19624
+ super();
19625
+ proto3.util.initPartial(data, this);
19626
+ }
19627
+
19628
+ static readonly runtime = proto3;
19629
+ static readonly typeName = "norsk.api.media.AudioTranscribeWhisperMessage";
19630
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19631
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
19632
+ { no: 2, name: "configuration", kind: "message", T: AudioTranscribeWhisperConfiguration, oneof: "message" },
19633
+ ]);
19634
+
19635
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperMessage {
19636
+ return new AudioTranscribeWhisperMessage().fromBinary(bytes, options);
19637
+ }
19638
+
19639
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage {
19640
+ return new AudioTranscribeWhisperMessage().fromJson(jsonValue, options);
19641
+ }
19642
+
19643
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage {
19644
+ return new AudioTranscribeWhisperMessage().fromJsonString(jsonString, options);
19645
+ }
19646
+
19647
+ static equals(a: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined, b: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined): boolean {
19648
+ return proto3.util.equals(AudioTranscribeWhisperMessage, a, b);
19649
+ }
19650
+ }
19651
+
19652
+ /**
19653
+ * @generated from message norsk.api.media.AudioTranscribeWhisperEvent
19654
+ */
19655
+ export class AudioTranscribeWhisperEvent extends Message<AudioTranscribeWhisperEvent> {
19656
+ /**
19657
+ * @generated from oneof norsk.api.media.AudioTranscribeWhisperEvent.message
19658
+ */
19659
+ message: {
19660
+ /**
19661
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
19662
+ */
19663
+ value: MediaNodeId;
19664
+ case: "nodeId";
19665
+ } | {
19666
+ /**
19667
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
19668
+ */
19669
+ value: Context;
19670
+ case: "outboundContext";
19671
+ } | {
19672
+ /**
19673
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
19674
+ */
19675
+ value: SubscriptionResponse;
19676
+ case: "subscriptionResponse";
19677
+ } | {
19678
+ /**
19679
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
19680
+ */
19681
+ value: Context;
19682
+ case: "inboundContext";
19683
+ } | { case: undefined; value?: undefined } = { case: undefined };
19684
+
19685
+ constructor(data?: PartialMessage<AudioTranscribeWhisperEvent>) {
19686
+ super();
19687
+ proto3.util.initPartial(data, this);
19688
+ }
19689
+
19690
+ static readonly runtime = proto3;
19691
+ static readonly typeName = "norsk.api.media.AudioTranscribeWhisperEvent";
19692
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19693
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
19694
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
19695
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
19696
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
19697
+ ]);
19698
+
19699
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperEvent {
19700
+ return new AudioTranscribeWhisperEvent().fromBinary(bytes, options);
19701
+ }
19702
+
19703
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent {
19704
+ return new AudioTranscribeWhisperEvent().fromJson(jsonValue, options);
19705
+ }
19706
+
19707
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent {
19708
+ return new AudioTranscribeWhisperEvent().fromJsonString(jsonString, options);
19709
+ }
19710
+
19711
+ static equals(a: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined, b: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined): boolean {
19712
+ return proto3.util.equals(AudioTranscribeWhisperEvent, a, b);
19713
+ }
19714
+ }
19715
+
19609
19716
  /**
19610
19717
  * @generated from message norsk.api.media.AncillaryConfiguration
19611
19718
  */
@@ -20405,7 +20512,7 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
20405
20512
  */
20406
20513
  export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
20407
20514
  /**
20408
- * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
20515
+ * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
20409
20516
  */
20410
20517
  ptsTime?: OptionalInt;
20411
20518
 
@@ -21190,7 +21297,7 @@ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDesc
21190
21297
  components: Scte35SegmentationComponent[] = [];
21191
21298
 
21192
21299
  /**
21193
- * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
21300
+ * @generated from field: norsk.api.common.OptionalInt64 segmentation_duration = 6;
21194
21301
  */
21195
21302
  segmentationDuration?: OptionalInt64;
21196
21303
 
@@ -21220,12 +21327,12 @@ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDesc
21220
21327
  segmentsExpected = 0;
21221
21328
 
21222
21329
  /**
21223
- * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
21330
+ * @generated from field: norsk.api.common.OptionalInt sub_segment_num = 12;
21224
21331
  */
21225
21332
  subSegmentNum?: OptionalInt;
21226
21333
 
21227
21334
  /**
21228
- * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
21335
+ * @generated from field: norsk.api.common.OptionalInt sub_segments_expected = 13;
21229
21336
  */
21230
21337
  subSegmentsExpected?: OptionalInt;
21231
21338
 
@@ -22295,268 +22402,6 @@ export class SourceSubscriptionError_UnsupportedConversion extends Message<Sourc
22295
22402
  }
22296
22403
  }
22297
22404
 
22298
- /**
22299
- * `Struct` represents a structured data value, consisting of fields
22300
- * which map to dynamically typed values. In some languages, `Struct`
22301
- * might be supported by a native representation. For example, in
22302
- * scripting languages like JS a struct is represented as an
22303
- * object. The details of that representation are described together
22304
- * with the proto support for the language.
22305
- *
22306
- * The JSON representation for `Struct` is JSON object.
22307
- *
22308
- * @generated from message norsk.api.media.Struct
22309
- */
22310
- export class Struct extends Message<Struct> {
22311
- /**
22312
- * Unordered map of dynamically typed values.
22313
- *
22314
- * @generated from field: map<string, norsk.api.media.Value> fields = 1;
22315
- */
22316
- fields: { [key: string]: Value } = {};
22317
-
22318
- constructor(data?: PartialMessage<Struct>) {
22319
- super();
22320
- proto3.util.initPartial(data, this);
22321
- }
22322
-
22323
- static readonly runtime = proto3;
22324
- static readonly typeName = "norsk.api.media.Struct";
22325
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22326
- { no: 1, name: "fields", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
22327
- ]);
22328
-
22329
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Struct {
22330
- return new Struct().fromBinary(bytes, options);
22331
- }
22332
-
22333
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Struct {
22334
- return new Struct().fromJson(jsonValue, options);
22335
- }
22336
-
22337
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Struct {
22338
- return new Struct().fromJsonString(jsonString, options);
22339
- }
22340
-
22341
- static equals(a: Struct | PlainMessage<Struct> | undefined, b: Struct | PlainMessage<Struct> | undefined): boolean {
22342
- return proto3.util.equals(Struct, a, b);
22343
- }
22344
- }
22345
-
22346
- /**
22347
- * `Value` represents a dynamically typed value which can be either
22348
- * null, a number, a string, a boolean, a recursive struct value, or a
22349
- * list of values. A producer of value is expected to set one of that
22350
- * variants, absence of any variant indicates an error.
22351
- *
22352
- * The JSON representation for `Value` is JSON value.
22353
- *
22354
- * @generated from message norsk.api.media.Value
22355
- */
22356
- export class Value extends Message<Value> {
22357
- /**
22358
- * The kind of value.
22359
- *
22360
- * @generated from oneof norsk.api.media.Value.kind
22361
- */
22362
- kind: {
22363
- /**
22364
- * Represents a null value.
22365
- *
22366
- * @generated from field: norsk.api.media.NullValue null_value = 1;
22367
- */
22368
- value: NullValue;
22369
- case: "nullValue";
22370
- } | {
22371
- /**
22372
- * Represents a double value.
22373
- *
22374
- * @generated from field: double number_value = 2;
22375
- */
22376
- value: number;
22377
- case: "numberValue";
22378
- } | {
22379
- /**
22380
- * Represents a string value.
22381
- *
22382
- * @generated from field: string string_value = 3;
22383
- */
22384
- value: string;
22385
- case: "stringValue";
22386
- } | {
22387
- /**
22388
- * Represents a boolean value.
22389
- *
22390
- * @generated from field: bool bool_value = 4;
22391
- */
22392
- value: boolean;
22393
- case: "boolValue";
22394
- } | {
22395
- /**
22396
- * Represents a structured value.
22397
- *
22398
- * @generated from field: norsk.api.media.Struct struct_value = 5;
22399
- */
22400
- value: Struct;
22401
- case: "structValue";
22402
- } | {
22403
- /**
22404
- * Represents a repeated `Value`.
22405
- *
22406
- * @generated from field: norsk.api.media.ListValue list_value = 6;
22407
- */
22408
- value: ListValue;
22409
- case: "listValue";
22410
- } | {
22411
- /**
22412
- * Represents a Code value
22413
- *
22414
- * @generated from field: norsk.api.media.Code code_value = 7;
22415
- */
22416
- value: Code;
22417
- case: "codeValue";
22418
- } | { case: undefined; value?: undefined } = { case: undefined };
22419
-
22420
- constructor(data?: PartialMessage<Value>) {
22421
- super();
22422
- proto3.util.initPartial(data, this);
22423
- }
22424
-
22425
- static readonly runtime = proto3;
22426
- static readonly typeName = "norsk.api.media.Value";
22427
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22428
- { no: 1, name: "null_value", kind: "enum", T: proto3.getEnumType(NullValue), oneof: "kind" },
22429
- { no: 2, name: "number_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "kind" },
22430
- { no: 3, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "kind" },
22431
- { no: 4, name: "bool_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "kind" },
22432
- { no: 5, name: "struct_value", kind: "message", T: Struct, oneof: "kind" },
22433
- { no: 6, name: "list_value", kind: "message", T: ListValue, oneof: "kind" },
22434
- { no: 7, name: "code_value", kind: "enum", T: proto3.getEnumType(Code), oneof: "kind" },
22435
- ]);
22436
-
22437
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value {
22438
- return new Value().fromBinary(bytes, options);
22439
- }
22440
-
22441
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value {
22442
- return new Value().fromJson(jsonValue, options);
22443
- }
22444
-
22445
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value {
22446
- return new Value().fromJsonString(jsonString, options);
22447
- }
22448
-
22449
- static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean {
22450
- return proto3.util.equals(Value, a, b);
22451
- }
22452
- }
22453
-
22454
- /**
22455
- * `ListValue` is a wrapper around a repeated field of values.
22456
- *
22457
- * The JSON representation for `ListValue` is JSON array.
22458
- *
22459
- * @generated from message norsk.api.media.ListValue
22460
- */
22461
- export class ListValue extends Message<ListValue> {
22462
- /**
22463
- * Repeated field of dynamically typed values.
22464
- *
22465
- * @generated from field: repeated norsk.api.media.Value values = 1;
22466
- */
22467
- values: Value[] = [];
22468
-
22469
- constructor(data?: PartialMessage<ListValue>) {
22470
- super();
22471
- proto3.util.initPartial(data, this);
22472
- }
22473
-
22474
- static readonly runtime = proto3;
22475
- static readonly typeName = "norsk.api.media.ListValue";
22476
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22477
- { no: 1, name: "values", kind: "message", T: Value, repeated: true },
22478
- ]);
22479
-
22480
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListValue {
22481
- return new ListValue().fromBinary(bytes, options);
22482
- }
22483
-
22484
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListValue {
22485
- return new ListValue().fromJson(jsonValue, options);
22486
- }
22487
-
22488
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListValue {
22489
- return new ListValue().fromJsonString(jsonString, options);
22490
- }
22491
-
22492
- static equals(a: ListValue | PlainMessage<ListValue> | undefined, b: ListValue | PlainMessage<ListValue> | undefined): boolean {
22493
- return proto3.util.equals(ListValue, a, b);
22494
- }
22495
- }
22496
-
22497
- /**
22498
- * ///////////////////////////////////////////////////////////////////////////
22499
- *
22500
- *
22501
- * @generated from message norsk.api.media.Status
22502
- */
22503
- export class Status extends Message<Status> {
22504
- /**
22505
- * The status code, which should be an enum value of
22506
- * [google.rpc.Code][google.rpc.Code].
22507
- *
22508
- * @generated from field: norsk.api.media.Code code = 1;
22509
- */
22510
- code = Code.OK;
22511
-
22512
- /**
22513
- * A developer-facing error message, which should be in English. Any
22514
- * user-facing error message should be localized and sent in the
22515
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
22516
- * by the client.
22517
- *
22518
- * @generated from field: string message = 2;
22519
- */
22520
- message = "";
22521
-
22522
- /**
22523
- * A list of messages that carry the error details. There is a common set of
22524
- * message types for APIs to use.
22525
- *
22526
- * @generated from field: norsk.api.media.Struct details = 3;
22527
- */
22528
- details?: Struct;
22529
-
22530
- constructor(data?: PartialMessage<Status>) {
22531
- super();
22532
- proto3.util.initPartial(data, this);
22533
- }
22534
-
22535
- static readonly runtime = proto3;
22536
- static readonly typeName = "norsk.api.media.Status";
22537
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22538
- { no: 1, name: "code", kind: "enum", T: proto3.getEnumType(Code) },
22539
- { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22540
- { no: 3, name: "details", kind: "message", T: Struct },
22541
- ]);
22542
-
22543
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Status {
22544
- return new Status().fromBinary(bytes, options);
22545
- }
22546
-
22547
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Status {
22548
- return new Status().fromJson(jsonValue, options);
22549
- }
22550
-
22551
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Status {
22552
- return new Status().fromJsonString(jsonString, options);
22553
- }
22554
-
22555
- static equals(a: Status | PlainMessage<Status> | undefined, b: Status | PlainMessage<Status> | undefined): boolean {
22556
- return proto3.util.equals(Status, a, b);
22557
- }
22558
- }
22559
-
22560
22405
  /**
22561
22406
  * `Hello` is sent to the client at the start of a status channel, and gives
22562
22407
  * information about the current Norsk runtime