@alicloud/live20161101 2.3.2 → 2.4.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 +15 -0
- package/dist/client.js +54 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeLiveRtcRecordUsageDataRequest.d.ts +50 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataRequest.js +66 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataRequest.js.map +1 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataResponse.d.ts +19 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataResponse.js +69 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataResponse.js.map +1 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.d.ts +99 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.js +106 -0
- package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.js.map +1 -0
- package/dist/models/StartRtcCloudRecordingRequest.d.ts +1 -0
- package/dist/models/StartRtcCloudRecordingRequest.js +5 -0
- package/dist/models/StartRtcCloudRecordingRequest.js.map +1 -1
- package/dist/models/StartRtcCloudRecordingShrinkRequest.d.ts +1 -0
- package/dist/models/StartRtcCloudRecordingShrinkRequest.js +5 -0
- package/dist/models/StartRtcCloudRecordingShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +41 -33
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +62 -0
- package/src/models/DescribeLiveRtcRecordUsageDataRequest.ts +71 -0
- package/src/models/DescribeLiveRtcRecordUsageDataResponse.ts +40 -0
- package/src/models/DescribeLiveRtcRecordUsageDataResponseBody.ts +151 -0
- package/src/models/StartRtcCloudRecordingRequest.ts +6 -0
- package/src/models/StartRtcCloudRecordingShrinkRequest.ts +6 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLiveRtcRecordUsageDataResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 20
|
|
9
|
+
*/
|
|
10
|
+
audioDuration?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2022-10-10T20:00:00Z
|
|
14
|
+
*/
|
|
15
|
+
timestamp?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 150
|
|
19
|
+
*/
|
|
20
|
+
totalDuration?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 10
|
|
24
|
+
*/
|
|
25
|
+
v1080Duration?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 30
|
|
29
|
+
*/
|
|
30
|
+
v480Duration?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 40
|
|
34
|
+
*/
|
|
35
|
+
v720Duration?: number;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
audioDuration: 'AudioDuration',
|
|
39
|
+
timestamp: 'Timestamp',
|
|
40
|
+
totalDuration: 'TotalDuration',
|
|
41
|
+
v1080Duration: 'V1080Duration',
|
|
42
|
+
v480Duration: 'V480Duration',
|
|
43
|
+
v720Duration: 'V720Duration',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
audioDuration: 'number',
|
|
50
|
+
timestamp: 'string',
|
|
51
|
+
totalDuration: 'number',
|
|
52
|
+
v1080Duration: 'number',
|
|
53
|
+
v480Duration: 'number',
|
|
54
|
+
v720Duration: 'number',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class DescribeLiveRtcRecordUsageDataResponseBody extends $dara.Model {
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* 7fd341b3-c6fa-43e1-96b8-7295a1dd****
|
|
71
|
+
*/
|
|
72
|
+
appId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* 20
|
|
76
|
+
*/
|
|
77
|
+
audioSummaryDuration?: number;
|
|
78
|
+
data?: DescribeLiveRtcRecordUsageDataResponseBodyData[];
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 0
|
|
82
|
+
*/
|
|
83
|
+
recordMode?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* Id of the request
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* 16A96B9A-F2*************B92E68F4CD8
|
|
90
|
+
*/
|
|
91
|
+
requestId?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* 150
|
|
95
|
+
*/
|
|
96
|
+
totalSummaryDuration?: number;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* 10
|
|
100
|
+
*/
|
|
101
|
+
v1080SummaryDuration?: number;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* 30
|
|
105
|
+
*/
|
|
106
|
+
v480SummaryDuration?: number;
|
|
107
|
+
/**
|
|
108
|
+
* @example
|
|
109
|
+
* 40
|
|
110
|
+
*/
|
|
111
|
+
v720SummaryDuration?: number;
|
|
112
|
+
static names(): { [key: string]: string } {
|
|
113
|
+
return {
|
|
114
|
+
appId: 'AppId',
|
|
115
|
+
audioSummaryDuration: 'AudioSummaryDuration',
|
|
116
|
+
data: 'Data',
|
|
117
|
+
recordMode: 'RecordMode',
|
|
118
|
+
requestId: 'RequestId',
|
|
119
|
+
totalSummaryDuration: 'TotalSummaryDuration',
|
|
120
|
+
v1080SummaryDuration: 'V1080SummaryDuration',
|
|
121
|
+
v480SummaryDuration: 'V480SummaryDuration',
|
|
122
|
+
v720SummaryDuration: 'V720SummaryDuration',
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
static types(): { [key: string]: any } {
|
|
127
|
+
return {
|
|
128
|
+
appId: 'string',
|
|
129
|
+
audioSummaryDuration: 'number',
|
|
130
|
+
data: { 'type': 'array', 'itemType': DescribeLiveRtcRecordUsageDataResponseBodyData },
|
|
131
|
+
recordMode: 'string',
|
|
132
|
+
requestId: 'string',
|
|
133
|
+
totalSummaryDuration: 'number',
|
|
134
|
+
v1080SummaryDuration: 'number',
|
|
135
|
+
v480SummaryDuration: 'number',
|
|
136
|
+
v720SummaryDuration: 'number',
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
validate() {
|
|
141
|
+
if(Array.isArray(this.data)) {
|
|
142
|
+
$dara.Model.validateArray(this.data);
|
|
143
|
+
}
|
|
144
|
+
super.validate();
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
constructor(map?: { [key: string]: any }) {
|
|
148
|
+
super(map);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
@@ -585,6 +585,7 @@ export class StartRtcCloudRecordingRequest extends $dara.Model {
|
|
|
585
585
|
mixLayoutParams?: StartRtcCloudRecordingRequestMixLayoutParams;
|
|
586
586
|
mixTranscodeParams?: StartRtcCloudRecordingRequestMixTranscodeParams;
|
|
587
587
|
notifyAuthKey?: string;
|
|
588
|
+
notifyFileUploadedFormat?: string[];
|
|
588
589
|
/**
|
|
589
590
|
* @example
|
|
590
591
|
* http://xxxx/test/mycallback
|
|
@@ -613,6 +614,7 @@ export class StartRtcCloudRecordingRequest extends $dara.Model {
|
|
|
613
614
|
mixLayoutParams: 'MixLayoutParams',
|
|
614
615
|
mixTranscodeParams: 'MixTranscodeParams',
|
|
615
616
|
notifyAuthKey: 'NotifyAuthKey',
|
|
617
|
+
notifyFileUploadedFormat: 'NotifyFileUploadedFormat',
|
|
616
618
|
notifyUrl: 'NotifyUrl',
|
|
617
619
|
recordParams: 'RecordParams',
|
|
618
620
|
storageParams: 'StorageParams',
|
|
@@ -628,6 +630,7 @@ export class StartRtcCloudRecordingRequest extends $dara.Model {
|
|
|
628
630
|
mixLayoutParams: StartRtcCloudRecordingRequestMixLayoutParams,
|
|
629
631
|
mixTranscodeParams: StartRtcCloudRecordingRequestMixTranscodeParams,
|
|
630
632
|
notifyAuthKey: 'string',
|
|
633
|
+
notifyFileUploadedFormat: { 'type': 'array', 'itemType': 'string' },
|
|
631
634
|
notifyUrl: 'string',
|
|
632
635
|
recordParams: StartRtcCloudRecordingRequestRecordParams,
|
|
633
636
|
storageParams: StartRtcCloudRecordingRequestStorageParams,
|
|
@@ -642,6 +645,9 @@ export class StartRtcCloudRecordingRequest extends $dara.Model {
|
|
|
642
645
|
if(this.mixTranscodeParams && typeof (this.mixTranscodeParams as any).validate === 'function') {
|
|
643
646
|
(this.mixTranscodeParams as any).validate();
|
|
644
647
|
}
|
|
648
|
+
if(Array.isArray(this.notifyFileUploadedFormat)) {
|
|
649
|
+
$dara.Model.validateArray(this.notifyFileUploadedFormat);
|
|
650
|
+
}
|
|
645
651
|
if(this.recordParams && typeof (this.recordParams as any).validate === 'function') {
|
|
646
652
|
(this.recordParams as any).validate();
|
|
647
653
|
}
|
|
@@ -23,6 +23,7 @@ export class StartRtcCloudRecordingShrinkRequest extends $dara.Model {
|
|
|
23
23
|
mixLayoutParamsShrink?: string;
|
|
24
24
|
mixTranscodeParamsShrink?: string;
|
|
25
25
|
notifyAuthKey?: string;
|
|
26
|
+
notifyFileUploadedFormat?: string[];
|
|
26
27
|
/**
|
|
27
28
|
* @example
|
|
28
29
|
* http://xxxx/test/mycallback
|
|
@@ -51,6 +52,7 @@ export class StartRtcCloudRecordingShrinkRequest extends $dara.Model {
|
|
|
51
52
|
mixLayoutParamsShrink: 'MixLayoutParams',
|
|
52
53
|
mixTranscodeParamsShrink: 'MixTranscodeParams',
|
|
53
54
|
notifyAuthKey: 'NotifyAuthKey',
|
|
55
|
+
notifyFileUploadedFormat: 'NotifyFileUploadedFormat',
|
|
54
56
|
notifyUrl: 'NotifyUrl',
|
|
55
57
|
recordParamsShrink: 'RecordParams',
|
|
56
58
|
storageParamsShrink: 'StorageParams',
|
|
@@ -66,6 +68,7 @@ export class StartRtcCloudRecordingShrinkRequest extends $dara.Model {
|
|
|
66
68
|
mixLayoutParamsShrink: 'string',
|
|
67
69
|
mixTranscodeParamsShrink: 'string',
|
|
68
70
|
notifyAuthKey: 'string',
|
|
71
|
+
notifyFileUploadedFormat: { 'type': 'array', 'itemType': 'string' },
|
|
69
72
|
notifyUrl: 'string',
|
|
70
73
|
recordParamsShrink: 'string',
|
|
71
74
|
storageParamsShrink: 'string',
|
|
@@ -74,6 +77,9 @@ export class StartRtcCloudRecordingShrinkRequest extends $dara.Model {
|
|
|
74
77
|
}
|
|
75
78
|
|
|
76
79
|
validate() {
|
|
80
|
+
if(Array.isArray(this.notifyFileUploadedFormat)) {
|
|
81
|
+
$dara.Model.validateArray(this.notifyFileUploadedFormat);
|
|
82
|
+
}
|
|
77
83
|
super.validate();
|
|
78
84
|
}
|
|
79
85
|
|
package/src/models/model.ts
CHANGED
|
@@ -225,6 +225,7 @@ export { DescribeLiveRecordNotifyConfigResponseBodyLiveRecordNotifyConfig } from
|
|
|
225
225
|
export { DescribeLiveRecordNotifyRecordsResponseBodyCallbackList } from './DescribeLiveRecordNotifyRecordsResponseBody';
|
|
226
226
|
export { DescribeLiveRecordVodConfigsResponseBodyLiveRecordVodConfigsLiveRecordVodConfig } from './DescribeLiveRecordVodConfigsResponseBody';
|
|
227
227
|
export { DescribeLiveRecordVodConfigsResponseBodyLiveRecordVodConfigs } from './DescribeLiveRecordVodConfigsResponseBody';
|
|
228
|
+
export { DescribeLiveRtcRecordUsageDataResponseBodyData } from './DescribeLiveRtcRecordUsageDataResponseBody';
|
|
228
229
|
export { DescribeLiveShiftConfigsResponseBodyContentConfig } from './DescribeLiveShiftConfigsResponseBody';
|
|
229
230
|
export { DescribeLiveShiftConfigsResponseBodyContent } from './DescribeLiveShiftConfigsResponseBody';
|
|
230
231
|
export { DescribeLiveSnapshotConfigResponseBodyLiveStreamSnapshotConfigListLiveStreamSnapshotConfig } from './DescribeLiveSnapshotConfigResponseBody';
|
|
@@ -1146,6 +1147,9 @@ export { DescribeLiveRecordNotifyRecordsResponse } from './DescribeLiveRecordNot
|
|
|
1146
1147
|
export { DescribeLiveRecordVodConfigsRequest } from './DescribeLiveRecordVodConfigsRequest';
|
|
1147
1148
|
export { DescribeLiveRecordVodConfigsResponseBody } from './DescribeLiveRecordVodConfigsResponseBody';
|
|
1148
1149
|
export { DescribeLiveRecordVodConfigsResponse } from './DescribeLiveRecordVodConfigsResponse';
|
|
1150
|
+
export { DescribeLiveRtcRecordUsageDataRequest } from './DescribeLiveRtcRecordUsageDataRequest';
|
|
1151
|
+
export { DescribeLiveRtcRecordUsageDataResponseBody } from './DescribeLiveRtcRecordUsageDataResponseBody';
|
|
1152
|
+
export { DescribeLiveRtcRecordUsageDataResponse } from './DescribeLiveRtcRecordUsageDataResponse';
|
|
1149
1153
|
export { DescribeLiveShiftConfigsRequest } from './DescribeLiveShiftConfigsRequest';
|
|
1150
1154
|
export { DescribeLiveShiftConfigsResponseBody } from './DescribeLiveShiftConfigsResponseBody';
|
|
1151
1155
|
export { DescribeLiveShiftConfigsResponse } from './DescribeLiveShiftConfigsResponse';
|