@bitmovin/api-sdk 1.241.0 → 1.242.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 +28 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AdMarkersSource.d.ts +9 -0
- package/dist/models/AdMarkersSource.js +13 -0
- package/dist/models/Fmp4Muxing.d.ts +1 -1
- package/dist/models/HlsInput.d.ts +7 -0
- package/dist/models/HlsInput.js +1 -0
- package/dist/models/Mp4Muxing.d.ts +6 -0
- package/dist/models/Mp4Muxing.js +1 -0
- package/dist/models/TsMuxing.d.ts +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.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.242.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdMarkersSource = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var AdMarkersSource;
|
|
9
|
+
(function (AdMarkersSource) {
|
|
10
|
+
AdMarkersSource["MANIFEST"] = "MANIFEST";
|
|
11
|
+
AdMarkersSource["SEGMENTS"] = "SEGMENTS";
|
|
12
|
+
})(AdMarkersSource || (exports.AdMarkersSource = AdMarkersSource = {}));
|
|
13
|
+
exports.default = AdMarkersSource;
|
|
@@ -19,7 +19,7 @@ export declare class Fmp4Muxing extends Muxing {
|
|
|
19
19
|
*/
|
|
20
20
|
segmentLength?: number;
|
|
21
21
|
/**
|
|
22
|
-
* Prevents creation of very short
|
|
22
|
+
* Prevents creation of very short segments (in seconds). If the last segment is shorter than minimumSegmentLength or there is a custom keyframe too close to a segment boundary, short segments will be omitted by removing segment boundaries, resulting in a segment of a size up to segmentLength + minimumSegmentLength.
|
|
23
23
|
* @type {number}
|
|
24
24
|
* @memberof Fmp4Muxing
|
|
25
25
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import AdMarkersSource from './AdMarkersSource';
|
|
1
2
|
import Input from './Input';
|
|
2
3
|
import InputType from './InputType';
|
|
3
4
|
/**
|
|
@@ -17,6 +18,12 @@ export declare class HlsInput extends Input {
|
|
|
17
18
|
* @memberof HlsInput
|
|
18
19
|
*/
|
|
19
20
|
url?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the source for ad markers messages: - MANIFEST: Ad marker messages are read from tags in the HLS manifest - SEGMENTS: Ad marker messages are read from the content segments from the data stream
|
|
23
|
+
* @type {AdMarkersSource}
|
|
24
|
+
* @memberof HlsInput
|
|
25
|
+
*/
|
|
26
|
+
adMarkersSource?: AdMarkersSource;
|
|
20
27
|
constructor(obj?: Partial<HlsInput>);
|
|
21
28
|
}
|
|
22
29
|
export default HlsInput;
|
package/dist/models/HlsInput.js
CHANGED
|
@@ -25,6 +25,12 @@ export declare class Mp4Muxing extends Muxing {
|
|
|
25
25
|
* @memberof Mp4Muxing
|
|
26
26
|
*/
|
|
27
27
|
fragmentDuration?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Prevents creation of very short fragments (in seconds). If the last fragment is shorter than minimumFragmentDuration or there is a custom keyframe too close to a fragment boundary, short fragments will be omitted by removing fragment boundaries, resulting in a fragment of a size up to fragmentDuration + minimumFragmentDuration.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof Mp4Muxing
|
|
32
|
+
*/
|
|
33
|
+
minimumFragmentDuration?: number;
|
|
28
34
|
/**
|
|
29
35
|
* @type {FragmentedMp4MuxingManifestType}
|
|
30
36
|
* @memberof Mp4Muxing
|
package/dist/models/Mp4Muxing.js
CHANGED
|
@@ -39,6 +39,7 @@ var Mp4Muxing = /** @class */ (function (_super) {
|
|
|
39
39
|
}
|
|
40
40
|
_this.filename = (0, Mapper_1.map)(obj.filename);
|
|
41
41
|
_this.fragmentDuration = (0, Mapper_1.map)(obj.fragmentDuration);
|
|
42
|
+
_this.minimumFragmentDuration = (0, Mapper_1.map)(obj.minimumFragmentDuration);
|
|
42
43
|
_this.fragmentedMP4MuxingManifestType = (0, Mapper_1.map)(obj.fragmentedMP4MuxingManifestType);
|
|
43
44
|
_this.dolbyVisionConfiguration = (0, Mapper_1.map)(obj.dolbyVisionConfiguration, DolbyVisionMuxingConfiguration_1.default);
|
|
44
45
|
return _this;
|
|
@@ -19,7 +19,7 @@ export declare class TsMuxing extends Muxing {
|
|
|
19
19
|
*/
|
|
20
20
|
segmentLength?: number;
|
|
21
21
|
/**
|
|
22
|
-
* Prevents creation of very short
|
|
22
|
+
* Prevents creation of very short segments (in seconds). If the last segment is shorter than minimumSegmentLength or there is a custom keyframe too close to a segment boundary, short segments will be omitted by removing segment boundaries, resulting in a segment of a size up to segmentLength + minimumSegmentLength.
|
|
23
23
|
* @type {number}
|
|
24
24
|
* @memberof TsMuxing
|
|
25
25
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './AdAnalyticsQueryRequest';
|
|
|
32
32
|
export * from './AdAnalyticsStddevQueryRequest';
|
|
33
33
|
export * from './AdAnalyticsSumQueryRequest';
|
|
34
34
|
export * from './AdAnalyticsVarianceQueryRequest';
|
|
35
|
+
export * from './AdMarkersSource';
|
|
35
36
|
export * from './AdPosition';
|
|
36
37
|
export * from './AdaptationSet';
|
|
37
38
|
export * from './AdaptationSetRole';
|
package/dist/models/index.js
CHANGED
|
@@ -48,6 +48,7 @@ __exportStar(require("./AdAnalyticsQueryRequest"), exports);
|
|
|
48
48
|
__exportStar(require("./AdAnalyticsStddevQueryRequest"), exports);
|
|
49
49
|
__exportStar(require("./AdAnalyticsSumQueryRequest"), exports);
|
|
50
50
|
__exportStar(require("./AdAnalyticsVarianceQueryRequest"), exports);
|
|
51
|
+
__exportStar(require("./AdMarkersSource"), exports);
|
|
51
52
|
__exportStar(require("./AdPosition"), exports);
|
|
52
53
|
__exportStar(require("./AdaptationSet"), exports);
|
|
53
54
|
__exportStar(require("./AdaptationSetRole"), exports);
|