@byteplus/react-native-live-push 1.0.2 → 1.0.3-rc.1
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/LICENSE +1 -1
- package/README.md +2 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +1 -1
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +5 -3
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +10 -5
- package/ios/VeLivePushView.m +1 -1
- package/ios/VeLivePushViewManager.m +5 -1
- package/lib/commonjs/index.js +21799 -17839
- package/lib/module/index.js +21799 -17832
- package/lib/typescript/android/index.d.ts +3 -0
- package/lib/typescript/codegen/android/api.d.ts +1350 -75
- package/lib/typescript/codegen/android/keytype.d.ts +439 -62
- package/lib/typescript/codegen/android/types.d.ts +7 -6
- package/lib/typescript/codegen/ios/api.d.ts +11 -19
- package/lib/typescript/codegen/ios/callback.d.ts +17 -25
- package/lib/typescript/codegen/ios/external.d.ts +1 -0
- package/lib/typescript/codegen/ios/index.d.ts +1 -0
- package/lib/typescript/codegen/ios/keytype.d.ts +6 -34
- package/lib/typescript/codegen/ios/types.d.ts +16 -5
- package/lib/typescript/codegen/pack/api.d.ts +1250 -1216
- package/lib/typescript/codegen/pack/callback.d.ts +153 -295
- package/lib/typescript/codegen/pack/errorcode.d.ts +11 -150
- package/lib/typescript/codegen/pack/index.d.ts +1 -1
- package/lib/typescript/codegen/pack/keytype.d.ts +806 -1366
- package/lib/typescript/codegen/pack/types.d.ts +67 -0
- package/lib/typescript/component.d.ts +10 -3
- package/lib/typescript/core/api.d.ts +2 -2
- package/lib/typescript/core/callback.d.ts +2 -2
- package/lib/typescript/core/errorcode.d.ts +2 -2
- package/lib/typescript/core/keytype.d.ts +2 -7
- package/lib/typescript/platforms/ios/extends.d.ts +17 -0
- package/package.json +7 -4
- package/react-native-velive-push.podspec +3 -3
|
@@ -1,1642 +1,989 @@
|
|
|
1
1
|
import * as $p_a from '../android/index';
|
|
2
2
|
import * as $p_i from '../ios/index';
|
|
3
|
+
import { ArrayList } from './types';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
* @detail keytype
|
|
6
|
-
* @brief The video encoding configurations.
|
|
7
|
-
*/
|
|
8
|
-
export declare class VeLiveVideoEncoderConfiguration {
|
|
5
|
+
export declare class VeLiveFileRecorderConfiguration {
|
|
9
6
|
protected _instance: any;
|
|
10
7
|
protected __init(...args: any[]): void;
|
|
11
|
-
protected __new_instance(...args: any[]):
|
|
12
|
-
|
|
13
|
-
/** {en}
|
|
14
|
-
* @detail api
|
|
15
|
-
* @brief Gets the video resolution.
|
|
16
|
-
* @return <br>
|
|
17
|
-
* The video resolution. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
|
|
18
|
-
*/
|
|
19
|
-
getResolution(): VeLiveVideoResolution;
|
|
20
|
-
|
|
21
|
-
/** {en}
|
|
22
|
-
* @detail api
|
|
23
|
-
* @brief Sets the video resolution.
|
|
24
|
-
* @param resolution The video resolution. The default value is `VeLiveVideoResolution720P`. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
|
|
25
|
-
* @return <br>
|
|
26
|
-
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
27
|
-
*/
|
|
28
|
-
setResolution(resolution: VeLiveVideoResolution): VeLiveVideoEncoderConfiguration;
|
|
8
|
+
protected __new_instance(...args: any[]): any;
|
|
29
9
|
|
|
30
10
|
/** {en}
|
|
31
11
|
* @detail api
|
|
32
|
-
* @brief
|
|
33
|
-
* @return
|
|
34
|
-
*
|
|
12
|
+
* @brief Sets the width of the recorded video.
|
|
13
|
+
* @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
|
|
14
|
+
* @param width The width of the recorded video. The default value is `360`.
|
|
15
|
+
*
|
|
35
16
|
*/
|
|
36
|
-
|
|
17
|
+
setWidth(width: number): void;
|
|
37
18
|
|
|
38
19
|
/** {en}
|
|
39
20
|
* @detail api
|
|
40
|
-
* @brief Sets the video
|
|
41
|
-
* @return The
|
|
42
|
-
* @param
|
|
21
|
+
* @brief Sets the height of the recorded video.
|
|
22
|
+
* @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
|
|
23
|
+
* @param height The height of the recorded video, the default value is `640`.
|
|
24
|
+
*
|
|
43
25
|
*/
|
|
44
|
-
|
|
26
|
+
setHeight(height: number): void;
|
|
45
27
|
|
|
46
28
|
/** {en}
|
|
47
29
|
* @detail api
|
|
48
|
-
* @brief
|
|
49
|
-
* @return
|
|
50
|
-
*
|
|
30
|
+
* @brief Sets the bitrate of the recorded video.
|
|
31
|
+
* @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
|
|
32
|
+
* @param bitrate The bitrate of the recorded video, in Kbps. The default value is `2000`.
|
|
33
|
+
*
|
|
51
34
|
*/
|
|
52
|
-
|
|
35
|
+
setBitrate(bitrate: number): void;
|
|
53
36
|
|
|
54
37
|
/** {en}
|
|
55
38
|
* @detail api
|
|
56
|
-
* @brief Sets the
|
|
57
|
-
* @
|
|
58
|
-
* @
|
|
59
|
-
*
|
|
39
|
+
* @brief Sets the frame rate of the recorded video.
|
|
40
|
+
* @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
|
|
41
|
+
* @param fps The frame rate of the recorded video. The default value is `15`.
|
|
42
|
+
*
|
|
60
43
|
*/
|
|
61
|
-
|
|
44
|
+
setFps(fps: number): void;
|
|
62
45
|
|
|
63
46
|
/** {en}
|
|
47
|
+
* @platform android
|
|
64
48
|
* @detail api
|
|
65
|
-
* @brief Gets the
|
|
49
|
+
* @brief Gets the width of the recorded video.
|
|
66
50
|
* @return <br>
|
|
67
|
-
* The
|
|
51
|
+
* The width of the recorded video.
|
|
52
|
+
*
|
|
68
53
|
*/
|
|
69
|
-
|
|
54
|
+
android_getWidth(): number;
|
|
70
55
|
|
|
71
56
|
/** {en}
|
|
57
|
+
* @platform android
|
|
72
58
|
* @detail api
|
|
73
|
-
* @brief
|
|
74
|
-
* @param minBitrate The minimum encoded video bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
|
|
59
|
+
* @brief Gets the height of the recorded video.
|
|
75
60
|
* @return <br>
|
|
76
|
-
* The
|
|
61
|
+
* The height of the recorded video.
|
|
62
|
+
*
|
|
77
63
|
*/
|
|
78
|
-
|
|
64
|
+
android_getHeight(): number;
|
|
79
65
|
|
|
80
66
|
/** {en}
|
|
67
|
+
* @platform android
|
|
81
68
|
* @detail api
|
|
82
|
-
* @brief Gets the
|
|
69
|
+
* @brief Gets the frame rate of the recorded video.
|
|
83
70
|
* @return <br>
|
|
84
|
-
* The
|
|
71
|
+
* The frame rate of the recorded video.
|
|
72
|
+
*
|
|
85
73
|
*/
|
|
86
|
-
|
|
74
|
+
android_getFps(): number;
|
|
87
75
|
|
|
88
76
|
/** {en}
|
|
77
|
+
* @platform android
|
|
89
78
|
* @detail api
|
|
90
|
-
* @brief
|
|
91
|
-
* @param maxBitrate The maximum video encoding bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
|
|
79
|
+
* @brief Gets the bitrate of the recorded video.
|
|
92
80
|
* @return <br>
|
|
93
|
-
* The
|
|
81
|
+
* The bitrate of the recorded video.
|
|
82
|
+
*
|
|
94
83
|
*/
|
|
95
|
-
|
|
84
|
+
android_getBitrate(): number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export declare class VeLiveVideoCaptureConfiguration {
|
|
88
|
+
protected _instance: any;
|
|
96
89
|
|
|
97
90
|
/** {en}
|
|
98
|
-
* @
|
|
99
|
-
* @brief
|
|
100
|
-
* @
|
|
101
|
-
*
|
|
91
|
+
* @platform ios
|
|
92
|
+
* @brief The pixel format. The default format is kCVPixelFormatType_420YpCbCr8BiPlanarFullRange.
|
|
93
|
+
* @note The following formats are supported:
|
|
94
|
+
* - kCVPixelFormatType_32BGRA
|
|
95
|
+
* - kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
|
|
96
|
+
* - kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
|
|
97
|
+
* - kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange
|
|
102
98
|
*/
|
|
103
|
-
|
|
99
|
+
get ios_pixelFormat(): $p_i.OSType;
|
|
100
|
+
set ios_pixelFormat(value: $p_i.OSType);
|
|
101
|
+
protected __init(...args: any[]): void;
|
|
102
|
+
protected __new_instance(...args: any[]): any;
|
|
104
103
|
|
|
105
104
|
/** {en}
|
|
106
105
|
* @detail api
|
|
107
|
-
* @brief Sets the
|
|
108
|
-
* @
|
|
109
|
-
* @
|
|
110
|
-
*
|
|
106
|
+
* @brief Sets the width of the captured video.
|
|
107
|
+
* @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
|
|
108
|
+
* @param width The width of the captured video. The default value is `720`.
|
|
109
|
+
*
|
|
111
110
|
*/
|
|
112
|
-
|
|
111
|
+
setWidth(width: number): void;
|
|
113
112
|
|
|
114
113
|
/** {en}
|
|
115
114
|
* @detail api
|
|
116
|
-
* @brief
|
|
117
|
-
* @return
|
|
118
|
-
*
|
|
115
|
+
* @brief Sets the height of the captured video.
|
|
116
|
+
* @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
|
|
117
|
+
* @param height The height of the captured video. The default value is `1280`.
|
|
118
|
+
*
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
setHeight(height: number): void;
|
|
121
121
|
|
|
122
122
|
/** {en}
|
|
123
123
|
* @detail api
|
|
124
|
-
* @brief Sets the
|
|
125
|
-
* @
|
|
126
|
-
* @
|
|
127
|
-
*
|
|
124
|
+
* @brief Sets the captured frame rate.
|
|
125
|
+
* @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
|
|
126
|
+
* @param fps The captured frame rate. The default value is `15`.
|
|
127
|
+
*
|
|
128
128
|
*/
|
|
129
|
-
setFps(fps: number):
|
|
129
|
+
setFps(fps: number): void;
|
|
130
130
|
|
|
131
131
|
/** {en}
|
|
132
132
|
* @platform android
|
|
133
133
|
* @detail api
|
|
134
|
-
* @brief
|
|
134
|
+
* @brief Gets the width of the captured video.
|
|
135
135
|
* @return <br>
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* - false: Disable.
|
|
136
|
+
* The width of the captured video.
|
|
137
|
+
*
|
|
139
138
|
*/
|
|
140
|
-
|
|
139
|
+
android_getWidth(): number;
|
|
141
140
|
|
|
142
141
|
/** {en}
|
|
142
|
+
* @platform android
|
|
143
143
|
* @detail api
|
|
144
|
-
* @brief
|
|
145
|
-
* @param enableBFrame Whether to enable B frames. <br>
|
|
146
|
-
* - true: Enable;
|
|
147
|
-
* - false: (Default) Disable.
|
|
144
|
+
* @brief Gets the height of the captured video.
|
|
148
145
|
* @return <br>
|
|
149
|
-
* The
|
|
146
|
+
* The height of the captured video.
|
|
147
|
+
*
|
|
150
148
|
*/
|
|
151
|
-
|
|
149
|
+
android_getHeight(): number;
|
|
152
150
|
|
|
153
151
|
/** {en}
|
|
154
152
|
* @platform android
|
|
155
153
|
* @detail api
|
|
156
|
-
* @brief
|
|
154
|
+
* @brief Gets the captured frame rate.
|
|
157
155
|
* @return <br>
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* - false: Disable.
|
|
156
|
+
* The captured frame rate.
|
|
157
|
+
*
|
|
161
158
|
*/
|
|
162
|
-
|
|
159
|
+
android_getFps(): number;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export declare enum VeLivePusherRenderMode {
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
* @detail api
|
|
166
|
-
* @brief Enables hardware encoding.
|
|
167
|
-
* @param enableAccelerate Whether to enable hardware encoding. <br>
|
|
168
|
-
* - true: (Default) Enable;
|
|
169
|
-
* - false: Disable.
|
|
170
|
-
* @return <br>
|
|
171
|
-
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
172
|
-
*/
|
|
173
|
-
setEnableAccelerate(enableAccelerate: boolean): VeLiveVideoEncoderConfiguration;
|
|
164
|
+
VeLivePusherRenderModeFill = 0,
|
|
174
165
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
* @param resolution The video resolution. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
|
|
179
|
-
* @return <br>
|
|
180
|
-
* The VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} object.
|
|
181
|
-
*/
|
|
182
|
-
ios_initWithResolution(resolution: VeLiveVideoResolution): this;
|
|
166
|
+
VeLivePusherRenderModeFit = 1,
|
|
167
|
+
|
|
168
|
+
VeLivePusherRenderModeHidden = 2
|
|
183
169
|
}
|
|
184
170
|
|
|
185
|
-
|
|
186
|
-
* @platform android
|
|
187
|
-
* @detail keytype
|
|
188
|
-
* @brief The audio encoding format.
|
|
189
|
-
*/
|
|
190
|
-
export declare enum VeLiveAudioCodec {
|
|
171
|
+
export declare enum VeLiveAudioBufferType {
|
|
191
172
|
|
|
192
|
-
|
|
193
|
-
* @platform android
|
|
194
|
-
* @brief FDKAAC.
|
|
195
|
-
*/
|
|
196
|
-
VeLiveAudioCodecFdkAAC = 0,
|
|
173
|
+
VeLiveAudioBufferTypeUnknown = 0,
|
|
197
174
|
|
|
198
|
-
|
|
199
|
-
* @platform android
|
|
200
|
-
* @brief Mediacodec AAC.
|
|
201
|
-
*/
|
|
202
|
-
VeLiveAudioCodecMediaCodecAAC = 1,
|
|
175
|
+
VeLiveAudioBufferTypeByteBuffer = 1,
|
|
203
176
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
*/
|
|
208
|
-
VeLiveAudioCodecFFmpegAAC = 2
|
|
209
|
-
}
|
|
210
|
-
export declare class t_VeLiveAudioCodec {
|
|
211
|
-
static ts_to_android(value: VeLiveAudioCodec): $p_a.VeLiveAudioCodec;
|
|
212
|
-
static android_to_ts(value: $p_a.VeLiveAudioCodec): VeLiveAudioCodec;
|
|
213
|
-
static ts_to_ios(value: VeLiveAudioCodec): never;
|
|
214
|
-
static ios_to_ts(value: unknown): never;
|
|
177
|
+
VeLiveAudioBufferTypeSampleBuffer = 2,
|
|
178
|
+
|
|
179
|
+
VeLiveAudioBufferTypeNSData = 3
|
|
215
180
|
}
|
|
216
181
|
|
|
217
|
-
|
|
218
|
-
* @detail keytype
|
|
219
|
-
* @brief The video encoding format.
|
|
220
|
-
*/
|
|
221
|
-
export declare enum VeLiveVideoCodec {
|
|
182
|
+
export declare enum VeLiveFirstFrameType {
|
|
222
183
|
|
|
223
|
-
|
|
224
|
-
* @brief H.264.
|
|
225
|
-
*/
|
|
226
|
-
VeLiveVideoCodecH264 = "h264",
|
|
184
|
+
VeLiveFirstCaptureFrame = 0,
|
|
227
185
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
static android_to_ts(value: $p_a.VeLiveVideoCodec): VeLiveVideoCodec;
|
|
236
|
-
static ts_to_ios(value: VeLiveVideoCodec): $p_i.VeLiveVideoCodec;
|
|
237
|
-
static ios_to_ts(value: $p_i.VeLiveVideoCodec): VeLiveVideoCodec;
|
|
186
|
+
VeLiveFirstRenderFrame = 1,
|
|
187
|
+
|
|
188
|
+
VeLiveFirstEncodedFrame = 2,
|
|
189
|
+
|
|
190
|
+
VeLiveFirstSendFrame = 3,
|
|
191
|
+
|
|
192
|
+
VeLiveFirstAppAudioCaptureFrame = 4
|
|
238
193
|
}
|
|
239
194
|
|
|
240
|
-
|
|
241
|
-
* @detail keytype
|
|
242
|
-
* @brief Push-stream statistics.
|
|
243
|
-
*/
|
|
244
|
-
export declare class VeLivePusherStatistics {
|
|
245
|
-
protected _instance: any;
|
|
246
|
-
protected __init(...args: any[]): void;
|
|
247
|
-
protected __new_instance(...args: any[]): $p_a.VeLivePusherStatistics | $p_i.VeLivePusherStatistics;
|
|
195
|
+
export declare enum VeLiveVideoCaptureType {
|
|
248
196
|
|
|
249
|
-
|
|
250
|
-
* @brief The width of the encoded video, in pixels.
|
|
251
|
-
*/
|
|
252
|
-
get encodeWidth(): number;
|
|
253
|
-
set encodeWidth(value: number);
|
|
197
|
+
VeLiveVideoCaptureFrontCamera = 0,
|
|
254
198
|
|
|
255
|
-
|
|
256
|
-
* @brief The height of the encoded video, in pixels.
|
|
257
|
-
*/
|
|
258
|
-
get encodeHeight(): number;
|
|
259
|
-
set encodeHeight(value: number);
|
|
199
|
+
VeLiveVideoCaptureBackCamera = 1,
|
|
260
200
|
|
|
261
|
-
|
|
262
|
-
* @brief The width of the captured video, in pixels.
|
|
263
|
-
*/
|
|
264
|
-
get captureWidth(): number;
|
|
265
|
-
set captureWidth(value: number);
|
|
201
|
+
VeLiveVideoCaptureDualCamera = 2,
|
|
266
202
|
|
|
267
|
-
|
|
268
|
-
* @brief The height of the captured video, in pixels.
|
|
269
|
-
*/
|
|
270
|
-
get captureHeight(): number;
|
|
271
|
-
set captureHeight(value: number);
|
|
203
|
+
VeLiveVideoCaptureScreen = 3,
|
|
272
204
|
|
|
273
|
-
|
|
274
|
-
* @brief The captured frame rate, in fps.
|
|
275
|
-
*/
|
|
276
|
-
get captureFps(): number;
|
|
277
|
-
set captureFps(value: number);
|
|
205
|
+
VeLiveVideoCaptureExternal = 4,
|
|
278
206
|
|
|
279
|
-
|
|
280
|
-
* @brief The encoded frame rate, in fps.
|
|
281
|
-
*/
|
|
282
|
-
get encodeFps(): number;
|
|
283
|
-
set encodeFps(value: number);
|
|
207
|
+
VeLiveVideoCaptureCustomImage = 5,
|
|
284
208
|
|
|
285
|
-
|
|
286
|
-
* @brief The transmission frame rate, in fps. You can use this parameter to showcase the real-time frame rate on the user interface.
|
|
287
|
-
*/
|
|
288
|
-
get transportFps(): number;
|
|
289
|
-
set transportFps(value: number);
|
|
209
|
+
VeLiveVideoCaptureLastFrame = 6,
|
|
290
210
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
set fps(value: number);
|
|
211
|
+
VeLiveVideoCaptureDummyFrame = 7
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export declare enum VeLiveVideoRotation {
|
|
296
215
|
|
|
297
|
-
|
|
298
|
-
* @brief The encoded bitrate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in Kbps.
|
|
299
|
-
*/
|
|
300
|
-
get videoBitrate(): number;
|
|
301
|
-
set videoBitrate(value: number);
|
|
216
|
+
VeLiveVideoRotation0 = 0,
|
|
302
217
|
|
|
303
|
-
|
|
304
|
-
* @brief The minimum encoded bitrate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in Kbps.
|
|
305
|
-
*/
|
|
306
|
-
get minVideoBitrate(): number;
|
|
307
|
-
set minVideoBitrate(value: number);
|
|
218
|
+
VeLiveVideoRotation90 = 1,
|
|
308
219
|
|
|
309
|
-
|
|
310
|
-
* @brief The maximum encoded bitrate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in Kbps.
|
|
311
|
-
*/
|
|
312
|
-
get maxVideoBitrate(): number;
|
|
313
|
-
set maxVideoBitrate(value: number);
|
|
220
|
+
VeLiveVideoRotation180 = 2,
|
|
314
221
|
|
|
315
|
-
|
|
316
|
-
* @brief The encoded video bitrate, in Kbps.
|
|
317
|
-
*/
|
|
318
|
-
get encodeVideoBitrate(): number;
|
|
319
|
-
set encodeVideoBitrate(value: number);
|
|
320
|
-
|
|
321
|
-
/** {en}
|
|
322
|
-
* @brief The transmission bitrate, in Kbps. You can use this parameter to showcase the real-time bitrate on the user interface.
|
|
323
|
-
*/
|
|
324
|
-
get transportVideoBitrate(): number;
|
|
325
|
-
set transportVideoBitrate(value: number);
|
|
326
|
-
|
|
327
|
-
/** {en}
|
|
328
|
-
* @brief The audio encoding bitrate, in Kbps.
|
|
329
|
-
*/
|
|
330
|
-
get encodeAudioBitrate(): number;
|
|
331
|
-
set encodeAudioBitrate(value: number);
|
|
332
|
-
|
|
333
|
-
/** {en}
|
|
334
|
-
* @brief The push stream address.
|
|
335
|
-
*/
|
|
336
|
-
get url(): string;
|
|
337
|
-
set url(value: string);
|
|
338
|
-
|
|
339
|
-
/** {en}
|
|
340
|
-
* @brief The video codec.
|
|
341
|
-
*/
|
|
342
|
-
get codec(): string;
|
|
343
|
-
set codec(value: string);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/** {en}
|
|
347
|
-
* @detail keytype
|
|
348
|
-
* @brief The render mode.
|
|
349
|
-
*/
|
|
350
|
-
export declare enum VeLivePusherRenderMode {
|
|
351
|
-
|
|
352
|
-
/** {en}
|
|
353
|
-
* @brief Stretch the video to fill the screen. The aspect ratio of the video might change.
|
|
354
|
-
*/
|
|
355
|
-
VeLivePusherRenderModeFill = 0,
|
|
356
|
-
|
|
357
|
-
/** {en}
|
|
358
|
-
* @brief Display the full video. The video is uniformly scaled until one dimension of the video hits the boundary of the screen. Any remaining space on the screen will be filled with background color.
|
|
359
|
-
*/
|
|
360
|
-
VeLivePusherRenderModeFit = 1,
|
|
361
|
-
|
|
362
|
-
/** {en}
|
|
363
|
-
* @brief Uniformly scale the video until the screen is completely filled. Part of the video may be cropped.
|
|
364
|
-
*/
|
|
365
|
-
VeLivePusherRenderModeHidden = 2
|
|
366
|
-
}
|
|
367
|
-
export declare class t_VeLivePusherRenderMode {
|
|
368
|
-
static ts_to_android(value: VeLivePusherRenderMode): $p_a.VeLivePusherRenderMode;
|
|
369
|
-
static android_to_ts(value: $p_a.VeLivePusherRenderMode): VeLivePusherRenderMode;
|
|
370
|
-
static ts_to_ios(value: VeLivePusherRenderMode): $p_i.VeLivePusherRenderMode;
|
|
371
|
-
static ios_to_ts(value: $p_i.VeLivePusherRenderMode): VeLivePusherRenderMode;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/** {en}
|
|
375
|
-
* @detail keytype
|
|
376
|
-
* @brief The authentication method for the special effects license.
|
|
377
|
-
*/
|
|
378
|
-
export declare enum VeLiveVideoEffectLicenseType {
|
|
379
|
-
|
|
380
|
-
/** {en}
|
|
381
|
-
* @brief Authenticate offline.
|
|
382
|
-
*/
|
|
383
|
-
VeLiveVideoEffectLicenseTypeOffLine = 0,
|
|
384
|
-
|
|
385
|
-
/** {en}
|
|
386
|
-
* @brief Authenticate online.
|
|
387
|
-
*/
|
|
388
|
-
VeLiveVideoEffectLicenseTypeOnLine = 1
|
|
389
|
-
}
|
|
390
|
-
export declare class t_VeLiveVideoEffectLicenseType {
|
|
391
|
-
static ts_to_android(value: VeLiveVideoEffectLicenseType): $p_a.VeLiveVideoEffectLicenseType;
|
|
392
|
-
static android_to_ts(value: $p_a.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
|
|
393
|
-
static ts_to_ios(value: VeLiveVideoEffectLicenseType): $p_i.VeLiveVideoEffectLicenseType;
|
|
394
|
-
static ios_to_ts(value: $p_i.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
|
|
222
|
+
VeLiveVideoRotation270 = 3
|
|
395
223
|
}
|
|
396
224
|
|
|
397
|
-
|
|
398
|
-
* @detail keytype
|
|
399
|
-
* @brief The data type of the pushed audio.
|
|
400
|
-
*/
|
|
401
|
-
export declare enum VeLiveAudioBufferType {
|
|
402
|
-
|
|
403
|
-
/** {en}
|
|
404
|
-
* @brief Unknown data type.
|
|
405
|
-
*/
|
|
406
|
-
VeLiveAudioBufferTypeUnknown = 0,
|
|
407
|
-
|
|
408
|
-
/** {en}
|
|
409
|
-
* @platform android
|
|
410
|
-
* @brief ByteBuffer.
|
|
411
|
-
*/
|
|
412
|
-
VeLiveAudioBufferTypeByteBuffer = 1,
|
|
225
|
+
export declare enum VeLiveNetworkQuality {
|
|
413
226
|
|
|
414
|
-
|
|
415
|
-
* @platform ios
|
|
416
|
-
* @brief CMSampleBufferRef.
|
|
417
|
-
*/
|
|
418
|
-
VeLiveAudioBufferTypeSampleBuffer = 3,
|
|
227
|
+
VeLiveNetworkQualityUnknown = 0,
|
|
419
228
|
|
|
420
|
-
|
|
421
|
-
* @platform ios
|
|
422
|
-
* @brief NSData.
|
|
423
|
-
*/
|
|
424
|
-
VeLiveAudioBufferTypeNSData = 2
|
|
425
|
-
}
|
|
426
|
-
export declare class t_VeLiveAudioBufferType {
|
|
427
|
-
static ts_to_android(value: VeLiveAudioBufferType): $p_a.VeLiveAudioBufferType;
|
|
428
|
-
static android_to_ts(value: $p_a.VeLiveAudioBufferType): VeLiveAudioBufferType;
|
|
429
|
-
static ts_to_ios(value: VeLiveAudioBufferType): $p_i.VeLiveAudioBufferType;
|
|
430
|
-
static ios_to_ts(value: $p_i.VeLiveAudioBufferType): VeLiveAudioBufferType;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
/** {en}
|
|
434
|
-
* @detail keytype
|
|
435
|
-
* @brief The number of audio channels for streaming.
|
|
436
|
-
*/
|
|
437
|
-
export declare enum VeLiveAudioChannel {
|
|
229
|
+
VeLiveNetworkQualityBad = 1,
|
|
438
230
|
|
|
439
|
-
|
|
440
|
-
* @brief Mono, which is suitable for voice communication and saves bandwidth.
|
|
441
|
-
*/
|
|
442
|
-
VeLiveAudioChannelMono = 1,
|
|
231
|
+
VeLiveNetworkQualityPoor = 2,
|
|
443
232
|
|
|
444
|
-
|
|
445
|
-
* @brief Stereo, which provides a richer audio experience and is suitable for music playback.
|
|
446
|
-
*/
|
|
447
|
-
VeLiveAudioChannelStereo = 2
|
|
448
|
-
}
|
|
449
|
-
export declare class t_VeLiveAudioChannel {
|
|
450
|
-
static ts_to_android(value: VeLiveAudioChannel): $p_a.VeLiveAudioChannel;
|
|
451
|
-
static android_to_ts(value: $p_a.VeLiveAudioChannel): VeLiveAudioChannel;
|
|
452
|
-
static ts_to_ios(value: VeLiveAudioChannel): $p_i.VeLiveAudioChannel;
|
|
453
|
-
static ios_to_ts(value: $p_i.VeLiveAudioChannel): VeLiveAudioChannel;
|
|
233
|
+
VeLiveNetworkQualityGood = 3
|
|
454
234
|
}
|
|
455
235
|
|
|
456
|
-
|
|
457
|
-
* @detail keytype
|
|
458
|
-
* @brief The type of the first frame.
|
|
459
|
-
*/
|
|
460
|
-
export declare enum VeLiveFirstFrameType {
|
|
461
|
-
|
|
462
|
-
/** {en}
|
|
463
|
-
* @brief The first audio or video frame captured by the microphone or the camera.
|
|
464
|
-
*/
|
|
465
|
-
VeLiveFirstCaptureFrame = 0,
|
|
466
|
-
|
|
467
|
-
/** {en}
|
|
468
|
-
* @brief The first video frame rendered, which is the first frame displayed on the screen.
|
|
469
|
-
*/
|
|
470
|
-
VeLiveFirstRenderFrame = 1,
|
|
471
|
-
|
|
472
|
-
/** {en}
|
|
473
|
-
* @brief The first audio or video frame encoded in a certain format.
|
|
474
|
-
*/
|
|
475
|
-
VeLiveFirstEncodedFrame = 2,
|
|
476
|
-
|
|
477
|
-
/** {en}
|
|
478
|
-
* @brief The first audio or video frame transmitted through the network.
|
|
479
|
-
*/
|
|
480
|
-
VeLiveFirstSendFrame = 3,
|
|
236
|
+
export declare enum VeLiveAudioCaptureType {
|
|
481
237
|
|
|
482
|
-
|
|
483
|
-
* @platform ios
|
|
484
|
-
* @brief The first audio frame captured from the app after screen streaming starts.
|
|
485
|
-
*/
|
|
486
|
-
VeLiveFirstAppAudioCaptureFrame = 4
|
|
487
|
-
}
|
|
488
|
-
export declare class t_VeLiveFirstFrameType {
|
|
489
|
-
static ts_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
|
|
490
|
-
static android_to_ts(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
|
|
491
|
-
static ts_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
|
|
492
|
-
static ios_to_ts(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
/** {en}
|
|
496
|
-
* @detail keytype
|
|
497
|
-
* @hidden
|
|
498
|
-
* @brief The fluency level of the video.
|
|
499
|
-
*/
|
|
500
|
-
export declare enum VeLiveVideoFluencyLevel {
|
|
238
|
+
VeLiveAudioCaptureMicrophone = 0,
|
|
501
239
|
|
|
502
|
-
|
|
503
|
-
* @brief Smooth. The frame rate reaches the expected rate.
|
|
504
|
-
*/
|
|
505
|
-
VeLiveVideoFluencyLevelSmooth = 0,
|
|
240
|
+
VeLiveAudioCaptureVoiceCommunication = 1,
|
|
506
241
|
|
|
507
|
-
|
|
508
|
-
* @brief Minor freeze. The frame rate is 1 to 3 fps less than the expected rate.
|
|
509
|
-
*/
|
|
510
|
-
VeLiveVideoFluencyLevelSluggish = 1,
|
|
242
|
+
VeLiveAudioCaptureExternal = 3,
|
|
511
243
|
|
|
512
|
-
|
|
513
|
-
* @brief Severe freeze. The frame rate is 4 fps lower than the expected rate.
|
|
514
|
-
*/
|
|
515
|
-
VeLiveVideoFluencyLevelBlocked = 2,
|
|
244
|
+
VeLiveAudioCaptureMuteFrame = 4,
|
|
516
245
|
|
|
517
|
-
|
|
518
|
-
* @platform ios
|
|
519
|
-
* @brief Completely frozen. The frame rate is below 2 fps.
|
|
520
|
-
*/
|
|
521
|
-
VeLiveVideoFluencyLevelStuck = 3
|
|
522
|
-
}
|
|
523
|
-
export declare class t_VeLiveVideoFluencyLevel {
|
|
524
|
-
static ts_to_android(value: VeLiveVideoFluencyLevel): $p_a.VeLiveVideoFluencyLevel;
|
|
525
|
-
static android_to_ts(value: $p_a.VeLiveVideoFluencyLevel): VeLiveVideoFluencyLevel;
|
|
526
|
-
static ts_to_ios(value: VeLiveVideoFluencyLevel): $p_i.VeLiveVideoFluencyLevel;
|
|
527
|
-
static ios_to_ts(value: $p_i.VeLiveVideoFluencyLevel): VeLiveVideoFluencyLevel;
|
|
246
|
+
VeLiveAudioCaptureVoiceRecognition = 5
|
|
528
247
|
}
|
|
529
248
|
|
|
530
|
-
|
|
531
|
-
* @detail keytype
|
|
532
|
-
* @brief Video capture type.
|
|
533
|
-
*/
|
|
534
|
-
export declare enum VeLiveVideoCaptureType {
|
|
535
|
-
|
|
536
|
-
/** {en}
|
|
537
|
-
* @brief Capture the video with the front-facing camera.
|
|
538
|
-
*/
|
|
539
|
-
VeLiveVideoCaptureFrontCamera = 0,
|
|
249
|
+
export declare enum VeLiveVideoBufferType {
|
|
540
250
|
|
|
541
|
-
|
|
542
|
-
* @brief Capture the video with the rear camera.
|
|
543
|
-
*/
|
|
544
|
-
VeLiveVideoCaptureBackCamera = 1,
|
|
251
|
+
VeLiveVideoBufferTypeUnknown = 0,
|
|
545
252
|
|
|
546
|
-
|
|
547
|
-
* @brief Capture the video with dual cameras.
|
|
548
|
-
*/
|
|
549
|
-
VeLiveVideoCaptureDualCamera = 2,
|
|
253
|
+
VeLiveVideoBufferTypeTexture = 1,
|
|
550
254
|
|
|
551
|
-
|
|
552
|
-
* @platform android
|
|
553
|
-
* @brief Capture the screen.
|
|
554
|
-
*/
|
|
555
|
-
VeLiveVideoCaptureScreen = 3,
|
|
255
|
+
VeLiveVideoBufferTypeByteBuffer = 2,
|
|
556
256
|
|
|
557
|
-
|
|
558
|
-
* @brief Capture the video with an external device or source.
|
|
559
|
-
*/
|
|
560
|
-
VeLiveVideoCaptureExternal = 4,
|
|
257
|
+
VeLiveVideoBufferTypeByteArray = 3,
|
|
561
258
|
|
|
562
|
-
|
|
563
|
-
* @brief Use a static image as the video source.
|
|
564
|
-
*/
|
|
565
|
-
VeLiveVideoCaptureCustomImage = 5,
|
|
259
|
+
VeLiveVideoBufferTypePixelBuffer = 4,
|
|
566
260
|
|
|
567
|
-
|
|
568
|
-
* @brief Use the last frame as the video source.
|
|
569
|
-
*/
|
|
570
|
-
VeLiveVideoCaptureLastFrame = 6,
|
|
261
|
+
VeLiveVideoBufferTypeSampleBuffer = 5,
|
|
571
262
|
|
|
572
|
-
|
|
573
|
-
* @brief Use a black frame as the video source. This is usually used for debugging purposes or in special circumstances.
|
|
574
|
-
*/
|
|
575
|
-
VeLiveVideoCaptureDummyFrame = 7
|
|
576
|
-
}
|
|
577
|
-
export declare class t_VeLiveVideoCaptureType {
|
|
578
|
-
static ts_to_android(value: VeLiveVideoCaptureType): $p_a.VeLiveVideoCaptureType;
|
|
579
|
-
static android_to_ts(value: $p_a.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
|
|
580
|
-
static ts_to_ios(value: VeLiveVideoCaptureType): $p_i.VeLiveVideoCaptureType;
|
|
581
|
-
static ios_to_ts(value: $p_i.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
|
|
263
|
+
VeLiveVideoBufferTypeNSData = 6
|
|
582
264
|
}
|
|
583
265
|
|
|
584
|
-
|
|
585
|
-
* @platform android
|
|
586
|
-
* @detail keytype
|
|
587
|
-
* @brief The enumeration type of camera configurations.
|
|
588
|
-
*/
|
|
589
|
-
export declare enum VeLiveVideoProfile {
|
|
590
|
-
|
|
591
|
-
/** {en}
|
|
592
|
-
* @platform android
|
|
593
|
-
* @brief Unknown codec.
|
|
594
|
-
*/
|
|
595
|
-
VeLiveVideoProfileUnknown = 0,
|
|
266
|
+
export declare enum VeLiveOrientation {
|
|
596
267
|
|
|
597
|
-
|
|
598
|
-
* @platform android
|
|
599
|
-
* @brief H.264, using Baseline level.
|
|
600
|
-
*/
|
|
601
|
-
VeLiveVideoProfileH264Baseline = 1,
|
|
268
|
+
VeLiveOrientationLandscape = 0,
|
|
602
269
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
* @
|
|
270
|
+
VeLiveOrientationPortrait = 1,
|
|
271
|
+
/**
|
|
272
|
+
* @platform ios
|
|
606
273
|
*/
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
* @platform android
|
|
611
|
-
* @brief H.264, using High level.
|
|
274
|
+
UIInterfaceOrientationUnknown = 2,
|
|
275
|
+
/**
|
|
276
|
+
* @platform ios
|
|
612
277
|
*/
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
* @platform android
|
|
617
|
-
* @brief ByteVC1, using Main level.
|
|
278
|
+
UIInterfaceOrientationPortraitUpsideDown = 3,
|
|
279
|
+
/**
|
|
280
|
+
* @platform ios
|
|
618
281
|
*/
|
|
619
|
-
|
|
620
|
-
}
|
|
621
|
-
export declare class t_VeLiveVideoProfile {
|
|
622
|
-
static ts_to_android(value: VeLiveVideoProfile): $p_a.VeLiveVideoProfile;
|
|
623
|
-
static android_to_ts(value: $p_a.VeLiveVideoProfile): VeLiveVideoProfile;
|
|
624
|
-
static ts_to_ios(value: VeLiveVideoProfile): never;
|
|
625
|
-
static ios_to_ts(value: unknown): never;
|
|
282
|
+
UIInterfaceOrientationLandscapeRight = 4
|
|
626
283
|
}
|
|
627
284
|
|
|
628
|
-
|
|
629
|
-
* @detail keytype
|
|
630
|
-
* @brief The rotation angle of the video frame relative to the app.
|
|
631
|
-
*/
|
|
632
|
-
export declare enum VeLiveVideoRotation {
|
|
633
|
-
|
|
634
|
-
/** {en}
|
|
635
|
-
* @brief Do not rotate.
|
|
636
|
-
*/
|
|
637
|
-
VeLiveVideoRotation0 = 0,
|
|
638
|
-
|
|
639
|
-
/** {en}
|
|
640
|
-
* @brief Rotate by 90 degrees clockwise.
|
|
641
|
-
*/
|
|
642
|
-
VeLiveVideoRotation90 = 1,
|
|
285
|
+
export declare enum VeLivePusherStatus {
|
|
643
286
|
|
|
644
|
-
|
|
645
|
-
* @brief Rotate by 180 degrees clockwise.
|
|
646
|
-
*/
|
|
647
|
-
VeLiveVideoRotation180 = 2,
|
|
287
|
+
VeLivePushStatusNone = 0,
|
|
648
288
|
|
|
649
|
-
|
|
650
|
-
* @brief Rotate by 270 degrees clockwise.
|
|
651
|
-
*/
|
|
652
|
-
VeLiveVideoRotation270 = 3
|
|
653
|
-
}
|
|
654
|
-
export declare class t_VeLiveVideoRotation {
|
|
655
|
-
static ts_to_android(value: VeLiveVideoRotation): $p_a.VeLiveVideoRotation;
|
|
656
|
-
static android_to_ts(value: $p_a.VeLiveVideoRotation): VeLiveVideoRotation;
|
|
657
|
-
static ts_to_ios(value: VeLiveVideoRotation): $p_i.VeLiveVideoRotation;
|
|
658
|
-
static ios_to_ts(value: $p_i.VeLiveVideoRotation): VeLiveVideoRotation;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/** {en}
|
|
662
|
-
* @detail keytype
|
|
663
|
-
* @brief The source of the video frame.
|
|
664
|
-
*/
|
|
665
|
-
export declare enum VeLiveVideoFrameSource {
|
|
289
|
+
VeLivePushStatusConnecting = 1,
|
|
666
290
|
|
|
667
|
-
|
|
668
|
-
* @brief The original video frame captured by the camera or other video sources.
|
|
669
|
-
*/
|
|
670
|
-
VeLiveVideoFrameSourceCapture = "1<<0",
|
|
291
|
+
VeLivePushStatusConnectSuccess = 2,
|
|
671
292
|
|
|
672
|
-
|
|
673
|
-
* @brief The video frame to be encoded after undergoing various processes, such as filtering and rotation.
|
|
674
|
-
*/
|
|
675
|
-
VeLiveVideoFrameSourcePreEncode = "1<<1"
|
|
676
|
-
}
|
|
677
|
-
export declare class t_VeLiveVideoFrameSource {
|
|
678
|
-
static ts_to_android(value: VeLiveVideoFrameSource): $p_a.VeLiveVideoFrameSource;
|
|
679
|
-
static android_to_ts(value: $p_a.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
|
|
680
|
-
static ts_to_ios(value: VeLiveVideoFrameSource): $p_i.VeLiveVideoFrameSource;
|
|
681
|
-
static ios_to_ts(value: $p_i.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
/** {en}
|
|
685
|
-
* @detail keytype
|
|
686
|
-
* @brief AAC encoding format.
|
|
687
|
-
*/
|
|
688
|
-
export declare enum VeLiveAudioProfile {
|
|
293
|
+
VeLivePushStatusReconnecting = 3,
|
|
689
294
|
|
|
690
|
-
|
|
691
|
-
* @brief LC-AAC.
|
|
692
|
-
*/
|
|
693
|
-
VeLiveAudioAACProfileLC = 0,
|
|
295
|
+
VeLivePushStatusConnectStop = 4,
|
|
694
296
|
|
|
695
|
-
|
|
696
|
-
* @brief HEv1-AAC.
|
|
697
|
-
*/
|
|
698
|
-
VeLiveAudioAACProfileHEv1 = 1,
|
|
297
|
+
VeLivePushStatusConnectError = 5,
|
|
699
298
|
|
|
700
|
-
|
|
701
|
-
* @brief HEv2-AAC.
|
|
702
|
-
*/
|
|
703
|
-
VeLiveAudioAACProfileHEv2 = 2
|
|
704
|
-
}
|
|
705
|
-
export declare class t_VeLiveAudioProfile {
|
|
706
|
-
static ts_to_android(value: VeLiveAudioProfile): $p_a.VeLiveAudioProfile;
|
|
707
|
-
static android_to_ts(value: $p_a.VeLiveAudioProfile): VeLiveAudioProfile;
|
|
708
|
-
static ts_to_ios(value: VeLiveAudioProfile): $p_i.VeLiveAudioProfile;
|
|
709
|
-
static ios_to_ts(value: $p_i.VeLiveAudioProfile): VeLiveAudioProfile;
|
|
299
|
+
VeLivePushStatusDisconnected = 6
|
|
710
300
|
}
|
|
711
301
|
|
|
712
|
-
|
|
713
|
-
* @detail keytype
|
|
714
|
-
* @brief The data type of the video.
|
|
715
|
-
*/
|
|
716
|
-
export declare enum VeLiveVideoBufferType {
|
|
717
|
-
|
|
718
|
-
/** {en}
|
|
719
|
-
* @brief Unknown data type, which is the default type if you do not specify any type.
|
|
720
|
-
*/
|
|
721
|
-
VeLiveVideoBufferTypeUnknown = 0,
|
|
722
|
-
|
|
723
|
-
/** {en}
|
|
724
|
-
* @brief OpenGL texture.
|
|
725
|
-
*/
|
|
726
|
-
VeLiveVideoBufferTypeTexture = 1,
|
|
727
|
-
|
|
728
|
-
/** {en}
|
|
729
|
-
* @platform android
|
|
730
|
-
* @brief ByteBuffer.
|
|
731
|
-
*/
|
|
732
|
-
VeLiveVideoBufferTypeByteBuffer = 2,
|
|
733
|
-
|
|
734
|
-
/** {en}
|
|
735
|
-
* @platform android
|
|
736
|
-
* @brief ByteArray.
|
|
737
|
-
*/
|
|
738
|
-
VeLiveVideoBufferTypeByteArray = 3,
|
|
739
|
-
|
|
740
|
-
/** {en}
|
|
741
|
-
* @platform ios
|
|
742
|
-
* @brief CVPixelBuffer.
|
|
743
|
-
*/
|
|
744
|
-
VeLiveVideoBufferTypePixelBuffer = 5,
|
|
302
|
+
export declare enum VeLiveAudioPowerLevel {
|
|
745
303
|
|
|
746
|
-
|
|
747
|
-
* @platform ios
|
|
748
|
-
* @brief CMSampleBufferRef.
|
|
749
|
-
*/
|
|
750
|
-
VeLiveVideoBufferTypeSampleBuffer = 6,
|
|
304
|
+
VeLiveAudioPowerLevelNoise = 6,
|
|
751
305
|
|
|
752
|
-
|
|
753
|
-
* @platform ios
|
|
754
|
-
* @brief NSData.
|
|
755
|
-
*/
|
|
756
|
-
VeLiveVideoBufferTypeNSData = 7
|
|
757
|
-
}
|
|
758
|
-
export declare class t_VeLiveVideoBufferType {
|
|
759
|
-
static ts_to_android(value: VeLiveVideoBufferType): $p_a.VeLiveVideoBufferType;
|
|
760
|
-
static android_to_ts(value: $p_a.VeLiveVideoBufferType): VeLiveVideoBufferType;
|
|
761
|
-
static ts_to_ios(value: VeLiveVideoBufferType): $p_i.VeLiveVideoBufferType;
|
|
762
|
-
static ios_to_ts(value: $p_i.VeLiveVideoBufferType): VeLiveVideoBufferType;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/** {en}
|
|
766
|
-
* @detail keytype
|
|
767
|
-
* @brief The audio capture configurations.
|
|
768
|
-
*/
|
|
769
|
-
export declare class VeLiveAudioCaptureConfiguration {
|
|
770
|
-
protected _instance: any;
|
|
771
|
-
protected __init(...args: any[]): void;
|
|
772
|
-
protected __new_instance(...args: any[]): $p_a.VeLiveAudioCaptureConfiguration | $p_i.VeLiveAudioCaptureConfiguration;
|
|
306
|
+
VeLiveAudioPowerLevelSilent = 0,
|
|
773
307
|
|
|
774
|
-
|
|
775
|
-
* @detail api
|
|
776
|
-
* @brief Gets the sample rate.
|
|
777
|
-
* @return <br>
|
|
778
|
-
* The sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
779
|
-
*/
|
|
780
|
-
getSampleRate(): VeLiveAudioSampleRate;
|
|
308
|
+
VeLiveAudioPowerLevelQuiet = 1,
|
|
781
309
|
|
|
782
|
-
|
|
783
|
-
* @detail api
|
|
784
|
-
* @brief Sets the sample rate.
|
|
785
|
-
* @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
|
|
786
|
-
* @param sampleRate The sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
787
|
-
*/
|
|
788
|
-
setSampleRate(sampleRate: VeLiveAudioSampleRate): VeLiveAudioCaptureConfiguration;
|
|
310
|
+
VeLiveAudioPowerLevelLight = 2,
|
|
789
311
|
|
|
790
|
-
|
|
791
|
-
* @detail api
|
|
792
|
-
* @brief Gets the number of audio channels.
|
|
793
|
-
* @return <br>
|
|
794
|
-
* The number of audio channels. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
795
|
-
*/
|
|
796
|
-
getChannel(): VeLiveAudioChannel;
|
|
312
|
+
VeLiveAudioPowerLevelNormal = 3,
|
|
797
313
|
|
|
798
|
-
|
|
799
|
-
* @detail api
|
|
800
|
-
* @brief Sets the number of audio channels.
|
|
801
|
-
* @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
|
|
802
|
-
* @param channel The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
803
|
-
*/
|
|
804
|
-
setChannel(channel: VeLiveAudioChannel): VeLiveAudioCaptureConfiguration;
|
|
314
|
+
VeLiveAudioPowerLevelLoud = 4
|
|
805
315
|
}
|
|
806
316
|
|
|
807
|
-
|
|
808
|
-
* @detail keytype
|
|
809
|
-
* @brief The configurations for audio and video mixing.
|
|
810
|
-
*/
|
|
811
|
-
export declare class VeLiveStreamMixDescription {
|
|
812
|
-
protected _instance: any;
|
|
813
|
-
protected __init(...args: any[]): void;
|
|
814
|
-
protected __new_instance(...args: any[]): $p_a.VeLiveStreamMixDescription | $p_i.VeLiveStreamMixDescription;
|
|
815
|
-
|
|
816
|
-
/** {en}
|
|
817
|
-
* @brief An array of video mixing configurations, where each array element represents the mixing configurations of a video stream. See VeLiveMixVideoLayout {@link #VeLiveMixVideoLayout} for details.
|
|
818
|
-
*/
|
|
819
|
-
get mixVideoStreams(): Array<VeLiveMixVideoLayout>;
|
|
820
|
-
set mixVideoStreams(value: Array<VeLiveMixVideoLayout>);
|
|
317
|
+
export declare enum VeLivePixelFormat {
|
|
821
318
|
|
|
822
|
-
|
|
823
|
-
* @brief An array of audio mixing configurations, where each array element represents the mixing configurations of an audio stream. See VeLiveMixAudioLayout for details.
|
|
824
|
-
*/
|
|
825
|
-
get mixAudioStreams(): Array<VeLiveMixAudioLayout>;
|
|
826
|
-
set mixAudioStreams(value: Array<VeLiveMixAudioLayout>);
|
|
319
|
+
VeLivePixelFormatUnknown = 0,
|
|
827
320
|
|
|
828
|
-
|
|
829
|
-
* @brief The background color of the mixed video, in #RRGGBB format.
|
|
830
|
-
*/
|
|
831
|
-
get backgroundColor(): string;
|
|
832
|
-
set backgroundColor(value: string);
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
/** {en}
|
|
836
|
-
* @detail keytype
|
|
837
|
-
* @brief The sample rate of the pushed audio.
|
|
838
|
-
*/
|
|
839
|
-
export declare enum VeLiveAudioSampleRate {
|
|
321
|
+
VeLivePixelFormatI420 = 1,
|
|
840
322
|
|
|
841
|
-
|
|
842
|
-
* @platform android
|
|
843
|
-
* @brief 8K.
|
|
844
|
-
*/
|
|
845
|
-
VeLiveAudioSampleRate8000 = 8000,
|
|
323
|
+
VeLivePixelFormatNV12 = 2,
|
|
846
324
|
|
|
847
|
-
|
|
848
|
-
* @platform android
|
|
849
|
-
* @brief 16K.
|
|
850
|
-
*/
|
|
851
|
-
VeLiveAudioSampleRate16000 = 16000,
|
|
325
|
+
VeLivePixelFormatNV21 = 3,
|
|
852
326
|
|
|
853
|
-
|
|
854
|
-
* @platform android
|
|
855
|
-
* @brief 32K.
|
|
856
|
-
*/
|
|
857
|
-
VeLiveAudioSampleRate32000 = 32000,
|
|
327
|
+
VeLivePixelFormat2DTexture = 4,
|
|
858
328
|
|
|
859
|
-
|
|
860
|
-
* @brief 44.1K.
|
|
861
|
-
*/
|
|
862
|
-
VeLiveAudioSampleRate44100 = 44100,
|
|
329
|
+
VeLivePixelFormatOesTexture = 5,
|
|
863
330
|
|
|
864
|
-
|
|
865
|
-
* @platform android
|
|
866
|
-
* @brief 48K.
|
|
867
|
-
*/
|
|
868
|
-
VeLiveAudioSampleRate48000 = 48000
|
|
869
|
-
}
|
|
870
|
-
export declare class t_VeLiveAudioSampleRate {
|
|
871
|
-
static ts_to_android(value: VeLiveAudioSampleRate): $p_a.VeLiveAudioSampleRate;
|
|
872
|
-
static android_to_ts(value: $p_a.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
|
|
873
|
-
static ts_to_ios(value: VeLiveAudioSampleRate): $p_i.VeLiveAudioSampleRate;
|
|
874
|
-
static ios_to_ts(value: $p_i.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
|
|
331
|
+
VeLivePixelFormatBGRA32 = 6
|
|
875
332
|
}
|
|
876
333
|
|
|
877
|
-
|
|
878
|
-
* @detail keytype
|
|
879
|
-
* @brief The volume level.
|
|
880
|
-
*/
|
|
881
|
-
export declare enum VeLiveAudioPowerLevel {
|
|
882
|
-
|
|
883
|
-
/** {en}
|
|
884
|
-
* @brief Muted. The volume is 1 dB or less.
|
|
885
|
-
*/
|
|
886
|
-
VeLiveAudioPowerLevelSilent = 0,
|
|
887
|
-
|
|
888
|
-
/** {en}
|
|
889
|
-
* @brief Quiet. The volume is below 15 dB.
|
|
890
|
-
*/
|
|
891
|
-
VeLiveAudioPowerLevelQuiet = 1,
|
|
334
|
+
export declare enum VeLivePusherLogLevel {
|
|
892
335
|
|
|
893
|
-
|
|
894
|
-
* @brief Soft, close to whisper. The volume is between 16 dB and 30 dB.
|
|
895
|
-
*/
|
|
896
|
-
VeLiveAudioPowerLevelLight = 2,
|
|
336
|
+
VeLivePusherLogLevelVerbose = 0,
|
|
897
337
|
|
|
898
|
-
|
|
899
|
-
* @brief Normal, similar to the volume in a daily conversation. The volume is between 30 dB and 60 dB.
|
|
900
|
-
*/
|
|
901
|
-
VeLiveAudioPowerLevelNormal = 3,
|
|
338
|
+
VeLivePusherLogLevelDebug = 1,
|
|
902
339
|
|
|
903
|
-
|
|
904
|
-
* @brief Loud, similar to the volume of the noise at cafes. The volume is between 61 dB and 85 dB.
|
|
905
|
-
*/
|
|
906
|
-
VeLiveAudioPowerLevelLoud = 4,
|
|
340
|
+
VeLivePusherLogLevelInfo = 2,
|
|
907
341
|
|
|
908
|
-
|
|
909
|
-
* @brief Noisy, similar to the volume of the noise on a busy street or at a concert. The volume is higher than 85 dB.
|
|
910
|
-
*/
|
|
911
|
-
VeLiveAudioPowerLevelNoise = 6
|
|
912
|
-
}
|
|
913
|
-
export declare class t_VeLiveAudioPowerLevel {
|
|
914
|
-
static ts_to_android(value: VeLiveAudioPowerLevel): $p_a.VeLiveAudioPowerLevel;
|
|
915
|
-
static android_to_ts(value: $p_a.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
|
|
916
|
-
static ts_to_ios(value: VeLiveAudioPowerLevel): $p_i.VeLiveAudioPowerLevel;
|
|
917
|
-
static ios_to_ts(value: $p_i.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
/** {en}
|
|
921
|
-
* @detail keytype
|
|
922
|
-
* @brief The video capture configurations.
|
|
923
|
-
*/
|
|
924
|
-
export declare class VeLiveVideoCaptureConfiguration {
|
|
925
|
-
protected _instance: any;
|
|
926
|
-
protected __init(...args: any[]): void;
|
|
927
|
-
protected __new_instance(...args: any[]): $p_a.VeLiveVideoCaptureConfiguration | $p_i.VeLiveVideoCaptureConfiguration;
|
|
342
|
+
VeLivePusherLogLevelWarn = 3,
|
|
928
343
|
|
|
929
|
-
|
|
930
|
-
* @hidden
|
|
931
|
-
* @platform ios
|
|
932
|
-
* @brief The pixel format. The default format is kCVPixelFormatType_420YpCbCr8BiPlanarFullRange.
|
|
933
|
-
* @note The following formats are supported:
|
|
934
|
-
* - kCVPixelFormatType_32BGRA
|
|
935
|
-
* - kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
|
|
936
|
-
* - kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
|
|
937
|
-
* - kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange
|
|
938
|
-
*/
|
|
939
|
-
get ios_pixelFormat(): $p_i.OSType;
|
|
940
|
-
/**
|
|
941
|
-
* @hidden
|
|
942
|
-
*/
|
|
943
|
-
set ios_pixelFormat(value: $p_i.OSType);
|
|
344
|
+
VeLivePusherLogLevelError = 4,
|
|
944
345
|
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
*/
|
|
951
|
-
getWidth(): number;
|
|
346
|
+
VeLivePusherLogLevelNone = 5
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export declare class VeLiveVideoEncoderConfiguration {
|
|
350
|
+
protected _instance: any;
|
|
952
351
|
|
|
953
352
|
/** {en}
|
|
954
|
-
* @
|
|
955
|
-
* @brief
|
|
956
|
-
* @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
|
|
957
|
-
* @param width The width of the captured video. The default value is `720`.
|
|
353
|
+
* @platform ios
|
|
354
|
+
* @brief The video resolution. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details. The default value is `VeLiveVideoResolution720P`.
|
|
958
355
|
*/
|
|
959
|
-
|
|
356
|
+
get ios_resolution(): $p_i.VeLiveVideoResolution;
|
|
357
|
+
set ios_resolution(value: $p_i.VeLiveVideoResolution);
|
|
358
|
+
protected __init(...args: any[]): void;
|
|
359
|
+
protected __new_instance(...args: any[]): any;
|
|
960
360
|
|
|
961
361
|
/** {en}
|
|
962
362
|
* @detail api
|
|
963
|
-
* @brief
|
|
363
|
+
* @brief Sets the video resolution.
|
|
364
|
+
* @param resolution The video resolution. The default value is `VeLiveVideoResolution720P`. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
|
|
964
365
|
* @return <br>
|
|
965
|
-
* The
|
|
366
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
367
|
+
*
|
|
966
368
|
*/
|
|
967
|
-
|
|
369
|
+
initWithResolution(resolution: VeLiveVideoResolution): this;
|
|
968
370
|
|
|
969
371
|
/** {en}
|
|
970
372
|
* @detail api
|
|
971
|
-
* @brief Sets the
|
|
972
|
-
* @return
|
|
973
|
-
* @param
|
|
373
|
+
* @brief Sets the video codec.
|
|
374
|
+
* @return The video encoding configurations. See [VeLiveVideoEncoderConfiguration](broadcast-sdk-for-android-type-definition#VeLiveVideoEncoderConfiguration) for details.
|
|
375
|
+
* @param codec <br>The video codec. See [VeLiveVideoCodec](broadcast-sdk-for-android-type-definition#VeLiveVideoCodec) for details.
|
|
376
|
+
*
|
|
974
377
|
*/
|
|
975
|
-
|
|
378
|
+
setCodec(codec: VeLiveVideoCodec): this;
|
|
976
379
|
|
|
977
380
|
/** {en}
|
|
978
381
|
* @detail api
|
|
979
|
-
* @brief
|
|
382
|
+
* @brief Sets the encoded video bitrate.
|
|
383
|
+
* @param bitrate The encoded video bitrate, in Kbps. The default value depends on the value of the `resolution` parameter.
|
|
980
384
|
* @return <br>
|
|
981
|
-
* The
|
|
385
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
386
|
+
*
|
|
982
387
|
*/
|
|
983
|
-
|
|
388
|
+
setBitrate(bitrate: number): this;
|
|
984
389
|
|
|
985
390
|
/** {en}
|
|
986
391
|
* @detail api
|
|
987
|
-
* @brief Sets the
|
|
988
|
-
* @
|
|
989
|
-
* @
|
|
392
|
+
* @brief Sets the minimum encoded video bitrate.
|
|
393
|
+
* @param minBitrate The minimum encoded video bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
|
|
394
|
+
* @return <br>
|
|
395
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
396
|
+
*
|
|
990
397
|
*/
|
|
991
|
-
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/** {en}
|
|
995
|
-
* @detail keytype
|
|
996
|
-
* @brief The data format of the video frame.
|
|
997
|
-
*/
|
|
998
|
-
export declare enum VeLivePixelFormat {
|
|
398
|
+
setMinBitrate(minBitrate: number): this;
|
|
999
399
|
|
|
1000
400
|
/** {en}
|
|
1001
|
-
* @
|
|
401
|
+
* @detail api
|
|
402
|
+
* @brief Sets the maximum encoded video bitrate.
|
|
403
|
+
* @param maxBitrate The maximum video encoding bitrate, in Kbps, when the adaptive bitrate (ABR) feature is enabled. The default value depends on the value of the `resolution` parameter.
|
|
404
|
+
* @return <br>
|
|
405
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
406
|
+
*
|
|
1002
407
|
*/
|
|
1003
|
-
|
|
408
|
+
setMaxBitrate(maxBitrate: number): this;
|
|
1004
409
|
|
|
1005
410
|
/** {en}
|
|
1006
|
-
* @
|
|
411
|
+
* @detail api
|
|
412
|
+
* @brief Sets the encoded video GOP size.
|
|
413
|
+
* @param gopSize The encoded video GOP size, in seconds. The default value is `2`.
|
|
414
|
+
* @return <br>
|
|
415
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
416
|
+
*
|
|
1007
417
|
*/
|
|
1008
|
-
|
|
418
|
+
setGopSize(gopSize: number): this;
|
|
1009
419
|
|
|
1010
420
|
/** {en}
|
|
1011
|
-
* @
|
|
421
|
+
* @detail api
|
|
422
|
+
* @brief Sets the encoded frame rate.
|
|
423
|
+
* @param fps The encoded frame rate, in fps. The default value is `15`.
|
|
424
|
+
* @return <br>
|
|
425
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
426
|
+
*
|
|
1012
427
|
*/
|
|
1013
|
-
|
|
428
|
+
setFps(fps: number): this;
|
|
1014
429
|
|
|
1015
430
|
/** {en}
|
|
1016
|
-
* @
|
|
431
|
+
* @detail api
|
|
432
|
+
* @brief Sets whether to enable B frames.
|
|
433
|
+
* @param enableBFrame Whether to enable B frames. <br>
|
|
434
|
+
* - true: Enable;
|
|
435
|
+
* - false: (Default) Disable.
|
|
436
|
+
* @return <br>
|
|
437
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
438
|
+
*
|
|
1017
439
|
*/
|
|
1018
|
-
|
|
440
|
+
setEnableBFrame(enableBFrame: boolean): this;
|
|
1019
441
|
|
|
1020
442
|
/** {en}
|
|
1021
|
-
* @
|
|
443
|
+
* @detail api
|
|
444
|
+
* @brief Enables hardware encoding.
|
|
445
|
+
* @param enableAccelerate Whether to enable hardware encoding. <br>
|
|
446
|
+
* - true: (Default) Enable;
|
|
447
|
+
* - false: Disable.
|
|
448
|
+
* @return <br>
|
|
449
|
+
* The video encoding configurations. See VeLiveVideoEncoderConfiguration {@link #VeLiveVideoEncoderConfiguration} for details.
|
|
450
|
+
*
|
|
1022
451
|
*/
|
|
1023
|
-
|
|
452
|
+
setEnableAccelerate(enableAccelerate: boolean): this;
|
|
1024
453
|
|
|
1025
454
|
/** {en}
|
|
1026
455
|
* @platform android
|
|
1027
|
-
* @
|
|
456
|
+
* @detail api
|
|
457
|
+
* @brief Gets the video resolution.
|
|
458
|
+
* @return <br>
|
|
459
|
+
* The video resolution. See VeLiveVideoResolution {@link #VeLiveVideoResolution} for details.
|
|
460
|
+
*
|
|
1028
461
|
*/
|
|
1029
|
-
|
|
462
|
+
android_getResolution(): $p_a.VeLiveVideoResolution;
|
|
1030
463
|
|
|
1031
464
|
/** {en}
|
|
1032
|
-
* @platform
|
|
1033
|
-
* @
|
|
465
|
+
* @platform android
|
|
466
|
+
* @detail api
|
|
467
|
+
* @brief Gets the video codec.
|
|
468
|
+
* @return <br>
|
|
469
|
+
* The video codec. See VeLiveVideoCodec {@link #VeLiveVideoCodec} for details.
|
|
470
|
+
*
|
|
1034
471
|
*/
|
|
1035
|
-
|
|
1036
|
-
}
|
|
1037
|
-
export declare class t_VeLivePixelFormat {
|
|
1038
|
-
static ts_to_android(value: VeLivePixelFormat): $p_a.VeLivePixelFormat;
|
|
1039
|
-
static android_to_ts(value: $p_a.VeLivePixelFormat): VeLivePixelFormat;
|
|
1040
|
-
static ts_to_ios(value: VeLivePixelFormat): $p_i.VeLivePixelFormat;
|
|
1041
|
-
static ios_to_ts(value: $p_i.VeLivePixelFormat): VeLivePixelFormat;
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
/** {en}
|
|
1045
|
-
* @detail keytype
|
|
1046
|
-
* @brief The connection state between the live pusher and the server.
|
|
1047
|
-
*/
|
|
1048
|
-
export declare enum VeLivePusherStatus {
|
|
472
|
+
android_getCodec(): $p_a.VeLiveVideoCodec;
|
|
1049
473
|
|
|
1050
474
|
/** {en}
|
|
1051
|
-
* @
|
|
475
|
+
* @platform android
|
|
476
|
+
* @detail api
|
|
477
|
+
* @brief Get the encoded video bitrate.
|
|
478
|
+
* @return <br>
|
|
479
|
+
* The encoded video bitrate.
|
|
480
|
+
*
|
|
1052
481
|
*/
|
|
1053
|
-
|
|
482
|
+
android_getBitrate(): number;
|
|
1054
483
|
|
|
1055
484
|
/** {en}
|
|
1056
|
-
* @
|
|
485
|
+
* @platform android
|
|
486
|
+
* @detail api
|
|
487
|
+
* @brief Gets the minimum encoded video bitrate.
|
|
488
|
+
* @return <br>
|
|
489
|
+
* The minimum encoded video bitrate.
|
|
490
|
+
*
|
|
1057
491
|
*/
|
|
1058
|
-
|
|
492
|
+
android_getMinBitrate(): number;
|
|
1059
493
|
|
|
1060
494
|
/** {en}
|
|
1061
|
-
* @
|
|
495
|
+
* @platform android
|
|
496
|
+
* @detail api
|
|
497
|
+
* @brief Gets the maximum encoded video bitrate.
|
|
498
|
+
* @return <br>
|
|
499
|
+
* The maximum encoded video bitrate.
|
|
500
|
+
*
|
|
1062
501
|
*/
|
|
1063
|
-
|
|
502
|
+
android_getMaxBitrate(): number;
|
|
1064
503
|
|
|
1065
504
|
/** {en}
|
|
1066
|
-
* @
|
|
505
|
+
* @platform android
|
|
506
|
+
* @detail api
|
|
507
|
+
* @brief Gets the encoded video GOP size.
|
|
508
|
+
* @return <br>
|
|
509
|
+
* The encoded video GOP size.
|
|
510
|
+
*
|
|
1067
511
|
*/
|
|
1068
|
-
|
|
512
|
+
android_getGopSize(): number;
|
|
1069
513
|
|
|
1070
514
|
/** {en}
|
|
1071
|
-
* @
|
|
515
|
+
* @platform android
|
|
516
|
+
* @detail api
|
|
517
|
+
* @brief Gets the encoded frame rate.
|
|
518
|
+
* @return <br>
|
|
519
|
+
* The encoded frame rate.
|
|
520
|
+
*
|
|
1072
521
|
*/
|
|
1073
|
-
|
|
522
|
+
android_getFps(): number;
|
|
1074
523
|
|
|
1075
524
|
/** {en}
|
|
1076
|
-
* @
|
|
525
|
+
* @platform android
|
|
526
|
+
* @detail api
|
|
527
|
+
* @brief Gets whether to enable B frames.
|
|
528
|
+
* @return <br>
|
|
529
|
+
* Whether to enable B frames. <br>
|
|
530
|
+
* - true: Enable;
|
|
531
|
+
* - false: Disable.
|
|
532
|
+
*
|
|
1077
533
|
*/
|
|
1078
|
-
|
|
534
|
+
android_isEnableBFrame(): boolean;
|
|
1079
535
|
|
|
1080
536
|
/** {en}
|
|
1081
|
-
* @
|
|
537
|
+
* @platform android
|
|
538
|
+
* @detail api
|
|
539
|
+
* @brief Gets whether to enable hardware encoding.
|
|
540
|
+
* @return <br>
|
|
541
|
+
* Whether to enable hardware encoding. <br>
|
|
542
|
+
* - true: Enable;
|
|
543
|
+
* - false: Disable.
|
|
544
|
+
*
|
|
1082
545
|
*/
|
|
1083
|
-
|
|
1084
|
-
}
|
|
1085
|
-
export declare class t_VeLivePusherStatus {
|
|
1086
|
-
static ts_to_android(value: VeLivePusherStatus): $p_a.VeLivePusherStatus;
|
|
1087
|
-
static android_to_ts(value: $p_a.VeLivePusherStatus): VeLivePusherStatus;
|
|
1088
|
-
static ts_to_ios(value: VeLivePusherStatus): $p_i.VeLivePushStatus;
|
|
1089
|
-
static ios_to_ts(value: $p_i.VeLivePushStatus): VeLivePusherStatus;
|
|
546
|
+
android_isEnableAccelerate(): boolean;
|
|
1090
547
|
}
|
|
1091
548
|
|
|
1092
|
-
|
|
1093
|
-
* @detail keytype
|
|
1094
|
-
* @brief The video resolution with a set of predefined configurations.
|
|
1095
|
-
*/
|
|
1096
|
-
export declare enum VeLiveVideoResolution {
|
|
1097
|
-
|
|
1098
|
-
/** {en}
|
|
1099
|
-
* @brief 360P.
|
|
1100
|
-
* - Resolution in landscape mode: 640x360
|
|
1101
|
-
* - Resolution in portrait mode: 360x640
|
|
1102
|
-
* - Frame rate: 15 fps
|
|
1103
|
-
* - Target bitrate: 500 Kbps
|
|
1104
|
-
* - Minimum bitrate: 250 Kbps
|
|
1105
|
-
* - Maximum bitrate: 800 Kbps
|
|
1106
|
-
*/
|
|
1107
|
-
VeLiveVideoResolution360P = 0,
|
|
1108
|
-
|
|
1109
|
-
/** {en}
|
|
1110
|
-
* @brief 480P.
|
|
1111
|
-
* - Resolution in landscape mode: 864x480
|
|
1112
|
-
* - Resolution in portrait mode: 480x864
|
|
1113
|
-
* - Frame rate: 15 fps
|
|
1114
|
-
* - Target bitrate: 800 Kbps
|
|
1115
|
-
* - Minimum bitrate: 320 Kbps
|
|
1116
|
-
* - Maximum bitrate: 1266 Kbps
|
|
1117
|
-
*/
|
|
1118
|
-
VeLiveVideoResolution480P = 1,
|
|
1119
|
-
|
|
1120
|
-
/** {en}
|
|
1121
|
-
* @brief 540P.
|
|
1122
|
-
* - Resolution in landscape mode: 960x540
|
|
1123
|
-
* - Resolution in portrait mode: 540x960
|
|
1124
|
-
* - Frame rate: 15 fps
|
|
1125
|
-
* - Target bitrate: 1000 Kbps
|
|
1126
|
-
* - Minimum bitrate: 500 Kbps
|
|
1127
|
-
* - Maximum bitrate: 1520 Kbps
|
|
1128
|
-
*/
|
|
1129
|
-
VeLiveVideoResolution540P = 2,
|
|
1130
|
-
|
|
1131
|
-
/** {en}
|
|
1132
|
-
* @brief 720P.
|
|
1133
|
-
* - Resolution in landscape mode: 1280x720
|
|
1134
|
-
* - Resolution in portrait mode: 720x1280
|
|
1135
|
-
* - Frame rate: 15 fps
|
|
1136
|
-
* - Target bitrate: 1200 Kbps
|
|
1137
|
-
* - Minimum bitrate: 800 Kbps
|
|
1138
|
-
* - Maximum bitrate: 1900 Kbps
|
|
1139
|
-
*/
|
|
1140
|
-
VeLiveVideoResolution720P = 3,
|
|
549
|
+
export declare enum VeLiveVideoCodec {
|
|
1141
550
|
|
|
1142
|
-
|
|
1143
|
-
* @brief 1080P.
|
|
1144
|
-
* - Resolution in landscape mode: 1920x1080
|
|
1145
|
-
* - Resolution in portrait mode: 1080x1920
|
|
1146
|
-
* - Frame rate: 20 fps
|
|
1147
|
-
* - Target bitrate: 2500 Kbps
|
|
1148
|
-
* - Minimum bitrate: 1000 Kbps
|
|
1149
|
-
* - Maximum bitrate: 3800 Kbps
|
|
1150
|
-
*/
|
|
1151
|
-
VeLiveVideoResolution1080P = 4,
|
|
551
|
+
VeLiveVideoCodecH264 = 0,
|
|
1152
552
|
|
|
1153
|
-
|
|
1154
|
-
* @brief The resolution of the streamed screen. The predefined configurations are as follows:
|
|
1155
|
-
* - Frame rate: 15 fps
|
|
1156
|
-
* - Target bitrate: 2500 kbps
|
|
1157
|
-
* - Minimum bitrate: 1000 kbps
|
|
1158
|
-
* - Maximum bitrate: 3800 kbps
|
|
1159
|
-
*/
|
|
1160
|
-
VeLiveVideoResolutionScreen = 10
|
|
1161
|
-
}
|
|
1162
|
-
export declare class t_VeLiveVideoResolution {
|
|
1163
|
-
static ts_to_android(value: VeLiveVideoResolution): $p_a.VeLiveVideoResolution;
|
|
1164
|
-
static android_to_ts(value: $p_a.VeLiveVideoResolution): VeLiveVideoResolution;
|
|
1165
|
-
static ts_to_ios(value: VeLiveVideoResolution): $p_i.VeLiveVideoResolution;
|
|
1166
|
-
static ios_to_ts(value: $p_i.VeLiveVideoResolution): VeLiveVideoResolution;
|
|
553
|
+
VeLiveVideoCodecByteVC1 = 1
|
|
1167
554
|
}
|
|
1168
555
|
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
* @brief The network quality.
|
|
1172
|
-
*/
|
|
1173
|
-
export declare enum VeLiveNetworkQuality {
|
|
556
|
+
export declare class VeLivePusherStatistics {
|
|
557
|
+
protected _instance: any;
|
|
1174
558
|
|
|
1175
559
|
/** {en}
|
|
1176
|
-
* @brief
|
|
560
|
+
* @brief The width of the encoded video, in pixels.
|
|
561
|
+
*
|
|
1177
562
|
*/
|
|
1178
|
-
|
|
563
|
+
get encodeWidth(): number;
|
|
564
|
+
set encodeWidth(value: number);
|
|
1179
565
|
|
|
1180
566
|
/** {en}
|
|
1181
|
-
* @brief
|
|
567
|
+
* @brief The height of the encoded video, in pixels.
|
|
568
|
+
*
|
|
1182
569
|
*/
|
|
1183
|
-
|
|
570
|
+
get encodeHeight(): number;
|
|
571
|
+
set encodeHeight(value: number);
|
|
1184
572
|
|
|
1185
573
|
/** {en}
|
|
1186
|
-
* @brief
|
|
574
|
+
* @brief The width of the captured video, in pixels.
|
|
575
|
+
*
|
|
1187
576
|
*/
|
|
1188
|
-
|
|
577
|
+
get captureWidth(): number;
|
|
578
|
+
set captureWidth(value: number);
|
|
1189
579
|
|
|
1190
580
|
/** {en}
|
|
1191
|
-
* @brief
|
|
581
|
+
* @brief The height of the captured video, in pixels.
|
|
582
|
+
*
|
|
1192
583
|
*/
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
export declare class t_VeLiveNetworkQuality {
|
|
1196
|
-
static ts_to_android(value: VeLiveNetworkQuality): $p_a.VeLiveNetworkQuality;
|
|
1197
|
-
static android_to_ts(value: $p_a.VeLiveNetworkQuality): VeLiveNetworkQuality;
|
|
1198
|
-
static ts_to_ios(value: VeLiveNetworkQuality): $p_i.VeLiveNetworkQuality;
|
|
1199
|
-
static ios_to_ts(value: $p_i.VeLiveNetworkQuality): VeLiveNetworkQuality;
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
/** {en}
|
|
1203
|
-
* @detail keytype
|
|
1204
|
-
* @brief The output log level.
|
|
1205
|
-
*/
|
|
1206
|
-
export declare enum VeLivePusherLogLevel {
|
|
584
|
+
get captureHeight(): number;
|
|
585
|
+
set captureHeight(value: number);
|
|
1207
586
|
|
|
1208
587
|
/** {en}
|
|
1209
|
-
* @
|
|
1210
|
-
*
|
|
588
|
+
* @brief The captured frame rate, in fps.
|
|
589
|
+
*
|
|
1211
590
|
*/
|
|
1212
|
-
|
|
591
|
+
get captureFps(): number;
|
|
592
|
+
set captureFps(value: number);
|
|
1213
593
|
|
|
1214
594
|
/** {en}
|
|
1215
|
-
* @
|
|
1216
|
-
*
|
|
595
|
+
* @brief The encoded frame rate, in fps.
|
|
596
|
+
*
|
|
1217
597
|
*/
|
|
1218
|
-
|
|
598
|
+
get encodeFps(): number;
|
|
599
|
+
set encodeFps(value: number);
|
|
1219
600
|
|
|
1220
601
|
/** {en}
|
|
1221
|
-
* @
|
|
1222
|
-
*
|
|
602
|
+
* @brief The transmission frame rate, in fps. You can use this parameter to showcase the real-time frame rate on the user interface.
|
|
603
|
+
*
|
|
1223
604
|
*/
|
|
1224
|
-
|
|
605
|
+
get transportFps(): number;
|
|
606
|
+
set transportFps(value: number);
|
|
1225
607
|
|
|
1226
608
|
/** {en}
|
|
1227
|
-
* @
|
|
1228
|
-
*
|
|
609
|
+
* @brief The encoded frame rate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in fps.
|
|
610
|
+
*
|
|
1229
611
|
*/
|
|
1230
|
-
|
|
612
|
+
get fps(): number;
|
|
613
|
+
set fps(value: number);
|
|
1231
614
|
|
|
1232
615
|
/** {en}
|
|
1233
|
-
* @
|
|
1234
|
-
*
|
|
616
|
+
* @brief The encoded bitrate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in Kbps.
|
|
617
|
+
*
|
|
1235
618
|
*/
|
|
1236
|
-
|
|
619
|
+
get videoBitrate(): number;
|
|
620
|
+
set videoBitrate(value: number);
|
|
1237
621
|
|
|
1238
622
|
/** {en}
|
|
1239
|
-
* @
|
|
1240
|
-
*
|
|
623
|
+
* @brief The minimum encoded bitrate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in Kbps.
|
|
624
|
+
*
|
|
1241
625
|
*/
|
|
1242
|
-
|
|
626
|
+
get minVideoBitrate(): number;
|
|
627
|
+
set minVideoBitrate(value: number);
|
|
1243
628
|
|
|
1244
629
|
/** {en}
|
|
1245
|
-
* @
|
|
1246
|
-
*
|
|
630
|
+
* @brief The maximum encoded bitrate you specify in the setVideoEncoderConfiguration {@link #VeLivePusher#setVideoEncoderConfiguration} method, in Kbps.
|
|
631
|
+
*
|
|
1247
632
|
*/
|
|
1248
|
-
|
|
633
|
+
get maxVideoBitrate(): number;
|
|
634
|
+
set maxVideoBitrate(value: number);
|
|
1249
635
|
|
|
1250
636
|
/** {en}
|
|
1251
|
-
* @
|
|
1252
|
-
*
|
|
637
|
+
* @brief The encoded video bitrate, in Kbps.
|
|
638
|
+
*
|
|
1253
639
|
*/
|
|
1254
|
-
|
|
640
|
+
get encodeVideoBitrate(): number;
|
|
641
|
+
set encodeVideoBitrate(value: number);
|
|
1255
642
|
|
|
1256
643
|
/** {en}
|
|
1257
|
-
* @
|
|
1258
|
-
*
|
|
644
|
+
* @brief The transmission bitrate, in Kbps. You can use this parameter to showcase the real-time bitrate on the user interface.
|
|
645
|
+
*
|
|
1259
646
|
*/
|
|
1260
|
-
|
|
647
|
+
get transportVideoBitrate(): number;
|
|
648
|
+
set transportVideoBitrate(value: number);
|
|
1261
649
|
|
|
1262
650
|
/** {en}
|
|
1263
|
-
* @
|
|
1264
|
-
*
|
|
651
|
+
* @brief The audio encoding bitrate, in Kbps.
|
|
652
|
+
*
|
|
1265
653
|
*/
|
|
1266
|
-
|
|
654
|
+
get encodeAudioBitrate(): number;
|
|
655
|
+
set encodeAudioBitrate(value: number);
|
|
1267
656
|
|
|
1268
657
|
/** {en}
|
|
1269
|
-
* @
|
|
1270
|
-
*
|
|
658
|
+
* @brief The push stream address.
|
|
659
|
+
*
|
|
1271
660
|
*/
|
|
1272
|
-
|
|
661
|
+
get url(): string;
|
|
662
|
+
set url(value: string);
|
|
1273
663
|
|
|
1274
664
|
/** {en}
|
|
1275
|
-
* @
|
|
1276
|
-
*
|
|
665
|
+
* @brief The video codec.
|
|
666
|
+
*
|
|
1277
667
|
*/
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
static android_to_ts(value: $p_a.VeLivePusherLogLevel): VeLivePusherLogLevel;
|
|
1283
|
-
static ts_to_ios(value: VeLivePusherLogLevel): $p_i.VeLivePusherLogLevel;
|
|
1284
|
-
static ios_to_ts(value: $p_i.VeLivePusherLogLevel): VeLivePusherLogLevel;
|
|
668
|
+
get codec(): string;
|
|
669
|
+
set codec(value: string);
|
|
670
|
+
protected __init(...args: any[]): void;
|
|
671
|
+
protected __new_instance(...args: any[]): any;
|
|
1285
672
|
}
|
|
1286
673
|
|
|
1287
|
-
|
|
1288
|
-
* @platform android
|
|
1289
|
-
* @detail keytype
|
|
1290
|
-
* @brief The audio bit depth.
|
|
1291
|
-
*/
|
|
1292
|
-
export declare enum VeLiveAudioBitDepth {
|
|
674
|
+
export declare enum VeLiveVideoEffectLicenseType {
|
|
1293
675
|
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
*/
|
|
1298
|
-
VeLiveAudioBitDepth16 = 16
|
|
1299
|
-
}
|
|
1300
|
-
export declare class t_VeLiveAudioBitDepth {
|
|
1301
|
-
static ts_to_android(value: VeLiveAudioBitDepth): $p_a.VeLiveAudioBitDepth;
|
|
1302
|
-
static android_to_ts(value: $p_a.VeLiveAudioBitDepth): VeLiveAudioBitDepth;
|
|
1303
|
-
static ts_to_ios(value: VeLiveAudioBitDepth): never;
|
|
1304
|
-
static ios_to_ts(value: unknown): never;
|
|
676
|
+
VeLiveVideoEffectLicenseTypeOffLine = 0,
|
|
677
|
+
|
|
678
|
+
VeLiveVideoEffectLicenseTypeOnLine = 1
|
|
1305
679
|
}
|
|
1306
680
|
|
|
1307
|
-
|
|
1308
|
-
* @detail keytype
|
|
1309
|
-
* @brief Audio mixing configurations.
|
|
1310
|
-
*/
|
|
1311
|
-
export declare class VeLiveMixAudioLayout {
|
|
1312
|
-
protected _instance: any;
|
|
1313
|
-
protected __init(...args: any[]): void;
|
|
1314
|
-
protected __new_instance(...args: any[]): $p_a.VeLiveMixAudioLayout | $p_i.VeLiveMixAudioLayout;
|
|
1315
|
-
|
|
1316
|
-
/** {en}
|
|
1317
|
-
* @brief The unique identifier for an audio stream.
|
|
1318
|
-
*/
|
|
1319
|
-
get streamId(): number;
|
|
1320
|
-
set streamId(value: number);
|
|
681
|
+
export declare enum VeLiveAudioChannel {
|
|
1321
682
|
|
|
1322
|
-
|
|
1323
|
-
* @detail api
|
|
1324
|
-
* @brief The volume of the mixed audio stream. The value range is [0.0,4.0]. If you set {@link #VeLiveAudioMixType VeLiveAudioMixType} to `VeLiveAudioMixPlayAndPush`, this variable takes effect on both the host and the audience sides.
|
|
1325
|
-
*/
|
|
1326
|
-
get volume(): number;
|
|
1327
|
-
set volume(value: number);
|
|
683
|
+
VeLiveAudioChannelMono = 0,
|
|
1328
684
|
|
|
1329
|
-
|
|
1330
|
-
* @platform android
|
|
1331
|
-
* @detail api
|
|
1332
|
-
* @brief Updates audio mixing configurations.
|
|
1333
|
-
* @param other New audio mixing configurations. See VeLiveMixAudioLayout for details.
|
|
1334
|
-
*/
|
|
1335
|
-
android_update(other: VeLiveMixAudioLayout): void;
|
|
685
|
+
VeLiveAudioChannelStereo = 1
|
|
1336
686
|
}
|
|
1337
687
|
|
|
1338
|
-
|
|
1339
|
-
* @detail keytype
|
|
1340
|
-
* @brief The video orientation.
|
|
1341
|
-
*/
|
|
1342
|
-
export declare enum VeLiveOrientation {
|
|
688
|
+
export declare enum VeLiveVideoFrameSource {
|
|
1343
689
|
|
|
1344
690
|
/** {en}
|
|
1345
|
-
* @brief The
|
|
691
|
+
* @brief The original video frame captured by the camera or other video sources.
|
|
692
|
+
*
|
|
1346
693
|
*/
|
|
1347
|
-
|
|
694
|
+
VeLiveVideoFrameSourceCapture = 0,
|
|
1348
695
|
|
|
1349
696
|
/** {en}
|
|
1350
|
-
* @brief The
|
|
1351
|
-
|
|
1352
|
-
VeLiveOrientationPortrait = 1,
|
|
1353
|
-
/**
|
|
1354
|
-
* @platform ios
|
|
1355
|
-
*/
|
|
1356
|
-
UIInterfaceOrientationUnknown = -1,
|
|
1357
|
-
/**
|
|
1358
|
-
* @platform ios
|
|
1359
|
-
*/
|
|
1360
|
-
UIInterfaceOrientationPortraitUpsideDown = 2,
|
|
1361
|
-
/**
|
|
1362
|
-
* @platform ios
|
|
697
|
+
* @brief The video frame to be encoded after undergoing various processes, such as filtering and rotation.
|
|
698
|
+
*
|
|
1363
699
|
*/
|
|
1364
|
-
|
|
1365
|
-
}
|
|
1366
|
-
export declare class t_VeLiveOrientation {
|
|
1367
|
-
static ts_to_android(value: VeLiveOrientation): $p_a.VeLiveOrientation;
|
|
1368
|
-
static android_to_ts(value: $p_a.VeLiveOrientation): VeLiveOrientation;
|
|
1369
|
-
static ts_to_ios(value: VeLiveOrientation): $p_i.UIInterfaceOrientation;
|
|
1370
|
-
static ios_to_ts(value: $p_i.UIInterfaceOrientation): VeLiveOrientation;
|
|
700
|
+
VeLiveVideoFrameSourcePreEncode = 1
|
|
1371
701
|
}
|
|
1372
702
|
|
|
1373
|
-
|
|
1374
|
-
* @detail keytype
|
|
1375
|
-
* @brief The mirror type.
|
|
1376
|
-
*/
|
|
1377
|
-
export declare enum VeLiveVideoMirrorType {
|
|
703
|
+
export declare enum VeLiveAudioProfile {
|
|
1378
704
|
|
|
1379
|
-
|
|
1380
|
-
* @brief Mirror the captured video. When turned on, both the preview and the pushed video are mirrored.
|
|
1381
|
-
*/
|
|
1382
|
-
VeLiveVideoMirrorCapture = 0,
|
|
705
|
+
VeLiveAudioAACProfileLC = 0,
|
|
1383
706
|
|
|
1384
|
-
|
|
1385
|
-
* @brief Mirror the preview. When turned on, only the preview is mirrored.
|
|
1386
|
-
*/
|
|
1387
|
-
VeLiveVideoMirrorPreview = 1,
|
|
707
|
+
VeLiveAudioAACProfileHEv1 = 1,
|
|
1388
708
|
|
|
1389
|
-
|
|
1390
|
-
* @brief Mirror the video before encoding. When turned on, only the pushed video is mirrored.
|
|
1391
|
-
*/
|
|
1392
|
-
VeLiveVideoMirrorPushStream = 2
|
|
1393
|
-
}
|
|
1394
|
-
export declare class t_VeLiveVideoMirrorType {
|
|
1395
|
-
static ts_to_android(value: VeLiveVideoMirrorType): $p_a.VeLiveVideoMirrorType;
|
|
1396
|
-
static android_to_ts(value: $p_a.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
|
|
1397
|
-
static ts_to_ios(value: VeLiveVideoMirrorType): $p_i.VeLiveVideoMirrorType;
|
|
1398
|
-
static ios_to_ts(value: $p_i.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
|
|
709
|
+
VeLiveAudioAACProfileHEv2 = 2
|
|
1399
710
|
}
|
|
1400
711
|
|
|
1401
|
-
|
|
1402
|
-
* @hidden
|
|
1403
|
-
* @detail keytype
|
|
1404
|
-
* @brief The log settings.
|
|
1405
|
-
*/
|
|
1406
|
-
export declare class VeLivePusherLogConfig {
|
|
712
|
+
export declare class VeLiveAudioCaptureConfiguration {
|
|
1407
713
|
protected _instance: any;
|
|
1408
|
-
protected __init(...args: any[]): void;
|
|
1409
|
-
protected __new_instance(...args: any[]): $p_a.VeLivePusherLogConfig | $p_i.VeLivePusherLogConfig;
|
|
1410
714
|
|
|
1411
715
|
/** {en}
|
|
1412
|
-
* @
|
|
716
|
+
* @platform ios
|
|
717
|
+
* @brief The sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details. The default value is `VeLiveAudioSampleRate44100`.
|
|
1413
718
|
*/
|
|
1414
|
-
get
|
|
1415
|
-
set
|
|
719
|
+
get ios_sampleRate(): $p_i.VeLiveAudioSampleRate;
|
|
720
|
+
set ios_sampleRate(value: $p_i.VeLiveAudioSampleRate);
|
|
1416
721
|
|
|
1417
722
|
/** {en}
|
|
1418
|
-
* @
|
|
723
|
+
* @platform ios
|
|
724
|
+
* @brief The number of audio channels. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details. The default value is `VeLiveAudioChannelStereo`.
|
|
1419
725
|
*/
|
|
1420
|
-
get
|
|
1421
|
-
set
|
|
726
|
+
get ios_channel(): $p_i.VeLiveAudioChannel;
|
|
727
|
+
set ios_channel(value: $p_i.VeLiveAudioChannel);
|
|
728
|
+
protected __init(...args: any[]): void;
|
|
729
|
+
protected __new_instance(...args: any[]): any;
|
|
1422
730
|
|
|
1423
731
|
/** {en}
|
|
1424
|
-
* @
|
|
732
|
+
* @platform android
|
|
733
|
+
* @detail api
|
|
734
|
+
* @brief Gets the sample rate.
|
|
735
|
+
* @return <br>
|
|
736
|
+
* The sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
737
|
+
*
|
|
1425
738
|
*/
|
|
1426
|
-
|
|
1427
|
-
set singleLogSizeM(value: number);
|
|
739
|
+
android_getSampleRate(): $p_a.VeLiveAudioSampleRate;
|
|
1428
740
|
|
|
1429
741
|
/** {en}
|
|
1430
|
-
* @
|
|
742
|
+
* @platform android
|
|
743
|
+
* @detail api
|
|
744
|
+
* @brief Sets the sample rate.
|
|
745
|
+
* @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
|
|
746
|
+
* @param sampleRate The sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
747
|
+
*
|
|
1431
748
|
*/
|
|
1432
|
-
|
|
1433
|
-
set logExpireTimeS(value: number);
|
|
749
|
+
android_setSampleRate(sampleRate: $p_a.VeLiveAudioSampleRate): this;
|
|
1434
750
|
|
|
1435
751
|
/** {en}
|
|
1436
|
-
* @
|
|
1437
|
-
*
|
|
1438
|
-
*
|
|
752
|
+
* @platform android
|
|
753
|
+
* @detail api
|
|
754
|
+
* @brief Gets the number of audio channels.
|
|
755
|
+
* @return <br>
|
|
756
|
+
* The number of audio channels. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
757
|
+
*
|
|
1439
758
|
*/
|
|
1440
|
-
|
|
1441
|
-
set enableThreadLoop(value: number);
|
|
759
|
+
android_getChannel(): $p_a.VeLiveAudioChannel;
|
|
1442
760
|
|
|
1443
761
|
/** {en}
|
|
1444
762
|
* @platform android
|
|
1445
|
-
* @
|
|
763
|
+
* @detail api
|
|
764
|
+
* @brief Sets the number of audio channels.
|
|
765
|
+
* @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
|
|
766
|
+
* @param channel The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
767
|
+
*
|
|
1446
768
|
*/
|
|
1447
|
-
|
|
1448
|
-
|
|
769
|
+
android_setChannel(channel: $p_a.VeLiveAudioChannel): this;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export declare class VeLiveStreamMixDescription {
|
|
773
|
+
protected _instance: any;
|
|
1449
774
|
|
|
1450
775
|
/** {en}
|
|
1451
|
-
* @brief
|
|
776
|
+
* @brief An array of video mixing configurations, where each array element represents the mixing configurations of a video stream. See VeLiveMixVideoLayout {@link #VeLiveMixVideoLayout} for details.
|
|
777
|
+
*
|
|
1452
778
|
*/
|
|
1453
|
-
get
|
|
1454
|
-
set
|
|
779
|
+
get mixVideoStreams(): ArrayList<VeLiveMixVideoLayout>;
|
|
780
|
+
set mixVideoStreams(value: ArrayList<VeLiveMixVideoLayout>);
|
|
1455
781
|
|
|
1456
782
|
/** {en}
|
|
1457
|
-
* @brief
|
|
783
|
+
* @brief An array of audio mixing configurations, where each array element represents the mixing configurations of an audio stream. See VeLiveMixAudioLayout for details.
|
|
784
|
+
*
|
|
1458
785
|
*/
|
|
1459
|
-
get
|
|
1460
|
-
set
|
|
786
|
+
get mixAudioStreams(): ArrayList<VeLiveMixAudioLayout>;
|
|
787
|
+
set mixAudioStreams(value: ArrayList<VeLiveMixAudioLayout>);
|
|
1461
788
|
|
|
1462
789
|
/** {en}
|
|
1463
|
-
* @brief The
|
|
790
|
+
* @brief The background color of the mixed video, in #RRGGBB format.
|
|
791
|
+
*
|
|
1464
792
|
*/
|
|
1465
|
-
get
|
|
1466
|
-
set
|
|
793
|
+
get backgroundColor(): string;
|
|
794
|
+
set backgroundColor(value: string);
|
|
795
|
+
protected __init(...args: any[]): void;
|
|
796
|
+
protected __new_instance(...args: any[]): any;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export declare enum VeLiveAudioSampleRate {
|
|
1467
800
|
|
|
1468
|
-
|
|
1469
|
-
* @brief The upload URL of the log file.
|
|
1470
|
-
*/
|
|
1471
|
-
get queryUrl(): string;
|
|
1472
|
-
set queryUrl(value: string);
|
|
801
|
+
VeLiveAudioSampleRate8000 = 0,
|
|
1473
802
|
|
|
1474
|
-
|
|
1475
|
-
* @platform android
|
|
1476
|
-
* @brief The unique device ID.
|
|
1477
|
-
*/
|
|
1478
|
-
get android_device_id(): string;
|
|
1479
|
-
set android_device_id(value: string);
|
|
803
|
+
VeLiveAudioSampleRate16000 = 1,
|
|
1480
804
|
|
|
1481
|
-
|
|
1482
|
-
* @platform android
|
|
1483
|
-
* @brief The timeout for an HTTP request. Value range: > 0.
|
|
1484
|
-
*/
|
|
1485
|
-
get android_httpTimeoutMS(): $p_a.int;
|
|
1486
|
-
set android_httpTimeoutMS(value: $p_a.int);
|
|
805
|
+
VeLiveAudioSampleRate32000 = 2,
|
|
1487
806
|
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
*/
|
|
1492
|
-
get android_httpUploadFileTimeoutMS(): $p_a.int;
|
|
1493
|
-
set android_httpUploadFileTimeoutMS(value: $p_a.int);
|
|
807
|
+
VeLiveAudioSampleRate44100 = 3,
|
|
808
|
+
|
|
809
|
+
VeLiveAudioSampleRate48000 = 4
|
|
1494
810
|
}
|
|
1495
811
|
|
|
1496
|
-
|
|
1497
|
-
* @detail keytype
|
|
1498
|
-
* @brief The local recording configurations.
|
|
1499
|
-
*/
|
|
1500
|
-
export declare class VeLiveFileRecorderConfiguration {
|
|
1501
|
-
protected _instance: any;
|
|
1502
|
-
protected __init(...args: any[]): void;
|
|
1503
|
-
protected __new_instance(...args: any[]): $p_a.VeLiveFileRecorderConfiguration | $p_i.VeLiveFileRecorderConfiguration;
|
|
812
|
+
export declare enum VeLiveVideoResolution {
|
|
1504
813
|
|
|
1505
814
|
/** {en}
|
|
1506
|
-
* @
|
|
1507
|
-
*
|
|
1508
|
-
*
|
|
1509
|
-
*
|
|
815
|
+
* @brief 360P.
|
|
816
|
+
* - Resolution in landscape mode: 640x360
|
|
817
|
+
* - Resolution in portrait mode: 360x640
|
|
818
|
+
* - Frame rate: 15 fps
|
|
819
|
+
* - Target bitrate: 500 Kbps
|
|
820
|
+
* - Minimum bitrate: 250 Kbps
|
|
821
|
+
* - Maximum bitrate: 800 Kbps
|
|
822
|
+
*
|
|
1510
823
|
*/
|
|
1511
|
-
|
|
824
|
+
VeLiveVideoResolution360P = 0,
|
|
1512
825
|
|
|
1513
826
|
/** {en}
|
|
1514
|
-
* @
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
*
|
|
827
|
+
* @brief 480P.
|
|
828
|
+
* - Resolution in landscape mode: 864x480
|
|
829
|
+
* - Resolution in portrait mode: 480x864
|
|
830
|
+
* - Frame rate: 15 fps
|
|
831
|
+
* - Target bitrate: 800 Kbps
|
|
832
|
+
* - Minimum bitrate: 320 Kbps
|
|
833
|
+
* - Maximum bitrate: 1266 Kbps
|
|
834
|
+
*
|
|
1518
835
|
*/
|
|
1519
|
-
|
|
836
|
+
VeLiveVideoResolution480P = 1,
|
|
1520
837
|
|
|
1521
838
|
/** {en}
|
|
1522
|
-
* @
|
|
1523
|
-
*
|
|
1524
|
-
*
|
|
1525
|
-
*
|
|
839
|
+
* @brief 540P.
|
|
840
|
+
* - Resolution in landscape mode: 960x540
|
|
841
|
+
* - Resolution in portrait mode: 540x960
|
|
842
|
+
* - Frame rate: 15 fps
|
|
843
|
+
* - Target bitrate: 1000 Kbps
|
|
844
|
+
* - Minimum bitrate: 500 Kbps
|
|
845
|
+
* - Maximum bitrate: 1520 Kbps
|
|
846
|
+
*
|
|
1526
847
|
*/
|
|
1527
|
-
|
|
848
|
+
VeLiveVideoResolution540P = 2,
|
|
1528
849
|
|
|
1529
850
|
/** {en}
|
|
1530
|
-
* @
|
|
1531
|
-
*
|
|
1532
|
-
*
|
|
1533
|
-
*
|
|
851
|
+
* @brief 720P.
|
|
852
|
+
* - Resolution in landscape mode: 1280x720
|
|
853
|
+
* - Resolution in portrait mode: 720x1280
|
|
854
|
+
* - Frame rate: 15 fps
|
|
855
|
+
* - Target bitrate: 1200 Kbps
|
|
856
|
+
* - Minimum bitrate: 800 Kbps
|
|
857
|
+
* - Maximum bitrate: 1900 Kbps
|
|
858
|
+
*
|
|
1534
859
|
*/
|
|
1535
|
-
|
|
860
|
+
VeLiveVideoResolution720P = 3,
|
|
1536
861
|
|
|
1537
862
|
/** {en}
|
|
1538
|
-
* @
|
|
1539
|
-
*
|
|
1540
|
-
*
|
|
1541
|
-
*
|
|
863
|
+
* @brief 1080P.
|
|
864
|
+
* - Resolution in landscape mode: 1920x1080
|
|
865
|
+
* - Resolution in portrait mode: 1080x1920
|
|
866
|
+
* - Frame rate: 20 fps
|
|
867
|
+
* - Target bitrate: 2500 Kbps
|
|
868
|
+
* - Minimum bitrate: 1000 Kbps
|
|
869
|
+
* - Maximum bitrate: 3800 Kbps
|
|
870
|
+
*
|
|
1542
871
|
*/
|
|
1543
|
-
|
|
872
|
+
VeLiveVideoResolution1080P = 4,
|
|
873
|
+
|
|
874
|
+
VeLiveVideoResolutionScreen = 5
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export declare class VeLiveMixAudioLayout {
|
|
878
|
+
protected _instance: any;
|
|
1544
879
|
|
|
1545
880
|
/** {en}
|
|
1546
|
-
* @
|
|
1547
|
-
*
|
|
1548
|
-
* @return <br>The local recording configurations. See VeLiveFileRecorderConfiguration for details.
|
|
1549
|
-
* @param fps The frame rate of the recorded video. The default value is `15`.
|
|
881
|
+
* @brief The unique identifier for an audio stream.
|
|
882
|
+
*
|
|
1550
883
|
*/
|
|
1551
|
-
|
|
884
|
+
get streamId(): number;
|
|
885
|
+
set streamId(value: number);
|
|
1552
886
|
|
|
1553
887
|
/** {en}
|
|
1554
888
|
* @detail api
|
|
1555
|
-
* @brief
|
|
1556
|
-
*
|
|
1557
|
-
* The bitrate of the recorded video.
|
|
889
|
+
* @brief The volume of the mixed audio stream. The value range is [0.0,4.0]. If you set VeLiveAudioMixType{@link #VeLiveAudioMixType} to `VeLiveAudioMixPlayAndPush`, this variable takes effect on both the host and the audience sides.
|
|
890
|
+
*
|
|
1558
891
|
*/
|
|
1559
|
-
|
|
892
|
+
get volume(): number;
|
|
893
|
+
set volume(value: number);
|
|
894
|
+
protected __init(...args: any[]): void;
|
|
895
|
+
protected __new_instance(...args: any[]): any;
|
|
1560
896
|
|
|
1561
897
|
/** {en}
|
|
898
|
+
* @platform android
|
|
1562
899
|
* @detail api
|
|
1563
|
-
* @brief
|
|
1564
|
-
* @
|
|
1565
|
-
*
|
|
900
|
+
* @brief Updates audio mixing configurations.
|
|
901
|
+
* @param other New audio mixing configurations. See VeLiveMixAudioLayout for details.
|
|
902
|
+
*
|
|
1566
903
|
*/
|
|
1567
|
-
|
|
904
|
+
android_update(other: $p_a.VeLiveMixAudioLayout): void;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export declare enum VeLiveVideoMirrorType {
|
|
908
|
+
|
|
909
|
+
VeLiveVideoMirrorCapture = 0,
|
|
910
|
+
|
|
911
|
+
VeLiveVideoMirrorPreview = 1,
|
|
912
|
+
|
|
913
|
+
VeLiveVideoMirrorPushStream = 2
|
|
1568
914
|
}
|
|
1569
915
|
|
|
1570
|
-
/** {en}
|
|
1571
|
-
* @detail keytype
|
|
1572
|
-
* @brief Video mixing configurations.
|
|
1573
|
-
*/
|
|
1574
916
|
export declare class VeLiveMixVideoLayout {
|
|
1575
917
|
protected _instance: any;
|
|
1576
|
-
protected __init(...args: any[]): void;
|
|
1577
|
-
protected __new_instance(...args: any[]): $p_a.VeLiveMixVideoLayout | $p_i.VeLiveMixVideoLayout;
|
|
1578
918
|
|
|
1579
919
|
/** {en}
|
|
1580
920
|
* @brief The unique identifier for a video stream.
|
|
921
|
+
*
|
|
1581
922
|
*/
|
|
1582
923
|
get streamId(): number;
|
|
1583
924
|
set streamId(value: number);
|
|
1584
925
|
|
|
1585
926
|
/** {en}
|
|
1586
927
|
* @brief The horizontal offset, which represents the ratio of the distance between the left edge of the video and the left edge of the screen to the width of the screen. The value range is [0.0,1.0], where `0.0` indicates the left edge and `1.0` indicates the right edge.
|
|
928
|
+
*
|
|
1587
929
|
*/
|
|
1588
930
|
get x(): number;
|
|
1589
931
|
set x(value: number);
|
|
1590
932
|
|
|
1591
933
|
/** {en}
|
|
1592
934
|
* @brief The vertical offset, which represents the ratio of the distance between the top edge of the video and the top edge of the screen to the height of the screen. The value range is [0.0,1.0], where `0.0` indicates the top edge and `1.0` indicates the bottom edge.
|
|
935
|
+
*
|
|
1593
936
|
*/
|
|
1594
937
|
get y(): number;
|
|
1595
938
|
set y(value: number);
|
|
1596
939
|
|
|
1597
940
|
/** {en}
|
|
1598
941
|
* @brief The ratio of the video width to the screen width. The value range is [0.0,1.0], where `1.0` indicates that the video occupies the entire screen width.
|
|
942
|
+
*
|
|
1599
943
|
*/
|
|
1600
944
|
get width(): number;
|
|
1601
945
|
set width(value: number);
|
|
1602
946
|
|
|
1603
947
|
/** {en}
|
|
1604
948
|
* @brief The ratio of the video height to the screen height. The value range is [0.0,1.0], where `1.0` indicates that the video occupies the entire screen height.
|
|
949
|
+
*
|
|
1605
950
|
*/
|
|
1606
951
|
get height(): number;
|
|
1607
952
|
set height(value: number);
|
|
1608
953
|
|
|
1609
954
|
/** {en}
|
|
1610
955
|
* @brief The video transparency. The value range is [0.0, 1.0], where `0.0` indicates full transparency and `1.0` indicates full opacity.
|
|
956
|
+
*
|
|
1611
957
|
*/
|
|
1612
958
|
get alpha(): number;
|
|
1613
959
|
set alpha(value: number);
|
|
1614
960
|
|
|
1615
961
|
/** {en}
|
|
1616
962
|
* @brief The level of video within the final mixed video. The value range is [0,100], where `0` represents the bottom layer. The higher the value, the higher the level of the video in the final output.
|
|
963
|
+
*
|
|
1617
964
|
*/
|
|
1618
965
|
get zOrder(): number;
|
|
1619
966
|
set zOrder(value: number);
|
|
1620
967
|
|
|
1621
968
|
/** {en}
|
|
1622
969
|
* @brief The render mode of the video. See VeLivePusherRenderMode {@link #VeLivePusherRenderMode} for details.
|
|
970
|
+
*
|
|
1623
971
|
*/
|
|
1624
972
|
get renderMode(): VeLivePusherRenderMode;
|
|
1625
973
|
set renderMode(value: VeLivePusherRenderMode);
|
|
974
|
+
protected __init(...args: any[]): void;
|
|
975
|
+
protected __new_instance(...args: any[]): any;
|
|
1626
976
|
|
|
1627
977
|
/** {en}
|
|
1628
978
|
* @platform android
|
|
1629
979
|
* @detail api
|
|
1630
980
|
* @brief Updates video mixing configurations.
|
|
1631
981
|
* @param other New video mixing configurations. See VeLiveMixVideoLayout {@link #VeLiveMixVideoLayout} for details.
|
|
982
|
+
*
|
|
1632
983
|
*/
|
|
1633
|
-
android_update(other: VeLiveMixVideoLayout): void;
|
|
984
|
+
android_update(other: $p_a.VeLiveMixVideoLayout): void;
|
|
1634
985
|
}
|
|
1635
986
|
|
|
1636
|
-
/** {en}
|
|
1637
|
-
* @detail keytype
|
|
1638
|
-
* @brief The special effects configurations.
|
|
1639
|
-
*/
|
|
1640
987
|
export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
1641
988
|
|
|
1642
989
|
/** {en}
|
|
@@ -1645,62 +992,107 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1645
992
|
* @brief Initializes the license configurations in local authentication mode.
|
|
1646
993
|
* @return <br>A VeLiveVideoEffectLicenseConfiguration object that uses the specified local path for license authentication.
|
|
1647
994
|
* @param path The local cache path for the video effects license. You can get the path through the getPath {@link #getPath} property.
|
|
995
|
+
*
|
|
1648
996
|
*/
|
|
1649
|
-
static
|
|
997
|
+
static android_create(path: string): $p_a.VeLiveVideoEffectLicenseConfiguration;
|
|
1650
998
|
|
|
1651
999
|
/** {en}
|
|
1652
1000
|
* @platform android
|
|
1653
1001
|
* @detail api
|
|
1654
|
-
* @brief Initializes the license configurations in
|
|
1655
|
-
* @return <br>A VeLiveVideoEffectLicenseConfiguration object that uses the specified
|
|
1656
|
-
* @param
|
|
1657
|
-
*
|
|
1658
|
-
* @param url The online authentication address for the video effects license. You can get it through the getUrl {@link #VeLiveVideoEffectLicenseConfiguration#getUrl} property. If you set it to null, the SDK will use the default URL.
|
|
1002
|
+
* @brief Initializes the license configurations in local authentication mode.
|
|
1003
|
+
* @return <br>A VeLiveVideoEffectLicenseConfiguration object that uses the specified local path for license authentication.
|
|
1004
|
+
* @param path The local cache path for the video effects license. You can get the path through the getPath {@link #getPath} property.
|
|
1005
|
+
*
|
|
1659
1006
|
*/
|
|
1660
|
-
static
|
|
1007
|
+
static android_create_key$secret$url(key: string, secret: string, url: string): $p_a.VeLiveVideoEffectLicenseConfiguration;
|
|
1661
1008
|
protected _instance: any;
|
|
1009
|
+
|
|
1010
|
+
/** {en}
|
|
1011
|
+
* @platform ios
|
|
1012
|
+
* @brief The special effects license type. See VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} for details.
|
|
1013
|
+
*/
|
|
1014
|
+
get ios_type(): $p_i.VeLiveVideoEffectLicenseType;
|
|
1015
|
+
set ios_type(value: $p_i.VeLiveVideoEffectLicenseType);
|
|
1016
|
+
|
|
1017
|
+
/** {en}
|
|
1018
|
+
* @platform ios
|
|
1019
|
+
* @brief The local path to the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOffLine`.
|
|
1020
|
+
*/
|
|
1021
|
+
get ios_path(): $p_i.NSString;
|
|
1022
|
+
set ios_path(value: $p_i.NSString);
|
|
1023
|
+
|
|
1024
|
+
/** {en}
|
|
1025
|
+
* @platform ios
|
|
1026
|
+
* @brief The online authentication key for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
|
|
1027
|
+
*/
|
|
1028
|
+
get ios_key(): $p_i.NSString;
|
|
1029
|
+
set ios_key(value: $p_i.NSString);
|
|
1030
|
+
|
|
1031
|
+
/** {en}
|
|
1032
|
+
* @platform ios
|
|
1033
|
+
* @brief The online authentication secret for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
|
|
1034
|
+
*/
|
|
1035
|
+
get ios_secret(): $p_i.NSString;
|
|
1036
|
+
set ios_secret(value: $p_i.NSString);
|
|
1037
|
+
|
|
1038
|
+
/** {en}
|
|
1039
|
+
* @platform ios
|
|
1040
|
+
* @brief The online authentication address for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
|
|
1041
|
+
*/
|
|
1042
|
+
get ios_url(): $p_i.NSString;
|
|
1043
|
+
set ios_url(value: $p_i.NSString);
|
|
1662
1044
|
protected __init(...args: any[]): void;
|
|
1663
|
-
protected __new_instance(...args: any[]):
|
|
1045
|
+
protected __new_instance(...args: any[]): any;
|
|
1664
1046
|
|
|
1665
1047
|
/** {en}
|
|
1048
|
+
* @platform android
|
|
1666
1049
|
* @detail api
|
|
1667
1050
|
* @brief Gets the special effects license type.
|
|
1668
1051
|
* @return <br>
|
|
1669
1052
|
* The special effects license type. See VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} for details..
|
|
1053
|
+
*
|
|
1670
1054
|
*/
|
|
1671
|
-
|
|
1055
|
+
android_getType(): $p_a.VeLiveVideoEffectLicenseType;
|
|
1672
1056
|
|
|
1673
1057
|
/** {en}
|
|
1058
|
+
* @platform android
|
|
1674
1059
|
* @detail api
|
|
1675
1060
|
* @brief Gets the local path to the video effects license.
|
|
1676
1061
|
* @return <br>
|
|
1677
1062
|
* The local path to the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOffLine`.
|
|
1063
|
+
*
|
|
1678
1064
|
*/
|
|
1679
|
-
|
|
1065
|
+
android_getPath(): string;
|
|
1680
1066
|
|
|
1681
1067
|
/** {en}
|
|
1068
|
+
* @platform android
|
|
1682
1069
|
* @detail api
|
|
1683
1070
|
* @brief Gets the online authentication key for the video effects licenses.
|
|
1684
1071
|
* @return <br>
|
|
1685
1072
|
* The online authentication key for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
|
|
1073
|
+
*
|
|
1686
1074
|
*/
|
|
1687
|
-
|
|
1075
|
+
android_getKey(): string;
|
|
1688
1076
|
|
|
1689
1077
|
/** {en}
|
|
1078
|
+
* @platform android
|
|
1690
1079
|
* @detail api
|
|
1691
1080
|
* @brief Gets the online authentication secret for the video effects license.
|
|
1692
1081
|
* @return <br>
|
|
1693
1082
|
* The online authentication secret for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
|
|
1083
|
+
*
|
|
1694
1084
|
*/
|
|
1695
|
-
|
|
1085
|
+
android_getSecret(): string;
|
|
1696
1086
|
|
|
1697
1087
|
/** {en}
|
|
1088
|
+
* @platform android
|
|
1698
1089
|
* @detail api
|
|
1699
1090
|
* @brief Gets the online authentication address for the video effects license.
|
|
1700
1091
|
* @return <br>
|
|
1701
1092
|
* The online authentication address for the video effects license, when VeLiveVideoEffectLicenseType {@link #VeLiveVideoEffectLicenseType} is `VeLiveVideoEffectLicenseTypeOnLine`.
|
|
1093
|
+
*
|
|
1702
1094
|
*/
|
|
1703
|
-
|
|
1095
|
+
android_getUrl(): string;
|
|
1704
1096
|
|
|
1705
1097
|
/** {en}
|
|
1706
1098
|
* @platform ios
|
|
@@ -1716,166 +1108,185 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1716
1108
|
* @platform ios
|
|
1717
1109
|
* @detail api
|
|
1718
1110
|
* @brief Initializes the license configurations in online authentication mode.
|
|
1719
|
-
* @param key The online authentication key for the video effects license. You can get it through the {@link #key
|
|
1720
|
-
* @param secret The online authentication secret for the video effects license. You can get it through the {@link #secret
|
|
1721
|
-
* @param url The online authentication address for the video effects license. You can get it through the {@link #url
|
|
1111
|
+
* @param key The online authentication key for the video effects license. You can get it through the key{@link #key} property.
|
|
1112
|
+
* @param secret The online authentication secret for the video effects license. You can get it through the secret{@link #secret} property.
|
|
1113
|
+
* @param url The online authentication address for the video effects license. You can get it through the url{@link #url} property. If you set it to nil, the SDK will use the default URL.
|
|
1722
1114
|
* @return <br>
|
|
1723
1115
|
* A VeLiveVideoEffectLicenseConfiguration {@link #VeLiveVideoEffectLicenseConfiguration} object that uses the specified key, secret and address for online license authentication.
|
|
1724
1116
|
*/
|
|
1725
1117
|
ios_initWithKey(key: string, secret: string, url: string): this;
|
|
1726
1118
|
}
|
|
1727
1119
|
|
|
1728
|
-
/** {en}
|
|
1729
|
-
* @detail keytype
|
|
1730
|
-
* @brief The source of the audio frame.
|
|
1731
|
-
*/
|
|
1732
1120
|
export declare enum VeLiveAudioFrameSource {
|
|
1733
1121
|
|
|
1734
1122
|
/** {en}
|
|
1735
1123
|
* @brief The original audio frame captured by the microphone or other audio sources.
|
|
1124
|
+
*
|
|
1736
1125
|
*/
|
|
1737
|
-
VeLiveAudioFrameSourceCapture =
|
|
1126
|
+
VeLiveAudioFrameSourceCapture = 0,
|
|
1738
1127
|
|
|
1739
1128
|
/** {en}
|
|
1740
1129
|
* @brief The audio frame to be encoded after undergoing various processes, such as noise cancellation and echo cancellation.
|
|
1130
|
+
*
|
|
1741
1131
|
*/
|
|
1742
|
-
VeLiveAudioFrameSourcePreEncode =
|
|
1743
|
-
}
|
|
1744
|
-
export declare class t_VeLiveAudioFrameSource {
|
|
1745
|
-
static ts_to_android(value: VeLiveAudioFrameSource): $p_a.VeLiveAudioFrameSource;
|
|
1746
|
-
static android_to_ts(value: $p_a.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
|
|
1747
|
-
static ts_to_ios(value: VeLiveAudioFrameSource): $p_i.VeLiveAudioFrameSource;
|
|
1748
|
-
static ios_to_ts(value: $p_i.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
|
|
1132
|
+
VeLiveAudioFrameSourcePreEncode = 1
|
|
1749
1133
|
}
|
|
1750
1134
|
|
|
1751
|
-
/** {en}
|
|
1752
|
-
* @detail keytype
|
|
1753
|
-
* @brief The audio encoding configurations.
|
|
1754
|
-
*/
|
|
1755
1135
|
export declare class VeLiveAudioEncoderConfiguration {
|
|
1756
1136
|
protected _instance: any;
|
|
1137
|
+
|
|
1138
|
+
/** {en}
|
|
1139
|
+
* @platform ios
|
|
1140
|
+
* @brief The audio encoding bitrate, in Kbps. The default value is `64`.
|
|
1141
|
+
*/
|
|
1142
|
+
get ios_bitrate(): $p_i.int;
|
|
1143
|
+
set ios_bitrate(value: $p_i.int);
|
|
1144
|
+
|
|
1145
|
+
/** {en}
|
|
1146
|
+
* @platform ios
|
|
1147
|
+
* @brief The encoding sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
1148
|
+
*/
|
|
1149
|
+
get ios_sampleRate(): $p_i.VeLiveAudioSampleRate;
|
|
1150
|
+
set ios_sampleRate(value: $p_i.VeLiveAudioSampleRate);
|
|
1151
|
+
|
|
1152
|
+
/** {en}
|
|
1153
|
+
* @platform ios
|
|
1154
|
+
* @brief The number of audio channels. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
1155
|
+
*/
|
|
1156
|
+
get ios_channel(): $p_i.VeLiveAudioChannel;
|
|
1157
|
+
set ios_channel(value: $p_i.VeLiveAudioChannel);
|
|
1158
|
+
|
|
1159
|
+
/** {en}
|
|
1160
|
+
* @platform ios
|
|
1161
|
+
* @brief The AAC encoding format. The default value is `VeLiveAudioAACProfileLC`. See VeLiveAudioProfile {@link #VeLiveAudioProfile} for details.
|
|
1162
|
+
*/
|
|
1163
|
+
get ios_profile(): $p_i.VeLiveAudioProfile;
|
|
1164
|
+
set ios_profile(value: $p_i.VeLiveAudioProfile);
|
|
1757
1165
|
protected __init(...args: any[]): void;
|
|
1758
|
-
protected __new_instance(...args: any[]):
|
|
1166
|
+
protected __new_instance(...args: any[]): any;
|
|
1759
1167
|
|
|
1760
1168
|
/** {en}
|
|
1169
|
+
* @platform android
|
|
1761
1170
|
* @detail api
|
|
1762
1171
|
* @brief Gets the audio encoding bitrate.
|
|
1763
1172
|
* @return <br>
|
|
1764
1173
|
* The audio encoding bitrate.
|
|
1174
|
+
*
|
|
1765
1175
|
*/
|
|
1766
|
-
|
|
1176
|
+
android_getBitrate(): number;
|
|
1767
1177
|
|
|
1768
1178
|
/** {en}
|
|
1179
|
+
* @platform android
|
|
1769
1180
|
* @detail api
|
|
1770
1181
|
* @brief Sets the audio encoding bitrate.
|
|
1771
1182
|
* @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
|
|
1772
1183
|
* @param bitrate The audio encoding bitrate, in Kbps. The default value is `64`.
|
|
1184
|
+
*
|
|
1773
1185
|
*/
|
|
1774
|
-
|
|
1186
|
+
android_setBitrate(bitrate: number): this;
|
|
1775
1187
|
|
|
1776
1188
|
/** {en}
|
|
1189
|
+
* @platform android
|
|
1777
1190
|
* @detail api
|
|
1778
1191
|
* @brief Gets the encoding sample rate.
|
|
1779
1192
|
* @return <br>
|
|
1780
1193
|
* The encoding sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
1194
|
+
*
|
|
1781
1195
|
*/
|
|
1782
|
-
|
|
1196
|
+
android_getSampleRate(): $p_a.VeLiveAudioSampleRate;
|
|
1783
1197
|
|
|
1784
1198
|
/** {en}
|
|
1199
|
+
* @platform android
|
|
1785
1200
|
* @detail api
|
|
1786
1201
|
* @brief Sets the encoding sample rate.
|
|
1787
1202
|
* @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
|
|
1788
1203
|
* @param sampleRate The encoding sample rate. The default value is `VeLiveAudioSampleRate44100`. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
1204
|
+
*
|
|
1789
1205
|
*/
|
|
1790
|
-
|
|
1206
|
+
android_setSampleRate(sampleRate: $p_a.VeLiveAudioSampleRate): this;
|
|
1791
1207
|
|
|
1792
1208
|
/** {en}
|
|
1209
|
+
* @platform android
|
|
1793
1210
|
* @detail api
|
|
1794
1211
|
* @brief Gets the number of audio channels for streaming.
|
|
1795
1212
|
* @return <br>
|
|
1796
1213
|
* The number of audio channels for streaming. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
1214
|
+
*
|
|
1797
1215
|
*/
|
|
1798
|
-
|
|
1216
|
+
android_getChannel(): $p_a.VeLiveAudioChannel;
|
|
1799
1217
|
|
|
1800
1218
|
/** {en}
|
|
1219
|
+
* @platform android
|
|
1801
1220
|
* @detail api
|
|
1802
1221
|
* @brief Sets the number of audio channels for streaming.
|
|
1803
1222
|
* @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
|
|
1804
1223
|
* @param channel The number of audio channels for streaming. The default value is `VeLiveAudioChannelStereo`. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
1224
|
+
*
|
|
1805
1225
|
*/
|
|
1806
|
-
|
|
1226
|
+
android_setChannel(channel: $p_a.VeLiveAudioChannel): this;
|
|
1807
1227
|
|
|
1808
1228
|
/** {en}
|
|
1229
|
+
* @platform android
|
|
1809
1230
|
* @detail api
|
|
1810
1231
|
* @brief Gets the audio encoding format.
|
|
1811
1232
|
* @return <br>
|
|
1812
1233
|
* The audio encoding format. See VeLiveAudioProfile {@link #VeLiveAudioProfile} for details.
|
|
1234
|
+
*
|
|
1813
1235
|
*/
|
|
1814
|
-
|
|
1236
|
+
android_getProfile(): $p_a.VeLiveAudioProfile;
|
|
1815
1237
|
|
|
1816
1238
|
/** {en}
|
|
1239
|
+
* @platform android
|
|
1817
1240
|
* @detail api
|
|
1818
1241
|
* @brief Sets the audio encoding format.
|
|
1819
1242
|
* @return <br>The audio encoding configurations. See VeLiveAudioEncoderConfiguration for details.
|
|
1820
1243
|
* @param profile The audio encoding format. The default value is `VeLiveAudioAACProfileLC`. See VeLiveAudioProfile {@link #VeLiveAudioProfile} for details.
|
|
1244
|
+
*
|
|
1821
1245
|
*/
|
|
1822
|
-
|
|
1246
|
+
android_setProfile(profile: $p_a.VeLiveAudioProfile): this;
|
|
1823
1247
|
}
|
|
1824
1248
|
|
|
1825
|
-
/** {en}
|
|
1826
|
-
* @detail keytype
|
|
1827
|
-
* @brief The audio mixing type.
|
|
1828
|
-
*/
|
|
1829
1249
|
export declare enum VeLiveAudioMixType {
|
|
1830
1250
|
|
|
1831
|
-
/** {en}
|
|
1832
|
-
* @brief The audience can hear the mixed audio, but the host cannot.
|
|
1833
|
-
*/
|
|
1834
1251
|
VeLiveAudioMixPush = 0,
|
|
1835
1252
|
|
|
1836
|
-
/** {en}
|
|
1837
|
-
* @brief Both the host and audience can hear the mixed audio.
|
|
1838
|
-
*/
|
|
1839
1253
|
VeLiveAudioMixPlayAndPush = 1
|
|
1840
1254
|
}
|
|
1841
|
-
export declare class
|
|
1842
|
-
static ts_to_android(value:
|
|
1843
|
-
static android_to_ts(value: $p_a.
|
|
1844
|
-
static ts_to_ios(value:
|
|
1845
|
-
static ios_to_ts(value: $p_i.
|
|
1255
|
+
export declare class t_VeLivePusherRenderMode {
|
|
1256
|
+
static ts_to_android(value: VeLivePusherRenderMode): $p_a.VeLivePusherRenderMode;
|
|
1257
|
+
static android_to_ts(value: $p_a.VeLivePusherRenderMode): VeLivePusherRenderMode;
|
|
1258
|
+
static ts_to_ios(value: VeLivePusherRenderMode): $p_i.VeLivePusherRenderMode;
|
|
1259
|
+
static ios_to_ts(value: $p_i.VeLivePusherRenderMode): VeLivePusherRenderMode;
|
|
1846
1260
|
}
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
* @brief Use muted frames as the audio source.
|
|
1877
|
-
*/
|
|
1878
|
-
VeLiveAudioCaptureMuteFrame = 4
|
|
1261
|
+
export declare class t_VeLiveAudioBufferType {
|
|
1262
|
+
static ts_to_android(value: VeLiveAudioBufferType): $p_a.VeLiveAudioBufferType;
|
|
1263
|
+
static android_to_ts(value: $p_a.VeLiveAudioBufferType): VeLiveAudioBufferType;
|
|
1264
|
+
static ts_to_ios(value: VeLiveAudioBufferType): $p_i.VeLiveAudioBufferType;
|
|
1265
|
+
static ios_to_ts(value: $p_i.VeLiveAudioBufferType): VeLiveAudioBufferType;
|
|
1266
|
+
}
|
|
1267
|
+
export declare class t_VeLiveFirstFrameType {
|
|
1268
|
+
static ts_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
|
|
1269
|
+
static android_to_ts(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
|
|
1270
|
+
static ts_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
|
|
1271
|
+
static ios_to_ts(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
|
|
1272
|
+
}
|
|
1273
|
+
export declare class t_VeLiveVideoCaptureType {
|
|
1274
|
+
static ts_to_android(value: VeLiveVideoCaptureType): $p_a.VeLiveVideoCaptureType;
|
|
1275
|
+
static android_to_ts(value: $p_a.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
|
|
1276
|
+
static ts_to_ios(value: VeLiveVideoCaptureType): $p_i.VeLiveVideoCaptureType;
|
|
1277
|
+
static ios_to_ts(value: $p_i.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
|
|
1278
|
+
}
|
|
1279
|
+
export declare class t_VeLiveVideoRotation {
|
|
1280
|
+
static ts_to_android(value: VeLiveVideoRotation): $p_a.VeLiveVideoRotation;
|
|
1281
|
+
static android_to_ts(value: $p_a.VeLiveVideoRotation): VeLiveVideoRotation;
|
|
1282
|
+
static ts_to_ios(value: VeLiveVideoRotation): $p_i.VeLiveVideoRotation;
|
|
1283
|
+
static ios_to_ts(value: $p_i.VeLiveVideoRotation): VeLiveVideoRotation;
|
|
1284
|
+
}
|
|
1285
|
+
export declare class t_VeLiveNetworkQuality {
|
|
1286
|
+
static ts_to_android(value: VeLiveNetworkQuality): $p_a.VeLiveNetworkQuality;
|
|
1287
|
+
static android_to_ts(value: $p_a.VeLiveNetworkQuality): VeLiveNetworkQuality;
|
|
1288
|
+
static ts_to_ios(value: VeLiveNetworkQuality): $p_i.VeLiveNetworkQuality;
|
|
1289
|
+
static ios_to_ts(value: $p_i.VeLiveNetworkQuality): VeLiveNetworkQuality;
|
|
1879
1290
|
}
|
|
1880
1291
|
export declare class t_VeLiveAudioCaptureType {
|
|
1881
1292
|
static ts_to_android(value: VeLiveAudioCaptureType): $p_a.VeLiveAudioCaptureType;
|
|
@@ -1883,70 +1294,99 @@ export declare class t_VeLiveAudioCaptureType {
|
|
|
1883
1294
|
static ts_to_ios(value: VeLiveAudioCaptureType): $p_i.VeLiveAudioCaptureType;
|
|
1884
1295
|
static ios_to_ts(value: $p_i.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
|
|
1885
1296
|
}
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
export declare
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
*/
|
|
1898
|
-
VeLiveVideoEncodeFrameTypeIDR = 1,
|
|
1899
|
-
|
|
1900
|
-
/** {en}
|
|
1901
|
-
* @platform ios
|
|
1902
|
-
* @brief SPS/PPS frame.
|
|
1903
|
-
*/
|
|
1904
|
-
VeLiveVideoEncodeFrameTypeSPSPPS = 2,
|
|
1905
|
-
|
|
1906
|
-
/** {en}
|
|
1907
|
-
* @platform ios
|
|
1908
|
-
* @brief B frame.
|
|
1909
|
-
*/
|
|
1910
|
-
VeLiveVideoEncodeFrameTypeB = 3,
|
|
1911
|
-
|
|
1912
|
-
/** {en}
|
|
1913
|
-
* @platform ios
|
|
1914
|
-
* @brief P frame.
|
|
1915
|
-
*/
|
|
1916
|
-
VeLiveVideoEncodeFrameTypeP = 4
|
|
1297
|
+
export declare class t_VeLiveVideoBufferType {
|
|
1298
|
+
static ts_to_android(value: VeLiveVideoBufferType): $p_a.VeLiveVideoBufferType;
|
|
1299
|
+
static android_to_ts(value: $p_a.VeLiveVideoBufferType): VeLiveVideoBufferType;
|
|
1300
|
+
static ts_to_ios(value: VeLiveVideoBufferType): $p_i.VeLiveVideoBufferType;
|
|
1301
|
+
static ios_to_ts(value: $p_i.VeLiveVideoBufferType): VeLiveVideoBufferType;
|
|
1302
|
+
}
|
|
1303
|
+
export declare class t_VeLiveOrientation {
|
|
1304
|
+
static ts_to_android(value: VeLiveOrientation): $p_a.VeLiveOrientation;
|
|
1305
|
+
static android_to_ts(value: $p_a.VeLiveOrientation): VeLiveOrientation;
|
|
1306
|
+
static ts_to_ios(value: VeLiveOrientation): $p_i.UIInterfaceOrientation;
|
|
1307
|
+
static ios_to_ts(value: $p_i.UIInterfaceOrientation): VeLiveOrientation;
|
|
1917
1308
|
}
|
|
1918
|
-
export declare class
|
|
1919
|
-
static ts_to_android(value:
|
|
1920
|
-
static android_to_ts(value:
|
|
1921
|
-
static ts_to_ios(value:
|
|
1922
|
-
static ios_to_ts(value: $p_i.
|
|
1309
|
+
export declare class t_VeLivePusherStatus {
|
|
1310
|
+
static ts_to_android(value: VeLivePusherStatus): $p_a.VeLivePusherStatus;
|
|
1311
|
+
static android_to_ts(value: $p_a.VeLivePusherStatus): VeLivePusherStatus;
|
|
1312
|
+
static ts_to_ios(value: VeLivePusherStatus): $p_i.VeLivePushStatus;
|
|
1313
|
+
static ios_to_ts(value: $p_i.VeLivePushStatus): VeLivePusherStatus;
|
|
1923
1314
|
}
|
|
1924
|
-
export declare class
|
|
1315
|
+
export declare class t_VeLiveAudioPowerLevel {
|
|
1316
|
+
static ts_to_android(value: VeLiveAudioPowerLevel): $p_a.VeLiveAudioPowerLevel;
|
|
1317
|
+
static android_to_ts(value: $p_a.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
|
|
1318
|
+
static ts_to_ios(value: VeLiveAudioPowerLevel): $p_i.VeLiveAudioPowerLevel;
|
|
1319
|
+
static ios_to_ts(value: $p_i.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
|
|
1925
1320
|
}
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1321
|
+
export declare class t_VeLivePixelFormat {
|
|
1322
|
+
static ts_to_android(value: VeLivePixelFormat): $p_a.VeLivePixelFormat;
|
|
1323
|
+
static android_to_ts(value: $p_a.VeLivePixelFormat): VeLivePixelFormat;
|
|
1324
|
+
static ts_to_ios(value: VeLivePixelFormat): $p_i.VeLivePixelFormat;
|
|
1325
|
+
static ios_to_ts(value: $p_i.VeLivePixelFormat): VeLivePixelFormat;
|
|
1326
|
+
}
|
|
1327
|
+
export declare class t_VeLivePusherLogLevel {
|
|
1328
|
+
static ts_to_android(value: VeLivePusherLogLevel): $p_a.VeLivePusherLogLevel;
|
|
1329
|
+
static android_to_ts(value: $p_a.VeLivePusherLogLevel): VeLivePusherLogLevel;
|
|
1330
|
+
static ts_to_ios(value: VeLivePusherLogLevel): $p_i.VeLivePusherLogLevel;
|
|
1331
|
+
static ios_to_ts(value: $p_i.VeLivePusherLogLevel): VeLivePusherLogLevel;
|
|
1332
|
+
}
|
|
1333
|
+
export declare class t_VeLiveVideoResolution {
|
|
1334
|
+
static ts_to_android(value: VeLiveVideoResolution): $p_a.VeLiveVideoResolution;
|
|
1335
|
+
static android_to_ts(value: $p_a.VeLiveVideoResolution): VeLiveVideoResolution;
|
|
1336
|
+
static ts_to_ios(value: VeLiveVideoResolution): $p_i.VeLiveVideoResolution;
|
|
1337
|
+
static ios_to_ts(value: $p_i.VeLiveVideoResolution): VeLiveVideoResolution;
|
|
1338
|
+
}
|
|
1339
|
+
export declare class t_VeLiveVideoCodec {
|
|
1340
|
+
static ts_to_android(value: VeLiveVideoCodec): $p_a.VeLiveVideoCodec;
|
|
1341
|
+
static android_to_ts(value: $p_a.VeLiveVideoCodec): VeLiveVideoCodec;
|
|
1342
|
+
static ts_to_ios(value: VeLiveVideoCodec): $p_i.VeLiveVideoCodec;
|
|
1343
|
+
static ios_to_ts(value: $p_i.VeLiveVideoCodec): VeLiveVideoCodec;
|
|
1344
|
+
}
|
|
1345
|
+
export declare class t_VeLiveVideoEffectLicenseType {
|
|
1346
|
+
static ts_to_android(value: VeLiveVideoEffectLicenseType): $p_a.VeLiveVideoEffectLicenseType;
|
|
1347
|
+
static android_to_ts(value: $p_a.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
|
|
1348
|
+
static ts_to_ios(value: VeLiveVideoEffectLicenseType): $p_i.VeLiveVideoEffectLicenseType;
|
|
1349
|
+
static ios_to_ts(value: $p_i.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
|
|
1350
|
+
}
|
|
1351
|
+
export declare class t_VeLiveAudioChannel {
|
|
1352
|
+
static ts_to_android(value: VeLiveAudioChannel): $p_a.VeLiveAudioChannel;
|
|
1353
|
+
static android_to_ts(value: $p_a.VeLiveAudioChannel): VeLiveAudioChannel;
|
|
1354
|
+
static ts_to_ios(value: VeLiveAudioChannel): $p_i.VeLiveAudioChannel;
|
|
1355
|
+
static ios_to_ts(value: $p_i.VeLiveAudioChannel): VeLiveAudioChannel;
|
|
1356
|
+
}
|
|
1357
|
+
export declare class t_VeLiveVideoFrameSource {
|
|
1358
|
+
static ts_to_android(value: VeLiveVideoFrameSource): $p_a.VeLiveVideoFrameSource;
|
|
1359
|
+
static android_to_ts(value: $p_a.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
|
|
1360
|
+
static ts_to_ios(value: VeLiveVideoFrameSource): $p_i.VeLiveVideoFrameSource;
|
|
1361
|
+
static ios_to_ts(value: $p_i.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
|
|
1362
|
+
}
|
|
1363
|
+
export declare class t_VeLiveAudioProfile {
|
|
1364
|
+
static ts_to_android(value: VeLiveAudioProfile): $p_a.VeLiveAudioProfile;
|
|
1365
|
+
static android_to_ts(value: $p_a.VeLiveAudioProfile): VeLiveAudioProfile;
|
|
1366
|
+
static ts_to_ios(value: VeLiveAudioProfile): $p_i.VeLiveAudioProfile;
|
|
1367
|
+
static ios_to_ts(value: $p_i.VeLiveAudioProfile): VeLiveAudioProfile;
|
|
1368
|
+
}
|
|
1369
|
+
export declare class t_VeLiveAudioSampleRate {
|
|
1370
|
+
static ts_to_android(value: VeLiveAudioSampleRate): $p_a.VeLiveAudioSampleRate;
|
|
1371
|
+
static android_to_ts(value: $p_a.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
|
|
1372
|
+
static ts_to_ios(value: VeLiveAudioSampleRate): $p_i.VeLiveAudioSampleRate;
|
|
1373
|
+
static ios_to_ts(value: $p_i.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
|
|
1374
|
+
}
|
|
1375
|
+
export declare class t_VeLiveVideoMirrorType {
|
|
1376
|
+
static ts_to_android(value: VeLiveVideoMirrorType): $p_a.VeLiveVideoMirrorType;
|
|
1377
|
+
static android_to_ts(value: $p_a.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
|
|
1378
|
+
static ts_to_ios(value: VeLiveVideoMirrorType): $p_i.VeLiveVideoMirrorType;
|
|
1379
|
+
static ios_to_ts(value: $p_i.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
|
|
1380
|
+
}
|
|
1381
|
+
export declare class t_VeLiveAudioFrameSource {
|
|
1382
|
+
static ts_to_android(value: VeLiveAudioFrameSource): $p_a.VeLiveAudioFrameSource;
|
|
1383
|
+
static android_to_ts(value: $p_a.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
|
|
1384
|
+
static ts_to_ios(value: VeLiveAudioFrameSource): $p_i.VeLiveAudioFrameSource;
|
|
1385
|
+
static ios_to_ts(value: $p_i.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
|
|
1946
1386
|
}
|
|
1947
|
-
export declare class
|
|
1948
|
-
static ts_to_android(value:
|
|
1949
|
-
static android_to_ts(value:
|
|
1950
|
-
static ts_to_ios(value:
|
|
1951
|
-
static ios_to_ts(value: $p_i.
|
|
1387
|
+
export declare class t_VeLiveAudioMixType {
|
|
1388
|
+
static ts_to_android(value: VeLiveAudioMixType): $p_a.VeLiveAudioMixType;
|
|
1389
|
+
static android_to_ts(value: $p_a.VeLiveAudioMixType): VeLiveAudioMixType;
|
|
1390
|
+
static ts_to_ios(value: VeLiveAudioMixType): $p_i.VeLiveAudioMixType;
|
|
1391
|
+
static ios_to_ts(value: $p_i.VeLiveAudioMixType): VeLiveAudioMixType;
|
|
1952
1392
|
}
|