@volcengine/react-native-live-push 1.1.3-rc.0 → 1.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/volcengine/velive/rn/push/ClassHelper.java +9 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +5 -8
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +14 -2
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushPackage.java +16 -13
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushView.java +16 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +7 -2
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +410 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +434 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerViewManager.java +79 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/TextureMgr.java +168 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/YuvHelper.java +165 -0
- package/ios/VeLiveMixerHelper.h +46 -0
- package/ios/VeLiveMixerHelper.m +620 -0
- package/ios/VeLiveMixerView.h +69 -0
- package/ios/VeLiveMixerView.m +600 -0
- package/ios/VeLiveMixerViewManager.m +92 -0
- package/lib/commonjs/index.js +22698 -20359
- package/lib/commonjs/typescript/android/index.d.ts +44 -0
- package/lib/commonjs/typescript/codegen/android/api.d.ts +1068 -0
- package/lib/commonjs/typescript/codegen/android/callback.d.ts +333 -0
- package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +92 -0
- package/lib/commonjs/typescript/codegen/android/index.d.ts +5 -0
- package/lib/commonjs/typescript/codegen/android/keytype.d.ts +1693 -0
- package/lib/commonjs/typescript/codegen/android/types.d.ts +33 -0
- package/lib/commonjs/typescript/codegen/ios/api.d.ts +1125 -0
- package/lib/commonjs/typescript/codegen/ios/callback.d.ts +242 -0
- package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +154 -0
- package/lib/commonjs/typescript/codegen/ios/external.d.ts +1 -0
- package/lib/commonjs/typescript/codegen/ios/index.d.ts +6 -0
- package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +1154 -0
- package/lib/commonjs/typescript/codegen/ios/types.d.ts +46 -0
- package/lib/commonjs/typescript/codegen/pack/api.d.ts +1470 -0
- package/lib/commonjs/typescript/codegen/pack/callback.d.ts +446 -0
- package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +109 -0
- package/lib/commonjs/typescript/codegen/pack/index.d.ts +5 -0
- package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +2248 -0
- package/lib/commonjs/typescript/codegen/pack/types.d.ts +68 -0
- package/lib/commonjs/typescript/codegen/type-shim.d.ts +6 -0
- package/lib/commonjs/typescript/component.d.ts +15 -0
- package/lib/commonjs/typescript/core/api.d.ts +18 -0
- package/lib/commonjs/typescript/core/callback.d.ts +2 -0
- package/lib/commonjs/typescript/core/env.d.ts +29 -0
- package/lib/commonjs/typescript/core/errorcode.d.ts +2 -0
- package/lib/commonjs/typescript/core/index.d.ts +6 -0
- package/lib/commonjs/typescript/core/keytype.d.ts +18 -0
- package/lib/commonjs/typescript/core/mixer.d.ts +26 -0
- package/lib/commonjs/typescript/core/pusher.d.ts +13 -0
- package/lib/commonjs/typescript/index.d.ts +3 -0
- package/lib/commonjs/typescript/ios/extends.d.ts +41 -0
- package/lib/commonjs/typescript/platforms/android/extends.d.ts +8 -0
- package/lib/commonjs/typescript/platforms/android/helper.d.ts +8 -0
- package/lib/commonjs/typescript/platforms/android/mixer.d.ts +8 -0
- package/lib/commonjs/typescript/platforms/ios/extends.d.ts +17 -0
- package/lib/commonjs/typescript/platforms/ios/helper.d.ts +8 -0
- package/lib/commonjs/typescript/platforms/ios/mixer.d.ts +9 -0
- package/lib/commonjs/typescript/runtime.d.ts +1 -0
- package/lib/commonjs/typescript/view/MixView.d.ts +52 -0
- package/lib/commonjs/typescript/view/VeImageView.d.ts +19 -0
- package/lib/commonjs/typescript/view/VeTextView.d.ts +7 -0
- package/lib/commonjs/typescript/view/VeView.d.ts +7 -0
- package/lib/commonjs/typescript/view/VeWebView.d.ts +7 -0
- package/lib/commonjs/typescript/view/index.d.ts +5 -0
- package/lib/module/index.js +22695 -20360
- package/lib/module/typescript/android/index.d.ts +44 -0
- package/lib/module/typescript/codegen/android/api.d.ts +1068 -0
- package/lib/module/typescript/codegen/android/callback.d.ts +333 -0
- package/lib/module/typescript/codegen/android/errorcode.d.ts +92 -0
- package/lib/module/typescript/codegen/android/index.d.ts +5 -0
- package/lib/module/typescript/codegen/android/keytype.d.ts +1693 -0
- package/lib/module/typescript/codegen/android/types.d.ts +33 -0
- package/lib/module/typescript/codegen/ios/api.d.ts +1125 -0
- package/lib/module/typescript/codegen/ios/callback.d.ts +242 -0
- package/lib/module/typescript/codegen/ios/errorcode.d.ts +154 -0
- package/lib/module/typescript/codegen/ios/external.d.ts +1 -0
- package/lib/module/typescript/codegen/ios/index.d.ts +6 -0
- package/lib/module/typescript/codegen/ios/keytype.d.ts +1154 -0
- package/lib/module/typescript/codegen/ios/types.d.ts +46 -0
- package/lib/module/typescript/codegen/pack/api.d.ts +1470 -0
- package/lib/module/typescript/codegen/pack/callback.d.ts +446 -0
- package/lib/module/typescript/codegen/pack/errorcode.d.ts +109 -0
- package/lib/module/typescript/codegen/pack/index.d.ts +5 -0
- package/lib/module/typescript/codegen/pack/keytype.d.ts +2248 -0
- package/lib/module/typescript/codegen/pack/types.d.ts +68 -0
- package/lib/module/typescript/codegen/type-shim.d.ts +6 -0
- package/lib/module/typescript/component.d.ts +15 -0
- package/lib/module/typescript/core/api.d.ts +18 -0
- package/lib/module/typescript/core/callback.d.ts +2 -0
- package/lib/module/typescript/core/env.d.ts +29 -0
- package/lib/module/typescript/core/errorcode.d.ts +2 -0
- package/lib/module/typescript/core/index.d.ts +6 -0
- package/lib/module/typescript/core/keytype.d.ts +18 -0
- package/lib/module/typescript/core/mixer.d.ts +26 -0
- package/lib/module/typescript/core/pusher.d.ts +13 -0
- package/lib/module/typescript/index.d.ts +3 -0
- package/lib/module/typescript/ios/extends.d.ts +41 -0
- package/lib/module/typescript/platforms/android/extends.d.ts +8 -0
- package/lib/module/typescript/platforms/android/helper.d.ts +8 -0
- package/lib/module/typescript/platforms/android/mixer.d.ts +8 -0
- package/lib/module/typescript/platforms/ios/extends.d.ts +17 -0
- package/lib/module/typescript/platforms/ios/helper.d.ts +8 -0
- package/lib/module/typescript/platforms/ios/mixer.d.ts +9 -0
- package/lib/module/typescript/runtime.d.ts +1 -0
- package/lib/module/typescript/view/MixView.d.ts +52 -0
- package/lib/module/typescript/view/VeImageView.d.ts +19 -0
- package/lib/module/typescript/view/VeTextView.d.ts +7 -0
- package/lib/module/typescript/view/VeView.d.ts +7 -0
- package/lib/module/typescript/view/VeWebView.d.ts +7 -0
- package/lib/module/typescript/view/index.d.ts +5 -0
- package/lib/typescript/android/index.d.ts +0 -3
- package/lib/typescript/codegen/android/api.d.ts +194 -762
- package/lib/typescript/codegen/android/callback.d.ts +85 -48
- package/lib/typescript/codegen/android/errorcode.d.ts +30 -0
- package/lib/typescript/codegen/android/keytype.d.ts +514 -122
- package/lib/typescript/codegen/ios/api.d.ts +380 -351
- package/lib/typescript/codegen/ios/callback.d.ts +33 -6
- package/lib/typescript/codegen/ios/errorcode.d.ts +52 -2
- package/lib/typescript/codegen/ios/keytype.d.ts +313 -35
- package/lib/typescript/codegen/pack/api.d.ts +302 -821
- package/lib/typescript/codegen/pack/callback.d.ts +54 -49
- package/lib/typescript/codegen/pack/errorcode.d.ts +38 -5
- package/lib/typescript/codegen/pack/keytype.d.ts +672 -228
- package/lib/typescript/core/api.d.ts +18 -2
- package/lib/typescript/core/keytype.d.ts +16 -0
- package/lib/typescript/core/mixer.d.ts +26 -0
- package/lib/typescript/core/pusher.d.ts +0 -3
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/platforms/android/extends.d.ts +8 -0
- package/lib/typescript/platforms/android/mixer.d.ts +8 -0
- package/lib/typescript/platforms/ios/mixer.d.ts +9 -0
- package/lib/typescript/view/MixView.d.ts +52 -0
- package/lib/typescript/view/VeImageView.d.ts +19 -0
- package/lib/typescript/view/VeTextView.d.ts +7 -0
- package/lib/typescript/view/VeView.d.ts +7 -0
- package/lib/typescript/view/VeWebView.d.ts +7 -0
- package/lib/typescript/view/index.d.ts +5 -0
- package/package.json +1 -1
- package/react-native-velive-push.podspec +3 -3
- package/android/src/main/java/com/volcengine/velive/rn/push/ScreenCaptureHelper.java +0 -73
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as $p_a from '../android/index';
|
|
2
2
|
import * as $p_i from '../ios/index';
|
|
3
|
-
import { ArrayList } from './types';
|
|
4
3
|
/** {zh}
|
|
5
4
|
* @detail keytype
|
|
6
5
|
* @brief 推流本地文件录制配置。
|
|
@@ -13,8 +12,8 @@ export declare class VeLiveFileRecorderConfiguration {
|
|
|
13
12
|
/** {zh}
|
|
14
13
|
* @detail api
|
|
15
14
|
* @brief 设置录制视频宽度。
|
|
16
|
-
* @return <br>推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLiveFileRecorderConfiguration)。
|
|
17
15
|
* @param width 录制视频宽度,默认值为 360
|
|
16
|
+
* @return 推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration)。
|
|
18
17
|
*
|
|
19
18
|
*/
|
|
20
19
|
|
|
@@ -22,8 +21,8 @@ export declare class VeLiveFileRecorderConfiguration {
|
|
|
22
21
|
/** {zh}
|
|
23
22
|
* @detail api
|
|
24
23
|
* @brief 设置录制视频高度。
|
|
25
|
-
* @return <br>推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLiveFileRecorderConfiguration)。
|
|
26
24
|
* @param height 录制视频宽度,默认值为 640。
|
|
25
|
+
* @return 推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration)。<br/>
|
|
27
26
|
*
|
|
28
27
|
*/
|
|
29
28
|
|
|
@@ -31,8 +30,9 @@ export declare class VeLiveFileRecorderConfiguration {
|
|
|
31
30
|
/** {zh}
|
|
32
31
|
* @detail api
|
|
33
32
|
* @brief 设置录制视频码率。
|
|
34
|
-
* @return <br>推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLiveFileRecorderConfiguration)。
|
|
35
33
|
* @param bitrate 录制视频码率,单位为 kbps,默认值为 2000。
|
|
34
|
+
* @return
|
|
35
|
+
* 推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration)。
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
|
|
@@ -40,8 +40,8 @@ export declare class VeLiveFileRecorderConfiguration {
|
|
|
40
40
|
/** {zh}
|
|
41
41
|
* @detail api
|
|
42
42
|
* @brief 设置录制视频帧率。
|
|
43
|
-
* @return <br>推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLiveFileRecorderConfiguration)。
|
|
44
43
|
* @param fps 录制视频帧率,默认值为 15。
|
|
44
|
+
* @return 推流本地文件录制配置对象,详情请参见 [VeLiveFileRecorderConfiguration](#VeLivePusherDef-VeLiveFileRecorderConfiguration)。
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
|
|
@@ -104,15 +104,15 @@ export declare class VeLiveVideoCaptureConfiguration {
|
|
|
104
104
|
* - kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange
|
|
105
105
|
*/
|
|
106
106
|
|
|
107
|
-
get
|
|
108
|
-
set
|
|
107
|
+
get pixelFormat(): $p_i.OSType;
|
|
108
|
+
set pixelFormat(value: $p_i.OSType);
|
|
109
109
|
protected __init(...args: any[]): void;
|
|
110
110
|
protected __new_instance(...args: any[]): any;
|
|
111
111
|
/** {zh}
|
|
112
112
|
* @detail api
|
|
113
113
|
* @brief 设置采集视频宽度。
|
|
114
|
-
* @return <br>推流视频采集参数配置对象,详情请参见 [VeLiveVideoCaptureConfiguration](#VeLiveVideoCaptureConfiguration)。
|
|
115
114
|
* @param width 采集视频宽度,默认值为 720。
|
|
115
|
+
* @return 推流视频采集参数配置对象,详情请参见 [VeLiveVideoCaptureConfiguration](#VeLivePusherDef-VeLiveVideoCaptureConfiguration)。
|
|
116
116
|
*
|
|
117
117
|
*/
|
|
118
118
|
|
|
@@ -120,8 +120,8 @@ export declare class VeLiveVideoCaptureConfiguration {
|
|
|
120
120
|
/** {zh}
|
|
121
121
|
* @detail api
|
|
122
122
|
* @brief 设置采集视频高度。
|
|
123
|
-
* @return <br>推流视频采集参数配置对象,详情请参见 [VeLiveVideoCaptureConfiguration](#VeLiveVideoCaptureConfiguration)。
|
|
124
123
|
* @param height 采集视频高度,默认值为 1280。
|
|
124
|
+
* @return 推流视频采集参数配置对象,详情请参见 [VeLiveVideoCaptureConfiguration](#VeLivePusherDef-VeLiveVideoCaptureConfiguration)。
|
|
125
125
|
*
|
|
126
126
|
*/
|
|
127
127
|
|
|
@@ -129,8 +129,8 @@ export declare class VeLiveVideoCaptureConfiguration {
|
|
|
129
129
|
/** {zh}
|
|
130
130
|
* @detail api
|
|
131
131
|
* @brief 设置采集视频帧率。
|
|
132
|
-
* @return <br>推流视频采集参数配置对象,详情请参见 [VeLiveVideoCaptureConfiguration](#VeLiveVideoCaptureConfiguration)。
|
|
133
132
|
* @param fps 采集视频帧率,默认值为 15。
|
|
133
|
+
* @return 推流视频采集参数配置对象,详情请参见 [VeLiveVideoCaptureConfiguration](#VeLivePusherDef-VeLiveVideoCaptureConfiguration)。
|
|
134
134
|
*
|
|
135
135
|
*/
|
|
136
136
|
|
|
@@ -139,8 +139,7 @@ export declare class VeLiveVideoCaptureConfiguration {
|
|
|
139
139
|
* @platform android
|
|
140
140
|
* @detail api
|
|
141
141
|
* @brief 获取采集视频宽度。
|
|
142
|
-
* @return
|
|
143
|
-
* 采集视频宽度。
|
|
142
|
+
* @return 采集视频宽度。
|
|
144
143
|
*
|
|
145
144
|
*/
|
|
146
145
|
|
|
@@ -176,16 +175,19 @@ export declare enum VeLivePusherRenderMode {
|
|
|
176
175
|
* @brief 视频帧自适应画布。视频帧非等比缩放,直至画布被填满。在此过程中,视频帧的长宽比例可能会发生变化。
|
|
177
176
|
*
|
|
178
177
|
*/
|
|
178
|
+
|
|
179
179
|
VeLivePusherRenderModeFill = 0,
|
|
180
180
|
/** {zh}
|
|
181
181
|
* @brief 视频帧内容全部显示优先。视频尺寸等比缩放,优先保证视频内容全部显示。当视频尺寸与显示窗口尺寸不一致时,会把窗口未被填满的区域填充成背景颜色。
|
|
182
182
|
*
|
|
183
183
|
*/
|
|
184
|
+
|
|
184
185
|
VeLivePusherRenderModeFit = 1,
|
|
185
186
|
/** {zh}
|
|
186
187
|
* @brief 视窗填满优先。视频帧等比缩放,直至视窗被视频填满。如果视频帧长宽比例与视窗不同,视频帧的多出部分将无法显示。
|
|
187
188
|
*
|
|
188
189
|
*/
|
|
190
|
+
|
|
189
191
|
VeLivePusherRenderModeHidden = 2
|
|
190
192
|
}
|
|
191
193
|
/** {zh}
|
|
@@ -198,22 +200,28 @@ export declare enum VeLiveAudioBufferType {
|
|
|
198
200
|
* @brief 未知的音频数据类型。
|
|
199
201
|
*
|
|
200
202
|
*/
|
|
203
|
+
|
|
201
204
|
VeLiveAudioBufferTypeUnknown = 0,
|
|
202
205
|
/** {zh}
|
|
203
206
|
* @platform android
|
|
204
207
|
* @brief ByteBuffer 音频数据类型。
|
|
205
208
|
*
|
|
206
209
|
*/
|
|
210
|
+
|
|
207
211
|
VeLiveAudioBufferTypeByteBuffer = 1,
|
|
208
212
|
/** {zh}
|
|
209
213
|
* @platform ios
|
|
210
214
|
* @brief 音频数据类型为 CMSampleBufferRef。
|
|
215
|
+
*
|
|
211
216
|
*/
|
|
217
|
+
|
|
212
218
|
VeLiveAudioBufferTypeSampleBuffer = 2,
|
|
213
219
|
/** {zh}
|
|
214
220
|
* @platform ios
|
|
215
221
|
* @brief 音频数据类型为 NSData。
|
|
222
|
+
*
|
|
216
223
|
*/
|
|
224
|
+
|
|
217
225
|
VeLiveAudioBufferTypeNSData = 3
|
|
218
226
|
}
|
|
219
227
|
/** {zh}
|
|
@@ -226,42 +234,50 @@ export declare enum VeLiveVideoCaptureType {
|
|
|
226
234
|
* @brief 使用前置摄像头进行视频采集。
|
|
227
235
|
*
|
|
228
236
|
*/
|
|
237
|
+
|
|
229
238
|
VeLiveVideoCaptureFrontCamera = 0,
|
|
230
239
|
/** {zh}
|
|
231
240
|
* @brief 使用后置摄像头进行视频采集。
|
|
232
241
|
*
|
|
233
242
|
*/
|
|
243
|
+
|
|
234
244
|
VeLiveVideoCaptureBackCamera = 1,
|
|
235
245
|
/** {zh}
|
|
236
246
|
* @brief 使用设备的双摄进行视频采集。
|
|
237
247
|
*
|
|
238
248
|
*/
|
|
249
|
+
|
|
239
250
|
VeLiveVideoCaptureDualCamera = 2,
|
|
240
251
|
/** {zh}
|
|
241
252
|
* @platform android
|
|
242
253
|
* @brief 使用屏幕采集。
|
|
243
254
|
*
|
|
244
255
|
*/
|
|
256
|
+
|
|
245
257
|
VeLiveVideoCaptureScreen = 3,
|
|
246
258
|
/** {zh}
|
|
247
259
|
* @brief 使用外部设备或源进行视频采集。
|
|
248
260
|
*
|
|
249
261
|
*/
|
|
262
|
+
|
|
250
263
|
VeLiveVideoCaptureExternal = 4,
|
|
251
264
|
/** {zh}
|
|
252
265
|
* @brief 使用指定的静态图片作为视频源。
|
|
253
266
|
*
|
|
254
267
|
*/
|
|
268
|
+
|
|
255
269
|
VeLiveVideoCaptureCustomImage = 5,
|
|
256
270
|
/** {zh}
|
|
257
271
|
* @brief 使用最近采集的一帧图像重复作为视频源。
|
|
258
272
|
*
|
|
259
273
|
*/
|
|
274
|
+
|
|
260
275
|
VeLiveVideoCaptureLastFrame = 6,
|
|
261
276
|
/** {zh}
|
|
262
277
|
* @brief 使用黑色帧作为视频源,一般用于调试或特殊需求。
|
|
263
278
|
*
|
|
264
279
|
*/
|
|
280
|
+
|
|
265
281
|
VeLiveVideoCaptureDummyFrame = 7
|
|
266
282
|
}
|
|
267
283
|
/** {zh}
|
|
@@ -274,21 +290,25 @@ export declare enum VeLiveVideoRotation {
|
|
|
274
290
|
* @brief 不旋转。
|
|
275
291
|
*
|
|
276
292
|
*/
|
|
293
|
+
|
|
277
294
|
VeLiveVideoRotation0 = 0,
|
|
278
295
|
/** {zh}
|
|
279
296
|
* @brief 顺时针旋转 90 度。
|
|
280
297
|
*
|
|
281
298
|
*/
|
|
299
|
+
|
|
282
300
|
VeLiveVideoRotation90 = 1,
|
|
283
301
|
/** {zh}
|
|
284
302
|
* @brief 顺时针旋转 180 度。
|
|
285
303
|
*
|
|
286
304
|
*/
|
|
305
|
+
|
|
287
306
|
VeLiveVideoRotation180 = 2,
|
|
288
307
|
/** {zh}
|
|
289
308
|
* @brief 顺时针旋转 270 度。
|
|
290
309
|
*
|
|
291
310
|
*/
|
|
311
|
+
|
|
292
312
|
VeLiveVideoRotation270 = 3
|
|
293
313
|
}
|
|
294
314
|
/** {zh}
|
|
@@ -301,21 +321,25 @@ export declare enum VeLiveNetworkQuality {
|
|
|
301
321
|
* @brief 未查询到网络状态。
|
|
302
322
|
*
|
|
303
323
|
*/
|
|
324
|
+
|
|
304
325
|
VeLiveNetworkQualityUnknown = 0,
|
|
305
326
|
/** {zh}
|
|
306
327
|
* @brief 网络差。
|
|
307
328
|
*
|
|
308
329
|
*/
|
|
330
|
+
|
|
309
331
|
VeLiveNetworkQualityBad = 1,
|
|
310
332
|
/** {zh}
|
|
311
333
|
* @brief 网络一般。
|
|
312
334
|
*
|
|
313
335
|
*/
|
|
336
|
+
|
|
314
337
|
VeLiveNetworkQualityPoor = 2,
|
|
315
338
|
/** {zh}
|
|
316
339
|
* @brief 网络状态佳。
|
|
317
340
|
*
|
|
318
341
|
*/
|
|
342
|
+
|
|
319
343
|
VeLiveNetworkQualityGood = 3
|
|
320
344
|
}
|
|
321
345
|
/** {zh}
|
|
@@ -328,27 +352,32 @@ export declare enum VeLiveAudioCaptureType {
|
|
|
328
352
|
* @brief 使用默认麦克风设备进行音频采集。
|
|
329
353
|
*
|
|
330
354
|
*/
|
|
355
|
+
|
|
331
356
|
VeLiveAudioCaptureMicrophone = 0,
|
|
332
357
|
/** {zh}
|
|
333
358
|
* @brief 使用语音通话模式进行音频采集,此模式下会启动硬件的 3A 功能,即自动增益控制、自动频率控制和自动噪声抑制。
|
|
334
359
|
*
|
|
335
360
|
*/
|
|
361
|
+
|
|
336
362
|
VeLiveAudioCaptureVoiceCommunication = 1,
|
|
337
363
|
/** {zh}
|
|
338
364
|
* @brief 使用外部设备或源进行音频采集。
|
|
339
365
|
*
|
|
340
366
|
*/
|
|
367
|
+
|
|
341
368
|
VeLiveAudioCaptureExternal = 3,
|
|
342
369
|
/** {zh}
|
|
343
370
|
* @brief 使用静音帧作为音频源。
|
|
344
371
|
*
|
|
345
372
|
*/
|
|
373
|
+
|
|
346
374
|
VeLiveAudioCaptureMuteFrame = 4,
|
|
347
375
|
/** {zh}
|
|
348
376
|
* @platform android
|
|
349
377
|
* @brief 使用录屏直播无障碍音频模式进行音频采集。
|
|
350
378
|
*
|
|
351
379
|
*/
|
|
380
|
+
|
|
352
381
|
VeLiveAudioCaptureVoiceRecognition = 5
|
|
353
382
|
}
|
|
354
383
|
/** {zh}
|
|
@@ -361,38 +390,48 @@ export declare enum VeLiveVideoBufferType {
|
|
|
361
390
|
* @brief 未知视频数据类型,当未指定输入视频数据的格式时,会默认为此类型。
|
|
362
391
|
*
|
|
363
392
|
*/
|
|
393
|
+
|
|
364
394
|
VeLiveVideoBufferTypeUnknown = 0,
|
|
365
395
|
/** {zh}
|
|
366
396
|
* @brief 视频数据类型为 OpenGL 纹理。
|
|
367
397
|
*
|
|
368
398
|
*/
|
|
399
|
+
|
|
369
400
|
VeLiveVideoBufferTypeTexture = 1,
|
|
370
401
|
/** {zh}
|
|
371
402
|
* @platform android
|
|
372
403
|
* @brief 视频数据类型为 ByteBuffer 类型。
|
|
373
404
|
*
|
|
374
405
|
*/
|
|
406
|
+
|
|
375
407
|
VeLiveVideoBufferTypeByteBuffer = 2,
|
|
376
408
|
/** {zh}
|
|
377
409
|
* @platform android
|
|
378
410
|
* @brief 视频数据类型为 ByteArray 类型。
|
|
379
411
|
*
|
|
380
412
|
*/
|
|
413
|
+
|
|
381
414
|
VeLiveVideoBufferTypeByteArray = 3,
|
|
382
415
|
/** {zh}
|
|
383
416
|
* @platform ios
|
|
384
417
|
* @brief 视频数据类型为 CVPixelBuffer。
|
|
418
|
+
*
|
|
385
419
|
*/
|
|
420
|
+
|
|
386
421
|
VeLiveVideoBufferTypePixelBuffer = 4,
|
|
387
422
|
/** {zh}
|
|
388
423
|
* @platform ios
|
|
389
424
|
* @brief 视频数据类型为 CMSampleBufferRef。
|
|
425
|
+
*
|
|
390
426
|
*/
|
|
427
|
+
|
|
391
428
|
VeLiveVideoBufferTypeSampleBuffer = 5,
|
|
392
429
|
/** {zh}
|
|
393
430
|
* @platform ios
|
|
394
431
|
* @brief 视频数据类型为 NSData。
|
|
432
|
+
*
|
|
395
433
|
*/
|
|
434
|
+
|
|
396
435
|
VeLiveVideoBufferTypeNSData = 6
|
|
397
436
|
}
|
|
398
437
|
/** {zh}
|
|
@@ -405,11 +444,13 @@ export declare enum VeLiveOrientation {
|
|
|
405
444
|
* @brief 横屏模式。
|
|
406
445
|
*
|
|
407
446
|
*/
|
|
447
|
+
|
|
408
448
|
VeLiveOrientationLandscape = 0,
|
|
409
449
|
/** {zh}
|
|
410
450
|
* @brief 竖屏模式。
|
|
411
451
|
*
|
|
412
452
|
*/
|
|
453
|
+
|
|
413
454
|
VeLiveOrientationPortrait = 1,
|
|
414
455
|
/**
|
|
415
456
|
* @platform ios
|
|
@@ -434,36 +475,43 @@ export declare enum VeLivePusherStatus {
|
|
|
434
475
|
* @brief 初始状态。
|
|
435
476
|
*
|
|
436
477
|
*/
|
|
478
|
+
|
|
437
479
|
VeLivePushStatusNone = 0,
|
|
438
480
|
/** {zh}
|
|
439
481
|
* @brief 正在连接服务器。
|
|
440
482
|
*
|
|
441
483
|
*/
|
|
484
|
+
|
|
442
485
|
VeLivePushStatusConnecting = 1,
|
|
443
486
|
/** {zh}
|
|
444
487
|
* @brief 连接服务器成功。
|
|
445
488
|
*
|
|
446
489
|
*/
|
|
490
|
+
|
|
447
491
|
VeLivePushStatusConnectSuccess = 2,
|
|
448
492
|
/** {zh}
|
|
449
493
|
* @brief 重连服务器中。
|
|
450
494
|
*
|
|
451
495
|
*/
|
|
496
|
+
|
|
452
497
|
VeLivePushStatusReconnecting = 3,
|
|
453
498
|
/** {zh}
|
|
454
499
|
* @brief 推流连接被终止。
|
|
455
500
|
*
|
|
456
501
|
*/
|
|
502
|
+
|
|
457
503
|
VeLivePushStatusConnectStop = 4,
|
|
458
504
|
/** {zh}
|
|
459
505
|
* @brief 推流连接失败。
|
|
460
506
|
*
|
|
461
507
|
*/
|
|
508
|
+
|
|
462
509
|
VeLivePushStatusConnectError = 5,
|
|
463
510
|
/** {zh}
|
|
464
511
|
* @brief 与服务器断开连接。
|
|
465
512
|
*
|
|
466
513
|
*/
|
|
514
|
+
|
|
467
515
|
VeLivePushStatusDisconnected = 6
|
|
468
516
|
}
|
|
469
517
|
/** {zh}
|
|
@@ -476,31 +524,37 @@ export declare enum VeLiveAudioPowerLevel {
|
|
|
476
524
|
* @brief 吵闹,音量极高,类似于繁忙的街道或者是音乐会现场,音量超过 85db。
|
|
477
525
|
*
|
|
478
526
|
*/
|
|
527
|
+
|
|
479
528
|
VeLiveAudioPowerLevelNoise = 6,
|
|
480
529
|
/** {zh}
|
|
481
530
|
* @brief 无声,音量 ≤1db。
|
|
482
531
|
*
|
|
483
532
|
*/
|
|
533
|
+
|
|
484
534
|
VeLiveAudioPowerLevelSilent = 0,
|
|
485
535
|
/** {zh}
|
|
486
536
|
* @brief 安静,音量 15db 以下。
|
|
487
537
|
*
|
|
488
538
|
*/
|
|
539
|
+
|
|
489
540
|
VeLiveAudioPowerLevelQuiet = 1,
|
|
490
541
|
/** {zh}
|
|
491
542
|
* @brief 轻声,接近耳语音量,音量为 16db~30db 之间。
|
|
492
543
|
*
|
|
493
544
|
*/
|
|
545
|
+
|
|
494
546
|
VeLiveAudioPowerLevelLight = 2,
|
|
495
547
|
/** {zh}
|
|
496
548
|
* @brief 正常,音量适宜,类似正常对话的音量,音量为 30db~60db 之间。
|
|
497
549
|
*
|
|
498
550
|
*/
|
|
551
|
+
|
|
499
552
|
VeLiveAudioPowerLevelNormal = 3,
|
|
500
553
|
/** {zh}
|
|
501
554
|
* @brief 较大,音量较高,类似咖啡馆、餐厅的环境噪音,音量为 61db~85db 之间。
|
|
502
555
|
*
|
|
503
556
|
*/
|
|
557
|
+
|
|
504
558
|
VeLiveAudioPowerLevelLoud = 4
|
|
505
559
|
}
|
|
506
560
|
/** {zh}
|
|
@@ -513,37 +567,45 @@ export declare enum VeLivePixelFormat {
|
|
|
513
567
|
* @brief 未知格式。
|
|
514
568
|
*
|
|
515
569
|
*/
|
|
570
|
+
|
|
516
571
|
VeLivePixelFormatUnknown = 0,
|
|
517
572
|
/** {zh}
|
|
518
573
|
* @brief I420 格式。
|
|
519
574
|
*
|
|
520
575
|
*/
|
|
576
|
+
|
|
521
577
|
VeLivePixelFormatI420 = 1,
|
|
522
578
|
/** {zh}
|
|
523
579
|
* @brief NV12 格式。
|
|
524
580
|
*
|
|
525
581
|
*/
|
|
582
|
+
|
|
526
583
|
VeLivePixelFormatNV12 = 2,
|
|
527
584
|
/** {zh}
|
|
528
585
|
* @brief NV21 格式。
|
|
529
586
|
*
|
|
530
587
|
*/
|
|
588
|
+
|
|
531
589
|
VeLivePixelFormatNV21 = 3,
|
|
532
590
|
/** {zh}
|
|
533
591
|
* @brief 2D 纹理格式。
|
|
534
592
|
*
|
|
535
593
|
*/
|
|
594
|
+
|
|
536
595
|
VeLivePixelFormat2DTexture = 4,
|
|
537
596
|
/** {zh}
|
|
538
597
|
* @platform android
|
|
539
598
|
* @brief OES 纹理格式。
|
|
540
599
|
*
|
|
541
600
|
*/
|
|
601
|
+
|
|
542
602
|
VeLivePixelFormatOesTexture = 5,
|
|
543
603
|
/** {zh}
|
|
544
604
|
* @platform ios
|
|
545
605
|
* @brief RAGBA 格式。
|
|
606
|
+
*
|
|
546
607
|
*/
|
|
608
|
+
|
|
547
609
|
VeLivePixelFormatBGRA32 = 6
|
|
548
610
|
}
|
|
549
611
|
/** {zh}
|
|
@@ -556,31 +618,37 @@ export declare enum VeLivePusherLogLevel {
|
|
|
556
618
|
* @brief 输出 VERBOSE、DEBUG、INFO、WARNING 和 ERROR 级别的日志。
|
|
557
619
|
*
|
|
558
620
|
*/
|
|
621
|
+
|
|
559
622
|
VeLivePusherLogLevelVerbose = 0,
|
|
560
623
|
/** {zh}
|
|
561
624
|
* @brief 输出 DEBUG、INFO、WARNING 和 ERROR 级别的日志。
|
|
562
625
|
*
|
|
563
626
|
*/
|
|
627
|
+
|
|
564
628
|
VeLivePusherLogLevelDebug = 1,
|
|
565
629
|
/** {zh}
|
|
566
630
|
* @brief 输出 INFO、WARNING 和 ERROR 级别的日志。
|
|
567
631
|
*
|
|
568
632
|
*/
|
|
633
|
+
|
|
569
634
|
VeLivePusherLogLevelInfo = 2,
|
|
570
635
|
/** {zh}
|
|
571
636
|
* @brief 输出 WARNING 和 ERROR 级别的日志。
|
|
572
637
|
*
|
|
573
638
|
*/
|
|
639
|
+
|
|
574
640
|
VeLivePusherLogLevelWarn = 3,
|
|
575
641
|
/** {zh}
|
|
576
642
|
* @brief 输出 ERROR 级别的日志。
|
|
577
643
|
*
|
|
578
644
|
*/
|
|
645
|
+
|
|
579
646
|
VeLivePusherLogLevelError = 4,
|
|
580
647
|
/** {zh}
|
|
581
648
|
* @brief 关闭日志。
|
|
582
649
|
*
|
|
583
650
|
*/
|
|
651
|
+
|
|
584
652
|
VeLivePusherLogLevelNone = 5
|
|
585
653
|
}
|
|
586
654
|
/** {zh}
|
|
@@ -592,19 +660,18 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
592
660
|
protected _instance: any;
|
|
593
661
|
/** {zh}
|
|
594
662
|
* @platform ios
|
|
595
|
-
* @brief 推流视频分辨率,默认值为 VeLiveVideoResolution720P,详情请参见 VeLiveVideoResolution
|
|
663
|
+
* @brief 推流视频分辨率,默认值为 VeLiveVideoResolution720P,详情请参见 [VeLiveVideoResolution](#VeLiveVideoResolution)。
|
|
596
664
|
*/
|
|
597
665
|
|
|
598
|
-
get
|
|
599
|
-
set
|
|
666
|
+
get resolution(): $p_i.VeLiveVideoResolution;
|
|
667
|
+
set resolution(value: $p_i.VeLiveVideoResolution);
|
|
600
668
|
protected __init(...args: any[]): void;
|
|
601
669
|
protected __new_instance(...args: any[]): any;
|
|
602
670
|
/** {zh}
|
|
603
671
|
* @detail api
|
|
604
672
|
* @brief 设置推流视频分辨率。
|
|
605
|
-
* @param resolution 推流视频分辨率,默认值为 VeLiveVideoResolution720P,详情请参见 VeLiveVideoResolution
|
|
606
|
-
* @return
|
|
607
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
673
|
+
* @param resolution 推流视频分辨率,默认值为 VeLiveVideoResolution720P,详情请参见 [VeLiveVideoResolution](#VeLivePusherDef-VeLiveVideoResolution)。
|
|
674
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
608
675
|
*
|
|
609
676
|
*/
|
|
610
677
|
|
|
@@ -612,8 +679,8 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
612
679
|
/** {zh}
|
|
613
680
|
* @detail api
|
|
614
681
|
* @brief 设置推流视频编码格式。
|
|
615
|
-
* @
|
|
616
|
-
* @
|
|
682
|
+
* @param codec 推流视频编码格式,详情请参见 [VeLiveVideoCodec](#VeLiveVideoCodec) 。
|
|
683
|
+
* @return 推流视频编码参数,详见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
617
684
|
*
|
|
618
685
|
*/
|
|
619
686
|
|
|
@@ -622,8 +689,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
622
689
|
* @detail api
|
|
623
690
|
* @brief 设置推流视频编码码率。
|
|
624
691
|
* @param bitrate 推流视频编码码率,单位为 kbps,默认值由 `resolution` 参数值决定。
|
|
625
|
-
* @return
|
|
626
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
692
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
627
693
|
*
|
|
628
694
|
*/
|
|
629
695
|
|
|
@@ -632,8 +698,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
632
698
|
* @detail api
|
|
633
699
|
* @brief 设置推流视频编码最小码率。
|
|
634
700
|
* @param minBitrate 推流视频编码最小码率,单位为 kbps,默认值由 `resolution` 参数值决定;如果开启自适应码率,推流 SDK 根据网络情况进行编码码率自适应调整的最小码率
|
|
635
|
-
* @return
|
|
636
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
701
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
637
702
|
*
|
|
638
703
|
*/
|
|
639
704
|
|
|
@@ -641,9 +706,9 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
641
706
|
/** {zh}
|
|
642
707
|
* @detail api
|
|
643
708
|
* @brief 设置推流视频编码最大码率。
|
|
644
|
-
* @return <br>
|
|
645
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
646
709
|
* @param maxBitrate 推流视频编码最大码率,单位为 kbps,默认值由 `resolution` 参数值决定;如果开启自适应码率,推流 SDK 根据网络情况进行编码码率自适应调整的最大码率。
|
|
710
|
+
* @return
|
|
711
|
+
* 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
647
712
|
*
|
|
648
713
|
*/
|
|
649
714
|
|
|
@@ -652,8 +717,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
652
717
|
* @detail api
|
|
653
718
|
* @brief 设置推流视频编码 GOP。
|
|
654
719
|
* @param gopSize 视频 GOP 大小,单位为 s,默认值为 2
|
|
655
|
-
* @return
|
|
656
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
720
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
657
721
|
*
|
|
658
722
|
*/
|
|
659
723
|
|
|
@@ -662,8 +726,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
662
726
|
* @detail api
|
|
663
727
|
* @brief 设置推流视频编码帧率。
|
|
664
728
|
* @param fps 视频编码帧率,单位为 fps,默认值为 15
|
|
665
|
-
* @return
|
|
666
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
729
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
667
730
|
*
|
|
668
731
|
*/
|
|
669
732
|
|
|
@@ -674,8 +737,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
674
737
|
* @param enableBFrame 是否开启 B 帧。默认为 false。 <br>
|
|
675
738
|
* - true:开启;
|
|
676
739
|
* - false:关闭。
|
|
677
|
-
* @return
|
|
678
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
740
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
679
741
|
*
|
|
680
742
|
*/
|
|
681
743
|
|
|
@@ -686,8 +748,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
686
748
|
* @param enableAccelerate 是否开启硬件编码。默认值为 true。 <br>
|
|
687
749
|
* - true:开启;
|
|
688
750
|
* - false:关闭。
|
|
689
|
-
* @return
|
|
690
|
-
* 推流视频编码参数配置对象,详情请参见 VeLiveVideoEncoderConfiguration{@link #VeLiveVideoEncoderConfiguration}。
|
|
751
|
+
* @return 推流视频编码参数配置对象,详情请参见 [VeLiveVideoEncoderConfiguration](#VeLivePusherDef-VeLiveVideoEncoderConfiguration)。
|
|
691
752
|
*
|
|
692
753
|
*/
|
|
693
754
|
|
|
@@ -696,8 +757,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
696
757
|
* @platform android
|
|
697
758
|
* @detail api
|
|
698
759
|
* @brief 获取推流视频分辨率。
|
|
699
|
-
* @return
|
|
700
|
-
* 推流视频分辨率 VeLiveVideoResolution{@link #VeLiveVideoResolution}。
|
|
760
|
+
* @return 推流视频分辨率 [VeLiveVideoResolution](#VeLivePusherDef-VeLiveVideoResolution)。
|
|
701
761
|
*
|
|
702
762
|
*/
|
|
703
763
|
|
|
@@ -706,8 +766,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
706
766
|
* @platform android
|
|
707
767
|
* @detail api
|
|
708
768
|
* @brief 获取推流视频编码格式。
|
|
709
|
-
* @return
|
|
710
|
-
* 推流视频编码格式,详情请参见 VeLiveVideoCodec{@link #VeLiveVideoCodec}。
|
|
769
|
+
* @return 推流视频编码格式,详情请参见 [VeLiveVideoCodec](#VeLiveVideoCodec)。
|
|
711
770
|
*
|
|
712
771
|
*/
|
|
713
772
|
|
|
@@ -756,8 +815,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
756
815
|
* @platform android
|
|
757
816
|
* @detail api
|
|
758
817
|
* @brief 获取推流视频编码帧率。
|
|
759
|
-
* @return
|
|
760
|
-
* 推流视频编码帧率。
|
|
818
|
+
* @return 推流视频编码帧率。
|
|
761
819
|
*
|
|
762
820
|
*/
|
|
763
821
|
|
|
@@ -766,8 +824,7 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
766
824
|
* @platform android
|
|
767
825
|
* @detail api
|
|
768
826
|
* @brief 获取是否开启 B 帧。
|
|
769
|
-
* @return
|
|
770
|
-
* 是否开启B帧。<br>
|
|
827
|
+
* @return 是否开启B帧。<br/>
|
|
771
828
|
* - true:B 帧开启;
|
|
772
829
|
* - false:B 帧关闭。
|
|
773
830
|
*
|
|
@@ -787,6 +844,274 @@ export declare class VeLiveVideoEncoderConfiguration {
|
|
|
787
844
|
|
|
788
845
|
android_isEnableAccelerate(): boolean;
|
|
789
846
|
}
|
|
847
|
+
/** {zh}
|
|
848
|
+
* @detail keytype
|
|
849
|
+
* @brief 视频帧的数据信息。
|
|
850
|
+
*/
|
|
851
|
+
export declare class VeLiveVideoFrame {
|
|
852
|
+
constructor(width: number, height: number, pts: number, data: ArrayBuffer);
|
|
853
|
+
constructor();
|
|
854
|
+
protected _instance: any;
|
|
855
|
+
/** {zh}
|
|
856
|
+
* @platform ios
|
|
857
|
+
* @brief 视频数据包装格式。默认值为 VeLiveVideoBufferTypeUnknown,详情请参见 [VeLiveVideoBufferType](#VeLiveVideoBufferType)。
|
|
858
|
+
*/
|
|
859
|
+
|
|
860
|
+
get bufferType(): $p_i.VeLiveVideoBufferType;
|
|
861
|
+
set bufferType(value: $p_i.VeLiveVideoBufferType);
|
|
862
|
+
/** {zh}
|
|
863
|
+
* @platform ios
|
|
864
|
+
* @brief 视频帧像素格式。bufferType 为 VeLiveVideoBufferTypeNSData 时,需要指定数据格式。详情请参见 [VeLivePixelFormat](#VeLivePixelFormat)。
|
|
865
|
+
*/
|
|
866
|
+
|
|
867
|
+
get pixelFormat(): $p_i.VeLivePixelFormat;
|
|
868
|
+
set pixelFormat(value: $p_i.VeLivePixelFormat);
|
|
869
|
+
/** {zh}
|
|
870
|
+
* @platform ios
|
|
871
|
+
* @brief 视频帧顺时针旋转角度。详情请参见 [VeLiveVideoRotation](#VeLiveVideoRotation)。
|
|
872
|
+
*/
|
|
873
|
+
|
|
874
|
+
get rotation(): $p_i.VeLiveVideoRotation;
|
|
875
|
+
set rotation(value: $p_i.VeLiveVideoRotation);
|
|
876
|
+
/** {zh}
|
|
877
|
+
* @platform ios
|
|
878
|
+
* @brief 视频宽度,单位为 px。
|
|
879
|
+
*/
|
|
880
|
+
|
|
881
|
+
get width(): $p_i.int;
|
|
882
|
+
set width(value: $p_i.int);
|
|
883
|
+
/** {zh}
|
|
884
|
+
* @platform ios
|
|
885
|
+
* @brief 视频高度,单位为 px。
|
|
886
|
+
*/
|
|
887
|
+
|
|
888
|
+
get height(): $p_i.int;
|
|
889
|
+
set height(value: $p_i.int);
|
|
890
|
+
/** {zh}
|
|
891
|
+
* @platform ios
|
|
892
|
+
* @brief 视频帧时间戳,单位为 μs。
|
|
893
|
+
*/
|
|
894
|
+
|
|
895
|
+
get pts(): $p_i.CMTime;
|
|
896
|
+
set pts(value: $p_i.CMTime);
|
|
897
|
+
/** {zh}
|
|
898
|
+
* @platform ios
|
|
899
|
+
* @brief `bufferType` 为 `VeLiveVideoBufferTypeTexture` 时的视频数据。
|
|
900
|
+
*/
|
|
901
|
+
|
|
902
|
+
get textureId(): $p_i.GLuint;
|
|
903
|
+
set textureId(value: $p_i.GLuint);
|
|
904
|
+
/** {zh}
|
|
905
|
+
* @platform ios
|
|
906
|
+
* @brief `bufferType` 为 `VeLiveVideoBufferTypePixelBuffer` 时的视频数据。
|
|
907
|
+
*/
|
|
908
|
+
|
|
909
|
+
get pixelBuffer(): $p_i.CVPixelBufferRef;
|
|
910
|
+
set pixelBuffer(value: $p_i.CVPixelBufferRef);
|
|
911
|
+
/** {zh}
|
|
912
|
+
* @platform ios
|
|
913
|
+
* @brief `bufferType` 为 `VeLiveVideoBufferTypeSampleBuffer` 时的视频数据。
|
|
914
|
+
*/
|
|
915
|
+
|
|
916
|
+
get sampleBuffer(): $p_i.CMSampleBufferRef;
|
|
917
|
+
set sampleBuffer(value: $p_i.CMSampleBufferRef);
|
|
918
|
+
/** {zh}
|
|
919
|
+
* @platform ios
|
|
920
|
+
* @brief `bufferType` 为 `VeLiveVideoBufferTypeNSData` 时的视频数据。
|
|
921
|
+
*/
|
|
922
|
+
|
|
923
|
+
get data(): $p_i.NSData;
|
|
924
|
+
set data(value: $p_i.NSData);
|
|
925
|
+
protected __init(...args: any[]): void;
|
|
926
|
+
protected __new_instance(...args: any[]): any;
|
|
927
|
+
/** {zh}
|
|
928
|
+
* @platform android
|
|
929
|
+
* @detail api
|
|
930
|
+
* @brief 增加 VeLiveVideoFrame 对象的引用计数。当您需要继续使用 VeLiveVideoFrame 对象时,请调用此方法将引用计数增加 1。
|
|
931
|
+
*
|
|
932
|
+
*/
|
|
933
|
+
|
|
934
|
+
android_retain(): void;
|
|
935
|
+
/** {zh}
|
|
936
|
+
* @platform android
|
|
937
|
+
* @detail api
|
|
938
|
+
* @brief 释放对 VeLiveVideoFrame 对象的引用。在您不再需要使用 VeLiveVideoFrame 对象时,应调用此方法将引用计数减少 1。当引用计数减少到零,表示不再有引用指向该对象,可以安全地释放或销毁该对象。
|
|
939
|
+
*
|
|
940
|
+
*/
|
|
941
|
+
|
|
942
|
+
android_release(): void;
|
|
943
|
+
/** {zh}
|
|
944
|
+
* @platform android
|
|
945
|
+
* @detail api
|
|
946
|
+
* @brief 获取视频数据类型。
|
|
947
|
+
* @return 视频数据类型,详情请参见 [VeLiveVideoBufferType](#VeLiveVideoBufferType)。
|
|
948
|
+
*
|
|
949
|
+
*/
|
|
950
|
+
|
|
951
|
+
android_getBufferType(): $p_a.VeLiveVideoBufferType;
|
|
952
|
+
/** {zh}
|
|
953
|
+
* @platform android
|
|
954
|
+
* @detail api
|
|
955
|
+
* @brief 设置视频数据类型。
|
|
956
|
+
* @param bufferType 视频数据类型,详情请参见 [VeLiveVideoBufferType](#VeLiveVideoBufferType)。
|
|
957
|
+
* @return 视频帧对象,详情请参见 [VeLiveVideoFrame](#VeLiveVideoFrame)。
|
|
958
|
+
*
|
|
959
|
+
*/
|
|
960
|
+
|
|
961
|
+
android_setBufferType(bufferType: $p_a.VeLiveVideoBufferType): this;
|
|
962
|
+
/** {zh}
|
|
963
|
+
* @platform android
|
|
964
|
+
* @detail api
|
|
965
|
+
* @brief 获取视频像素格式。
|
|
966
|
+
* @return 视频像素格式,详情请参见 [VeLivePixelFormat](#VeLivePixelFormat)。
|
|
967
|
+
*
|
|
968
|
+
*/
|
|
969
|
+
|
|
970
|
+
android_getPixelFormat(): $p_a.VeLivePixelFormat;
|
|
971
|
+
/** {zh}
|
|
972
|
+
* @platform android
|
|
973
|
+
* @detail api
|
|
974
|
+
* @brief 设置视频像素格式。
|
|
975
|
+
* @param pixelFormat 视频像素格式,详情请参见 [VeLivePixelFormat](#VeLivePixelFormat)。
|
|
976
|
+
* @return 视频帧对象,详情请参见 [VeLiveVideoFrame](#VeLiveVideoFrame)。
|
|
977
|
+
*
|
|
978
|
+
*/
|
|
979
|
+
|
|
980
|
+
android_setPixelFormat(pixelFormat: $p_a.VeLivePixelFormat): this;
|
|
981
|
+
/** {zh}
|
|
982
|
+
* @platform android
|
|
983
|
+
* @detail api
|
|
984
|
+
* @brief 获取视频帧旋转角度。
|
|
985
|
+
* @return 视频帧旋转角度,详情请参见 [VeLiveVideoRotation](#VeLiveVideoRotation)。
|
|
986
|
+
*
|
|
987
|
+
*/
|
|
988
|
+
|
|
989
|
+
android_getRotation(): $p_a.VeLiveVideoRotation;
|
|
990
|
+
/** {zh}
|
|
991
|
+
* @platform android
|
|
992
|
+
* @detail api
|
|
993
|
+
* @brief 设置视频帧旋转角度。
|
|
994
|
+
* @param rotation 视频帧旋转角度,详情请参见 [VeLiveVideoRotation](#VeLiveVideoRotation)。
|
|
995
|
+
* @return 视频帧对象,详情请参见 [VeLiveVideoFrame](#VeLiveVideoFrame)。
|
|
996
|
+
*
|
|
997
|
+
*/
|
|
998
|
+
|
|
999
|
+
android_setRotation(rotation: $p_a.VeLiveVideoRotation): this;
|
|
1000
|
+
/** {zh}
|
|
1001
|
+
* @platform android
|
|
1002
|
+
* @detail api
|
|
1003
|
+
* @brief 获取视频帧宽度。
|
|
1004
|
+
* @return <br>
|
|
1005
|
+
* 视频帧宽度。
|
|
1006
|
+
*
|
|
1007
|
+
*/
|
|
1008
|
+
|
|
1009
|
+
android_getWidth(): number;
|
|
1010
|
+
/** {zh}
|
|
1011
|
+
* @platform android
|
|
1012
|
+
* @detail api
|
|
1013
|
+
* @brief 获取视频帧高度。
|
|
1014
|
+
* @return <br>
|
|
1015
|
+
* 视频帧高度。
|
|
1016
|
+
*
|
|
1017
|
+
*/
|
|
1018
|
+
|
|
1019
|
+
android_getHeight(): number;
|
|
1020
|
+
/** {zh}
|
|
1021
|
+
* @platform android
|
|
1022
|
+
* @detail api
|
|
1023
|
+
* @brief 获取带旋转角度的视频帧宽度。
|
|
1024
|
+
* @return <br>
|
|
1025
|
+
* 带旋转角度的视频帧宽度。
|
|
1026
|
+
*
|
|
1027
|
+
*/
|
|
1028
|
+
|
|
1029
|
+
android_getRotatedWidth(): number;
|
|
1030
|
+
/** {zh}
|
|
1031
|
+
* @platform android
|
|
1032
|
+
* @detail api
|
|
1033
|
+
* @brief 获取带旋转角度的视频帧高度。
|
|
1034
|
+
* @return <br>
|
|
1035
|
+
* 带旋转角度的视频帧高度。
|
|
1036
|
+
*
|
|
1037
|
+
*/
|
|
1038
|
+
|
|
1039
|
+
android_getRotatedHeight(): number;
|
|
1040
|
+
/** {zh}
|
|
1041
|
+
* @platform android
|
|
1042
|
+
* @detail api
|
|
1043
|
+
* @brief 获取视频帧时间戳。
|
|
1044
|
+
* @return <br>
|
|
1045
|
+
* 视频帧时间戳,单位为 μs。
|
|
1046
|
+
*
|
|
1047
|
+
*/
|
|
1048
|
+
|
|
1049
|
+
android_getPts(): number;
|
|
1050
|
+
/** {zh}
|
|
1051
|
+
* @platform android
|
|
1052
|
+
* @detail api
|
|
1053
|
+
* @brief 获取视频帧纹理 ID。
|
|
1054
|
+
* @return <br>
|
|
1055
|
+
* 视频帧纹理 ID。
|
|
1056
|
+
*
|
|
1057
|
+
*/
|
|
1058
|
+
|
|
1059
|
+
android_getTextureId(): number;
|
|
1060
|
+
/** {zh}
|
|
1061
|
+
* @platform android
|
|
1062
|
+
* @detail api
|
|
1063
|
+
* @brief 获取视频帧纹理矩阵。
|
|
1064
|
+
* @return 视频帧纹理矩阵。
|
|
1065
|
+
*
|
|
1066
|
+
*/
|
|
1067
|
+
|
|
1068
|
+
android_getTextureMatrix(): $p_a.Matrix;
|
|
1069
|
+
/** {zh}
|
|
1070
|
+
* @platform android
|
|
1071
|
+
* @detail api
|
|
1072
|
+
* @brief 获取 ByteBuffer 格式的视频数据。
|
|
1073
|
+
* @return <br>
|
|
1074
|
+
* ByteBuffer 格式的视频数据。
|
|
1075
|
+
*
|
|
1076
|
+
*/
|
|
1077
|
+
|
|
1078
|
+
android_getBuffer(): $p_a.ByteBuffer;
|
|
1079
|
+
/** {zh}
|
|
1080
|
+
* @platform android
|
|
1081
|
+
* @detail api
|
|
1082
|
+
* @brief 获取 byte[] 格式的视频数据。
|
|
1083
|
+
* @return byte[] 格式的视频数据。
|
|
1084
|
+
*
|
|
1085
|
+
*/
|
|
1086
|
+
|
|
1087
|
+
android_getData(): ArrayBuffer;
|
|
1088
|
+
/** {zh}
|
|
1089
|
+
* @platform android
|
|
1090
|
+
* @detail api
|
|
1091
|
+
* @brief 获取视频帧内部销毁回调。
|
|
1092
|
+
* @return <br>
|
|
1093
|
+
* 视频帧内部销毁回调。
|
|
1094
|
+
*
|
|
1095
|
+
*/
|
|
1096
|
+
|
|
1097
|
+
android_getReleaseCallback(): $p_a.Runnable;
|
|
1098
|
+
/** {zh}
|
|
1099
|
+
* @platform android
|
|
1100
|
+
* @detail api
|
|
1101
|
+
* @brief 设置视频帧内部销毁回调。
|
|
1102
|
+
* @param releaseCallback 视频帧内部销毁回调
|
|
1103
|
+
* @return 视频帧对象,详情请参见 [VeLiveVideoFrame](#VeLiveVideoFrame)。
|
|
1104
|
+
*
|
|
1105
|
+
*/
|
|
1106
|
+
|
|
1107
|
+
android_setReleaseCallback(releaseCallback: $p_a.Runnable): this;
|
|
1108
|
+
/** {zh}
|
|
1109
|
+
* @platform ios
|
|
1110
|
+
* @brief 释放回调函数,用于在 SDK 内部处理完 VideoFrame 后通知外部释放相关资源。此回调主要用于 SDK 外部为 VideoFrame 申请内存,以便 SDK 内部使用。但无法预知内部何时使用完毕。
|
|
1111
|
+
*/
|
|
1112
|
+
|
|
1113
|
+
ios_releaseCallback(): void;
|
|
1114
|
+
}
|
|
790
1115
|
/** {zh}
|
|
791
1116
|
* @detail keytype
|
|
792
1117
|
* @brief 视频编码格式。
|
|
@@ -797,11 +1122,13 @@ export declare enum VeLiveVideoCodec {
|
|
|
797
1122
|
* @brief 使用 H.264 视频编码。
|
|
798
1123
|
*
|
|
799
1124
|
*/
|
|
1125
|
+
|
|
800
1126
|
VeLiveVideoCodecH264 = 0,
|
|
801
1127
|
/** {zh}
|
|
802
1128
|
* @brief 使用火山引擎自研 ByteVC1 视频编码。
|
|
803
1129
|
*
|
|
804
1130
|
*/
|
|
1131
|
+
|
|
805
1132
|
VeLiveVideoCodecByteVC1 = 1
|
|
806
1133
|
}
|
|
807
1134
|
/** {zh}
|
|
@@ -936,11 +1263,13 @@ export declare enum VeLiveVideoEffectLicenseType {
|
|
|
936
1263
|
* @brief 离线认证视频特效许可证。
|
|
937
1264
|
*
|
|
938
1265
|
*/
|
|
1266
|
+
|
|
939
1267
|
VeLiveVideoEffectLicenseTypeOffLine = 0,
|
|
940
1268
|
/** {zh}
|
|
941
1269
|
* @brief 在线认证视频特效许可证。
|
|
942
1270
|
*
|
|
943
1271
|
*/
|
|
1272
|
+
|
|
944
1273
|
VeLiveVideoEffectLicenseTypeOnLine = 1
|
|
945
1274
|
}
|
|
946
1275
|
/** {zh}
|
|
@@ -953,11 +1282,13 @@ export declare enum VeLiveAudioChannel {
|
|
|
953
1282
|
* @brief 单声道,适用于语音通信,节省带宽。
|
|
954
1283
|
*
|
|
955
1284
|
*/
|
|
1285
|
+
|
|
956
1286
|
VeLiveAudioChannelMono = 0,
|
|
957
1287
|
/** {zh}
|
|
958
1288
|
* @brief 立体声,适用于音乐播放,提供更丰富的音频体验。
|
|
959
1289
|
*
|
|
960
1290
|
*/
|
|
1291
|
+
|
|
961
1292
|
VeLiveAudioChannelStereo = 1
|
|
962
1293
|
}
|
|
963
1294
|
/** {zh}
|
|
@@ -970,26 +1301,32 @@ export declare enum VeLiveFirstFrameType {
|
|
|
970
1301
|
* @brief 视频/音频采集首帧,采集首帧是从音频设备或视频设备(如麦克风、摄像头)获取的第一帧数据。
|
|
971
1302
|
*
|
|
972
1303
|
*/
|
|
1304
|
+
|
|
973
1305
|
VeLiveFirstCaptureFrame = 0,
|
|
974
1306
|
/** {zh}
|
|
975
1307
|
* @brief 视频渲染首帧,渲染首帧是在渲染过程中在屏幕上显示的第一帧视频数据。
|
|
976
1308
|
*
|
|
977
1309
|
*/
|
|
1310
|
+
|
|
978
1311
|
VeLiveFirstRenderFrame = 1,
|
|
979
1312
|
/** {zh}
|
|
980
1313
|
* @brief 视频/音频编码完成首帧,编码完成首帧是编码为某种特定格式的第一帧数据。
|
|
981
1314
|
*
|
|
982
1315
|
*/
|
|
1316
|
+
|
|
983
1317
|
VeLiveFirstEncodedFrame = 2,
|
|
984
1318
|
/** {zh}
|
|
985
1319
|
* @brief 视频/音频发送首帧,发送首帧是在发送过程中,通过网络传输的第一帧数据。
|
|
986
1320
|
*
|
|
987
1321
|
*/
|
|
1322
|
+
|
|
988
1323
|
VeLiveFirstSendFrame = 3,
|
|
989
1324
|
/** {zh}
|
|
990
1325
|
* @platform ios
|
|
991
1326
|
* @brief 录屏采集开始后,获得的第一个 app 音频帧。
|
|
1327
|
+
*
|
|
992
1328
|
*/
|
|
1329
|
+
|
|
993
1330
|
VeLiveFirstAppAudioCaptureFrame = 4
|
|
994
1331
|
}
|
|
995
1332
|
/** {zh}
|
|
@@ -1021,16 +1358,19 @@ export declare enum VeLiveAudioProfile {
|
|
|
1021
1358
|
* @brief LC-AAC 编码方式。
|
|
1022
1359
|
*
|
|
1023
1360
|
*/
|
|
1361
|
+
|
|
1024
1362
|
VeLiveAudioAACProfileLC = 0,
|
|
1025
1363
|
/** {zh}
|
|
1026
1364
|
* @brief HEv1-AAC 编码方式。
|
|
1027
1365
|
*
|
|
1028
1366
|
*/
|
|
1367
|
+
|
|
1029
1368
|
VeLiveAudioAACProfileHEv1 = 1,
|
|
1030
1369
|
/** {zh}
|
|
1031
1370
|
* @brief HEv2-AAC 编码方式。
|
|
1032
1371
|
*
|
|
1033
1372
|
*/
|
|
1373
|
+
|
|
1034
1374
|
VeLiveAudioAACProfileHEv2 = 2
|
|
1035
1375
|
}
|
|
1036
1376
|
/** {zh}
|
|
@@ -1042,26 +1382,25 @@ export declare class VeLiveAudioCaptureConfiguration {
|
|
|
1042
1382
|
protected _instance: any;
|
|
1043
1383
|
/** {zh}
|
|
1044
1384
|
* @platform ios
|
|
1045
|
-
* @brief 音频采样率,默认值为 `VeLiveAudioSampleRate44100`,详情请参见 VeLiveAudioSampleRate
|
|
1385
|
+
* @brief 音频采样率,默认值为 `VeLiveAudioSampleRate44100`,详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1046
1386
|
*/
|
|
1047
1387
|
|
|
1048
|
-
get
|
|
1049
|
-
set
|
|
1388
|
+
get sampleRate(): $p_i.VeLiveAudioSampleRate;
|
|
1389
|
+
set sampleRate(value: $p_i.VeLiveAudioSampleRate);
|
|
1050
1390
|
/** {zh}
|
|
1051
1391
|
* @platform ios
|
|
1052
|
-
* @brief 音频采集声道数,默认值为 `VeLiveAudioChannelStereo`,详情请参见 VeLiveAudioChannel
|
|
1392
|
+
* @brief 音频采集声道数,默认值为 `VeLiveAudioChannelStereo`,详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
1053
1393
|
*/
|
|
1054
1394
|
|
|
1055
|
-
get
|
|
1056
|
-
set
|
|
1395
|
+
get channel(): $p_i.VeLiveAudioChannel;
|
|
1396
|
+
set channel(value: $p_i.VeLiveAudioChannel);
|
|
1057
1397
|
protected __init(...args: any[]): void;
|
|
1058
1398
|
protected __new_instance(...args: any[]): any;
|
|
1059
1399
|
/** {zh}
|
|
1060
1400
|
* @platform android
|
|
1061
1401
|
* @detail api
|
|
1062
1402
|
* @brief 获取采集音频采样率。
|
|
1063
|
-
* @return
|
|
1064
|
-
* 音频采样率,详情请参见 VeLiveAudioSampleRate{@link #VeLiveAudioSampleRate}。
|
|
1403
|
+
* @return 音频采样率,详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1065
1404
|
*
|
|
1066
1405
|
*/
|
|
1067
1406
|
|
|
@@ -1070,8 +1409,8 @@ export declare class VeLiveAudioCaptureConfiguration {
|
|
|
1070
1409
|
* @platform android
|
|
1071
1410
|
* @detail api
|
|
1072
1411
|
* @brief 设置采集音频采样率。
|
|
1073
|
-
* @
|
|
1074
|
-
* @
|
|
1412
|
+
* @param sampleRate 音频采样率,默认值为 VeLiveAudioSampleRate44100,详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1413
|
+
* @return 推流音频采集参数配置对象,详情请参见 [VeLiveAudioCaptureConfiguration](#VeLivePusherDef-VeLiveAudioCaptureConfiguration)。
|
|
1075
1414
|
*
|
|
1076
1415
|
*/
|
|
1077
1416
|
|
|
@@ -1080,8 +1419,7 @@ export declare class VeLiveAudioCaptureConfiguration {
|
|
|
1080
1419
|
* @platform android
|
|
1081
1420
|
* @detail api
|
|
1082
1421
|
* @brief 获取采集音频声道数。
|
|
1083
|
-
* @return
|
|
1084
|
-
* 音频声道数,详情请参见 VeLiveAudioChannel{@link #VeLiveAudioChannel}。
|
|
1422
|
+
* @return 音频声道数,详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
1085
1423
|
*
|
|
1086
1424
|
*/
|
|
1087
1425
|
|
|
@@ -1090,8 +1428,8 @@ export declare class VeLiveAudioCaptureConfiguration {
|
|
|
1090
1428
|
* @platform android
|
|
1091
1429
|
* @detail api
|
|
1092
1430
|
* @brief 设置采集音频声道数。
|
|
1093
|
-
* @
|
|
1094
|
-
* @
|
|
1431
|
+
* @param channel 音频声道数,默认值为 VeLiveAudioChannelStereo,详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)
|
|
1432
|
+
* @return 推流音频采集参数配置对象,详情请参见 [VeLiveAudioCaptureConfiguration](#VeLivePusherDef-VeLiveAudioCaptureConfiguration)。
|
|
1095
1433
|
*
|
|
1096
1434
|
*/
|
|
1097
1435
|
|
|
@@ -1104,20 +1442,6 @@ export declare class VeLiveAudioCaptureConfiguration {
|
|
|
1104
1442
|
*/
|
|
1105
1443
|
export declare class VeLiveStreamMixDescription {
|
|
1106
1444
|
protected _instance: any;
|
|
1107
|
-
/** {zh}
|
|
1108
|
-
* @brief 视频混流布局设置的数组,其中每个元素代表一路视频流的布局。详情请参见 VeLiveMixVideoLayout{@link #VeLiveMixVideoLayout}。
|
|
1109
|
-
*
|
|
1110
|
-
*/
|
|
1111
|
-
|
|
1112
|
-
get mixVideoStreams(): ArrayList<VeLiveMixVideoLayout>;
|
|
1113
|
-
set mixVideoStreams(value: ArrayList<VeLiveMixVideoLayout>);
|
|
1114
|
-
/** {zh}
|
|
1115
|
-
* @brief 音频混流设置的数组,其中每个元素代表一路音频流的。详情请参见 [VeLiveMixAudioLayout](#VeLiveMixAudioLayout)。
|
|
1116
|
-
*
|
|
1117
|
-
*/
|
|
1118
|
-
|
|
1119
|
-
get mixAudioStreams(): ArrayList<VeLiveMixAudioLayout>;
|
|
1120
|
-
set mixAudioStreams(value: ArrayList<VeLiveMixAudioLayout>);
|
|
1121
1445
|
/** {zh}
|
|
1122
1446
|
* @brief 视频混流画布的背景色设置,采用 #RRGGBB 格式。
|
|
1123
1447
|
*
|
|
@@ -1139,29 +1463,34 @@ export declare enum VeLiveAudioSampleRate {
|
|
|
1139
1463
|
* @brief 8k 采样。
|
|
1140
1464
|
*
|
|
1141
1465
|
*/
|
|
1466
|
+
|
|
1142
1467
|
VeLiveAudioSampleRate8000 = 0,
|
|
1143
1468
|
/** {zh}
|
|
1144
1469
|
* @platform android
|
|
1145
1470
|
* @brief 16k 采样。
|
|
1146
1471
|
*
|
|
1147
1472
|
*/
|
|
1473
|
+
|
|
1148
1474
|
VeLiveAudioSampleRate16000 = 1,
|
|
1149
1475
|
/** {zh}
|
|
1150
1476
|
* @platform android
|
|
1151
1477
|
* @brief 32k 采样。
|
|
1152
1478
|
*
|
|
1153
1479
|
*/
|
|
1480
|
+
|
|
1154
1481
|
VeLiveAudioSampleRate32000 = 2,
|
|
1155
1482
|
/** {zh}
|
|
1156
1483
|
* @brief 44.1k 采样。
|
|
1157
1484
|
*
|
|
1158
1485
|
*/
|
|
1486
|
+
|
|
1159
1487
|
VeLiveAudioSampleRate44100 = 3,
|
|
1160
1488
|
/** {zh}
|
|
1161
1489
|
* @platform android
|
|
1162
1490
|
* @brief 48k 采样。
|
|
1163
1491
|
*
|
|
1164
1492
|
*/
|
|
1493
|
+
|
|
1165
1494
|
VeLiveAudioSampleRate48000 = 4
|
|
1166
1495
|
}
|
|
1167
1496
|
/** {zh}
|
|
@@ -1237,9 +1566,120 @@ export declare enum VeLiveVideoResolution {
|
|
|
1237
1566
|
* - 目标码率:2500kbps
|
|
1238
1567
|
* - 最小码率:1000kbps
|
|
1239
1568
|
* - 最大码率:3800kbps
|
|
1569
|
+
*
|
|
1240
1570
|
*/
|
|
1571
|
+
|
|
1241
1572
|
VeLiveVideoResolutionScreen = 5
|
|
1242
1573
|
}
|
|
1574
|
+
/** {zh}
|
|
1575
|
+
* @detail keytype
|
|
1576
|
+
* @brief 音频帧的数据信息。
|
|
1577
|
+
*/
|
|
1578
|
+
export declare class VeLiveAudioFrame {
|
|
1579
|
+
constructor();
|
|
1580
|
+
constructor();
|
|
1581
|
+
protected _instance: any;
|
|
1582
|
+
/** {zh}
|
|
1583
|
+
* @platform ios
|
|
1584
|
+
* @brief 音频数据类型,默认值为 `VeLiveAudioBufferTypeUnknown`,详情请参见 [VeLiveAudioBufferType](#VeLiveAudioBufferType)。
|
|
1585
|
+
*/
|
|
1586
|
+
|
|
1587
|
+
get bufferType(): $p_i.VeLiveAudioBufferType;
|
|
1588
|
+
set bufferType(value: $p_i.VeLiveAudioBufferType);
|
|
1589
|
+
/** {zh}
|
|
1590
|
+
* @platform ios
|
|
1591
|
+
* @brief 音频采样率。详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1592
|
+
*/
|
|
1593
|
+
|
|
1594
|
+
get sampleRate(): $p_i.VeLiveAudioSampleRate;
|
|
1595
|
+
set sampleRate(value: $p_i.VeLiveAudioSampleRate);
|
|
1596
|
+
/** {zh}
|
|
1597
|
+
* @platform ios
|
|
1598
|
+
* @brief 音频声道数。详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
1599
|
+
*/
|
|
1600
|
+
|
|
1601
|
+
get channels(): $p_i.VeLiveAudioChannel;
|
|
1602
|
+
set channels(value: $p_i.VeLiveAudioChannel);
|
|
1603
|
+
/** {zh}
|
|
1604
|
+
* @platform ios
|
|
1605
|
+
* @brief 当 bufferType 取值为 `VeLiveAudioBufferNSData` 时的音频帧时间戳,单位为 μs。
|
|
1606
|
+
*/
|
|
1607
|
+
|
|
1608
|
+
get pts(): $p_i.CMTime;
|
|
1609
|
+
set pts(value: $p_i.CMTime);
|
|
1610
|
+
/** {zh}
|
|
1611
|
+
* @platform ios
|
|
1612
|
+
* @brief 当 bufferType 取值为 `VeLiveAudioBufferTypeSampleBuffer` 时的音频数据。
|
|
1613
|
+
*/
|
|
1614
|
+
|
|
1615
|
+
get sampleBuffer(): $p_i.CMSampleBufferRef;
|
|
1616
|
+
set sampleBuffer(value: $p_i.CMSampleBufferRef);
|
|
1617
|
+
/** {zh}
|
|
1618
|
+
* @platform ios
|
|
1619
|
+
* @brief 当 bufferType 取值为 `VeLiveAudioBufferTypeNSData` 时的音频数据。音频帧数据为 float32 格式小端字节序存储。
|
|
1620
|
+
*/
|
|
1621
|
+
|
|
1622
|
+
get data(): $p_i.NSData;
|
|
1623
|
+
set data(value: $p_i.NSData);
|
|
1624
|
+
protected __init(...args: any[]): void;
|
|
1625
|
+
protected __new_instance(...args: any[]): any;
|
|
1626
|
+
/** {zh}
|
|
1627
|
+
* @platform android
|
|
1628
|
+
* @detail api
|
|
1629
|
+
* @brief 获取音频数据类型。
|
|
1630
|
+
* @return 音频数据类型,详情请参见 [VeLiveAudioBufferType](#VeLiveAudioBufferType)。
|
|
1631
|
+
*
|
|
1632
|
+
*/
|
|
1633
|
+
|
|
1634
|
+
android_getBufferType(): $p_a.VeLiveAudioBufferType;
|
|
1635
|
+
/** {zh}
|
|
1636
|
+
* @platform android
|
|
1637
|
+
* @detail api
|
|
1638
|
+
* @brief 获取音频采样率。
|
|
1639
|
+
* @return 音频采样率,详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1640
|
+
*
|
|
1641
|
+
*/
|
|
1642
|
+
|
|
1643
|
+
android_getSampleRate(): $p_a.VeLiveAudioSampleRate;
|
|
1644
|
+
/** {zh}
|
|
1645
|
+
* @platform android
|
|
1646
|
+
* @detail api
|
|
1647
|
+
* @brief 获取音频声道数。
|
|
1648
|
+
* @return 音频声道数,详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
1649
|
+
*
|
|
1650
|
+
*/
|
|
1651
|
+
|
|
1652
|
+
android_getChannels(): $p_a.VeLiveAudioChannel;
|
|
1653
|
+
/** {zh}
|
|
1654
|
+
* @platform android
|
|
1655
|
+
* @detail api
|
|
1656
|
+
* @brief 获取每个声道的采样点数。
|
|
1657
|
+
* @return 采样点数。
|
|
1658
|
+
*
|
|
1659
|
+
*/
|
|
1660
|
+
|
|
1661
|
+
android_getSamplesPerChannel(): number;
|
|
1662
|
+
/** {zh}
|
|
1663
|
+
* @platform android
|
|
1664
|
+
* @detail api
|
|
1665
|
+
* @brief 获取音频时间戳,单位为 μs。
|
|
1666
|
+
* @return <br>
|
|
1667
|
+
* 音频时间戳,单位为 μs。
|
|
1668
|
+
*
|
|
1669
|
+
*/
|
|
1670
|
+
|
|
1671
|
+
android_getPts(): number;
|
|
1672
|
+
/** {zh}
|
|
1673
|
+
* @platform android
|
|
1674
|
+
* @detail api
|
|
1675
|
+
* @brief 获取音频数据。音频帧数据为小端字节序存储。
|
|
1676
|
+
* @return <br>
|
|
1677
|
+
* 格式为 ByteBuffer 的音频数据。
|
|
1678
|
+
*
|
|
1679
|
+
*/
|
|
1680
|
+
|
|
1681
|
+
android_getBuffer(): $p_a.ByteBuffer;
|
|
1682
|
+
}
|
|
1243
1683
|
/** {zh}
|
|
1244
1684
|
* @detail keytype
|
|
1245
1685
|
* @brief 音频混流设置。
|
|
@@ -1256,7 +1696,7 @@ export declare class VeLiveMixAudioLayout {
|
|
|
1256
1696
|
set streamId(value: number);
|
|
1257
1697
|
/** {zh}
|
|
1258
1698
|
* @detail api
|
|
1259
|
-
* @brief 混流音频的音量,范围为 [0.0,4.0]。当您将 [VeLiveAudioMixType](
|
|
1699
|
+
* @brief 混流音频的音量,范围为 [0.0,4.0]。当您将 [VeLiveAudioMixType](#VeLiveAudioMixType) 设置为 `VeLiveAudioMixPlayAndPush` 时,该变量同时控制混流音频在拉流端和本地的播放音量。
|
|
1260
1700
|
*
|
|
1261
1701
|
*/
|
|
1262
1702
|
|
|
@@ -1268,7 +1708,7 @@ export declare class VeLiveMixAudioLayout {
|
|
|
1268
1708
|
* @platform android
|
|
1269
1709
|
* @detail api
|
|
1270
1710
|
* @brief 更新音频混流设置。
|
|
1271
|
-
* @param other 新的音频混流设置,详情请参见 [VeLiveMixAudioLayout](#VeLiveMixAudioLayout)。
|
|
1711
|
+
* @param other 新的音频混流设置,详情请参见 [VeLiveMixAudioLayout](#VeLivePusherDef-VeLiveMixAudioLayout)。
|
|
1272
1712
|
*
|
|
1273
1713
|
*/
|
|
1274
1714
|
|
|
@@ -1284,16 +1724,19 @@ export declare enum VeLiveVideoMirrorType {
|
|
|
1284
1724
|
* @brief 对采集画面的镜像控制。开启时,预览和推流画面都会呈现为镜像状态。
|
|
1285
1725
|
*
|
|
1286
1726
|
*/
|
|
1727
|
+
|
|
1287
1728
|
VeLiveVideoMirrorCapture = 0,
|
|
1288
1729
|
/** {zh}
|
|
1289
1730
|
* @brief 对预览画面的镜像控制。开启时,只有主播预览画面呈现镜像状态。
|
|
1290
1731
|
*
|
|
1291
1732
|
*/
|
|
1733
|
+
|
|
1292
1734
|
VeLiveVideoMirrorPreview = 1,
|
|
1293
1735
|
/** {zh}
|
|
1294
1736
|
* @brief 对编码前画面的镜像控制。开启时,主播推流画面呈现镜像状态。
|
|
1295
1737
|
*
|
|
1296
1738
|
*/
|
|
1739
|
+
|
|
1297
1740
|
VeLiveVideoMirrorPushStream = 2
|
|
1298
1741
|
}
|
|
1299
1742
|
/** {zh}
|
|
@@ -1353,19 +1796,28 @@ export declare class VeLiveMixVideoLayout {
|
|
|
1353
1796
|
get zOrder(): number;
|
|
1354
1797
|
set zOrder(value: number);
|
|
1355
1798
|
/** {zh}
|
|
1356
|
-
* @brief 视频流的渲染模式。详情请参见 VeLivePusherRenderMode
|
|
1799
|
+
* @brief 视频流的渲染模式。详情请参见 [VeLivePusherRenderMode](#VeLivePusherRenderMode)。
|
|
1357
1800
|
*
|
|
1358
1801
|
*/
|
|
1359
1802
|
|
|
1360
1803
|
get renderMode(): VeLivePusherRenderMode;
|
|
1361
1804
|
set renderMode(value: VeLivePusherRenderMode);
|
|
1805
|
+
/** {zh}
|
|
1806
|
+
* @brief 是否保留视频流原 Alpha 通道值,默认为保留,当 [alpha](#VeLiveMixVideoLayout-alpha) 取值在 [0.0, 1.0] 之间时,则忽略该配置。
|
|
1807
|
+
* - YES:保留;
|
|
1808
|
+
* - NO:不保留。
|
|
1809
|
+
*
|
|
1810
|
+
*/
|
|
1811
|
+
|
|
1812
|
+
get enableAlpha(): boolean;
|
|
1813
|
+
set enableAlpha(value: boolean);
|
|
1362
1814
|
protected __init(...args: any[]): void;
|
|
1363
1815
|
protected __new_instance(...args: any[]): any;
|
|
1364
1816
|
/** {zh}
|
|
1365
1817
|
* @platform android
|
|
1366
1818
|
* @detail api
|
|
1367
1819
|
* @brief 更新视频混流设置。
|
|
1368
|
-
* @param other 新的视频混流设置,详情请参见 [VeLiveMixVideoLayout](
|
|
1820
|
+
* @param other 新的视频混流设置,详情请参见 [VeLiveMixVideoLayout](#VeLivePusherDef-VeLiveMixVideoLayout)。
|
|
1369
1821
|
*
|
|
1370
1822
|
*/
|
|
1371
1823
|
|
|
@@ -1381,8 +1833,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1381
1833
|
* @platform android
|
|
1382
1834
|
* @detail api
|
|
1383
1835
|
* @brief 初始化配置为本地验证模式。
|
|
1384
|
-
* @return <br>返回 VeLiveVideoEffectLicenseConfiguration 类的实例,该实例使用指定的本地路径进行许可证验证。
|
|
1385
1836
|
* @param path 视频特效许可证的本地缓存路径。可通过 [getPath](#VeLiveVideoEffectLicenseConfiguration-getpath) 获取。
|
|
1837
|
+
* @return 返回 VeLiveVideoEffectLicenseConfiguration 类的实例,该实例使用指定的本地路径进行许可证验证。
|
|
1386
1838
|
*
|
|
1387
1839
|
*/
|
|
1388
1840
|
|
|
@@ -1402,47 +1854,46 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1402
1854
|
protected _instance: any;
|
|
1403
1855
|
/** {zh}
|
|
1404
1856
|
* @platform ios
|
|
1405
|
-
* @brief 获取视频特效许可证类型。许可证类型请参见 VeLiveVideoEffectLicenseType
|
|
1857
|
+
* @brief 获取视频特效许可证类型。许可证类型请参见 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType)。
|
|
1406
1858
|
*/
|
|
1407
1859
|
|
|
1408
|
-
get
|
|
1409
|
-
set
|
|
1860
|
+
get type(): $p_i.VeLiveVideoEffectLicenseType;
|
|
1861
|
+
set type(value: $p_i.VeLiveVideoEffectLicenseType);
|
|
1410
1862
|
/** {zh}
|
|
1411
1863
|
* @platform ios
|
|
1412
|
-
* @brief 获取视频特效许可证的本地路径。当 VeLiveVideoEffectLicenseType
|
|
1864
|
+
* @brief 获取视频特效许可证的本地路径。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOffLine` 时,该属性返回许可证文件的本地路径。
|
|
1413
1865
|
*/
|
|
1414
1866
|
|
|
1415
|
-
get
|
|
1416
|
-
set
|
|
1867
|
+
get path(): $p_i.NSString;
|
|
1868
|
+
set path(value: $p_i.NSString);
|
|
1417
1869
|
/** {zh}
|
|
1418
1870
|
* @platform ios
|
|
1419
|
-
* @brief 获取视频特效许可证的在线认证 key。当 VeLiveVideoEffectLicenseType
|
|
1871
|
+
* @brief 获取视频特效许可证的在线认证 key。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOnLine` 时,该属性返回在线认证的 key。
|
|
1420
1872
|
*/
|
|
1421
1873
|
|
|
1422
|
-
get
|
|
1423
|
-
set
|
|
1874
|
+
get key(): $p_i.NSString;
|
|
1875
|
+
set key(value: $p_i.NSString);
|
|
1424
1876
|
/** {zh}
|
|
1425
1877
|
* @platform ios
|
|
1426
|
-
* @brief 获取视频特效许可证的在线认证 secret。当 VeLiveVideoEffectLicenseType
|
|
1878
|
+
* @brief 获取视频特效许可证的在线认证 secret。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOnLine` 时,该属性返回在线认证的 secret。
|
|
1427
1879
|
*/
|
|
1428
1880
|
|
|
1429
|
-
get
|
|
1430
|
-
set
|
|
1881
|
+
get secret(): $p_i.NSString;
|
|
1882
|
+
set secret(value: $p_i.NSString);
|
|
1431
1883
|
/** {zh}
|
|
1432
1884
|
* @platform ios
|
|
1433
|
-
* @brief 获取视频特效许可证的在线认证地址。当 VeLiveVideoEffectLicenseType
|
|
1885
|
+
* @brief 获取视频特效许可证的在线认证地址。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOnLine` 时,该属性返回在线认证地址。
|
|
1434
1886
|
*/
|
|
1435
1887
|
|
|
1436
|
-
get
|
|
1437
|
-
set
|
|
1888
|
+
get url(): $p_i.NSString;
|
|
1889
|
+
set url(value: $p_i.NSString);
|
|
1438
1890
|
protected __init(...args: any[]): void;
|
|
1439
1891
|
protected __new_instance(...args: any[]): any;
|
|
1440
1892
|
/** {zh}
|
|
1441
1893
|
* @platform android
|
|
1442
1894
|
* @detail api
|
|
1443
1895
|
* @brief 获取视频特效许可证类型。
|
|
1444
|
-
* @return
|
|
1445
|
-
* 视频特效许可证类型,许可证类型请参见 VeLiveVideoEffectLicenseType{@link #VeLiveVideoEffectLicenseType}。
|
|
1896
|
+
* @return 视频特效许可证类型,许可证类型请参见 [VeLiveVideoEffectLicenseType](147521#VeLiveVideoEffectLicenseType)。
|
|
1446
1897
|
*
|
|
1447
1898
|
*/
|
|
1448
1899
|
|
|
@@ -1450,9 +1901,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1450
1901
|
/** {zh}
|
|
1451
1902
|
* @platform android
|
|
1452
1903
|
* @detail api
|
|
1453
|
-
* @brief 获取视频特效许可证的本地路径。当 VeLiveVideoEffectLicenseType
|
|
1454
|
-
* @return
|
|
1455
|
-
* 视频特效许可证的本地路径。
|
|
1904
|
+
* @brief 获取视频特效许可证的本地路径。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOffLine` 时,返回许可证文件的本地路径。
|
|
1905
|
+
* @return 视频特效许可证的本地路径。
|
|
1456
1906
|
*
|
|
1457
1907
|
*/
|
|
1458
1908
|
|
|
@@ -1460,9 +1910,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1460
1910
|
/** {zh}
|
|
1461
1911
|
* @platform android
|
|
1462
1912
|
* @detail api
|
|
1463
|
-
* @brief 获取视频特效许可证的在线认证 key。当 VeLiveVideoEffectLicenseType
|
|
1464
|
-
* @return
|
|
1465
|
-
* 视频特效许可证的在线认证 key。
|
|
1913
|
+
* @brief 获取视频特效许可证的在线认证 key。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOnLine` 时,返回在线认证的 key。
|
|
1914
|
+
* @return 视频特效许可证的在线认证 key。
|
|
1466
1915
|
*
|
|
1467
1916
|
*/
|
|
1468
1917
|
|
|
@@ -1470,9 +1919,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1470
1919
|
/** {zh}
|
|
1471
1920
|
* @platform android
|
|
1472
1921
|
* @detail api
|
|
1473
|
-
* @brief 获取视频特效许可证的在线认证 secret。当 VeLiveVideoEffectLicenseType
|
|
1474
|
-
* @return
|
|
1475
|
-
* 视频特效许可证的在线认证 secret。
|
|
1922
|
+
* @brief 获取视频特效许可证的在线认证 secret。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOnLine` 时,返回在线认证的 secret。
|
|
1923
|
+
* @return 视频特效许可证的在线认证 secret。
|
|
1476
1924
|
*
|
|
1477
1925
|
*/
|
|
1478
1926
|
|
|
@@ -1480,9 +1928,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1480
1928
|
/** {zh}
|
|
1481
1929
|
* @platform android
|
|
1482
1930
|
* @detail api
|
|
1483
|
-
* @brief 获取视频特效许可证的在线认证地址。当 VeLiveVideoEffectLicenseType
|
|
1484
|
-
* @return
|
|
1485
|
-
* 视频特效许可证的在线认证地址。
|
|
1931
|
+
* @brief 获取视频特效许可证的在线认证地址。当 [VeLiveVideoEffectLicenseType](#VeLiveVideoEffectLicenseType) 为 `VeLiveVideoEffectLicenseTypeOnLine` 时,返回在线认证地址。
|
|
1932
|
+
* @return 视频特效许可证的在线认证地址。
|
|
1486
1933
|
*
|
|
1487
1934
|
*/
|
|
1488
1935
|
|
|
@@ -1491,9 +1938,8 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1491
1938
|
* @platform ios
|
|
1492
1939
|
* @detail api
|
|
1493
1940
|
* @brief 初始化配置为本地验证模式。
|
|
1494
|
-
* @param path 视频特效许可证的本地缓存路径。可通过 path
|
|
1495
|
-
* @return
|
|
1496
|
-
* 返回 VeLiveVideoEffectLicenseConfiguration{@link #VeLiveVideoEffectLicenseConfiguration} 类的实例,该实例使用指定的本地路径进行许可证验证。
|
|
1941
|
+
* @param path 视频特效许可证的本地缓存路径。可通过 [path](#VeLiveVideoEffectLicenseConfiguration-path) 获取
|
|
1942
|
+
* @return 返回 [VeLiveVideoEffectLicenseConfiguration](#VeLiveVideoEffectLicenseConfiguration) 类的实例,该实例使用指定的本地路径进行许可证验证。
|
|
1497
1943
|
*/
|
|
1498
1944
|
|
|
1499
1945
|
ios_initWithPath(path: string): this;
|
|
@@ -1501,11 +1947,10 @@ export declare class VeLiveVideoEffectLicenseConfiguration {
|
|
|
1501
1947
|
* @platform ios
|
|
1502
1948
|
* @detail api
|
|
1503
1949
|
* @brief 初始化配置为在线验证模式。
|
|
1504
|
-
* @
|
|
1505
|
-
*
|
|
1506
|
-
* @param
|
|
1507
|
-
* @
|
|
1508
|
-
* @param url 视频特效许可证的在线认证地址,如果传入 nil,会使用默认 url,可通过 [url](155321#VeLiveVideoEffectLicenseConfiguration-url) 获取在线认证地址。
|
|
1950
|
+
* @param key 视频特效许可证的在线认证 key,可通过 [key](#VeLiveVideoEffectLicenseConfiguration-key) 获取。
|
|
1951
|
+
* @param secret 视频特效许可证的在线认证 secret,可通过 [secret](#VeLiveVideoEffectLicenseConfiguration-secret) 获取。
|
|
1952
|
+
* @param url 视频特效许可证的在线认证地址,如果传入 nil,会使用默认 url,可通过 [url](#VeLiveVideoEffectLicenseConfiguration-url) 获取在线认证地址。
|
|
1953
|
+
* @return 返回 [VeLiveVideoEffectLicenseConfiguration](#VeLiveVideoEffectLicenseConfiguration) 类的实例,该实例使用指定的 key、secret 和 url 进行在线许可证验证。
|
|
1509
1954
|
*/
|
|
1510
1955
|
|
|
1511
1956
|
ios_initWithKey(key: string, secret: string, url: string): this;
|
|
@@ -1541,29 +1986,29 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1541
1986
|
* @brief 音频编码码率,单位为 kbps,默认值为 64。
|
|
1542
1987
|
*/
|
|
1543
1988
|
|
|
1544
|
-
get
|
|
1545
|
-
set
|
|
1989
|
+
get bitrate(): $p_i.int;
|
|
1990
|
+
set bitrate(value: $p_i.int);
|
|
1546
1991
|
/** {zh}
|
|
1547
1992
|
* @platform ios
|
|
1548
|
-
* @brief 音频编码采样率,默认值为 VeLiveAudioSampleRate44100,详情请参见 VeLiveAudioSampleRate
|
|
1993
|
+
* @brief 音频编码采样率,默认值为 VeLiveAudioSampleRate44100,详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1549
1994
|
*/
|
|
1550
1995
|
|
|
1551
|
-
get
|
|
1552
|
-
set
|
|
1996
|
+
get sampleRate(): $p_i.VeLiveAudioSampleRate;
|
|
1997
|
+
set sampleRate(value: $p_i.VeLiveAudioSampleRate);
|
|
1553
1998
|
/** {zh}
|
|
1554
1999
|
* @platform ios
|
|
1555
|
-
* @brief 音频声道数,默认值为 VeLiveAudioChannelStereo,详情请参见 VeLiveAudioChannel
|
|
2000
|
+
* @brief 音频声道数,默认值为 VeLiveAudioChannelStereo,详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
1556
2001
|
*/
|
|
1557
2002
|
|
|
1558
|
-
get
|
|
1559
|
-
set
|
|
2003
|
+
get channel(): $p_i.VeLiveAudioChannel;
|
|
2004
|
+
set channel(value: $p_i.VeLiveAudioChannel);
|
|
1560
2005
|
/** {zh}
|
|
1561
2006
|
* @platform ios
|
|
1562
|
-
* @brief AAC 编码类型,默认值为 VeLiveAudioAACProfileLC。详情请参见 VeLiveAudioProfile
|
|
2007
|
+
* @brief AAC 编码类型,默认值为 VeLiveAudioAACProfileLC。详情请参见 [VeLiveAudioProfile](#VeLiveAudioProfile)。
|
|
1563
2008
|
*/
|
|
1564
2009
|
|
|
1565
|
-
get
|
|
1566
|
-
set
|
|
2010
|
+
get profile(): $p_i.VeLiveAudioProfile;
|
|
2011
|
+
set profile(value: $p_i.VeLiveAudioProfile);
|
|
1567
2012
|
protected __init(...args: any[]): void;
|
|
1568
2013
|
protected __new_instance(...args: any[]): any;
|
|
1569
2014
|
/** {zh}
|
|
@@ -1580,8 +2025,8 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1580
2025
|
* @platform android
|
|
1581
2026
|
* @detail api
|
|
1582
2027
|
* @brief 设置推流音频编码码率。
|
|
1583
|
-
* @return <br>推流音频编码参数配置对象,详情请参见 [VeLiveAudioEncoderConfiguration](#VeLiveAudioEncoderConfiguration)。
|
|
1584
2028
|
* @param bitrate 推流音频编码码率,单位为 kbps,默认值为 64。
|
|
2029
|
+
* @return 推流音频编码参数配置对象,详情请参见 [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration)。
|
|
1585
2030
|
*
|
|
1586
2031
|
*/
|
|
1587
2032
|
|
|
@@ -1590,8 +2035,7 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1590
2035
|
* @platform android
|
|
1591
2036
|
* @detail api
|
|
1592
2037
|
* @brief 获取推流音频采样率。
|
|
1593
|
-
* @return
|
|
1594
|
-
* 推流音频采样率。详情请参见 VeLiveAudioSampleRate{@link #VeLiveAudioSampleRate}。
|
|
2038
|
+
* @return 推流音频采样率。详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
1595
2039
|
*
|
|
1596
2040
|
*/
|
|
1597
2041
|
|
|
@@ -1600,8 +2044,8 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1600
2044
|
* @platform android
|
|
1601
2045
|
* @detail api
|
|
1602
2046
|
* @brief 设置推流音频采样率。
|
|
1603
|
-
* @
|
|
1604
|
-
* @
|
|
2047
|
+
* @param sampleRate 推流音频采样率,默认值为 VeLiveAudioSampleRate44100,详情请参见 [VeLiveAudioSampleRate](#VeLiveAudioSampleRate)。
|
|
2048
|
+
* @return 推流音频编码参数配置对象,详情请参见 [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration)。
|
|
1605
2049
|
*
|
|
1606
2050
|
*/
|
|
1607
2051
|
|
|
@@ -1610,8 +2054,7 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1610
2054
|
* @platform android
|
|
1611
2055
|
* @detail api
|
|
1612
2056
|
* @brief 获取推流音频声道。
|
|
1613
|
-
* @return
|
|
1614
|
-
* 推流音频声道。详情请参见 VeLiveAudioChannel{@link #VeLiveAudioChannel}。
|
|
2057
|
+
* @return 推流音频声道。详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
1615
2058
|
*
|
|
1616
2059
|
*/
|
|
1617
2060
|
|
|
@@ -1620,8 +2063,8 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1620
2063
|
* @platform android
|
|
1621
2064
|
* @detail api
|
|
1622
2065
|
* @brief 设置推流音频声道。
|
|
1623
|
-
* @
|
|
1624
|
-
* @
|
|
2066
|
+
* @param channel 推流音频声道,默认值为 VeLiveAudioChannelStereo,详情请参见 [VeLiveAudioChannel](#VeLiveAudioChannel)。
|
|
2067
|
+
* @return 推流音频编码参数配置对象,详情请参见 [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration)。
|
|
1625
2068
|
*
|
|
1626
2069
|
*/
|
|
1627
2070
|
|
|
@@ -1630,8 +2073,7 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1630
2073
|
* @platform android
|
|
1631
2074
|
* @detail api
|
|
1632
2075
|
* @brief 获取推流音频编码类型。
|
|
1633
|
-
* @return
|
|
1634
|
-
* 推流音频编码类型。详情请参见 VeLiveAudioProfile{@link #VeLiveAudioProfile}。
|
|
2076
|
+
* @return 推流音频编码类型。详情请参见 [VeLiveAudioProfile](#VeLiveAudioProfile)。
|
|
1635
2077
|
*
|
|
1636
2078
|
*/
|
|
1637
2079
|
|
|
@@ -1640,8 +2082,8 @@ export declare class VeLiveAudioEncoderConfiguration {
|
|
|
1640
2082
|
* @platform android
|
|
1641
2083
|
* @detail api
|
|
1642
2084
|
* @brief 设置推流音频编码类型。
|
|
1643
|
-
* @
|
|
1644
|
-
* @
|
|
2085
|
+
* @param profile 推流音频编码类型,默认值为 VeLiveAudioAACProfileLC,详情请参见 [VeLiveAudioProfile](#VeLiveAudioProfile)。
|
|
2086
|
+
* @return 推流音频编码参数配置对象,详情请参见 [VeLiveAudioEncoderConfiguration](#VeLivePusherDef-VeLiveAudioEncoderConfiguration)。
|
|
1645
2087
|
*
|
|
1646
2088
|
*/
|
|
1647
2089
|
|
|
@@ -1657,148 +2099,150 @@ export declare enum VeLiveAudioMixType {
|
|
|
1657
2099
|
* @brief 拉流端可以听到混音效果,本地无法听到。
|
|
1658
2100
|
*
|
|
1659
2101
|
*/
|
|
2102
|
+
|
|
1660
2103
|
VeLiveAudioMixPush = 0,
|
|
1661
2104
|
/** {zh}
|
|
1662
2105
|
* @brief 拉流端和本地都可以听到混音效果。
|
|
1663
2106
|
*
|
|
1664
2107
|
*/
|
|
2108
|
+
|
|
1665
2109
|
VeLiveAudioMixPlayAndPush = 1
|
|
1666
2110
|
}
|
|
1667
2111
|
export declare class t_VeLivePusherRenderMode {
|
|
1668
|
-
static
|
|
1669
|
-
static
|
|
1670
|
-
static
|
|
1671
|
-
static
|
|
2112
|
+
static code_to_android(value: VeLivePusherRenderMode): $p_a.VeLivePusherRenderMode;
|
|
2113
|
+
static android_to_code(value: $p_a.VeLivePusherRenderMode): VeLivePusherRenderMode;
|
|
2114
|
+
static code_to_ios(value: VeLivePusherRenderMode): $p_i.VeLivePusherRenderMode;
|
|
2115
|
+
static ios_to_code(value: $p_i.VeLivePusherRenderMode): VeLivePusherRenderMode;
|
|
1672
2116
|
}
|
|
1673
2117
|
export declare class t_VeLiveAudioBufferType {
|
|
1674
|
-
static
|
|
1675
|
-
static
|
|
1676
|
-
static
|
|
1677
|
-
static
|
|
2118
|
+
static code_to_android(value: VeLiveAudioBufferType): $p_a.VeLiveAudioBufferType;
|
|
2119
|
+
static android_to_code(value: $p_a.VeLiveAudioBufferType): VeLiveAudioBufferType;
|
|
2120
|
+
static code_to_ios(value: VeLiveAudioBufferType): $p_i.VeLiveAudioBufferType;
|
|
2121
|
+
static ios_to_code(value: $p_i.VeLiveAudioBufferType): VeLiveAudioBufferType;
|
|
1678
2122
|
}
|
|
1679
2123
|
export declare class t_VeLiveVideoCaptureType {
|
|
1680
|
-
static
|
|
1681
|
-
static
|
|
1682
|
-
static
|
|
1683
|
-
static
|
|
2124
|
+
static code_to_android(value: VeLiveVideoCaptureType): $p_a.VeLiveVideoCaptureType;
|
|
2125
|
+
static android_to_code(value: $p_a.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
|
|
2126
|
+
static code_to_ios(value: VeLiveVideoCaptureType): $p_i.VeLiveVideoCaptureType;
|
|
2127
|
+
static ios_to_code(value: $p_i.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
|
|
1684
2128
|
}
|
|
1685
2129
|
export declare class t_VeLiveVideoRotation {
|
|
1686
|
-
static
|
|
1687
|
-
static
|
|
1688
|
-
static
|
|
1689
|
-
static
|
|
2130
|
+
static code_to_android(value: VeLiveVideoRotation): $p_a.VeLiveVideoRotation;
|
|
2131
|
+
static android_to_code(value: $p_a.VeLiveVideoRotation): VeLiveVideoRotation;
|
|
2132
|
+
static code_to_ios(value: VeLiveVideoRotation): $p_i.VeLiveVideoRotation;
|
|
2133
|
+
static ios_to_code(value: $p_i.VeLiveVideoRotation): VeLiveVideoRotation;
|
|
1690
2134
|
}
|
|
1691
2135
|
export declare class t_VeLiveNetworkQuality {
|
|
1692
|
-
static
|
|
1693
|
-
static
|
|
1694
|
-
static
|
|
1695
|
-
static
|
|
2136
|
+
static code_to_android(value: VeLiveNetworkQuality): $p_a.VeLiveNetworkQuality;
|
|
2137
|
+
static android_to_code(value: $p_a.VeLiveNetworkQuality): VeLiveNetworkQuality;
|
|
2138
|
+
static code_to_ios(value: VeLiveNetworkQuality): $p_i.VeLiveNetworkQuality;
|
|
2139
|
+
static ios_to_code(value: $p_i.VeLiveNetworkQuality): VeLiveNetworkQuality;
|
|
1696
2140
|
}
|
|
1697
2141
|
export declare class t_VeLiveAudioCaptureType {
|
|
1698
|
-
static
|
|
1699
|
-
static
|
|
1700
|
-
static
|
|
1701
|
-
static
|
|
2142
|
+
static code_to_android(value: VeLiveAudioCaptureType): $p_a.VeLiveAudioCaptureType;
|
|
2143
|
+
static android_to_code(value: $p_a.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
|
|
2144
|
+
static code_to_ios(value: VeLiveAudioCaptureType): $p_i.VeLiveAudioCaptureType;
|
|
2145
|
+
static ios_to_code(value: $p_i.VeLiveAudioCaptureType): VeLiveAudioCaptureType;
|
|
1702
2146
|
}
|
|
1703
2147
|
export declare class t_VeLiveVideoBufferType {
|
|
1704
|
-
static
|
|
1705
|
-
static
|
|
1706
|
-
static
|
|
1707
|
-
static
|
|
2148
|
+
static code_to_android(value: VeLiveVideoBufferType): $p_a.VeLiveVideoBufferType;
|
|
2149
|
+
static android_to_code(value: $p_a.VeLiveVideoBufferType): VeLiveVideoBufferType;
|
|
2150
|
+
static code_to_ios(value: VeLiveVideoBufferType): $p_i.VeLiveVideoBufferType;
|
|
2151
|
+
static ios_to_code(value: $p_i.VeLiveVideoBufferType): VeLiveVideoBufferType;
|
|
1708
2152
|
}
|
|
1709
2153
|
export declare class t_VeLiveOrientation {
|
|
1710
|
-
static
|
|
1711
|
-
static
|
|
1712
|
-
static
|
|
1713
|
-
static
|
|
2154
|
+
static code_to_android(value: VeLiveOrientation): $p_a.VeLiveOrientation;
|
|
2155
|
+
static android_to_code(value: $p_a.VeLiveOrientation): VeLiveOrientation;
|
|
2156
|
+
static code_to_ios(value: VeLiveOrientation): $p_i.UIInterfaceOrientation;
|
|
2157
|
+
static ios_to_code(value: $p_i.UIInterfaceOrientation): VeLiveOrientation;
|
|
1714
2158
|
}
|
|
1715
2159
|
export declare class t_VeLivePusherStatus {
|
|
1716
|
-
static
|
|
1717
|
-
static
|
|
1718
|
-
static
|
|
1719
|
-
static
|
|
2160
|
+
static code_to_android(value: VeLivePusherStatus): $p_a.VeLivePusherStatus;
|
|
2161
|
+
static android_to_code(value: $p_a.VeLivePusherStatus): VeLivePusherStatus;
|
|
2162
|
+
static code_to_ios(value: VeLivePusherStatus): $p_i.VeLivePushStatus;
|
|
2163
|
+
static ios_to_code(value: $p_i.VeLivePushStatus): VeLivePusherStatus;
|
|
1720
2164
|
}
|
|
1721
2165
|
export declare class t_VeLiveAudioPowerLevel {
|
|
1722
|
-
static
|
|
1723
|
-
static
|
|
1724
|
-
static
|
|
1725
|
-
static
|
|
2166
|
+
static code_to_android(value: VeLiveAudioPowerLevel): $p_a.VeLiveAudioPowerLevel;
|
|
2167
|
+
static android_to_code(value: $p_a.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
|
|
2168
|
+
static code_to_ios(value: VeLiveAudioPowerLevel): $p_i.VeLiveAudioPowerLevel;
|
|
2169
|
+
static ios_to_code(value: $p_i.VeLiveAudioPowerLevel): VeLiveAudioPowerLevel;
|
|
1726
2170
|
}
|
|
1727
2171
|
export declare class t_VeLivePixelFormat {
|
|
1728
|
-
static
|
|
1729
|
-
static
|
|
1730
|
-
static
|
|
1731
|
-
static
|
|
2172
|
+
static code_to_android(value: VeLivePixelFormat): $p_a.VeLivePixelFormat;
|
|
2173
|
+
static android_to_code(value: $p_a.VeLivePixelFormat): VeLivePixelFormat;
|
|
2174
|
+
static code_to_ios(value: VeLivePixelFormat): $p_i.VeLivePixelFormat;
|
|
2175
|
+
static ios_to_code(value: $p_i.VeLivePixelFormat): VeLivePixelFormat;
|
|
1732
2176
|
}
|
|
1733
2177
|
export declare class t_VeLivePusherLogLevel {
|
|
1734
|
-
static
|
|
1735
|
-
static
|
|
1736
|
-
static
|
|
1737
|
-
static
|
|
2178
|
+
static code_to_android(value: VeLivePusherLogLevel): $p_a.VeLivePusherLogLevel;
|
|
2179
|
+
static android_to_code(value: $p_a.VeLivePusherLogLevel): VeLivePusherLogLevel;
|
|
2180
|
+
static code_to_ios(value: VeLivePusherLogLevel): $p_i.VeLivePusherLogLevel;
|
|
2181
|
+
static ios_to_code(value: $p_i.VeLivePusherLogLevel): VeLivePusherLogLevel;
|
|
1738
2182
|
}
|
|
1739
2183
|
export declare class t_VeLiveVideoResolution {
|
|
1740
|
-
static
|
|
1741
|
-
static
|
|
1742
|
-
static
|
|
1743
|
-
static
|
|
2184
|
+
static code_to_android(value: VeLiveVideoResolution): $p_a.VeLiveVideoResolution;
|
|
2185
|
+
static android_to_code(value: $p_a.VeLiveVideoResolution): VeLiveVideoResolution;
|
|
2186
|
+
static code_to_ios(value: VeLiveVideoResolution): $p_i.VeLiveVideoResolution;
|
|
2187
|
+
static ios_to_code(value: $p_i.VeLiveVideoResolution): VeLiveVideoResolution;
|
|
1744
2188
|
}
|
|
1745
2189
|
export declare class t_VeLiveVideoCodec {
|
|
1746
|
-
static
|
|
1747
|
-
static
|
|
1748
|
-
static
|
|
1749
|
-
static
|
|
2190
|
+
static code_to_android(value: VeLiveVideoCodec): $p_a.VeLiveVideoCodec;
|
|
2191
|
+
static android_to_code(value: $p_a.VeLiveVideoCodec): VeLiveVideoCodec;
|
|
2192
|
+
static code_to_ios(value: VeLiveVideoCodec): $p_i.VeLiveVideoCodec;
|
|
2193
|
+
static ios_to_code(value: $p_i.VeLiveVideoCodec): VeLiveVideoCodec;
|
|
1750
2194
|
}
|
|
1751
2195
|
export declare class t_VeLiveVideoEffectLicenseType {
|
|
1752
|
-
static
|
|
1753
|
-
static
|
|
1754
|
-
static
|
|
1755
|
-
static
|
|
2196
|
+
static code_to_android(value: VeLiveVideoEffectLicenseType): $p_a.VeLiveVideoEffectLicenseType;
|
|
2197
|
+
static android_to_code(value: $p_a.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
|
|
2198
|
+
static code_to_ios(value: VeLiveVideoEffectLicenseType): $p_i.VeLiveVideoEffectLicenseType;
|
|
2199
|
+
static ios_to_code(value: $p_i.VeLiveVideoEffectLicenseType): VeLiveVideoEffectLicenseType;
|
|
1756
2200
|
}
|
|
1757
2201
|
export declare class t_VeLiveAudioChannel {
|
|
1758
|
-
static
|
|
1759
|
-
static
|
|
1760
|
-
static
|
|
1761
|
-
static
|
|
2202
|
+
static code_to_android(value: VeLiveAudioChannel): $p_a.VeLiveAudioChannel;
|
|
2203
|
+
static android_to_code(value: $p_a.VeLiveAudioChannel): VeLiveAudioChannel;
|
|
2204
|
+
static code_to_ios(value: VeLiveAudioChannel): $p_i.VeLiveAudioChannel;
|
|
2205
|
+
static ios_to_code(value: $p_i.VeLiveAudioChannel): VeLiveAudioChannel;
|
|
1762
2206
|
}
|
|
1763
2207
|
export declare class t_VeLiveFirstFrameType {
|
|
1764
|
-
static
|
|
1765
|
-
static
|
|
1766
|
-
static
|
|
1767
|
-
static
|
|
2208
|
+
static code_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
|
|
2209
|
+
static android_to_code(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
|
|
2210
|
+
static code_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
|
|
2211
|
+
static ios_to_code(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
|
|
1768
2212
|
}
|
|
1769
2213
|
export declare class t_VeLiveVideoFrameSource {
|
|
1770
|
-
static
|
|
1771
|
-
static
|
|
1772
|
-
static
|
|
1773
|
-
static
|
|
2214
|
+
static code_to_android(value: VeLiveVideoFrameSource): $p_a.VeLiveVideoFrameSource;
|
|
2215
|
+
static android_to_code(value: $p_a.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
|
|
2216
|
+
static code_to_ios(value: VeLiveVideoFrameSource): $p_i.VeLiveVideoFrameSource;
|
|
2217
|
+
static ios_to_code(value: $p_i.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
|
|
1774
2218
|
}
|
|
1775
2219
|
export declare class t_VeLiveAudioProfile {
|
|
1776
|
-
static
|
|
1777
|
-
static
|
|
1778
|
-
static
|
|
1779
|
-
static
|
|
2220
|
+
static code_to_android(value: VeLiveAudioProfile): $p_a.VeLiveAudioProfile;
|
|
2221
|
+
static android_to_code(value: $p_a.VeLiveAudioProfile): VeLiveAudioProfile;
|
|
2222
|
+
static code_to_ios(value: VeLiveAudioProfile): $p_i.VeLiveAudioProfile;
|
|
2223
|
+
static ios_to_code(value: $p_i.VeLiveAudioProfile): VeLiveAudioProfile;
|
|
1780
2224
|
}
|
|
1781
2225
|
export declare class t_VeLiveAudioSampleRate {
|
|
1782
|
-
static
|
|
1783
|
-
static
|
|
1784
|
-
static
|
|
1785
|
-
static
|
|
2226
|
+
static code_to_android(value: VeLiveAudioSampleRate): $p_a.VeLiveAudioSampleRate;
|
|
2227
|
+
static android_to_code(value: $p_a.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
|
|
2228
|
+
static code_to_ios(value: VeLiveAudioSampleRate): $p_i.VeLiveAudioSampleRate;
|
|
2229
|
+
static ios_to_code(value: $p_i.VeLiveAudioSampleRate): VeLiveAudioSampleRate;
|
|
1786
2230
|
}
|
|
1787
2231
|
export declare class t_VeLiveVideoMirrorType {
|
|
1788
|
-
static
|
|
1789
|
-
static
|
|
1790
|
-
static
|
|
1791
|
-
static
|
|
2232
|
+
static code_to_android(value: VeLiveVideoMirrorType): $p_a.VeLiveVideoMirrorType;
|
|
2233
|
+
static android_to_code(value: $p_a.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
|
|
2234
|
+
static code_to_ios(value: VeLiveVideoMirrorType): $p_i.VeLiveVideoMirrorType;
|
|
2235
|
+
static ios_to_code(value: $p_i.VeLiveVideoMirrorType): VeLiveVideoMirrorType;
|
|
1792
2236
|
}
|
|
1793
2237
|
export declare class t_VeLiveAudioFrameSource {
|
|
1794
|
-
static
|
|
1795
|
-
static
|
|
1796
|
-
static
|
|
1797
|
-
static
|
|
2238
|
+
static code_to_android(value: VeLiveAudioFrameSource): $p_a.VeLiveAudioFrameSource;
|
|
2239
|
+
static android_to_code(value: $p_a.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
|
|
2240
|
+
static code_to_ios(value: VeLiveAudioFrameSource): $p_i.VeLiveAudioFrameSource;
|
|
2241
|
+
static ios_to_code(value: $p_i.VeLiveAudioFrameSource): VeLiveAudioFrameSource;
|
|
1798
2242
|
}
|
|
1799
2243
|
export declare class t_VeLiveAudioMixType {
|
|
1800
|
-
static
|
|
1801
|
-
static
|
|
1802
|
-
static
|
|
1803
|
-
static
|
|
2244
|
+
static code_to_android(value: VeLiveAudioMixType): $p_a.VeLiveAudioMixType;
|
|
2245
|
+
static android_to_code(value: $p_a.VeLiveAudioMixType): VeLiveAudioMixType;
|
|
2246
|
+
static code_to_ios(value: VeLiveAudioMixType): $p_i.VeLiveAudioMixType;
|
|
2247
|
+
static ios_to_code(value: $p_i.VeLiveAudioMixType): VeLiveAudioMixType;
|
|
1804
2248
|
}
|