@norskvideo/norsk-api 1.0.345 → 1.0.346

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/media_pb.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
  */
@@ -3177,7 +2943,7 @@ export declare class FileTsInputConfiguration extends Message<FileTsInputConfigu
3177
2943
  */
3178
2944
  export declare class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
3179
2945
  /**
3180
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
2946
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
3181
2947
  */
3182
2948
  loop?: OptionalBool;
3183
2949
  constructor(data?: PartialMessage<FileTsInputConfigurationUpdate>);
@@ -3311,11 +3077,11 @@ export declare class SrtInputConfiguration extends Message<SrtInputConfiguration
3311
3077
  */
3312
3078
  mode: SrtMode;
3313
3079
  /**
3314
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
3080
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
3315
3081
  */
3316
3082
  passphrase?: OptionalString;
3317
3083
  /**
3318
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
3084
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
3319
3085
  */
3320
3086
  streamId?: OptionalString;
3321
3087
  /**
@@ -4183,7 +3949,7 @@ export declare class FileMp4InputConfiguration extends Message<FileMp4InputConfi
4183
3949
  */
4184
3950
  export declare class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
4185
3951
  /**
4186
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
3952
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
4187
3953
  */
4188
3954
  loop?: OptionalBool;
4189
3955
  constructor(data?: PartialMessage<FileMp4InputConfigurationUpdate>);
@@ -4268,11 +4034,11 @@ export declare enum FileMp4InputStatus_State {
4268
4034
  */
4269
4035
  export declare class FileMp4InputInfo extends Message<FileMp4InputInfo> {
4270
4036
  /**
4271
- * @generated from field: norsk.api.media.OptionalInt byte_length = 1;
4037
+ * @generated from field: norsk.api.common.OptionalInt byte_length = 1;
4272
4038
  */
4273
4039
  byteLength?: OptionalInt;
4274
4040
  /**
4275
- * @generated from field: norsk.api.media.OptionalInt duration_ms = 2;
4041
+ * @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
4276
4042
  */
4277
4043
  durationMs?: OptionalInt;
4278
4044
  constructor(data?: PartialMessage<FileMp4InputInfo>);
@@ -7246,11 +7012,11 @@ export declare class SrtOutputConfiguration extends Message<SrtOutputConfigurati
7246
7012
  */
7247
7013
  mode: SrtMode;
7248
7014
  /**
7249
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
7015
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
7250
7016
  */
7251
7017
  passphrase?: OptionalString;
7252
7018
  /**
7253
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
7019
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
7254
7020
  */
7255
7021
  streamId?: OptionalString;
7256
7022
  /**
@@ -8120,74 +7886,6 @@ export declare class SampleAspectRatio extends Message<SampleAspectRatio> {
8120
7886
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SampleAspectRatio;
8121
7887
  static equals(a: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined, b: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined): boolean;
8122
7888
  }
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
7889
  /**
8192
7890
  * Parameters for tuning the x264 encoder
8193
7891
  *
@@ -8195,7 +7893,7 @@ export declare class OptionalString extends Message<OptionalString> {
8195
7893
  */
8196
7894
  export declare class X264Codec extends Message<X264Codec> {
8197
7895
  /**
8198
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
7896
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
8199
7897
  */
8200
7898
  threads?: OptionalInt;
8201
7899
  /**
@@ -8248,25 +7946,25 @@ export declare class X264Codec extends Message<X264Codec> {
8248
7946
  * 5, 5.1 - since this field is an integer, you pass in 10 times the
8249
7947
  * required value (e.g., 11, 12 etc)
8250
7948
  *
8251
- * @generated from field: norsk.api.media.OptionalInt level = 3;
7949
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
8252
7950
  */
8253
7951
  level?: OptionalInt;
8254
7952
  /**
8255
7953
  * Sets the minimum length between IDR frames
8256
7954
  *
8257
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
7955
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
8258
7956
  */
8259
7957
  keyFrameIntervalMin?: OptionalInt;
8260
7958
  /**
8261
7959
  * Sets the maximum length between IDR frames
8262
7960
  *
8263
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
7961
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
8264
7962
  */
8265
7963
  keyFrameIntervalMax?: OptionalInt;
8266
7964
  /**
8267
7965
  * Sets the maximum number of concurrent B-frames
8268
7966
  *
8269
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
7967
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
8270
7968
  */
8271
7969
  bframes?: OptionalInt;
8272
7970
  /**
@@ -8289,7 +7987,7 @@ export declare class X264Codec extends Message<X264Codec> {
8289
7987
  * Maximum number of reference frames, i.e., the number of previous frames
8290
7988
  * each P-frame can use as references
8291
7989
  *
8292
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
7990
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
8293
7991
  */
8294
7992
  frameReference?: OptionalInt;
8295
7993
  /**
@@ -8299,38 +7997,38 @@ export declare class X264Codec extends Message<X264Codec> {
8299
7997
  * (10-20% typically) and the decoding requirements, at the expense of encode
8300
7998
  * CPU requirements
8301
7999
  *
8302
- * @generated from field: norsk.api.media.OptionalBool cabac = 10;
8000
+ * @generated from field: norsk.api.common.OptionalBool cabac = 10;
8303
8001
  */
8304
8002
  cabac?: OptionalBool;
8305
8003
  /**
8306
8004
  * Sets the maximum rate the VBV buffer should be assumed to refill at
8307
8005
  *
8308
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
8006
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
8309
8007
  */
8310
8008
  vbvMaxRate?: OptionalInt;
8311
8009
  /**
8312
8010
  * Sets the size of the VBV buffer in kilobits
8313
8011
  *
8314
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
8012
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
8315
8013
  */
8316
8014
  vbvBufferSize?: OptionalInt;
8317
8015
  /**
8318
8016
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
8319
8017
  * disables adaptive I-frame decisioning
8320
8018
  *
8321
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
8019
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
8322
8020
  */
8323
8021
  sceneCut?: OptionalInt;
8324
8022
  /**
8325
8023
  * Use access unit delimiters in the output
8326
8024
  *
8327
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
8025
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
8328
8026
  */
8329
8027
  aud?: OptionalBool;
8330
8028
  /**
8331
8029
  * Disables the loop filter. Not Recommended.
8332
8030
  *
8333
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
8031
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
8334
8032
  */
8335
8033
  noDeblock?: OptionalBool;
8336
8034
  /**
@@ -8503,7 +8201,7 @@ export declare class X265Codec extends Message<X265Codec> {
8503
8201
  /**
8504
8202
  * The number of threads to allocate to the encode
8505
8203
  *
8506
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
8204
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
8507
8205
  */
8508
8206
  threads?: OptionalInt;
8509
8207
  /**
@@ -8556,25 +8254,25 @@ export declare class X265Codec extends Message<X265Codec> {
8556
8254
  * since this field is an integer, you pass in 10 times the
8557
8255
  * required value (e.g., 11, 12 etc)
8558
8256
  *
8559
- * @generated from field: norsk.api.media.OptionalInt level = 3;
8257
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
8560
8258
  */
8561
8259
  level?: OptionalInt;
8562
8260
  /**
8563
8261
  * Sets the minimum length between IDR frames
8564
8262
  *
8565
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
8263
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
8566
8264
  */
8567
8265
  keyFrameIntervalMin?: OptionalInt;
8568
8266
  /**
8569
8267
  * Sets the maximum length between IDR frames
8570
8268
  *
8571
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
8269
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
8572
8270
  */
8573
8271
  keyFrameIntervalMax?: OptionalInt;
8574
8272
  /**
8575
8273
  * Sets the maximum number of concurrent B-frames
8576
8274
  *
8577
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
8275
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
8578
8276
  */
8579
8277
  bframes?: OptionalInt;
8580
8278
  /**
@@ -8597,38 +8295,38 @@ export declare class X265Codec extends Message<X265Codec> {
8597
8295
  * Maximum number of reference frames, i.e., the number of previous frames
8598
8296
  * each P-frame can use as references
8599
8297
  *
8600
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
8298
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
8601
8299
  */
8602
8300
  frameReference?: OptionalInt;
8603
8301
  /**
8604
8302
  * Sets the maximum rate the VBV buffer should be assumed to refill at
8605
8303
  *
8606
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
8304
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
8607
8305
  */
8608
8306
  vbvMaxRate?: OptionalInt;
8609
8307
  /**
8610
8308
  * Sets the size of the VBV buffer in kilobits
8611
8309
  *
8612
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
8310
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
8613
8311
  */
8614
8312
  vbvBufferSize?: OptionalInt;
8615
8313
  /**
8616
8314
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
8617
8315
  * disables adaptive I-frame decisioning
8618
8316
  *
8619
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
8317
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
8620
8318
  */
8621
8319
  sceneCut?: OptionalInt;
8622
8320
  /**
8623
8321
  * Use access unit delimiters in the output
8624
8322
  *
8625
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
8323
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
8626
8324
  */
8627
8325
  aud?: OptionalBool;
8628
8326
  /**
8629
8327
  * Disables the loop filter. Not Recommended.
8630
8328
  *
8631
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
8329
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
8632
8330
  */
8633
8331
  noDeblock?: OptionalBool;
8634
8332
  /**
@@ -8966,31 +8664,31 @@ export declare class NvidiaRateControl extends Message<NvidiaRateControl> {
8966
8664
  */
8967
8665
  mode: NvidiaRateControl_NvidiaRateControlMode;
8968
8666
  /**
8969
- * @generated from field: norsk.api.media.OptionalInt averageBitrate = 2;
8667
+ * @generated from field: norsk.api.common.OptionalInt averageBitrate = 2;
8970
8668
  */
8971
8669
  averageBitrate?: OptionalInt;
8972
8670
  /**
8973
- * @generated from field: norsk.api.media.OptionalInt maxBitrate = 3;
8671
+ * @generated from field: norsk.api.common.OptionalInt maxBitrate = 3;
8974
8672
  */
8975
8673
  maxBitrate?: OptionalInt;
8976
8674
  /**
8977
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 4;
8675
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 4;
8978
8676
  */
8979
8677
  vbvBufferSize?: OptionalInt;
8980
8678
  /**
8981
- * @generated from field: norsk.api.media.OptionalInt vbvInitialDelay = 5;
8679
+ * @generated from field: norsk.api.common.OptionalInt vbvInitialDelay = 5;
8982
8680
  */
8983
8681
  vbvInitialDelay?: OptionalInt;
8984
8682
  /**
8985
- * @generated from field: norsk.api.media.OptionalBool enableLookahead = 6;
8683
+ * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
8986
8684
  */
8987
8685
  enableLookahead?: OptionalBool;
8988
8686
  /**
8989
- * @generated from field: norsk.api.media.OptionalBool strictGopTarget = 7;
8687
+ * @generated from field: norsk.api.common.OptionalBool strictGopTarget = 7;
8990
8688
  */
8991
8689
  strictGopTarget?: OptionalBool;
8992
8690
  /**
8993
- * @generated from field: norsk.api.media.OptionalInt lookaheadDepth = 8;
8691
+ * @generated from field: norsk.api.common.OptionalInt lookaheadDepth = 8;
8994
8692
  */
8995
8693
  lookaheadDepth?: OptionalInt;
8996
8694
  constructor(data?: PartialMessage<NvidiaRateControl>);
@@ -9028,27 +8726,27 @@ export declare class NvidiaH264 extends Message<NvidiaH264> {
9028
8726
  */
9029
8727
  preset: NvidiaPreset;
9030
8728
  /**
9031
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
8729
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
9032
8730
  */
9033
8731
  gopInterval?: OptionalInt;
9034
8732
  /**
9035
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
8733
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
9036
8734
  */
9037
8735
  idrPeriod?: OptionalInt;
9038
8736
  /**
9039
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
8737
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
9040
8738
  */
9041
8739
  frameIntervalP?: OptionalInt;
9042
8740
  /**
9043
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
8741
+ * @generated from field: norsk.api.common.OptionalInt maxNumRefFrames = 5;
9044
8742
  */
9045
8743
  maxNumRefFrames?: OptionalInt;
9046
8744
  /**
9047
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
8745
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
9048
8746
  */
9049
8747
  outputAud?: OptionalBool;
9050
8748
  /**
9051
- * @generated from field: norsk.api.media.OptionalInt level = 7;
8749
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
9052
8750
  */
9053
8751
  level?: OptionalInt;
9054
8752
  /**
@@ -9102,23 +8800,23 @@ export declare class NvidiaHevc extends Message<NvidiaHevc> {
9102
8800
  */
9103
8801
  preset: NvidiaPreset;
9104
8802
  /**
9105
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
8803
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
9106
8804
  */
9107
8805
  gopInterval?: OptionalInt;
9108
8806
  /**
9109
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
8807
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
9110
8808
  */
9111
8809
  idrPeriod?: OptionalInt;
9112
8810
  /**
9113
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
8811
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
9114
8812
  */
9115
8813
  frameIntervalP?: OptionalInt;
9116
8814
  /**
9117
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
8815
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
9118
8816
  */
9119
8817
  outputAud?: OptionalBool;
9120
8818
  /**
9121
- * @generated from field: norsk.api.media.OptionalInt level = 7;
8819
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
9122
8820
  */
9123
8821
  level?: OptionalInt;
9124
8822
  /**
@@ -9181,31 +8879,31 @@ export declare class QuadraH264 extends Message<QuadraH264> {
9181
8879
  */
9182
8880
  extraOpts: string;
9183
8881
  /**
9184
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
8882
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9185
8883
  */
9186
8884
  enableAud?: OptionalBool;
9187
8885
  /**
9188
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
8886
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9189
8887
  */
9190
8888
  gpuIndex?: OptionalInt;
9191
8889
  /**
9192
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
8890
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9193
8891
  */
9194
8892
  bitrate?: OptionalInt;
9195
8893
  /**
9196
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
8894
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9197
8895
  */
9198
8896
  enableVfr?: OptionalBool;
9199
8897
  /**
9200
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
8898
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9201
8899
  */
9202
8900
  crf?: OptionalInt;
9203
8901
  /**
9204
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
8902
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9205
8903
  */
9206
8904
  gopPresetIndex?: OptionalInt;
9207
8905
  /**
9208
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
8906
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9209
8907
  */
9210
8908
  intraPeriod?: OptionalInt;
9211
8909
  /**
@@ -9213,55 +8911,55 @@ export declare class QuadraH264 extends Message<QuadraH264> {
9213
8911
  */
9214
8912
  profile: QuadraH264_QuadraH264Profile;
9215
8913
  /**
9216
- * @generated from field: norsk.api.media.OptionalInt level = 12;
8914
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
9217
8915
  */
9218
8916
  level?: OptionalInt;
9219
8917
  /**
9220
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
8918
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
9221
8919
  */
9222
8920
  rcEnable?: OptionalBool;
9223
8921
  /**
9224
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
8922
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
9225
8923
  */
9226
8924
  intraQp?: OptionalInt;
9227
8925
  /**
9228
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
8926
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9229
8927
  */
9230
8928
  hrdEnable?: OptionalBool;
9231
8929
  /**
9232
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
8930
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9233
8931
  */
9234
8932
  dolbyVisionProfile?: OptionalInt;
9235
8933
  /**
9236
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
8934
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
9237
8935
  */
9238
8936
  fillerEnable?: OptionalBool;
9239
8937
  /**
9240
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
8938
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
9241
8939
  */
9242
8940
  minQp?: OptionalInt;
9243
8941
  /**
9244
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
8942
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
9245
8943
  */
9246
8944
  maxQp?: OptionalInt;
9247
8945
  /**
9248
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
8946
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
9249
8947
  */
9250
8948
  maxDeltaQp?: OptionalInt;
9251
8949
  /**
9252
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
8950
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
9253
8951
  */
9254
8952
  cuLevelRCEnable?: OptionalBool;
9255
8953
  /**
9256
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
8954
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
9257
8955
  */
9258
8956
  lookAheadDepth?: OptionalInt;
9259
8957
  /**
9260
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
8958
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
9261
8959
  */
9262
8960
  vbvBufferSize?: OptionalInt;
9263
8961
  /**
9264
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
8962
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
9265
8963
  */
9266
8964
  vbvMaxRate?: OptionalInt;
9267
8965
  constructor(data?: PartialMessage<QuadraH264>);
@@ -9311,31 +9009,31 @@ export declare class QuadraHevc extends Message<QuadraHevc> {
9311
9009
  */
9312
9010
  extraOpts: string;
9313
9011
  /**
9314
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9012
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9315
9013
  */
9316
9014
  enableAud?: OptionalBool;
9317
9015
  /**
9318
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9016
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9319
9017
  */
9320
9018
  gpuIndex?: OptionalInt;
9321
9019
  /**
9322
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9020
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9323
9021
  */
9324
9022
  bitrate?: OptionalInt;
9325
9023
  /**
9326
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9024
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9327
9025
  */
9328
9026
  enableVfr?: OptionalBool;
9329
9027
  /**
9330
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9028
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9331
9029
  */
9332
9030
  crf?: OptionalInt;
9333
9031
  /**
9334
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9032
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9335
9033
  */
9336
9034
  gopPresetIndex?: OptionalInt;
9337
9035
  /**
9338
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9036
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9339
9037
  */
9340
9038
  intraPeriod?: OptionalInt;
9341
9039
  /**
@@ -9347,59 +9045,59 @@ export declare class QuadraHevc extends Message<QuadraHevc> {
9347
9045
  */
9348
9046
  profile: QuadraHevc_QuadraHevcProfile;
9349
9047
  /**
9350
- * @generated from field: norsk.api.media.OptionalInt level = 13;
9048
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
9351
9049
  */
9352
9050
  level?: OptionalInt;
9353
9051
  /**
9354
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
9052
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
9355
9053
  */
9356
9054
  rcEnable?: OptionalBool;
9357
9055
  /**
9358
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
9056
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
9359
9057
  */
9360
9058
  lossless?: OptionalBool;
9361
9059
  /**
9362
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
9060
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
9363
9061
  */
9364
9062
  intraQp?: OptionalInt;
9365
9063
  /**
9366
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
9064
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9367
9065
  */
9368
9066
  hrdEnable?: OptionalBool;
9369
9067
  /**
9370
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
9068
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9371
9069
  */
9372
9070
  dolbyVisionProfile?: OptionalInt;
9373
9071
  /**
9374
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
9072
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
9375
9073
  */
9376
9074
  fillerEnable?: OptionalBool;
9377
9075
  /**
9378
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
9076
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
9379
9077
  */
9380
9078
  minQp?: OptionalInt;
9381
9079
  /**
9382
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
9080
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
9383
9081
  */
9384
9082
  maxQp?: OptionalInt;
9385
9083
  /**
9386
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
9084
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
9387
9085
  */
9388
9086
  maxDeltaQp?: OptionalInt;
9389
9087
  /**
9390
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
9088
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
9391
9089
  */
9392
9090
  cuLevelRCEnable?: OptionalBool;
9393
9091
  /**
9394
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
9092
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
9395
9093
  */
9396
9094
  lookAheadDepth?: OptionalInt;
9397
9095
  /**
9398
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
9096
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
9399
9097
  */
9400
9098
  vbvBufferSize?: OptionalInt;
9401
9099
  /**
9402
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
9100
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
9403
9101
  */
9404
9102
  vbvMaxRate?: OptionalInt;
9405
9103
  constructor(data?: PartialMessage<QuadraHevc>);
@@ -9450,39 +9148,39 @@ export declare class LoganH264 extends Message<LoganH264> {
9450
9148
  */
9451
9149
  extraOpts: string;
9452
9150
  /**
9453
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9151
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9454
9152
  */
9455
9153
  enableAud?: OptionalBool;
9456
9154
  /**
9457
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9155
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9458
9156
  */
9459
9157
  gpuIndex?: OptionalInt;
9460
9158
  /**
9461
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9159
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9462
9160
  */
9463
9161
  bitrate?: OptionalInt;
9464
9162
  /**
9465
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
9163
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
9466
9164
  */
9467
9165
  flushGop?: OptionalBool;
9468
9166
  /**
9469
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9167
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9470
9168
  */
9471
9169
  enableVfr?: OptionalBool;
9472
9170
  /**
9473
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9171
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9474
9172
  */
9475
9173
  crf?: OptionalInt;
9476
9174
  /**
9477
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
9175
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
9478
9176
  */
9479
9177
  cbr?: OptionalBool;
9480
9178
  /**
9481
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9179
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9482
9180
  */
9483
9181
  gopPresetIndex?: OptionalInt;
9484
9182
  /**
9485
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9183
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9486
9184
  */
9487
9185
  intraPeriod?: OptionalInt;
9488
9186
  /**
@@ -9490,19 +9188,19 @@ export declare class LoganH264 extends Message<LoganH264> {
9490
9188
  */
9491
9189
  profile: LoganH264_LoganH264Profile;
9492
9190
  /**
9493
- * @generated from field: norsk.api.media.OptionalInt level = 12;
9191
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
9494
9192
  */
9495
9193
  level?: OptionalInt;
9496
9194
  /**
9497
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
9195
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
9498
9196
  */
9499
9197
  rcEnable?: OptionalBool;
9500
9198
  /**
9501
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
9199
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
9502
9200
  */
9503
9201
  intraQp?: OptionalInt;
9504
9202
  /**
9505
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
9203
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 15;
9506
9204
  */
9507
9205
  rcInitDelay?: OptionalInt;
9508
9206
  constructor(data?: PartialMessage<LoganH264>);
@@ -9552,39 +9250,39 @@ export declare class LoganHevc extends Message<LoganHevc> {
9552
9250
  */
9553
9251
  extraOpts: string;
9554
9252
  /**
9555
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9253
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9556
9254
  */
9557
9255
  enableAud?: OptionalBool;
9558
9256
  /**
9559
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9257
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9560
9258
  */
9561
9259
  gpuIndex?: OptionalInt;
9562
9260
  /**
9563
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9261
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9564
9262
  */
9565
9263
  bitrate?: OptionalInt;
9566
9264
  /**
9567
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
9265
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
9568
9266
  */
9569
9267
  flushGop?: OptionalBool;
9570
9268
  /**
9571
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9269
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9572
9270
  */
9573
9271
  enableVfr?: OptionalBool;
9574
9272
  /**
9575
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9273
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9576
9274
  */
9577
9275
  crf?: OptionalInt;
9578
9276
  /**
9579
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
9277
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
9580
9278
  */
9581
9279
  cbr?: OptionalBool;
9582
9280
  /**
9583
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9281
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9584
9282
  */
9585
9283
  gopPresetIndex?: OptionalInt;
9586
9284
  /**
9587
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9285
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9588
9286
  */
9589
9287
  intraPeriod?: OptionalInt;
9590
9288
  /**
@@ -9596,31 +9294,31 @@ export declare class LoganHevc extends Message<LoganHevc> {
9596
9294
  */
9597
9295
  profile: LoganHevc_LoganHevcProfile;
9598
9296
  /**
9599
- * @generated from field: norsk.api.media.OptionalInt level = 13;
9297
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
9600
9298
  */
9601
9299
  level?: OptionalInt;
9602
9300
  /**
9603
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
9301
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
9604
9302
  */
9605
9303
  rcEnable?: OptionalBool;
9606
9304
  /**
9607
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
9305
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
9608
9306
  */
9609
9307
  lossless?: OptionalBool;
9610
9308
  /**
9611
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
9309
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
9612
9310
  */
9613
9311
  intraQp?: OptionalInt;
9614
9312
  /**
9615
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
9313
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 17;
9616
9314
  */
9617
9315
  rcInitDelay?: OptionalInt;
9618
9316
  /**
9619
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
9317
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9620
9318
  */
9621
9319
  hrdEnable?: OptionalBool;
9622
9320
  /**
9623
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
9321
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9624
9322
  */
9625
9323
  dolbyVisionProfile?: OptionalInt;
9626
9324
  constructor(data?: PartialMessage<LoganHevc>);
@@ -9671,7 +9369,7 @@ export declare class XilinxH264 extends Message<XilinxH264> {
9671
9369
  */
9672
9370
  profile: XilinxH264_XilinxH264Profile;
9673
9371
  /**
9674
- * @generated from field: norsk.api.media.OptionalInt level = 2;
9372
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
9675
9373
  */
9676
9374
  level?: OptionalInt;
9677
9375
  constructor(data?: PartialMessage<XilinxH264>);
@@ -9725,7 +9423,7 @@ export declare class XilinxHevc extends Message<XilinxHevc> {
9725
9423
  */
9726
9424
  profile: XilinxHevc_XilinxHevcProfile;
9727
9425
  /**
9728
- * @generated from field: norsk.api.media.OptionalInt level = 3;
9426
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
9729
9427
  */
9730
9428
  level?: OptionalInt;
9731
9429
  constructor(data?: PartialMessage<XilinxHevc>);
@@ -10206,26 +9904,26 @@ export declare class StreamMetadataOverrideConfiguration extends Message<StreamM
10206
9904
  * * Override the bitrate metadata of a compressed video stream, or `0` to
10207
9905
  * clear
10208
9906
  *
10209
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
9907
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
10210
9908
  */
10211
9909
  videoBitrate?: OptionalInt;
10212
9910
  /**
10213
9911
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
10214
9912
  * clear
10215
9913
  *
10216
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
9914
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
10217
9915
  */
10218
9916
  audioBitrate?: OptionalInt;
10219
9917
  /**
10220
9918
  * * Override the language metadata of an audio stream, or `""` to clear
10221
9919
  *
10222
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
9920
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
10223
9921
  */
10224
9922
  audioLanguage?: OptionalString;
10225
9923
  /**
10226
9924
  * * Override the language metadata of a subtitles stream, or `""` to clear
10227
9925
  *
10228
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
9926
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
10229
9927
  */
10230
9928
  subtitlesLanguage?: OptionalString;
10231
9929
  constructor(data?: PartialMessage<StreamMetadataOverrideConfiguration>);
@@ -10245,26 +9943,26 @@ export declare class StreamMetadataOverrideUpdateConfiguration extends Message<S
10245
9943
  * * Override the bitrate metadata of a compressed video stream, or `0` to
10246
9944
  * clear
10247
9945
  *
10248
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
9946
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
10249
9947
  */
10250
9948
  videoBitrate?: OptionalInt;
10251
9949
  /**
10252
9950
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
10253
9951
  * clear
10254
9952
  *
10255
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
9953
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
10256
9954
  */
10257
9955
  audioBitrate?: OptionalInt;
10258
9956
  /**
10259
9957
  * * Override the language metadata of an audio stream, or `""` to clear
10260
9958
  *
10261
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
9959
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
10262
9960
  */
10263
9961
  audioLanguage?: OptionalString;
10264
9962
  /**
10265
9963
  * * Override the language metadata of a subtitles stream, or `""` to clear
10266
9964
  *
10267
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
9965
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
10268
9966
  */
10269
9967
  subtitlesLanguage?: OptionalString;
10270
9968
  constructor(data?: PartialMessage<StreamMetadataOverrideUpdateConfiguration>);
@@ -12561,7 +12259,7 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
12561
12259
  */
12562
12260
  export declare class Scte35SpliceTime extends Message<Scte35SpliceTime> {
12563
12261
  /**
12564
- * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
12262
+ * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
12565
12263
  */
12566
12264
  ptsTime?: OptionalInt;
12567
12265
  constructor(data?: PartialMessage<Scte35SpliceTime>);
@@ -12983,7 +12681,7 @@ export declare class Scte35SegmentationDescriptor extends Message<Scte35Segmenta
12983
12681
  */
12984
12682
  components: Scte35SegmentationComponent[];
12985
12683
  /**
12986
- * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
12684
+ * @generated from field: norsk.api.common.OptionalInt64 segmentation_duration = 6;
12987
12685
  */
12988
12686
  segmentationDuration?: OptionalInt64;
12989
12687
  /**
@@ -13007,11 +12705,11 @@ export declare class Scte35SegmentationDescriptor extends Message<Scte35Segmenta
13007
12705
  */
13008
12706
  segmentsExpected: number;
13009
12707
  /**
13010
- * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
12708
+ * @generated from field: norsk.api.common.OptionalInt sub_segment_num = 12;
13011
12709
  */
13012
12710
  subSegmentNum?: OptionalInt;
13013
12711
  /**
13014
- * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
12712
+ * @generated from field: norsk.api.common.OptionalInt sub_segments_expected = 13;
13015
12713
  */
13016
12714
  subSegmentsExpected?: OptionalInt;
13017
12715
  constructor(data?: PartialMessage<Scte35SegmentationDescriptor>);
@@ -13580,183 +13278,6 @@ export declare class SourceSubscriptionError_UnsupportedConversion extends Messa
13580
13278
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError_UnsupportedConversion;
13581
13279
  static equals(a: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined, b: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined): boolean;
13582
13280
  }
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
13281
  /**
13761
13282
  * `Hello` is sent to the client at the start of a status channel, and gives
13762
13283
  * information about the current Norsk runtime