@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.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Empty, Message } from "@bufbuild/protobuf";
3
- import { CurrentLoad, Log, Version } from "./shared/common_pb.js";
3
+ import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, Version } from "./shared/common_pb.js";
4
4
  /**
5
5
  * Enumeration of possible channel positions.
6
6
  *
@@ -1138,240 +1138,6 @@ export declare enum ContextType {
1138
1138
  */
1139
1139
  SINGLE_RENDITION = 4
1140
1140
  }
1141
- /**
1142
- * The canonical error codes for gRPC APIs.
1143
- *
1144
- *
1145
- * Sometimes multiple error codes may apply. Services should return
1146
- * the most specific error code that applies. For example, prefer
1147
- * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
1148
- * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
1149
- *
1150
- * @generated from enum norsk.api.media.Code
1151
- */
1152
- export declare enum Code {
1153
- /**
1154
- * Not an error; returned on success
1155
- *
1156
- * HTTP Mapping: 200 OK
1157
- *
1158
- * @generated from enum value: OK = 0;
1159
- */
1160
- OK = 0,
1161
- /**
1162
- * The operation was cancelled, typically by the caller.
1163
- *
1164
- * HTTP Mapping: 499 Client Closed Request
1165
- *
1166
- * @generated from enum value: CANCELLED = 1;
1167
- */
1168
- CANCELLED = 1,
1169
- /**
1170
- * Unknown error. For example, this error may be returned when
1171
- * a `Status` value received from another address space belongs to
1172
- * an error space that is not known in this address space. Also
1173
- * errors raised by APIs that do not return enough error information
1174
- * may be converted to this error.
1175
- *
1176
- * HTTP Mapping: 500 Internal Server Error
1177
- *
1178
- * @generated from enum value: UNKNOWN_ERROR = 2;
1179
- */
1180
- UNKNOWN_ERROR = 2,
1181
- /**
1182
- * The client specified an invalid argument. Note that this differs
1183
- * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
1184
- * that are problematic regardless of the state of the system
1185
- * (e.g., a malformed file name).
1186
- *
1187
- * HTTP Mapping: 400 Bad Request
1188
- *
1189
- * @generated from enum value: INVALID_ARGUMENT = 3;
1190
- */
1191
- INVALID_ARGUMENT = 3,
1192
- /**
1193
- * The deadline expired before the operation could complete. For operations
1194
- * that change the state of the system, this error may be returned
1195
- * even if the operation has completed successfully. For example, a
1196
- * successful response from a server could have been delayed long
1197
- * enough for the deadline to expire.
1198
- *
1199
- * HTTP Mapping: 504 Gateway Timeout
1200
- *
1201
- * @generated from enum value: DEADLINE_EXCEEDED = 4;
1202
- */
1203
- DEADLINE_EXCEEDED = 4,
1204
- /**
1205
- * Some requested entity (e.g., file or directory) was not found.
1206
- *
1207
- * Note to server developers: if a request is denied for an entire class
1208
- * of users, such as gradual feature rollout or undocumented whitelist,
1209
- * `NOT_FOUND` may be used. If a request is denied for some users within
1210
- * a class of users, such as user-based access control, `PERMISSION_DENIED`
1211
- * must be used.
1212
- *
1213
- * HTTP Mapping: 404 Not Found
1214
- *
1215
- * @generated from enum value: NOT_FOUND = 5;
1216
- */
1217
- NOT_FOUND = 5,
1218
- /**
1219
- * The entity that a client attempted to create (e.g., file or directory)
1220
- * already exists.
1221
- *
1222
- * HTTP Mapping: 409 Conflict
1223
- *
1224
- * @generated from enum value: ALREADY_EXISTS = 6;
1225
- */
1226
- ALREADY_EXISTS = 6,
1227
- /**
1228
- * The caller does not have permission to execute the specified
1229
- * operation. `PERMISSION_DENIED` must not be used for rejections
1230
- * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
1231
- * instead for those errors). `PERMISSION_DENIED` must not be
1232
- * used if the caller can not be identified (use `UNAUTHENTICATED`
1233
- * instead for those errors). This error code does not imply the
1234
- * request is valid or the requested entity exists or satisfies
1235
- * other pre-conditions.
1236
- *
1237
- * HTTP Mapping: 403 Forbidden
1238
- *
1239
- * @generated from enum value: PERMISSION_DENIED = 7;
1240
- */
1241
- PERMISSION_DENIED = 7,
1242
- /**
1243
- * The request does not have valid authentication credentials for the
1244
- * operation.
1245
- *
1246
- * HTTP Mapping: 401 Unauthorized
1247
- *
1248
- * @generated from enum value: UNAUTHENTICATED = 16;
1249
- */
1250
- UNAUTHENTICATED = 16,
1251
- /**
1252
- * Some resource has been exhausted, perhaps a per-user quota, or
1253
- * perhaps the entire file system is out of space.
1254
- *
1255
- * HTTP Mapping: 429 Too Many Requests
1256
- *
1257
- * @generated from enum value: RESOURCE_EXHAUSTED = 8;
1258
- */
1259
- RESOURCE_EXHAUSTED = 8,
1260
- /**
1261
- * The operation was rejected because the system is not in a state
1262
- * required for the operation's execution. For example, the directory
1263
- * to be deleted is non-empty, an rmdir operation is applied to
1264
- * a non-directory, etc.
1265
- *
1266
- * Service implementors can use the following guidelines to decide
1267
- * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
1268
- * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
1269
- * (b) Use `ABORTED` if the client should retry at a higher level
1270
- * (e.g., when a client-specified test-and-set fails, indicating the
1271
- * client should restart a read-modify-write sequence).
1272
- * (c) Use `FAILED_PRECONDITION` if the client should not retry until
1273
- * the system state has been explicitly fixed. E.g., if an "rmdir"
1274
- * fails because the directory is non-empty, `FAILED_PRECONDITION`
1275
- * should be returned since the client should not retry unless
1276
- * the files are deleted from the directory.
1277
- *
1278
- * HTTP Mapping: 400 Bad Request
1279
- *
1280
- * @generated from enum value: FAILED_PRECONDITION = 9;
1281
- */
1282
- FAILED_PRECONDITION = 9,
1283
- /**
1284
- * The operation was aborted, typically due to a concurrency issue such as
1285
- * a sequencer check failure or transaction abort.
1286
- *
1287
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1288
- * `ABORTED`, and `UNAVAILABLE`.
1289
- *
1290
- * HTTP Mapping: 409 Conflict
1291
- *
1292
- * @generated from enum value: ABORTED = 10;
1293
- */
1294
- ABORTED = 10,
1295
- /**
1296
- * The operation was attempted past the valid range. E.g., seeking or
1297
- * reading past end-of-file.
1298
- *
1299
- * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
1300
- * be fixed if the system state changes. For example, a 32-bit file
1301
- * system will generate `INVALID_ARGUMENT` if asked to read at an
1302
- * offset that is not in the range [0,2^32-1], but it will generate
1303
- * `OUT_OF_RANGE` if asked to read from an offset past the current
1304
- * file size.
1305
- *
1306
- * There is a fair bit of overlap between `FAILED_PRECONDITION` and
1307
- * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
1308
- * error) when it applies so that callers who are iterating through
1309
- * a space can easily look for an `OUT_OF_RANGE` error to detect when
1310
- * they are done.
1311
- *
1312
- * HTTP Mapping: 400 Bad Request
1313
- *
1314
- * @generated from enum value: OUT_OF_RANGE = 11;
1315
- */
1316
- OUT_OF_RANGE = 11,
1317
- /**
1318
- * The operation is not implemented or is not supported/enabled in this
1319
- * service.
1320
- *
1321
- * HTTP Mapping: 501 Not Implemented
1322
- *
1323
- * @generated from enum value: UNIMPLEMENTED = 12;
1324
- */
1325
- UNIMPLEMENTED = 12,
1326
- /**
1327
- * Internal errors. This means that some invariants expected by the
1328
- * underlying system have been broken. This error code is reserved
1329
- * for serious errors.
1330
- *
1331
- * HTTP Mapping: 500 Internal Server Error
1332
- *
1333
- * @generated from enum value: INTERNAL = 13;
1334
- */
1335
- INTERNAL = 13,
1336
- /**
1337
- * The service is currently unavailable. This is most likely a
1338
- * transient condition, which can be corrected by retrying with
1339
- * a backoff. Note that it is not always safe to retry
1340
- * non-idempotent operations.
1341
- *
1342
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1343
- * `ABORTED`, and `UNAVAILABLE`.
1344
- *
1345
- * HTTP Mapping: 503 Service Unavailable
1346
- *
1347
- * @generated from enum value: UNAVAILABLE = 14;
1348
- */
1349
- UNAVAILABLE = 14,
1350
- /**
1351
- * Unrecoverable data loss or corruption.
1352
- *
1353
- * HTTP Mapping: 500 Internal Server Error
1354
- *
1355
- * @generated from enum value: DATA_LOSS = 15;
1356
- */
1357
- DATA_LOSS = 15
1358
- }
1359
- /**
1360
- * `NullValue` is a singleton enumeration to represent the null value for the
1361
- * `Value` type union.
1362
- *
1363
- * The JSON representation for `NullValue` is JSON `null`.
1364
- *
1365
- * @generated from enum norsk.api.media.NullValue
1366
- */
1367
- export declare enum NullValue {
1368
- /**
1369
- * Null value.
1370
- *
1371
- * @generated from enum value: NULL_VALUE = 0;
1372
- */
1373
- NULL_VALUE = 0
1374
- }
1375
1141
  /**
1376
1142
  * @generated from message norsk.api.media.MediaNodeId
1377
1143
  */
@@ -2250,19 +2016,22 @@ export declare class CodecPictureStructure_Mpeg2PictureStructure extends Message
2250
2016
  */
2251
2017
  export declare enum CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo {
2252
2018
  /**
2253
- * There is no gop information, either because it is not coded or this is not the start of a gop
2019
+ * There is no gop information, either because it is not coded or this is
2020
+ * not the start of a gop
2254
2021
  *
2255
2022
  * @generated from enum value: MPEG2_GOP_UNKNOWN = 0;
2256
2023
  */
2257
2024
  MPEG2_GOP_UNKNOWN = 0,
2258
2025
  /**
2259
- * Indicates gop information is present and this is the start of a closed gop
2026
+ * Indicates gop information is present and this is the start of a closed
2027
+ * gop
2260
2028
  *
2261
2029
  * @generated from enum value: MPEG2_GOP_CLOSED = 1;
2262
2030
  */
2263
2031
  MPEG2_GOP_CLOSED = 1,
2264
2032
  /**
2265
- * Indicates gop information is present and this is the start of an open gop
2033
+ * Indicates gop information is present and this is the start of an open
2034
+ * gop
2266
2035
  *
2267
2036
  * @generated from enum value: MPEG2_GOP_OPEN = 2;
2268
2037
  */
@@ -3177,7 +2946,7 @@ export declare class FileTsInputConfiguration extends Message<FileTsInputConfigu
3177
2946
  */
3178
2947
  export declare class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
3179
2948
  /**
3180
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
2949
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
3181
2950
  */
3182
2951
  loop?: OptionalBool;
3183
2952
  constructor(data?: PartialMessage<FileTsInputConfigurationUpdate>);
@@ -3311,11 +3080,11 @@ export declare class SrtInputConfiguration extends Message<SrtInputConfiguration
3311
3080
  */
3312
3081
  mode: SrtMode;
3313
3082
  /**
3314
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
3083
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
3315
3084
  */
3316
3085
  passphrase?: OptionalString;
3317
3086
  /**
3318
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
3087
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
3319
3088
  */
3320
3089
  streamId?: OptionalString;
3321
3090
  /**
@@ -4183,7 +3952,7 @@ export declare class FileMp4InputConfiguration extends Message<FileMp4InputConfi
4183
3952
  */
4184
3953
  export declare class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
4185
3954
  /**
4186
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
3955
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
4187
3956
  */
4188
3957
  loop?: OptionalBool;
4189
3958
  constructor(data?: PartialMessage<FileMp4InputConfigurationUpdate>);
@@ -4268,11 +4037,11 @@ export declare enum FileMp4InputStatus_State {
4268
4037
  */
4269
4038
  export declare class FileMp4InputInfo extends Message<FileMp4InputInfo> {
4270
4039
  /**
4271
- * @generated from field: norsk.api.media.OptionalInt byte_length = 1;
4040
+ * @generated from field: norsk.api.common.OptionalInt byte_length = 1;
4272
4041
  */
4273
4042
  byteLength?: OptionalInt;
4274
4043
  /**
4275
- * @generated from field: norsk.api.media.OptionalInt duration_ms = 2;
4044
+ * @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
4276
4045
  */
4277
4046
  durationMs?: OptionalInt;
4278
4047
  constructor(data?: PartialMessage<FileMp4InputInfo>);
@@ -6758,10 +6527,6 @@ export declare class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpd
6758
6527
  * @generated from field: uint32 maximum_playlist_segments = 3;
6759
6528
  */
6760
6529
  maximumPlaylistSegments: number;
6761
- /**
6762
- * @generated from field: norsk.api.media.Interval pts_adjustment = 4;
6763
- */
6764
- ptsAdjustment?: Interval;
6765
6530
  /**
6766
6531
  * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
6767
6532
  */
@@ -6944,6 +6709,79 @@ export declare class CmafMultiVariantMessage extends Message<CmafMultiVariantMes
6944
6709
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMultiVariantMessage;
6945
6710
  static equals(a: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined, b: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined): boolean;
6946
6711
  }
6712
+ /**
6713
+ * @generated from message norsk.api.media.HlsTsMultiVariantConfiguration
6714
+ */
6715
+ export declare class HlsTsMultiVariantConfiguration extends Message<HlsTsMultiVariantConfiguration> {
6716
+ /**
6717
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
6718
+ */
6719
+ id?: MediaNodeId;
6720
+ /**
6721
+ * @generated from field: string playlist_name = 2;
6722
+ */
6723
+ playlistName: string;
6724
+ /**
6725
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 3;
6726
+ */
6727
+ statsSampling?: StreamStatisticsSampling;
6728
+ /**
6729
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 4;
6730
+ */
6731
+ destinations: CMAFDestination[];
6732
+ /**
6733
+ * Directives to add to the m3u multi variant playlist
6734
+ *
6735
+ * @generated from field: string m3u_additions = 5;
6736
+ */
6737
+ m3uAdditions: string;
6738
+ constructor(data?: PartialMessage<HlsTsMultiVariantConfiguration>);
6739
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6740
+ static readonly typeName = "norsk.api.media.HlsTsMultiVariantConfiguration";
6741
+ static readonly fields: FieldList;
6742
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantConfiguration;
6743
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration;
6744
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration;
6745
+ static equals(a: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined, b: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined): boolean;
6746
+ }
6747
+ /**
6748
+ * @generated from message norsk.api.media.HlsTsMultiVariantMessage
6749
+ */
6750
+ export declare class HlsTsMultiVariantMessage extends Message<HlsTsMultiVariantMessage> {
6751
+ /**
6752
+ * @generated from oneof norsk.api.media.HlsTsMultiVariantMessage.message
6753
+ */
6754
+ message: {
6755
+ /**
6756
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
6757
+ */
6758
+ value: Subscription;
6759
+ case: "subscription";
6760
+ } | {
6761
+ /**
6762
+ * @generated from field: norsk.api.media.HlsTsMultiVariantConfiguration configuration = 2;
6763
+ */
6764
+ value: HlsTsMultiVariantConfiguration;
6765
+ case: "configuration";
6766
+ } | {
6767
+ /**
6768
+ * @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
6769
+ */
6770
+ value: UpdateCredentials;
6771
+ case: "updateCredentials";
6772
+ } | {
6773
+ case: undefined;
6774
+ value?: undefined;
6775
+ };
6776
+ constructor(data?: PartialMessage<HlsTsMultiVariantMessage>);
6777
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6778
+ static readonly typeName = "norsk.api.media.HlsTsMultiVariantMessage";
6779
+ static readonly fields: FieldList;
6780
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantMessage;
6781
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage;
6782
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage;
6783
+ static equals(a: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined, b: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined): boolean;
6784
+ }
6947
6785
  /**
6948
6786
  * @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
6949
6787
  */
@@ -6978,12 +6816,6 @@ export declare class HlsTsCombinedPushConfiguration extends Message<HlsTsCombine
6978
6816
  * @generated from field: string m3u_additions = 7;
6979
6817
  */
6980
6818
  m3uAdditions: string;
6981
- /**
6982
- * XML fragment to add to the mpd Representation elements
6983
- *
6984
- * @generated from field: string mpd_additions = 8;
6985
- */
6986
- mpdAdditions: string;
6987
6819
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>);
6988
6820
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6989
6821
  static readonly typeName = "norsk.api.media.HlsTsCombinedPushConfiguration";
@@ -7246,11 +7078,11 @@ export declare class SrtOutputConfiguration extends Message<SrtOutputConfigurati
7246
7078
  */
7247
7079
  mode: SrtMode;
7248
7080
  /**
7249
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
7081
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
7250
7082
  */
7251
7083
  passphrase?: OptionalString;
7252
7084
  /**
7253
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
7085
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
7254
7086
  */
7255
7087
  streamId?: OptionalString;
7256
7088
  /**
@@ -8120,74 +7952,6 @@ export declare class SampleAspectRatio extends Message<SampleAspectRatio> {
8120
7952
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SampleAspectRatio;
8121
7953
  static equals(a: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined, b: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined): boolean;
8122
7954
  }
8123
- /**
8124
- * @generated from message norsk.api.media.OptionalInt
8125
- */
8126
- export declare class OptionalInt extends Message<OptionalInt> {
8127
- /**
8128
- * @generated from field: uint32 value = 1;
8129
- */
8130
- value: number;
8131
- constructor(data?: PartialMessage<OptionalInt>);
8132
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8133
- static readonly typeName = "norsk.api.media.OptionalInt";
8134
- static readonly fields: FieldList;
8135
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt;
8136
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt;
8137
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt;
8138
- static equals(a: OptionalInt | PlainMessage<OptionalInt> | undefined, b: OptionalInt | PlainMessage<OptionalInt> | undefined): boolean;
8139
- }
8140
- /**
8141
- * @generated from message norsk.api.media.OptionalInt64
8142
- */
8143
- export declare class OptionalInt64 extends Message<OptionalInt64> {
8144
- /**
8145
- * @generated from field: uint64 value = 1;
8146
- */
8147
- value: bigint;
8148
- constructor(data?: PartialMessage<OptionalInt64>);
8149
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8150
- static readonly typeName = "norsk.api.media.OptionalInt64";
8151
- static readonly fields: FieldList;
8152
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt64;
8153
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt64;
8154
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt64;
8155
- static equals(a: OptionalInt64 | PlainMessage<OptionalInt64> | undefined, b: OptionalInt64 | PlainMessage<OptionalInt64> | undefined): boolean;
8156
- }
8157
- /**
8158
- * @generated from message norsk.api.media.OptionalBool
8159
- */
8160
- export declare class OptionalBool extends Message<OptionalBool> {
8161
- /**
8162
- * @generated from field: bool value = 1;
8163
- */
8164
- value: boolean;
8165
- constructor(data?: PartialMessage<OptionalBool>);
8166
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8167
- static readonly typeName = "norsk.api.media.OptionalBool";
8168
- static readonly fields: FieldList;
8169
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalBool;
8170
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalBool;
8171
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalBool;
8172
- static equals(a: OptionalBool | PlainMessage<OptionalBool> | undefined, b: OptionalBool | PlainMessage<OptionalBool> | undefined): boolean;
8173
- }
8174
- /**
8175
- * @generated from message norsk.api.media.OptionalString
8176
- */
8177
- export declare class OptionalString extends Message<OptionalString> {
8178
- /**
8179
- * @generated from field: string value = 1;
8180
- */
8181
- value: string;
8182
- constructor(data?: PartialMessage<OptionalString>);
8183
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8184
- static readonly typeName = "norsk.api.media.OptionalString";
8185
- static readonly fields: FieldList;
8186
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalString;
8187
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalString;
8188
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalString;
8189
- static equals(a: OptionalString | PlainMessage<OptionalString> | undefined, b: OptionalString | PlainMessage<OptionalString> | undefined): boolean;
8190
- }
8191
7955
  /**
8192
7956
  * Parameters for tuning the x264 encoder
8193
7957
  *
@@ -8195,7 +7959,7 @@ export declare class OptionalString extends Message<OptionalString> {
8195
7959
  */
8196
7960
  export declare class X264Codec extends Message<X264Codec> {
8197
7961
  /**
8198
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
7962
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
8199
7963
  */
8200
7964
  threads?: OptionalInt;
8201
7965
  /**
@@ -8248,25 +8012,25 @@ export declare class X264Codec extends Message<X264Codec> {
8248
8012
  * 5, 5.1 - since this field is an integer, you pass in 10 times the
8249
8013
  * required value (e.g., 11, 12 etc)
8250
8014
  *
8251
- * @generated from field: norsk.api.media.OptionalInt level = 3;
8015
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
8252
8016
  */
8253
8017
  level?: OptionalInt;
8254
8018
  /**
8255
8019
  * Sets the minimum length between IDR frames
8256
8020
  *
8257
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
8021
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
8258
8022
  */
8259
8023
  keyFrameIntervalMin?: OptionalInt;
8260
8024
  /**
8261
8025
  * Sets the maximum length between IDR frames
8262
8026
  *
8263
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
8027
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
8264
8028
  */
8265
8029
  keyFrameIntervalMax?: OptionalInt;
8266
8030
  /**
8267
8031
  * Sets the maximum number of concurrent B-frames
8268
8032
  *
8269
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
8033
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
8270
8034
  */
8271
8035
  bframes?: OptionalInt;
8272
8036
  /**
@@ -8289,7 +8053,7 @@ export declare class X264Codec extends Message<X264Codec> {
8289
8053
  * Maximum number of reference frames, i.e., the number of previous frames
8290
8054
  * each P-frame can use as references
8291
8055
  *
8292
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
8056
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
8293
8057
  */
8294
8058
  frameReference?: OptionalInt;
8295
8059
  /**
@@ -8299,38 +8063,38 @@ export declare class X264Codec extends Message<X264Codec> {
8299
8063
  * (10-20% typically) and the decoding requirements, at the expense of encode
8300
8064
  * CPU requirements
8301
8065
  *
8302
- * @generated from field: norsk.api.media.OptionalBool cabac = 10;
8066
+ * @generated from field: norsk.api.common.OptionalBool cabac = 10;
8303
8067
  */
8304
8068
  cabac?: OptionalBool;
8305
8069
  /**
8306
8070
  * Sets the maximum rate the VBV buffer should be assumed to refill at
8307
8071
  *
8308
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
8072
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
8309
8073
  */
8310
8074
  vbvMaxRate?: OptionalInt;
8311
8075
  /**
8312
8076
  * Sets the size of the VBV buffer in kilobits
8313
8077
  *
8314
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
8078
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
8315
8079
  */
8316
8080
  vbvBufferSize?: OptionalInt;
8317
8081
  /**
8318
8082
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
8319
8083
  * disables adaptive I-frame decisioning
8320
8084
  *
8321
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
8085
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
8322
8086
  */
8323
8087
  sceneCut?: OptionalInt;
8324
8088
  /**
8325
8089
  * Use access unit delimiters in the output
8326
8090
  *
8327
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
8091
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
8328
8092
  */
8329
8093
  aud?: OptionalBool;
8330
8094
  /**
8331
8095
  * Disables the loop filter. Not Recommended.
8332
8096
  *
8333
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
8097
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
8334
8098
  */
8335
8099
  noDeblock?: OptionalBool;
8336
8100
  /**
@@ -8503,7 +8267,7 @@ export declare class X265Codec extends Message<X265Codec> {
8503
8267
  /**
8504
8268
  * The number of threads to allocate to the encode
8505
8269
  *
8506
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
8270
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
8507
8271
  */
8508
8272
  threads?: OptionalInt;
8509
8273
  /**
@@ -8556,25 +8320,25 @@ export declare class X265Codec extends Message<X265Codec> {
8556
8320
  * since this field is an integer, you pass in 10 times the
8557
8321
  * required value (e.g., 11, 12 etc)
8558
8322
  *
8559
- * @generated from field: norsk.api.media.OptionalInt level = 3;
8323
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
8560
8324
  */
8561
8325
  level?: OptionalInt;
8562
8326
  /**
8563
8327
  * Sets the minimum length between IDR frames
8564
8328
  *
8565
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
8329
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
8566
8330
  */
8567
8331
  keyFrameIntervalMin?: OptionalInt;
8568
8332
  /**
8569
8333
  * Sets the maximum length between IDR frames
8570
8334
  *
8571
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
8335
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
8572
8336
  */
8573
8337
  keyFrameIntervalMax?: OptionalInt;
8574
8338
  /**
8575
8339
  * Sets the maximum number of concurrent B-frames
8576
8340
  *
8577
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
8341
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
8578
8342
  */
8579
8343
  bframes?: OptionalInt;
8580
8344
  /**
@@ -8597,38 +8361,38 @@ export declare class X265Codec extends Message<X265Codec> {
8597
8361
  * Maximum number of reference frames, i.e., the number of previous frames
8598
8362
  * each P-frame can use as references
8599
8363
  *
8600
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
8364
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
8601
8365
  */
8602
8366
  frameReference?: OptionalInt;
8603
8367
  /**
8604
8368
  * Sets the maximum rate the VBV buffer should be assumed to refill at
8605
8369
  *
8606
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
8370
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
8607
8371
  */
8608
8372
  vbvMaxRate?: OptionalInt;
8609
8373
  /**
8610
8374
  * Sets the size of the VBV buffer in kilobits
8611
8375
  *
8612
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
8376
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
8613
8377
  */
8614
8378
  vbvBufferSize?: OptionalInt;
8615
8379
  /**
8616
8380
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
8617
8381
  * disables adaptive I-frame decisioning
8618
8382
  *
8619
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
8383
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
8620
8384
  */
8621
8385
  sceneCut?: OptionalInt;
8622
8386
  /**
8623
8387
  * Use access unit delimiters in the output
8624
8388
  *
8625
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
8389
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
8626
8390
  */
8627
8391
  aud?: OptionalBool;
8628
8392
  /**
8629
8393
  * Disables the loop filter. Not Recommended.
8630
8394
  *
8631
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
8395
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
8632
8396
  */
8633
8397
  noDeblock?: OptionalBool;
8634
8398
  /**
@@ -8966,31 +8730,31 @@ export declare class NvidiaRateControl extends Message<NvidiaRateControl> {
8966
8730
  */
8967
8731
  mode: NvidiaRateControl_NvidiaRateControlMode;
8968
8732
  /**
8969
- * @generated from field: norsk.api.media.OptionalInt averageBitrate = 2;
8733
+ * @generated from field: norsk.api.common.OptionalInt averageBitrate = 2;
8970
8734
  */
8971
8735
  averageBitrate?: OptionalInt;
8972
8736
  /**
8973
- * @generated from field: norsk.api.media.OptionalInt maxBitrate = 3;
8737
+ * @generated from field: norsk.api.common.OptionalInt maxBitrate = 3;
8974
8738
  */
8975
8739
  maxBitrate?: OptionalInt;
8976
8740
  /**
8977
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 4;
8741
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 4;
8978
8742
  */
8979
8743
  vbvBufferSize?: OptionalInt;
8980
8744
  /**
8981
- * @generated from field: norsk.api.media.OptionalInt vbvInitialDelay = 5;
8745
+ * @generated from field: norsk.api.common.OptionalInt vbvInitialDelay = 5;
8982
8746
  */
8983
8747
  vbvInitialDelay?: OptionalInt;
8984
8748
  /**
8985
- * @generated from field: norsk.api.media.OptionalBool enableLookahead = 6;
8749
+ * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
8986
8750
  */
8987
8751
  enableLookahead?: OptionalBool;
8988
8752
  /**
8989
- * @generated from field: norsk.api.media.OptionalBool strictGopTarget = 7;
8753
+ * @generated from field: norsk.api.common.OptionalBool strictGopTarget = 7;
8990
8754
  */
8991
8755
  strictGopTarget?: OptionalBool;
8992
8756
  /**
8993
- * @generated from field: norsk.api.media.OptionalInt lookaheadDepth = 8;
8757
+ * @generated from field: norsk.api.common.OptionalInt lookaheadDepth = 8;
8994
8758
  */
8995
8759
  lookaheadDepth?: OptionalInt;
8996
8760
  constructor(data?: PartialMessage<NvidiaRateControl>);
@@ -9028,27 +8792,27 @@ export declare class NvidiaH264 extends Message<NvidiaH264> {
9028
8792
  */
9029
8793
  preset: NvidiaPreset;
9030
8794
  /**
9031
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
8795
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
9032
8796
  */
9033
8797
  gopInterval?: OptionalInt;
9034
8798
  /**
9035
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
8799
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
9036
8800
  */
9037
8801
  idrPeriod?: OptionalInt;
9038
8802
  /**
9039
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
8803
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
9040
8804
  */
9041
8805
  frameIntervalP?: OptionalInt;
9042
8806
  /**
9043
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
8807
+ * @generated from field: norsk.api.common.OptionalInt maxNumRefFrames = 5;
9044
8808
  */
9045
8809
  maxNumRefFrames?: OptionalInt;
9046
8810
  /**
9047
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
8811
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
9048
8812
  */
9049
8813
  outputAud?: OptionalBool;
9050
8814
  /**
9051
- * @generated from field: norsk.api.media.OptionalInt level = 7;
8815
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
9052
8816
  */
9053
8817
  level?: OptionalInt;
9054
8818
  /**
@@ -9102,23 +8866,23 @@ export declare class NvidiaHevc extends Message<NvidiaHevc> {
9102
8866
  */
9103
8867
  preset: NvidiaPreset;
9104
8868
  /**
9105
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
8869
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
9106
8870
  */
9107
8871
  gopInterval?: OptionalInt;
9108
8872
  /**
9109
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
8873
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
9110
8874
  */
9111
8875
  idrPeriod?: OptionalInt;
9112
8876
  /**
9113
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
8877
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
9114
8878
  */
9115
8879
  frameIntervalP?: OptionalInt;
9116
8880
  /**
9117
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
8881
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
9118
8882
  */
9119
8883
  outputAud?: OptionalBool;
9120
8884
  /**
9121
- * @generated from field: norsk.api.media.OptionalInt level = 7;
8885
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
9122
8886
  */
9123
8887
  level?: OptionalInt;
9124
8888
  /**
@@ -9181,31 +8945,31 @@ export declare class QuadraH264 extends Message<QuadraH264> {
9181
8945
  */
9182
8946
  extraOpts: string;
9183
8947
  /**
9184
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
8948
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9185
8949
  */
9186
8950
  enableAud?: OptionalBool;
9187
8951
  /**
9188
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
8952
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9189
8953
  */
9190
8954
  gpuIndex?: OptionalInt;
9191
8955
  /**
9192
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
8956
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9193
8957
  */
9194
8958
  bitrate?: OptionalInt;
9195
8959
  /**
9196
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
8960
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9197
8961
  */
9198
8962
  enableVfr?: OptionalBool;
9199
8963
  /**
9200
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
8964
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9201
8965
  */
9202
8966
  crf?: OptionalInt;
9203
8967
  /**
9204
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
8968
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9205
8969
  */
9206
8970
  gopPresetIndex?: OptionalInt;
9207
8971
  /**
9208
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
8972
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9209
8973
  */
9210
8974
  intraPeriod?: OptionalInt;
9211
8975
  /**
@@ -9213,55 +8977,55 @@ export declare class QuadraH264 extends Message<QuadraH264> {
9213
8977
  */
9214
8978
  profile: QuadraH264_QuadraH264Profile;
9215
8979
  /**
9216
- * @generated from field: norsk.api.media.OptionalInt level = 12;
8980
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
9217
8981
  */
9218
8982
  level?: OptionalInt;
9219
8983
  /**
9220
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
8984
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
9221
8985
  */
9222
8986
  rcEnable?: OptionalBool;
9223
8987
  /**
9224
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
8988
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
9225
8989
  */
9226
8990
  intraQp?: OptionalInt;
9227
8991
  /**
9228
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
8992
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9229
8993
  */
9230
8994
  hrdEnable?: OptionalBool;
9231
8995
  /**
9232
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
8996
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9233
8997
  */
9234
8998
  dolbyVisionProfile?: OptionalInt;
9235
8999
  /**
9236
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
9000
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
9237
9001
  */
9238
9002
  fillerEnable?: OptionalBool;
9239
9003
  /**
9240
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
9004
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
9241
9005
  */
9242
9006
  minQp?: OptionalInt;
9243
9007
  /**
9244
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
9008
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
9245
9009
  */
9246
9010
  maxQp?: OptionalInt;
9247
9011
  /**
9248
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
9012
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
9249
9013
  */
9250
9014
  maxDeltaQp?: OptionalInt;
9251
9015
  /**
9252
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
9016
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
9253
9017
  */
9254
9018
  cuLevelRCEnable?: OptionalBool;
9255
9019
  /**
9256
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
9020
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
9257
9021
  */
9258
9022
  lookAheadDepth?: OptionalInt;
9259
9023
  /**
9260
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
9024
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
9261
9025
  */
9262
9026
  vbvBufferSize?: OptionalInt;
9263
9027
  /**
9264
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
9028
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
9265
9029
  */
9266
9030
  vbvMaxRate?: OptionalInt;
9267
9031
  constructor(data?: PartialMessage<QuadraH264>);
@@ -9311,31 +9075,31 @@ export declare class QuadraHevc extends Message<QuadraHevc> {
9311
9075
  */
9312
9076
  extraOpts: string;
9313
9077
  /**
9314
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9078
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9315
9079
  */
9316
9080
  enableAud?: OptionalBool;
9317
9081
  /**
9318
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9082
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9319
9083
  */
9320
9084
  gpuIndex?: OptionalInt;
9321
9085
  /**
9322
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9086
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9323
9087
  */
9324
9088
  bitrate?: OptionalInt;
9325
9089
  /**
9326
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9090
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9327
9091
  */
9328
9092
  enableVfr?: OptionalBool;
9329
9093
  /**
9330
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9094
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9331
9095
  */
9332
9096
  crf?: OptionalInt;
9333
9097
  /**
9334
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9098
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9335
9099
  */
9336
9100
  gopPresetIndex?: OptionalInt;
9337
9101
  /**
9338
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9102
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9339
9103
  */
9340
9104
  intraPeriod?: OptionalInt;
9341
9105
  /**
@@ -9347,59 +9111,59 @@ export declare class QuadraHevc extends Message<QuadraHevc> {
9347
9111
  */
9348
9112
  profile: QuadraHevc_QuadraHevcProfile;
9349
9113
  /**
9350
- * @generated from field: norsk.api.media.OptionalInt level = 13;
9114
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
9351
9115
  */
9352
9116
  level?: OptionalInt;
9353
9117
  /**
9354
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
9118
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
9355
9119
  */
9356
9120
  rcEnable?: OptionalBool;
9357
9121
  /**
9358
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
9122
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
9359
9123
  */
9360
9124
  lossless?: OptionalBool;
9361
9125
  /**
9362
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
9126
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
9363
9127
  */
9364
9128
  intraQp?: OptionalInt;
9365
9129
  /**
9366
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
9130
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9367
9131
  */
9368
9132
  hrdEnable?: OptionalBool;
9369
9133
  /**
9370
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
9134
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9371
9135
  */
9372
9136
  dolbyVisionProfile?: OptionalInt;
9373
9137
  /**
9374
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
9138
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
9375
9139
  */
9376
9140
  fillerEnable?: OptionalBool;
9377
9141
  /**
9378
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
9142
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
9379
9143
  */
9380
9144
  minQp?: OptionalInt;
9381
9145
  /**
9382
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
9146
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
9383
9147
  */
9384
9148
  maxQp?: OptionalInt;
9385
9149
  /**
9386
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
9150
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
9387
9151
  */
9388
9152
  maxDeltaQp?: OptionalInt;
9389
9153
  /**
9390
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
9154
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
9391
9155
  */
9392
9156
  cuLevelRCEnable?: OptionalBool;
9393
9157
  /**
9394
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
9158
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
9395
9159
  */
9396
9160
  lookAheadDepth?: OptionalInt;
9397
9161
  /**
9398
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
9162
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
9399
9163
  */
9400
9164
  vbvBufferSize?: OptionalInt;
9401
9165
  /**
9402
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
9166
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
9403
9167
  */
9404
9168
  vbvMaxRate?: OptionalInt;
9405
9169
  constructor(data?: PartialMessage<QuadraHevc>);
@@ -9450,39 +9214,39 @@ export declare class LoganH264 extends Message<LoganH264> {
9450
9214
  */
9451
9215
  extraOpts: string;
9452
9216
  /**
9453
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9217
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9454
9218
  */
9455
9219
  enableAud?: OptionalBool;
9456
9220
  /**
9457
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9221
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9458
9222
  */
9459
9223
  gpuIndex?: OptionalInt;
9460
9224
  /**
9461
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9225
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9462
9226
  */
9463
9227
  bitrate?: OptionalInt;
9464
9228
  /**
9465
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
9229
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
9466
9230
  */
9467
9231
  flushGop?: OptionalBool;
9468
9232
  /**
9469
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9233
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9470
9234
  */
9471
9235
  enableVfr?: OptionalBool;
9472
9236
  /**
9473
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9237
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9474
9238
  */
9475
9239
  crf?: OptionalInt;
9476
9240
  /**
9477
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
9241
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
9478
9242
  */
9479
9243
  cbr?: OptionalBool;
9480
9244
  /**
9481
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9245
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9482
9246
  */
9483
9247
  gopPresetIndex?: OptionalInt;
9484
9248
  /**
9485
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9249
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9486
9250
  */
9487
9251
  intraPeriod?: OptionalInt;
9488
9252
  /**
@@ -9490,19 +9254,19 @@ export declare class LoganH264 extends Message<LoganH264> {
9490
9254
  */
9491
9255
  profile: LoganH264_LoganH264Profile;
9492
9256
  /**
9493
- * @generated from field: norsk.api.media.OptionalInt level = 12;
9257
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
9494
9258
  */
9495
9259
  level?: OptionalInt;
9496
9260
  /**
9497
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
9261
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
9498
9262
  */
9499
9263
  rcEnable?: OptionalBool;
9500
9264
  /**
9501
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
9265
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
9502
9266
  */
9503
9267
  intraQp?: OptionalInt;
9504
9268
  /**
9505
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
9269
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 15;
9506
9270
  */
9507
9271
  rcInitDelay?: OptionalInt;
9508
9272
  constructor(data?: PartialMessage<LoganH264>);
@@ -9552,39 +9316,39 @@ export declare class LoganHevc extends Message<LoganHevc> {
9552
9316
  */
9553
9317
  extraOpts: string;
9554
9318
  /**
9555
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9319
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9556
9320
  */
9557
9321
  enableAud?: OptionalBool;
9558
9322
  /**
9559
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9323
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9560
9324
  */
9561
9325
  gpuIndex?: OptionalInt;
9562
9326
  /**
9563
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9327
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9564
9328
  */
9565
9329
  bitrate?: OptionalInt;
9566
9330
  /**
9567
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
9331
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
9568
9332
  */
9569
9333
  flushGop?: OptionalBool;
9570
9334
  /**
9571
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9335
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9572
9336
  */
9573
9337
  enableVfr?: OptionalBool;
9574
9338
  /**
9575
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9339
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9576
9340
  */
9577
9341
  crf?: OptionalInt;
9578
9342
  /**
9579
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
9343
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
9580
9344
  */
9581
9345
  cbr?: OptionalBool;
9582
9346
  /**
9583
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9347
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9584
9348
  */
9585
9349
  gopPresetIndex?: OptionalInt;
9586
9350
  /**
9587
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9351
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9588
9352
  */
9589
9353
  intraPeriod?: OptionalInt;
9590
9354
  /**
@@ -9596,31 +9360,31 @@ export declare class LoganHevc extends Message<LoganHevc> {
9596
9360
  */
9597
9361
  profile: LoganHevc_LoganHevcProfile;
9598
9362
  /**
9599
- * @generated from field: norsk.api.media.OptionalInt level = 13;
9363
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
9600
9364
  */
9601
9365
  level?: OptionalInt;
9602
9366
  /**
9603
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
9367
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
9604
9368
  */
9605
9369
  rcEnable?: OptionalBool;
9606
9370
  /**
9607
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
9371
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
9608
9372
  */
9609
9373
  lossless?: OptionalBool;
9610
9374
  /**
9611
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
9375
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
9612
9376
  */
9613
9377
  intraQp?: OptionalInt;
9614
9378
  /**
9615
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
9379
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 17;
9616
9380
  */
9617
9381
  rcInitDelay?: OptionalInt;
9618
9382
  /**
9619
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
9383
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9620
9384
  */
9621
9385
  hrdEnable?: OptionalBool;
9622
9386
  /**
9623
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
9387
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9624
9388
  */
9625
9389
  dolbyVisionProfile?: OptionalInt;
9626
9390
  constructor(data?: PartialMessage<LoganHevc>);
@@ -9671,7 +9435,7 @@ export declare class XilinxH264 extends Message<XilinxH264> {
9671
9435
  */
9672
9436
  profile: XilinxH264_XilinxH264Profile;
9673
9437
  /**
9674
- * @generated from field: norsk.api.media.OptionalInt level = 2;
9438
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
9675
9439
  */
9676
9440
  level?: OptionalInt;
9677
9441
  constructor(data?: PartialMessage<XilinxH264>);
@@ -9725,7 +9489,7 @@ export declare class XilinxHevc extends Message<XilinxHevc> {
9725
9489
  */
9726
9490
  profile: XilinxHevc_XilinxHevcProfile;
9727
9491
  /**
9728
- * @generated from field: norsk.api.media.OptionalInt level = 3;
9492
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
9729
9493
  */
9730
9494
  level?: OptionalInt;
9731
9495
  constructor(data?: PartialMessage<XilinxHevc>);
@@ -10206,26 +9970,26 @@ export declare class StreamMetadataOverrideConfiguration extends Message<StreamM
10206
9970
  * * Override the bitrate metadata of a compressed video stream, or `0` to
10207
9971
  * clear
10208
9972
  *
10209
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
9973
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
10210
9974
  */
10211
9975
  videoBitrate?: OptionalInt;
10212
9976
  /**
10213
9977
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
10214
9978
  * clear
10215
9979
  *
10216
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
9980
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
10217
9981
  */
10218
9982
  audioBitrate?: OptionalInt;
10219
9983
  /**
10220
- * * Override the language metadata of an audio stream, or `""` to clear
9984
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
10221
9985
  *
10222
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
9986
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
10223
9987
  */
10224
9988
  audioLanguage?: OptionalString;
10225
9989
  /**
10226
- * * Override the language metadata of a subtitles stream, or `""` to clear
9990
+ * * Override the language metadata of a subtitles stream, or `""` to clear RFC 5646 language tag.
10227
9991
  *
10228
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
9992
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
10229
9993
  */
10230
9994
  subtitlesLanguage?: OptionalString;
10231
9995
  constructor(data?: PartialMessage<StreamMetadataOverrideConfiguration>);
@@ -10245,26 +10009,26 @@ export declare class StreamMetadataOverrideUpdateConfiguration extends Message<S
10245
10009
  * * Override the bitrate metadata of a compressed video stream, or `0` to
10246
10010
  * clear
10247
10011
  *
10248
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
10012
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
10249
10013
  */
10250
10014
  videoBitrate?: OptionalInt;
10251
10015
  /**
10252
10016
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
10253
10017
  * clear
10254
10018
  *
10255
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
10019
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
10256
10020
  */
10257
10021
  audioBitrate?: OptionalInt;
10258
10022
  /**
10259
- * * Override the language metadata of an audio stream, or `""` to clear
10023
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
10260
10024
  *
10261
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
10025
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
10262
10026
  */
10263
10027
  audioLanguage?: OptionalString;
10264
10028
  /**
10265
- * * Override the language metadata of a subtitles stream, or `""` to clear
10029
+ * * Override the language metadata of a subtitles stream, or `""` to clear. RFC 5646 language tag.
10266
10030
  *
10267
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
10031
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
10268
10032
  */
10269
10033
  subtitlesLanguage?: OptionalString;
10270
10034
  constructor(data?: PartialMessage<StreamMetadataOverrideUpdateConfiguration>);
@@ -11074,8 +10838,8 @@ export declare class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothE
11074
10838
  case: "validatedContext";
11075
10839
  } | {
11076
10840
  /**
11077
- * Message indicating a transition has succesfully completed for a requested switch, i.e. the new source
11078
- * is now showing
10841
+ * Message indicating a transition has succesfully completed for a requested
10842
+ * switch, i.e. the new source is now showing
11079
10843
  *
11080
10844
  * @generated from field: norsk.api.media.StreamSwitchTransitionComplete transition_complete = 6;
11081
10845
  */
@@ -11732,6 +11496,8 @@ export declare class RtpEac3 extends Message<RtpEac3> {
11732
11496
  */
11733
11497
  clockRate: number;
11734
11498
  /**
11499
+ * RFC5646 language tag
11500
+ *
11735
11501
  * @generated from field: string language_code = 2;
11736
11502
  */
11737
11503
  languageCode: string;
@@ -12094,6 +11860,276 @@ export declare class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsE
12094
11860
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAwsEvent;
12095
11861
  static equals(a: AudioTranscribeAwsEvent | PlainMessage<AudioTranscribeAwsEvent> | undefined, b: AudioTranscribeAwsEvent | PlainMessage<AudioTranscribeAwsEvent> | undefined): boolean;
12096
11862
  }
11863
+ /**
11864
+ * @generated from message norsk.api.media.AudioTranscribeAzureConfiguration
11865
+ */
11866
+ export declare class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAzureConfiguration> {
11867
+ /**
11868
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
11869
+ */
11870
+ id?: MediaNodeId;
11871
+ /**
11872
+ * @generated from field: uint32 output_stream_id = 2;
11873
+ */
11874
+ outputStreamId: number;
11875
+ /**
11876
+ * The source language to recognise - an RFC 5646/ IETF BCP 47 language tag, eg en-US,
11877
+ * en-GB, de-DE. Supported languages are found at
11878
+ * https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
11879
+ *
11880
+ * @generated from field: string source_language = 3;
11881
+ */
11882
+ sourceLanguage: string;
11883
+ /**
11884
+ * The target output languages for translation - technically a RFC 5646 language
11885
+ * tag but but in most cases omitting region, e.g. en, de, zh-Hant.
11886
+ *
11887
+ * Leave this field absent/empty to use the transcription service without
11888
+ * translation, while if any target languages are present the translation
11889
+ * service will be used even if this is the same as the
11890
+ * source language.
11891
+ *
11892
+ * @generated from field: repeated string target_languages = 4;
11893
+ */
11894
+ targetLanguages: string[];
11895
+ /**
11896
+ * * Key for the Azure Speech Service endpoint
11897
+ *
11898
+ * @generated from field: string azure_key = 5;
11899
+ */
11900
+ azureKey: string;
11901
+ /**
11902
+ * * Region for the Azure Speech Service endpoint
11903
+ *
11904
+ * @generated from field: string azure_region = 6;
11905
+ */
11906
+ azureRegion: string;
11907
+ /**
11908
+ * @generated from field: norsk.api.common.OptionalInt maximum_line_length = 7;
11909
+ */
11910
+ maximumLineLength?: OptionalInt;
11911
+ constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>);
11912
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11913
+ static readonly typeName = "norsk.api.media.AudioTranscribeAzureConfiguration";
11914
+ static readonly fields: FieldList;
11915
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration;
11916
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration;
11917
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration;
11918
+ static equals(a: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined, b: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined): boolean;
11919
+ }
11920
+ /**
11921
+ * @generated from message norsk.api.media.AudioTranscribeAzureMessage
11922
+ */
11923
+ export declare class AudioTranscribeAzureMessage extends Message<AudioTranscribeAzureMessage> {
11924
+ /**
11925
+ * @generated from oneof norsk.api.media.AudioTranscribeAzureMessage.message
11926
+ */
11927
+ message: {
11928
+ /**
11929
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
11930
+ */
11931
+ value: Subscription;
11932
+ case: "subscription";
11933
+ } | {
11934
+ /**
11935
+ * @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration configuration = 2;
11936
+ */
11937
+ value: AudioTranscribeAzureConfiguration;
11938
+ case: "configuration";
11939
+ } | {
11940
+ case: undefined;
11941
+ value?: undefined;
11942
+ };
11943
+ constructor(data?: PartialMessage<AudioTranscribeAzureMessage>);
11944
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11945
+ static readonly typeName = "norsk.api.media.AudioTranscribeAzureMessage";
11946
+ static readonly fields: FieldList;
11947
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureMessage;
11948
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage;
11949
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage;
11950
+ static equals(a: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined, b: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined): boolean;
11951
+ }
11952
+ /**
11953
+ * @generated from message norsk.api.media.AudioTranscribeAzureEvent
11954
+ */
11955
+ export declare class AudioTranscribeAzureEvent extends Message<AudioTranscribeAzureEvent> {
11956
+ /**
11957
+ * @generated from oneof norsk.api.media.AudioTranscribeAzureEvent.message
11958
+ */
11959
+ message: {
11960
+ /**
11961
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
11962
+ */
11963
+ value: MediaNodeId;
11964
+ case: "nodeId";
11965
+ } | {
11966
+ /**
11967
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
11968
+ */
11969
+ value: Context;
11970
+ case: "outboundContext";
11971
+ } | {
11972
+ /**
11973
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
11974
+ */
11975
+ value: SubscriptionResponse;
11976
+ case: "subscriptionResponse";
11977
+ } | {
11978
+ /**
11979
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
11980
+ */
11981
+ value: Context;
11982
+ case: "inboundContext";
11983
+ } | {
11984
+ case: undefined;
11985
+ value?: undefined;
11986
+ };
11987
+ constructor(data?: PartialMessage<AudioTranscribeAzureEvent>);
11988
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11989
+ static readonly typeName = "norsk.api.media.AudioTranscribeAzureEvent";
11990
+ static readonly fields: FieldList;
11991
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureEvent;
11992
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent;
11993
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent;
11994
+ static equals(a: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined, b: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined): boolean;
11995
+ }
11996
+ /**
11997
+ * @generated from message norsk.api.media.AudioTranscribeWhisperConfiguration
11998
+ */
11999
+ export declare class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribeWhisperConfiguration> {
12000
+ /**
12001
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
12002
+ */
12003
+ id?: MediaNodeId;
12004
+ /**
12005
+ * @generated from field: uint32 output_stream_id = 2;
12006
+ */
12007
+ outputStreamId: number;
12008
+ /**
12009
+ * @generated from field: norsk.api.common.OptionalInt step_ms = 3;
12010
+ */
12011
+ stepMs?: OptionalInt;
12012
+ /**
12013
+ * @generated from field: norsk.api.common.OptionalInt length_ms = 4;
12014
+ */
12015
+ lengthMs?: OptionalInt;
12016
+ /**
12017
+ * @generated from field: norsk.api.common.OptionalInt keep_ms = 5;
12018
+ */
12019
+ keepMs?: OptionalInt;
12020
+ /**
12021
+ * @generated from field: norsk.api.common.OptionalInt max_tokens = 6;
12022
+ */
12023
+ maxTokens?: OptionalInt;
12024
+ /**
12025
+ * @generated from field: norsk.api.common.OptionalBool speed_up = 7;
12026
+ */
12027
+ speedUp?: OptionalBool;
12028
+ /**
12029
+ * @generated from field: norsk.api.common.OptionalBool no_fallback = 8;
12030
+ */
12031
+ noFallback?: OptionalBool;
12032
+ /**
12033
+ * @generated from field: norsk.api.common.OptionalInt num_threads = 9;
12034
+ */
12035
+ numThreads?: OptionalInt;
12036
+ /**
12037
+ * @generated from field: norsk.api.common.OptionalBool use_gpu = 10;
12038
+ */
12039
+ useGpu?: OptionalBool;
12040
+ /**
12041
+ * @generated from field: string language = 11;
12042
+ */
12043
+ language: string;
12044
+ /**
12045
+ * @generated from field: string model = 12;
12046
+ */
12047
+ model: string;
12048
+ constructor(data?: PartialMessage<AudioTranscribeWhisperConfiguration>);
12049
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
12050
+ static readonly typeName = "norsk.api.media.AudioTranscribeWhisperConfiguration";
12051
+ static readonly fields: FieldList;
12052
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperConfiguration;
12053
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration;
12054
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration;
12055
+ static equals(a: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined, b: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined): boolean;
12056
+ }
12057
+ /**
12058
+ * @generated from message norsk.api.media.AudioTranscribeWhisperMessage
12059
+ */
12060
+ export declare class AudioTranscribeWhisperMessage extends Message<AudioTranscribeWhisperMessage> {
12061
+ /**
12062
+ * @generated from oneof norsk.api.media.AudioTranscribeWhisperMessage.message
12063
+ */
12064
+ message: {
12065
+ /**
12066
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
12067
+ */
12068
+ value: Subscription;
12069
+ case: "subscription";
12070
+ } | {
12071
+ /**
12072
+ * @generated from field: norsk.api.media.AudioTranscribeWhisperConfiguration configuration = 2;
12073
+ */
12074
+ value: AudioTranscribeWhisperConfiguration;
12075
+ case: "configuration";
12076
+ } | {
12077
+ case: undefined;
12078
+ value?: undefined;
12079
+ };
12080
+ constructor(data?: PartialMessage<AudioTranscribeWhisperMessage>);
12081
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
12082
+ static readonly typeName = "norsk.api.media.AudioTranscribeWhisperMessage";
12083
+ static readonly fields: FieldList;
12084
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperMessage;
12085
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage;
12086
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage;
12087
+ static equals(a: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined, b: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined): boolean;
12088
+ }
12089
+ /**
12090
+ * @generated from message norsk.api.media.AudioTranscribeWhisperEvent
12091
+ */
12092
+ export declare class AudioTranscribeWhisperEvent extends Message<AudioTranscribeWhisperEvent> {
12093
+ /**
12094
+ * @generated from oneof norsk.api.media.AudioTranscribeWhisperEvent.message
12095
+ */
12096
+ message: {
12097
+ /**
12098
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
12099
+ */
12100
+ value: MediaNodeId;
12101
+ case: "nodeId";
12102
+ } | {
12103
+ /**
12104
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
12105
+ */
12106
+ value: Context;
12107
+ case: "outboundContext";
12108
+ } | {
12109
+ /**
12110
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
12111
+ */
12112
+ value: SubscriptionResponse;
12113
+ case: "subscriptionResponse";
12114
+ } | {
12115
+ /**
12116
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
12117
+ */
12118
+ value: Context;
12119
+ case: "inboundContext";
12120
+ } | {
12121
+ case: undefined;
12122
+ value?: undefined;
12123
+ };
12124
+ constructor(data?: PartialMessage<AudioTranscribeWhisperEvent>);
12125
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
12126
+ static readonly typeName = "norsk.api.media.AudioTranscribeWhisperEvent";
12127
+ static readonly fields: FieldList;
12128
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperEvent;
12129
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent;
12130
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent;
12131
+ static equals(a: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined, b: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined): boolean;
12132
+ }
12097
12133
  /**
12098
12134
  * @generated from message norsk.api.media.AncillaryConfiguration
12099
12135
  */
@@ -12561,7 +12597,7 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
12561
12597
  */
12562
12598
  export declare class Scte35SpliceTime extends Message<Scte35SpliceTime> {
12563
12599
  /**
12564
- * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
12600
+ * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
12565
12601
  */
12566
12602
  ptsTime?: OptionalInt;
12567
12603
  constructor(data?: PartialMessage<Scte35SpliceTime>);
@@ -12983,7 +13019,7 @@ export declare class Scte35SegmentationDescriptor extends Message<Scte35Segmenta
12983
13019
  */
12984
13020
  components: Scte35SegmentationComponent[];
12985
13021
  /**
12986
- * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
13022
+ * @generated from field: norsk.api.common.OptionalInt64 segmentation_duration = 6;
12987
13023
  */
12988
13024
  segmentationDuration?: OptionalInt64;
12989
13025
  /**
@@ -13007,11 +13043,11 @@ export declare class Scte35SegmentationDescriptor extends Message<Scte35Segmenta
13007
13043
  */
13008
13044
  segmentsExpected: number;
13009
13045
  /**
13010
- * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
13046
+ * @generated from field: norsk.api.common.OptionalInt sub_segment_num = 12;
13011
13047
  */
13012
13048
  subSegmentNum?: OptionalInt;
13013
13049
  /**
13014
- * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
13050
+ * @generated from field: norsk.api.common.OptionalInt sub_segments_expected = 13;
13015
13051
  */
13016
13052
  subSegmentsExpected?: OptionalInt;
13017
13053
  constructor(data?: PartialMessage<Scte35SegmentationDescriptor>);
@@ -13580,183 +13616,6 @@ export declare class SourceSubscriptionError_UnsupportedConversion extends Messa
13580
13616
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError_UnsupportedConversion;
13581
13617
  static equals(a: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined, b: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined): boolean;
13582
13618
  }
13583
- /**
13584
- * `Struct` represents a structured data value, consisting of fields
13585
- * which map to dynamically typed values. In some languages, `Struct`
13586
- * might be supported by a native representation. For example, in
13587
- * scripting languages like JS a struct is represented as an
13588
- * object. The details of that representation are described together
13589
- * with the proto support for the language.
13590
- *
13591
- * The JSON representation for `Struct` is JSON object.
13592
- *
13593
- * @generated from message norsk.api.media.Struct
13594
- */
13595
- export declare class Struct extends Message<Struct> {
13596
- /**
13597
- * Unordered map of dynamically typed values.
13598
- *
13599
- * @generated from field: map<string, norsk.api.media.Value> fields = 1;
13600
- */
13601
- fields: {
13602
- [key: string]: Value;
13603
- };
13604
- constructor(data?: PartialMessage<Struct>);
13605
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13606
- static readonly typeName = "norsk.api.media.Struct";
13607
- static readonly fields: FieldList;
13608
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Struct;
13609
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Struct;
13610
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Struct;
13611
- static equals(a: Struct | PlainMessage<Struct> | undefined, b: Struct | PlainMessage<Struct> | undefined): boolean;
13612
- }
13613
- /**
13614
- * `Value` represents a dynamically typed value which can be either
13615
- * null, a number, a string, a boolean, a recursive struct value, or a
13616
- * list of values. A producer of value is expected to set one of that
13617
- * variants, absence of any variant indicates an error.
13618
- *
13619
- * The JSON representation for `Value` is JSON value.
13620
- *
13621
- * @generated from message norsk.api.media.Value
13622
- */
13623
- export declare class Value extends Message<Value> {
13624
- /**
13625
- * The kind of value.
13626
- *
13627
- * @generated from oneof norsk.api.media.Value.kind
13628
- */
13629
- kind: {
13630
- /**
13631
- * Represents a null value.
13632
- *
13633
- * @generated from field: norsk.api.media.NullValue null_value = 1;
13634
- */
13635
- value: NullValue;
13636
- case: "nullValue";
13637
- } | {
13638
- /**
13639
- * Represents a double value.
13640
- *
13641
- * @generated from field: double number_value = 2;
13642
- */
13643
- value: number;
13644
- case: "numberValue";
13645
- } | {
13646
- /**
13647
- * Represents a string value.
13648
- *
13649
- * @generated from field: string string_value = 3;
13650
- */
13651
- value: string;
13652
- case: "stringValue";
13653
- } | {
13654
- /**
13655
- * Represents a boolean value.
13656
- *
13657
- * @generated from field: bool bool_value = 4;
13658
- */
13659
- value: boolean;
13660
- case: "boolValue";
13661
- } | {
13662
- /**
13663
- * Represents a structured value.
13664
- *
13665
- * @generated from field: norsk.api.media.Struct struct_value = 5;
13666
- */
13667
- value: Struct;
13668
- case: "structValue";
13669
- } | {
13670
- /**
13671
- * Represents a repeated `Value`.
13672
- *
13673
- * @generated from field: norsk.api.media.ListValue list_value = 6;
13674
- */
13675
- value: ListValue;
13676
- case: "listValue";
13677
- } | {
13678
- /**
13679
- * Represents a Code value
13680
- *
13681
- * @generated from field: norsk.api.media.Code code_value = 7;
13682
- */
13683
- value: Code;
13684
- case: "codeValue";
13685
- } | {
13686
- case: undefined;
13687
- value?: undefined;
13688
- };
13689
- constructor(data?: PartialMessage<Value>);
13690
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13691
- static readonly typeName = "norsk.api.media.Value";
13692
- static readonly fields: FieldList;
13693
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value;
13694
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value;
13695
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value;
13696
- static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean;
13697
- }
13698
- /**
13699
- * `ListValue` is a wrapper around a repeated field of values.
13700
- *
13701
- * The JSON representation for `ListValue` is JSON array.
13702
- *
13703
- * @generated from message norsk.api.media.ListValue
13704
- */
13705
- export declare class ListValue extends Message<ListValue> {
13706
- /**
13707
- * Repeated field of dynamically typed values.
13708
- *
13709
- * @generated from field: repeated norsk.api.media.Value values = 1;
13710
- */
13711
- values: Value[];
13712
- constructor(data?: PartialMessage<ListValue>);
13713
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13714
- static readonly typeName = "norsk.api.media.ListValue";
13715
- static readonly fields: FieldList;
13716
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListValue;
13717
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListValue;
13718
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListValue;
13719
- static equals(a: ListValue | PlainMessage<ListValue> | undefined, b: ListValue | PlainMessage<ListValue> | undefined): boolean;
13720
- }
13721
- /**
13722
- * ///////////////////////////////////////////////////////////////////////////
13723
- *
13724
- *
13725
- * @generated from message norsk.api.media.Status
13726
- */
13727
- export declare class Status extends Message<Status> {
13728
- /**
13729
- * The status code, which should be an enum value of
13730
- * [google.rpc.Code][google.rpc.Code].
13731
- *
13732
- * @generated from field: norsk.api.media.Code code = 1;
13733
- */
13734
- code: Code;
13735
- /**
13736
- * A developer-facing error message, which should be in English. Any
13737
- * user-facing error message should be localized and sent in the
13738
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
13739
- * by the client.
13740
- *
13741
- * @generated from field: string message = 2;
13742
- */
13743
- message: string;
13744
- /**
13745
- * A list of messages that carry the error details. There is a common set of
13746
- * message types for APIs to use.
13747
- *
13748
- * @generated from field: norsk.api.media.Struct details = 3;
13749
- */
13750
- details?: Struct;
13751
- constructor(data?: PartialMessage<Status>);
13752
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13753
- static readonly typeName = "norsk.api.media.Status";
13754
- static readonly fields: FieldList;
13755
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Status;
13756
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Status;
13757
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Status;
13758
- static equals(a: Status | PlainMessage<Status> | undefined, b: Status | PlainMessage<Status> | undefined): boolean;
13759
- }
13760
13619
  /**
13761
13620
  * `Hello` is sent to the client at the start of a status channel, and gives
13762
13621
  * information about the current Norsk runtime