@norskvideo/norsk-sdk 1.0.402-2026-01-15-5687d367 → 1.0.402-2026-01-16-61d8a916

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "name": "@norskvideo/norsk-sdk",
4
- "version": "1.0.402-2026-01-15-5687d367+nightly",
4
+ "version": "1.0.402-2026-01-16-61d8a916+nightly",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",
7
7
  "@grpc/grpc-js": "~1.12.0",
8
- "@norskvideo/norsk-api": "1.0.402-2026-01-15-5687d367+nightly",
8
+ "@norskvideo/norsk-api": "1.0.402-2026-01-16-61d8a916+nightly",
9
9
  "lodash": "^4.17.21",
10
10
  "typescript-nullable": "^0.6.0"
11
11
  },
@@ -248,6 +248,10 @@ export interface X264Codec {
248
248
  * Additional x264 command-line options in the format "--key value --key2 value2"
249
249
  */
250
250
  extraOpts?: string;
251
+ /**
252
+ * CPUs to assign to this instance of x264, absent/empty array means use all CPUs
253
+ * */
254
+ cpuList?: number[];
251
255
  }
252
256
  /**
253
257
  * @public
@@ -346,6 +346,7 @@ function toX264Codec(codec) {
346
346
  tune: media_pb_1.X264Codec_X264Tune.UNDEFINED,
347
347
  preset: media_pb_1.X264Codec_X264Preset.ULTRAFAST,
348
348
  nalHrd: media_pb_1.X264Codec_X264NalHrd.UNDEFINED,
349
+ cpuList: []
349
350
  };
350
351
  codecOptions.threads = toOptInt(codec.threads);
351
352
  if (codec.bitrateMode !== undefined)
@@ -385,6 +386,8 @@ function toX264Codec(codec) {
385
386
  codecOptions.lookahead = mkOptInt(codec.lookahead);
386
387
  if (codec.extraOpts !== undefined)
387
388
  codecOptions.extraOpts = mkOptString(codec.extraOpts);
389
+ if (codec.cpuList !== undefined)
390
+ codecOptions.cpuList = codec.cpuList;
388
391
  return (0, utils_1.provideFull)(media_pb_1.X264Codec, codecOptions);
389
392
  }
390
393
  exports.toX264Codec = toX264Codec;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "name": "@norskvideo/norsk-sdk",
4
- "version": "1.0.402-2026-01-15-5687d367+nightly",
4
+ "version": "1.0.402-2026-01-16-61d8a916+nightly",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",
7
7
  "@grpc/grpc-js": "~1.12.0",
8
- "@norskvideo/norsk-api": "1.0.402-2026-01-15-5687d367+nightly",
8
+ "@norskvideo/norsk-api": "1.0.402-2026-01-16-61d8a916+nightly",
9
9
  "lodash": "^4.17.21",
10
10
  "typescript-nullable": "^0.6.0"
11
11
  },