@alicloud/live20161101 2.1.4 → 2.3.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/dist/client.d.ts +50 -0
- package/dist/client.js +121 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddCustomLiveStreamTranscodeRequest.d.ts +1 -0
- package/dist/models/AddCustomLiveStreamTranscodeRequest.js +2 -0
- package/dist/models/AddCustomLiveStreamTranscodeRequest.js.map +1 -1
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.d.ts +1 -0
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.js +2 -0
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.js.map +1 -1
- package/dist/models/ListRtcliveRoomsRequest.d.ts +31 -0
- package/dist/models/ListRtcliveRoomsRequest.js +62 -0
- package/dist/models/ListRtcliveRoomsRequest.js.map +1 -0
- package/dist/models/ListRtcliveRoomsResponse.d.ts +19 -0
- package/dist/models/ListRtcliveRoomsResponse.js +69 -0
- package/dist/models/ListRtcliveRoomsResponse.js.map +1 -0
- package/dist/models/ListRtcliveRoomsResponseBody.d.ts +27 -0
- package/dist/models/ListRtcliveRoomsResponseBody.js +65 -0
- package/dist/models/ListRtcliveRoomsResponseBody.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.d.ts +37 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.js +65 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.d.ts +19 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.js +69 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.d.ts +28 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.js +62 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.d.ts +37 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.js +62 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.js.map +1 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.d.ts +1 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.js +2 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +22 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +134 -0
- package/src/models/AddCustomLiveStreamTranscodeRequest.ts +3 -0
- package/src/models/DescribeLiveStreamTranscodeInfoResponseBody.ts +3 -0
- package/src/models/ListRtcliveRoomsRequest.ts +48 -0
- package/src/models/ListRtcliveRoomsResponse.ts +40 -0
- package/src/models/ListRtcliveRoomsResponseBody.ts +47 -0
- package/src/models/PutRecordStorageLifeCycleRequest.ts +57 -0
- package/src/models/PutRecordStorageLifeCycleResponse.ts +40 -0
- package/src/models/PutRecordStorageLifeCycleResponseBody.ts +45 -0
- package/src/models/PutRecordStorageLifeCycleShrinkRequest.ts +54 -0
- package/src/models/UpdateCustomLiveStreamTranscodeRequest.ts +3 -0
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListRTCLiveRoomsResponseBody } from "./ListRtcliveRoomsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListRTCLiveRoomsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListRTCLiveRoomsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListRTCLiveRoomsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListRTCLiveRoomsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 5c6a2a0df228-4a64-af62-20e91b96****
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
rooms?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* 2
|
|
18
|
+
*/
|
|
19
|
+
total?: number;
|
|
20
|
+
static names(): { [key: string]: string } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
rooms: 'Rooms',
|
|
24
|
+
total: 'Total',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static types(): { [key: string]: any } {
|
|
29
|
+
return {
|
|
30
|
+
requestId: 'string',
|
|
31
|
+
rooms: { 'type': 'array', 'itemType': 'string' },
|
|
32
|
+
total: 'number',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
if(Array.isArray(this.rooms)) {
|
|
38
|
+
$dara.Model.validateArray(this.rooms);
|
|
39
|
+
}
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* stream-xxx
|
|
12
|
+
*/
|
|
13
|
+
streamIds?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1095days
|
|
20
|
+
*/
|
|
21
|
+
tag?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1758621407
|
|
28
|
+
*/
|
|
29
|
+
unixTimestamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
streamIds: 'StreamIds',
|
|
33
|
+
tag: 'Tag',
|
|
34
|
+
unixTimestamp: 'UnixTimestamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
streamIds: { 'type': 'array', 'itemType': 'string' },
|
|
41
|
+
tag: 'string',
|
|
42
|
+
unixTimestamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
if(Array.isArray(this.streamIds)) {
|
|
48
|
+
$dara.Model.validateArray(this.streamIds);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PutRecordStorageLifeCycleResponseBody } from "./PutRecordStorageLifeCycleResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class PutRecordStorageLifeCycleResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: PutRecordStorageLifeCycleResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: PutRecordStorageLifeCycleResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0
|
|
9
|
+
*/
|
|
10
|
+
code?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* success
|
|
14
|
+
*/
|
|
15
|
+
msg?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
code: 'Code',
|
|
24
|
+
msg: 'Msg',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
code: 'number',
|
|
32
|
+
msg: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* stream-xxx
|
|
12
|
+
*/
|
|
13
|
+
streamIdsShrink?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1095days
|
|
20
|
+
*/
|
|
21
|
+
tag?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1758621407
|
|
28
|
+
*/
|
|
29
|
+
unixTimestamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
streamIdsShrink: 'StreamIds',
|
|
33
|
+
tag: 'Tag',
|
|
34
|
+
unixTimestamp: 'UnixTimestamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
streamIdsShrink: 'string',
|
|
41
|
+
tag: 'string',
|
|
42
|
+
unixTimestamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -74,6 +74,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
74
74
|
* {\\"UpLimit\\":2500,\\"LowerLimit\\":800,\\"Factor\\":1}
|
|
75
75
|
*/
|
|
76
76
|
bitrateWithSource?: string;
|
|
77
|
+
deInterlaced?: boolean;
|
|
77
78
|
/**
|
|
78
79
|
* @remarks
|
|
79
80
|
* Streamer domain name, unmodifiable.
|
|
@@ -239,6 +240,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
239
240
|
audioProfile: 'AudioProfile',
|
|
240
241
|
audioRate: 'AudioRate',
|
|
241
242
|
bitrateWithSource: 'BitrateWithSource',
|
|
243
|
+
deInterlaced: 'DeInterlaced',
|
|
242
244
|
domain: 'Domain',
|
|
243
245
|
encryptParameters: 'EncryptParameters',
|
|
244
246
|
extWithSource: 'ExtWithSource',
|
|
@@ -267,6 +269,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
267
269
|
audioProfile: 'string',
|
|
268
270
|
audioRate: 'number',
|
|
269
271
|
bitrateWithSource: 'string',
|
|
272
|
+
deInterlaced: 'boolean',
|
|
270
273
|
domain: 'string',
|
|
271
274
|
encryptParameters: 'string',
|
|
272
275
|
extWithSource: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -1458,6 +1458,9 @@ export { ListPlaylistResponse } from './ListPlaylistResponse';
|
|
|
1458
1458
|
export { ListPlaylistItemsRequest } from './ListPlaylistItemsRequest';
|
|
1459
1459
|
export { ListPlaylistItemsResponseBody } from './ListPlaylistItemsResponseBody';
|
|
1460
1460
|
export { ListPlaylistItemsResponse } from './ListPlaylistItemsResponse';
|
|
1461
|
+
export { ListRTCLiveRoomsRequest } from './ListRtcliveRoomsRequest';
|
|
1462
|
+
export { ListRTCLiveRoomsResponseBody } from './ListRtcliveRoomsResponseBody';
|
|
1463
|
+
export { ListRTCLiveRoomsResponse } from './ListRtcliveRoomsResponse';
|
|
1461
1464
|
export { ListRtcMPUEventSubRecordRequest } from './ListRtcMpueventSubRecordRequest';
|
|
1462
1465
|
export { ListRtcMPUEventSubRecordResponseBody } from './ListRtcMpueventSubRecordResponseBody';
|
|
1463
1466
|
export { ListRtcMPUEventSubRecordResponse } from './ListRtcMpueventSubRecordResponse';
|
|
@@ -1541,6 +1544,10 @@ export { PlayChoosenShowResponse } from './PlayChoosenShowResponse';
|
|
|
1541
1544
|
export { PublishLiveStagingConfigToProductionRequest } from './PublishLiveStagingConfigToProductionRequest';
|
|
1542
1545
|
export { PublishLiveStagingConfigToProductionResponseBody } from './PublishLiveStagingConfigToProductionResponseBody';
|
|
1543
1546
|
export { PublishLiveStagingConfigToProductionResponse } from './PublishLiveStagingConfigToProductionResponse';
|
|
1547
|
+
export { PutRecordStorageLifeCycleRequest } from './PutRecordStorageLifeCycleRequest';
|
|
1548
|
+
export { PutRecordStorageLifeCycleShrinkRequest } from './PutRecordStorageLifeCycleShrinkRequest';
|
|
1549
|
+
export { PutRecordStorageLifeCycleResponseBody } from './PutRecordStorageLifeCycleResponseBody';
|
|
1550
|
+
export { PutRecordStorageLifeCycleResponse } from './PutRecordStorageLifeCycleResponse';
|
|
1544
1551
|
export { QueryLiveDomainMultiStreamListRequest } from './QueryLiveDomainMultiStreamListRequest';
|
|
1545
1552
|
export { QueryLiveDomainMultiStreamListResponseBody } from './QueryLiveDomainMultiStreamListResponseBody';
|
|
1546
1553
|
export { QueryLiveDomainMultiStreamListResponse } from './QueryLiveDomainMultiStreamListResponse';
|