@bitmovin/api-sdk 1.235.0 → 1.236.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.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +4 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AwsAccount.d.ts +4 -4
- package/dist/models/Fmp4Muxing.d.ts +6 -0
- package/dist/models/Fmp4Muxing.js +1 -0
- package/dist/models/HlsManifestAdMarkerSettings.d.ts +6 -0
- package/dist/models/HlsManifestAdMarkerSettings.js +1 -0
- package/dist/models/TsMuxing.d.ts +6 -0
- package/dist/models/TsMuxing.js +1 -0
- package/package.json +1 -1
|
@@ -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.
|
|
243
|
+
'X-Api-Client-Version': '1.236.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -5,13 +5,13 @@ import BitmovinResource from './BitmovinResource';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class AwsAccount extends BitmovinResource {
|
|
7
7
|
/**
|
|
8
|
-
* Deprecated: Amazon access key for legacy support. Use roleName instead
|
|
8
|
+
* Deprecated: Amazon access key for legacy support. Use `roleName` instead
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @memberof AwsAccount
|
|
11
11
|
*/
|
|
12
12
|
accessKey?: string;
|
|
13
13
|
/**
|
|
14
|
-
* Deprecated: Amazon secret key for legacy support. Use roleName instead
|
|
14
|
+
* Deprecated: Amazon secret key for legacy support. Use `roleName` instead
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @memberof AwsAccount
|
|
17
17
|
*/
|
|
@@ -23,13 +23,13 @@ export declare class AwsAccount extends BitmovinResource {
|
|
|
23
23
|
*/
|
|
24
24
|
accountNumber?: string;
|
|
25
25
|
/**
|
|
26
|
-
* Role name including path for the AWS IAM role that will be used by Bitmovin to access the AWS account depicted by accountNumber
|
|
26
|
+
* Role name including path for the AWS IAM role that will be used by Bitmovin to access the AWS account depicted by `accountNumber`. The role ARN is constructed based on `accountNumber` and `roleName`: `arn:aws:iam::{accountNumber}:role/{roleName}`. For details on how to create the AWS IAM role in your account, please refer to the [AWS cloud connect setup guide](https://developer.bitmovin.com/encoding/docs/using-bitmovin-cloud-connect-with-aws).
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof AwsAccount
|
|
29
29
|
*/
|
|
30
30
|
roleName?: string;
|
|
31
31
|
/**
|
|
32
|
-
* External ID that needs to be set in the trust policy of the AWS IAM role (depicted by roleName) that allows Bitmovin access to the AWS account depicted by accountNumber
|
|
32
|
+
* External ID that needs to be set in the trust policy of the AWS IAM role (depicted by `roleName`) that allows Bitmovin access to the AWS account depicted by `accountNumber`
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof AwsAccount
|
|
35
35
|
*/
|
|
@@ -18,6 +18,12 @@ export declare class Fmp4Muxing extends Muxing {
|
|
|
18
18
|
* @memberof Fmp4Muxing
|
|
19
19
|
*/
|
|
20
20
|
segmentLength?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Prevents creation of very short final segments (in seconds). If the last segment is shorter than minimumSegmentLength, it will be merged with the previous one, creating a segment of a size up to segmentLength + minimumSegmentLength.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof Fmp4Muxing
|
|
25
|
+
*/
|
|
26
|
+
minimumSegmentLength?: number;
|
|
21
27
|
/**
|
|
22
28
|
* Segment naming policy
|
|
23
29
|
* @type {string}
|
|
@@ -37,6 +37,7 @@ var Fmp4Muxing = /** @class */ (function (_super) {
|
|
|
37
37
|
return _this;
|
|
38
38
|
}
|
|
39
39
|
_this.segmentLength = (0, Mapper_1.map)(obj.segmentLength);
|
|
40
|
+
_this.minimumSegmentLength = (0, Mapper_1.map)(obj.minimumSegmentLength);
|
|
40
41
|
_this.segmentNaming = (0, Mapper_1.map)(obj.segmentNaming);
|
|
41
42
|
_this.segmentNamingTemplate = (0, Mapper_1.map)(obj.segmentNamingTemplate);
|
|
42
43
|
_this.initSegmentName = (0, Mapper_1.map)(obj.initSegmentName);
|
|
@@ -10,6 +10,12 @@ export declare class HlsManifestAdMarkerSettings {
|
|
|
10
10
|
* @memberof HlsManifestAdMarkerSettings
|
|
11
11
|
*/
|
|
12
12
|
enabledMarkerTypes?: HlsManifestAdMarkerType[];
|
|
13
|
+
/**
|
|
14
|
+
* Certain tags, such as EXT_X_DATERANGE, may be preannounced in the HLS manifest. This means they are inserted as early as possible, before the actual ad break begins or ends. Preannouncing helps clients anticipate upcoming splice points, but may cause compatibility issues with some downstream consumers (e.g., AWS MediaTailor SSAI). When this setting is enabled, preannouncing of tags is disabled, and tags are inserted at the segment corresponding to the event's splice time.
|
|
15
|
+
* @type {boolean}
|
|
16
|
+
* @memberof HlsManifestAdMarkerSettings
|
|
17
|
+
*/
|
|
18
|
+
disablePreannouncing?: boolean;
|
|
13
19
|
constructor(obj?: Partial<HlsManifestAdMarkerSettings>);
|
|
14
20
|
}
|
|
15
21
|
export default HlsManifestAdMarkerSettings;
|
|
@@ -12,6 +12,7 @@ var HlsManifestAdMarkerSettings = /** @class */ (function () {
|
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
14
|
this.enabledMarkerTypes = (0, Mapper_1.mapArray)(obj.enabledMarkerTypes);
|
|
15
|
+
this.disablePreannouncing = (0, Mapper_1.map)(obj.disablePreannouncing);
|
|
15
16
|
}
|
|
16
17
|
return HlsManifestAdMarkerSettings;
|
|
17
18
|
}());
|
|
@@ -18,6 +18,12 @@ export declare class TsMuxing extends Muxing {
|
|
|
18
18
|
* @memberof TsMuxing
|
|
19
19
|
*/
|
|
20
20
|
segmentLength?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Prevents creation of very short final segments (in seconds). If the last segment is shorter than minimumSegmentLength, it will be merged with the previous one, creating a segment of a size up to segmentLength + minimumSegmentLength.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof TsMuxing
|
|
25
|
+
*/
|
|
26
|
+
minimumSegmentLength?: number;
|
|
21
27
|
/**
|
|
22
28
|
* Segment naming policy
|
|
23
29
|
* @type {string}
|
package/dist/models/TsMuxing.js
CHANGED
|
@@ -38,6 +38,7 @@ var TsMuxing = /** @class */ (function (_super) {
|
|
|
38
38
|
return _this;
|
|
39
39
|
}
|
|
40
40
|
_this.segmentLength = (0, Mapper_1.map)(obj.segmentLength);
|
|
41
|
+
_this.minimumSegmentLength = (0, Mapper_1.map)(obj.minimumSegmentLength);
|
|
41
42
|
_this.segmentNaming = (0, Mapper_1.map)(obj.segmentNaming);
|
|
42
43
|
_this.segmentNamingTemplate = (0, Mapper_1.map)(obj.segmentNamingTemplate);
|
|
43
44
|
_this.startOffset = (0, Mapper_1.map)(obj.startOffset);
|