@bitmovin/api-sdk 1.216.0 → 1.217.0

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.
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
240
240
  var headers = {
241
241
  'X-Api-Key': apiKey,
242
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
243
- 'X-Api-Client-Version': '1.216.0',
243
+ 'X-Api-Client-Version': '1.217.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -5,7 +5,7 @@ import PerTitleConfiguration from './PerTitleConfiguration';
5
5
  */
6
6
  export declare class H264PerTitleConfiguration extends PerTitleConfiguration {
7
7
  /**
8
- * This factor is used to calculate the minBitrate of the codec configuration for the generated representations as a multiple of the targetBitrate
8
+ * This factor doesn't have any impact!
9
9
  * @type {number}
10
10
  * @memberof H264PerTitleConfiguration
11
11
  */
@@ -10,6 +10,18 @@ export declare class StreamPerTitleSettings {
10
10
  * @memberof StreamPerTitleSettings
11
11
  */
12
12
  fixedResolutionAndBitrateSettings?: StreamPerTitleFixedResolutionAndBitrateSettings;
13
+ /**
14
+ * This factor is used to calculate the maxBitrate of the codec configuration for the generated representation as a multiple of the targetBitrate(generated by Per-Title algorithm). This value will take precedence over the 'codecMaxBitrateFactor' from the pertitleStartConfiguration. This value will only have an impact on streams with h264 or h265 video configurations.
15
+ * @type {number}
16
+ * @memberof StreamPerTitleSettings
17
+ */
18
+ codecMaxBitrateFactor?: number;
19
+ /**
20
+ * This factor is used to calculate the bufsize of the codec configuration for the generated representations as a multiple of the targetBitrate(generated by Per-Title algorithm). This value will take precedence over the 'codecBufsizeFactor' from the pertitleStartConfiguration.. This value will only have an impact on streams with h264 or h265 video configurations.
21
+ * @type {number}
22
+ * @memberof StreamPerTitleSettings
23
+ */
24
+ codecBufsizeFactor?: number;
13
25
  constructor(obj?: Partial<StreamPerTitleSettings>);
14
26
  }
15
27
  export default StreamPerTitleSettings;
@@ -13,6 +13,8 @@ var StreamPerTitleSettings = /** @class */ (function () {
13
13
  return;
14
14
  }
15
15
  this.fixedResolutionAndBitrateSettings = (0, Mapper_1.map)(obj.fixedResolutionAndBitrateSettings, StreamPerTitleFixedResolutionAndBitrateSettings_1.default);
16
+ this.codecMaxBitrateFactor = (0, Mapper_1.map)(obj.codecMaxBitrateFactor);
17
+ this.codecBufsizeFactor = (0, Mapper_1.map)(obj.codecBufsizeFactor);
16
18
  }
17
19
  return StreamPerTitleSettings;
18
20
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.216.0",
3
+ "version": "1.217.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [