@byteplus/react-native-live-push 1.1.3-rc.4 → 1.3.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 +1 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +2 -4
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +50 -145
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerViewManager.java +1 -37
- package/ios/VeLiveMixerHelper.h +16 -11
- package/ios/VeLiveMixerHelper.m +39 -13
- package/ios/VeLiveMixerView.h +1 -8
- package/ios/VeLiveMixerView.m +178 -231
- package/ios/VeLiveMixerViewManager.m +2 -38
- package/lib/commonjs/index.js +23205 -20306
- package/lib/commonjs/typescript/android/index.d.ts +0 -3
- package/lib/commonjs/typescript/codegen/android/api.d.ts +190 -644
- package/lib/commonjs/typescript/codegen/android/callback.d.ts +234 -2
- package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +66 -0
- package/lib/commonjs/typescript/codegen/android/keytype.d.ts +1014 -181
- package/lib/commonjs/typescript/codegen/ios/api.d.ts +890 -0
- package/lib/commonjs/typescript/codegen/ios/callback.d.ts +162 -0
- package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +101 -1
- package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +694 -0
- package/lib/commonjs/typescript/codegen/pack/api.d.ts +303 -686
- package/lib/commonjs/typescript/codegen/pack/callback.d.ts +37 -38
- package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +75 -5
- package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +1002 -298
- package/lib/commonjs/typescript/core/api.d.ts +2 -1
- package/lib/commonjs/typescript/core/keytype.d.ts +2 -3
- package/lib/commonjs/typescript/core/pusher.d.ts +0 -3
- package/lib/commonjs/typescript/view/MixView.d.ts +1 -9
- package/lib/module/index.js +23206 -20306
- package/lib/module/typescript/android/index.d.ts +0 -3
- package/lib/module/typescript/codegen/android/api.d.ts +190 -644
- package/lib/module/typescript/codegen/android/callback.d.ts +234 -2
- package/lib/module/typescript/codegen/android/errorcode.d.ts +66 -0
- package/lib/module/typescript/codegen/android/keytype.d.ts +1014 -181
- package/lib/module/typescript/codegen/ios/api.d.ts +890 -0
- package/lib/module/typescript/codegen/ios/callback.d.ts +162 -0
- package/lib/module/typescript/codegen/ios/errorcode.d.ts +101 -1
- package/lib/module/typescript/codegen/ios/keytype.d.ts +694 -0
- package/lib/module/typescript/codegen/pack/api.d.ts +303 -686
- package/lib/module/typescript/codegen/pack/callback.d.ts +37 -38
- package/lib/module/typescript/codegen/pack/errorcode.d.ts +75 -5
- package/lib/module/typescript/codegen/pack/keytype.d.ts +1002 -298
- package/lib/module/typescript/core/api.d.ts +2 -1
- package/lib/module/typescript/core/keytype.d.ts +2 -3
- package/lib/module/typescript/core/pusher.d.ts +0 -3
- package/lib/module/typescript/view/MixView.d.ts +1 -9
- package/lib/typescript/android/index.d.ts +0 -3
- package/lib/typescript/codegen/android/api.d.ts +190 -644
- package/lib/typescript/codegen/android/callback.d.ts +234 -2
- package/lib/typescript/codegen/android/errorcode.d.ts +66 -0
- package/lib/typescript/codegen/android/keytype.d.ts +1014 -181
- package/lib/typescript/codegen/ios/api.d.ts +890 -0
- package/lib/typescript/codegen/ios/callback.d.ts +162 -0
- package/lib/typescript/codegen/ios/errorcode.d.ts +101 -1
- package/lib/typescript/codegen/ios/keytype.d.ts +694 -0
- package/lib/typescript/codegen/pack/api.d.ts +303 -686
- package/lib/typescript/codegen/pack/callback.d.ts +37 -38
- package/lib/typescript/codegen/pack/errorcode.d.ts +75 -5
- package/lib/typescript/codegen/pack/keytype.d.ts +1002 -298
- package/lib/typescript/core/api.d.ts +2 -1
- package/lib/typescript/core/keytype.d.ts +2 -3
- package/lib/typescript/core/pusher.d.ts +0 -3
- package/lib/typescript/view/MixView.d.ts +1 -9
- 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,197 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { int, float, String, EGLContext, View, Bitmap, long } from './types';
|
|
2
|
+
import { VeLiveVideoEffectLicenseConfiguration, VeLivePusherLogLevel, VeLivePusherRenderMode, VeLiveVideoMirrorType, VeLiveVideoCaptureType, VeLiveAudioCaptureType, VeLiveVideoEncoderConfiguration, VeLiveAudioEncoderConfiguration, VeLiveFileRecorderConfiguration, VeLiveVideoFrame, VeLiveAudioFrame, VeLiveOrientation } from './keytype';
|
|
3
3
|
import { VeLiveVideoEffectCallback, VeLiveVideoEffectHandleCallback, VeLivePusherObserver, VeLivePusherStatisticsObserver, VeLiveFileRecordingListener, VeLiveVideoFrameFilter, VeLiveAudioFrameFilter, VeLiveVideoFrameListener, VeLiveAudioFrameListener, VeLiveSnapshotListener, VeLiveMediaPlayerListener, VeLiveMediaPlayerFrameListener } from './callback';
|
|
4
|
-
export declare class VeLiveVideoFrame {
|
|
5
|
-
constructor(width: int, height: int, pts: long, texId: int, isOes: boolean, matrix: Matrix);
|
|
6
|
-
constructor(width: int, height: int, pts: long, byteBuffer: ByteBuffer);
|
|
7
|
-
constructor(width: int, height: int, pts: long, data: ArrayBuffer);
|
|
8
|
-
constructor();
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
ptsUs: number;
|
|
12
|
-
textureId: number;
|
|
13
|
-
data: any;
|
|
14
|
-
|
|
15
|
-
/** {en}
|
|
16
|
-
* @detail api
|
|
17
|
-
* @brief Increases the reference count of the `VeLiveVideoFrame` object. Call this method to increase the reference count by 1 if you need to continue using the `VeLiveVideoFrame` object.
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
retain(): void;
|
|
21
|
-
|
|
22
|
-
/** {en}
|
|
23
|
-
* @detail api
|
|
24
|
-
* @brief Releases the reference to the `VeLiveVideoFrame` object. Call this method to reduce the reference count by 1 when you no longer need to use the `VeLiveVideoFrame` object. When the reference count is reduced to 0, it means there is no reference to the object, and the object can be safely released or destroyed.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
release(): void;
|
|
28
|
-
|
|
29
|
-
/** {en}
|
|
30
|
-
* @detail api
|
|
31
|
-
* @brief Gets the data type of the video.
|
|
32
|
-
* @return <br>
|
|
33
|
-
* The data type of the video. See VeLiveVideoBufferType {@link #VeLiveVideoBufferType} for details.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
getBufferType(): VeLiveVideoBufferType;
|
|
37
|
-
|
|
38
|
-
/** {en}
|
|
39
|
-
* @detail api
|
|
40
|
-
* @brief Sets the data type of the video.
|
|
41
|
-
* @param bufferType The data type of the video. See VeLiveVideoBufferType {@link #VeLiveVideoBufferType} for details.
|
|
42
|
-
* @return <br>
|
|
43
|
-
* The video frame object. See VeLiveVideoFrame {@link #VeLiveVideoFrame} for details.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
setBufferType(bufferType: VeLiveVideoBufferType): this;
|
|
47
|
-
|
|
48
|
-
/** {en}
|
|
49
|
-
* @detail api
|
|
50
|
-
* @brief Gets the pixel format.
|
|
51
|
-
* @return <br>
|
|
52
|
-
* The pixel format. See VeLivePixelFormat {@link #VeLivePixelFormat} for details.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
getPixelFormat(): VeLivePixelFormat;
|
|
56
|
-
|
|
57
|
-
/** {en}
|
|
58
|
-
* @detail api
|
|
59
|
-
* @brief Sets the pixel format.
|
|
60
|
-
* @param pixelFormat The pixel format. See VeLivePixelFormat {@link #VeLivePixelFormat} for details.
|
|
61
|
-
* @return <br>
|
|
62
|
-
* The video frame object. See VeLiveVideoFrame {@link #VeLiveVideoFrame} for details.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
setPixelFormat(pixelFormat: VeLivePixelFormat): this;
|
|
66
|
-
|
|
67
|
-
/** {en}
|
|
68
|
-
* @detail api
|
|
69
|
-
* @brief Gets the rotation angle in a clockwise direction.
|
|
70
|
-
* @return <br>
|
|
71
|
-
* The rotation angle in a clockwise direction. See VeLiveVideoRotation {@link #VeLiveVideoRotation} for details.
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
getRotation(): VeLiveVideoRotation;
|
|
75
|
-
|
|
76
|
-
/** {en}
|
|
77
|
-
* @detail api
|
|
78
|
-
* @brief Sets the rotation angle in a clockwise direction.
|
|
79
|
-
* @param rotation The rotation angle in a clockwise direction. See VeLiveVideoRotation {@link #VeLiveVideoRotation} for details.
|
|
80
|
-
* @return <br>
|
|
81
|
-
* The video frame object. See VeLiveVideoFrame {@link #VeLiveVideoFrame} for details.
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
setRotation(rotation: VeLiveVideoRotation): this;
|
|
85
|
-
|
|
86
|
-
/** {en}
|
|
87
|
-
* @detail api
|
|
88
|
-
* @brief Gets the width of the video frame.
|
|
89
|
-
* @return <br>
|
|
90
|
-
* The width of the video frame.
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
|
-
getWidth(): int;
|
|
94
|
-
|
|
95
|
-
/** {en}
|
|
96
|
-
* @detail api
|
|
97
|
-
* @brief Gets the height of the video frame.
|
|
98
|
-
* @return <br>
|
|
99
|
-
* The height of the video frame.
|
|
100
|
-
*
|
|
101
|
-
*/
|
|
102
|
-
getHeight(): int;
|
|
103
|
-
|
|
104
|
-
/** {en}
|
|
105
|
-
* @detail api
|
|
106
|
-
* @brief Gets the width of the rotated video frame.
|
|
107
|
-
* @return <br>
|
|
108
|
-
* The width of the rotated video frame.
|
|
109
|
-
*
|
|
110
|
-
*/
|
|
111
|
-
getRotatedWidth(): int;
|
|
112
|
-
|
|
113
|
-
/** {en}
|
|
114
|
-
* @detail api
|
|
115
|
-
* @brief Gets the height of the rotated video frame.
|
|
116
|
-
* @return <br>
|
|
117
|
-
* The height of the rotated video frame.
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
getRotatedHeight(): int;
|
|
121
|
-
|
|
122
|
-
/** {en}
|
|
123
|
-
* @detail api
|
|
124
|
-
* @brief Gets the timestamp of the video frame.
|
|
125
|
-
* @return <br>
|
|
126
|
-
* The timestamp of the video frame, in μs.
|
|
127
|
-
*
|
|
128
|
-
*/
|
|
129
|
-
getPts(): long;
|
|
130
|
-
|
|
131
|
-
/** {en}
|
|
132
|
-
* @detail api
|
|
133
|
-
* @brief Gets the texture ID.
|
|
134
|
-
* @return <br>
|
|
135
|
-
* The texture ID.
|
|
136
|
-
*
|
|
137
|
-
*/
|
|
138
|
-
getTextureId(): int;
|
|
139
|
-
|
|
140
|
-
/** {en}
|
|
141
|
-
* @detail api
|
|
142
|
-
* @brief Gets the texture matrix.
|
|
143
|
-
* @return <br>
|
|
144
|
-
* The texture matrix.
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
getTextureMatrix(): Matrix;
|
|
148
|
-
|
|
149
|
-
/** {en}
|
|
150
|
-
* @detail api
|
|
151
|
-
* @brief Gets the video data in the format of ByteBuffer.
|
|
152
|
-
* @return <br>
|
|
153
|
-
* The video data in the format of ByteBuffer.
|
|
154
|
-
*
|
|
155
|
-
*/
|
|
156
|
-
getBuffer(): ByteBuffer;
|
|
157
|
-
|
|
158
|
-
/** {en}
|
|
159
|
-
* @detail api
|
|
160
|
-
* @brief Gets the video data in the format of byte [].
|
|
161
|
-
* @return <br>
|
|
162
|
-
* The video data in the format of byte [].
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
getData(): ArrayBuffer;
|
|
166
|
-
|
|
167
|
-
/** {en}
|
|
168
|
-
* @detail api
|
|
169
|
-
* @brief Gets the internal release callback.
|
|
170
|
-
* @return <br>
|
|
171
|
-
* The internal release callback.
|
|
172
|
-
*
|
|
173
|
-
*/
|
|
174
|
-
getReleaseCallback(): Runnable;
|
|
175
|
-
|
|
176
|
-
/** {en}
|
|
177
|
-
* @detail api
|
|
178
|
-
* @brief Sets the internal release callback.
|
|
179
|
-
* @param releaseCallback The internal release callback.
|
|
180
|
-
* @return <br>
|
|
181
|
-
* The video frame object. See VeLiveVideoFrame {@link #VeLiveVideoFrame} for details.
|
|
182
|
-
*
|
|
183
|
-
*/
|
|
184
|
-
setReleaseCallback(releaseCallback: Runnable): this;
|
|
185
|
-
}
|
|
186
4
|
export declare class VeLiveCameraDevice {
|
|
187
5
|
|
|
188
6
|
/** {en}
|
|
189
7
|
* @detail api
|
|
190
8
|
* @brief Gets the frame rate range supported by the camera.
|
|
191
|
-
* @return <br>
|
|
192
|
-
* The frame rate range supported by the camera.
|
|
193
9
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
194
10
|
* @order 66
|
|
11
|
+
* @return <br>
|
|
12
|
+
* The frame rate range supported by the camera.
|
|
195
13
|
*
|
|
196
14
|
*/
|
|
197
15
|
getRealFpsRange(): Array<int>;
|
|
@@ -199,14 +17,14 @@ export declare class VeLiveCameraDevice {
|
|
|
199
17
|
/** {en}
|
|
200
18
|
* @detail api
|
|
201
19
|
* @brief Enables or disables the flashlight.
|
|
202
|
-
* @return <br>
|
|
203
|
-
* - 0: Success;
|
|
204
|
-
* - ≠ 0: Failure.
|
|
205
20
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
206
21
|
* @order 67
|
|
207
22
|
* @param enable Whether to enable the flashlight. <br>
|
|
208
23
|
* - true: Enable;
|
|
209
24
|
* - false: (Default) Disable.
|
|
25
|
+
* @return <br>
|
|
26
|
+
* - 0: Success;
|
|
27
|
+
* - ≠ 0: Failure.
|
|
210
28
|
*
|
|
211
29
|
*/
|
|
212
30
|
enableTorch(enable: boolean): int;
|
|
@@ -214,12 +32,12 @@ export declare class VeLiveCameraDevice {
|
|
|
214
32
|
/** {en}
|
|
215
33
|
* @detail api
|
|
216
34
|
* @brief Sets the zoom factor of the camera.
|
|
217
|
-
* @return <br>
|
|
218
|
-
* - 0: Success;
|
|
219
|
-
* - ≠ 0: Failure.
|
|
220
35
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
221
36
|
* @order 68
|
|
222
37
|
* @param ratio The zoom factor. The SDK uses the original size by default. The range of the zoom factor is [[getMinZoomRatio](#VeLiveCameraDevice-getminzoomratio),[getMaxZoomRatio](#VeLiveCameraDevice-getmaxzoomratio)].
|
|
38
|
+
* @return <br>
|
|
39
|
+
* - 0: Success;
|
|
40
|
+
* - ≠ 0: Failure.
|
|
223
41
|
*
|
|
224
42
|
*/
|
|
225
43
|
setZoomRatio(ratio: float): int;
|
|
@@ -227,11 +45,11 @@ export declare class VeLiveCameraDevice {
|
|
|
227
45
|
/** {en}
|
|
228
46
|
* @detail api
|
|
229
47
|
* @brief Gets the current zoom factor of the camera.
|
|
230
|
-
* @return <br>
|
|
231
|
-
* - ≤ 0: The camera does not support zooming;
|
|
232
|
-
* - \\\\> 0: The zoom factor.
|
|
233
48
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
234
49
|
* @order 68
|
|
50
|
+
* @return <br>
|
|
51
|
+
* - ≤ 0: The camera does not support zooming;
|
|
52
|
+
* - > 0: The zoom factor.
|
|
235
53
|
*
|
|
236
54
|
*/
|
|
237
55
|
getCurrentZoomRatio(): float;
|
|
@@ -239,11 +57,11 @@ export declare class VeLiveCameraDevice {
|
|
|
239
57
|
/** {en}
|
|
240
58
|
* @detail api
|
|
241
59
|
* @brief Gets the maximum zoom factor of the camera.
|
|
242
|
-
* @return <br>
|
|
243
|
-
* - ≤ 0: The camera does not support zooming;
|
|
244
|
-
* - \\\\> 0: The maximum zoom factor.
|
|
245
60
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
246
61
|
* @order 69
|
|
62
|
+
* @return <br>
|
|
63
|
+
* - ≤ 0: The camera does not support zooming;
|
|
64
|
+
* - > 0: The maximum zoom factor.
|
|
247
65
|
*
|
|
248
66
|
*/
|
|
249
67
|
getMaxZoomRatio(): float;
|
|
@@ -251,11 +69,11 @@ export declare class VeLiveCameraDevice {
|
|
|
251
69
|
/** {en}
|
|
252
70
|
* @detail api
|
|
253
71
|
* @brief Gets the minimum zoom factor of the camera.
|
|
254
|
-
* @return <br>
|
|
255
|
-
* - ≤ 0: The camera does not support zooming;
|
|
256
|
-
* - \\\\> 0: The minimum zoom factor.
|
|
257
72
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
258
73
|
* @order 70
|
|
74
|
+
* @return <br>
|
|
75
|
+
* - ≤ 0: The camera does not support zooming;
|
|
76
|
+
* - > 0: The minimum zoom factor.
|
|
259
77
|
*
|
|
260
78
|
*/
|
|
261
79
|
getMinZoomRatio(): float;
|
|
@@ -263,11 +81,11 @@ export declare class VeLiveCameraDevice {
|
|
|
263
81
|
/** {en}
|
|
264
82
|
* @detail api
|
|
265
83
|
* @brief Checks whether autofocus is supported.
|
|
84
|
+
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
85
|
+
* @order 71
|
|
266
86
|
* @return <br>
|
|
267
87
|
* - true: Supported;
|
|
268
88
|
* - false: Not supported.
|
|
269
|
-
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
270
|
-
* @order 71
|
|
271
89
|
*
|
|
272
90
|
*/
|
|
273
91
|
isAutoFocusEnabled(): boolean;
|
|
@@ -275,14 +93,14 @@ export declare class VeLiveCameraDevice {
|
|
|
275
93
|
/** {en}
|
|
276
94
|
* @detail api
|
|
277
95
|
* @brief Enables or disables autofocus.
|
|
278
|
-
* @return <br>
|
|
279
|
-
* - 0: Success;
|
|
280
|
-
* - ≠ 0: Failure.
|
|
281
96
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
282
97
|
* @order 72
|
|
283
98
|
* @param enable Whether to enable autofocus.
|
|
284
99
|
* - true: (Default) Enable;
|
|
285
100
|
* - false: Disable.
|
|
101
|
+
* @return <br>
|
|
102
|
+
* - 0: Success;
|
|
103
|
+
* - ≠ 0: Failure.
|
|
286
104
|
*
|
|
287
105
|
*/
|
|
288
106
|
enableAutoFocus(enable: boolean): int;
|
|
@@ -290,15 +108,15 @@ export declare class VeLiveCameraDevice {
|
|
|
290
108
|
/** {en}
|
|
291
109
|
* @detail api
|
|
292
110
|
* @brief Sets the focus position of the camera.
|
|
293
|
-
* @return <br>
|
|
294
|
-
* - 0: Success;
|
|
295
|
-
* - ≠ 0: Failure.
|
|
296
111
|
* @notes <br>Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
297
112
|
* @order 73
|
|
298
113
|
* @param viewW The width of the current view.
|
|
299
114
|
* @param viewH The height of the current view.
|
|
300
115
|
* @param x The horizontal coordinate of the focus point from the upper left corner of the current view.
|
|
301
116
|
* @param y The vertical coordinate of the focus point from the upper left corner of the current view.
|
|
117
|
+
* @return <br>
|
|
118
|
+
* - 0: Success;
|
|
119
|
+
* - ≠ 0: Failure.
|
|
302
120
|
*
|
|
303
121
|
*/
|
|
304
122
|
setFocusPosition(viewW: int, viewH: int, x: int, y: int): int;
|
|
@@ -306,17 +124,15 @@ export declare class VeLiveCameraDevice {
|
|
|
306
124
|
/** {en}
|
|
307
125
|
* @detail api
|
|
308
126
|
* @brief Checks if manual exposure setting is available for the currently used camera.
|
|
309
|
-
* @return - YES: Available.
|
|
310
|
-
* - NO: Unavailable.
|
|
311
127
|
* @notes You must call [startVideoCapture](#VeLivePusher-startvideocapture) to start SDK internal video capturing before calling this API.
|
|
312
128
|
* @order 74
|
|
129
|
+
* @return - YES: Available.
|
|
130
|
+
* - NO: Unavailable.
|
|
313
131
|
*
|
|
314
132
|
*/
|
|
315
133
|
isExposurePositionSupported(): boolean;
|
|
316
134
|
|
|
317
135
|
/** {en}
|
|
318
|
-
* @return - =0: Success.
|
|
319
|
-
* - ≠0: Failure.
|
|
320
136
|
* @detail api
|
|
321
137
|
* @brief Sets the manual exposure position for the currently used camera.
|
|
322
138
|
* @notes - You must call [startVideoCapture](#VeLivePusher-startvideocapture) to start SDK internal video capturing, and use SDK internal rendering before calling this API.
|
|
@@ -326,35 +142,35 @@ export declare class VeLiveCameraDevice {
|
|
|
326
142
|
* @param viewH The height of the current view.
|
|
327
143
|
* @param x The horizontal coordinate of the focus point from the upper left corner of the current view.
|
|
328
144
|
* @param y The vertical coordinate of the focus point from the upper left corner of the current view.
|
|
145
|
+
* @return - =0: Success.
|
|
146
|
+
* - ≠0: Failure.
|
|
329
147
|
*
|
|
330
148
|
*/
|
|
331
149
|
setExposurePosition(viewW: int, viewH: int, x: int, y: int): int;
|
|
332
150
|
|
|
333
151
|
/** {en}
|
|
334
|
-
* @return - ≤0: The camera does not support exposure;
|
|
335
|
-
* - \\>0: The minimum exposure compensation.
|
|
336
152
|
* @detail api
|
|
337
153
|
* @brief Gets the minimum exposure compensation of the camera.
|
|
338
154
|
* @notes Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
339
155
|
* @order 76
|
|
156
|
+
* @return - ≤0: The camera does not support exposure;
|
|
157
|
+
* - >0: The minimum exposure compensation.
|
|
340
158
|
*
|
|
341
159
|
*/
|
|
342
160
|
getMinExposureCompensation(): float;
|
|
343
161
|
|
|
344
162
|
/** {en}
|
|
345
|
-
* @return - ≤0: The camera does not support exposure;
|
|
346
|
-
* - \\>0: The maximum exposure compensation.
|
|
347
163
|
* @detail api
|
|
348
164
|
* @brief Gets the maximum exposure compensation of the camera.
|
|
349
165
|
* @notes Call this method after calling [startVideoCapture](#VeLivePusher-startvideocapture) to start camera capture.
|
|
350
166
|
* @order 77
|
|
167
|
+
* @return - ≤0: The camera does not support exposure;
|
|
168
|
+
* - >0: The maximum exposure compensation.
|
|
351
169
|
*
|
|
352
170
|
*/
|
|
353
171
|
getMaxExposureCompensation(): float;
|
|
354
172
|
|
|
355
173
|
/** {en}
|
|
356
|
-
* @return - =0: Success.
|
|
357
|
-
* - ≠0: Failure.
|
|
358
174
|
* @detail api
|
|
359
175
|
* @brief Sets the exposure compensation for the currently used camera.
|
|
360
176
|
* @notes <br>
|
|
@@ -362,6 +178,8 @@ export declare class VeLiveCameraDevice {
|
|
|
362
178
|
* - The camera exposure compensation setting will be invalid after calling [stopVideoCapture](#VeLivePusher-stopvideocapture) to stop internal capturing.
|
|
363
179
|
* @order 78
|
|
364
180
|
* @param value The range of the exposure compensation is [[getMinExposureCompensation](#VeLiveCameraDevice-getminexposurecompensation),[getMaxExposureCompensation](#VeLiveCameraDevice-getmaxexposurecompensation)], Default to 0, which means no exposure compensation.
|
|
181
|
+
* @return - =0: Success.
|
|
182
|
+
* - ≠0: Failure.
|
|
365
183
|
*
|
|
366
184
|
*/
|
|
367
185
|
setExposureCompensation(value: float): int;
|
|
@@ -371,11 +189,11 @@ export declare class VeLiveVideoEffectManager {
|
|
|
371
189
|
/** {en}
|
|
372
190
|
* @detail api
|
|
373
191
|
* @brief Initializes the special effects manager.
|
|
192
|
+
* @order 89
|
|
193
|
+
* @param config The special effects configurations. See VeLiveVideoEffectLicenseConfiguration for details.
|
|
374
194
|
* @return <br>
|
|
375
195
|
* - 0: Success;
|
|
376
196
|
* - -1: Failure.
|
|
377
|
-
* @order 89
|
|
378
|
-
* @param config The special effects configurations. See VeLiveVideoEffectLicenseConfiguration for details.
|
|
379
197
|
*
|
|
380
198
|
*/
|
|
381
199
|
setupWithConfig(config: VeLiveVideoEffectLicenseConfiguration): int;
|
|
@@ -384,9 +202,9 @@ export declare class VeLiveVideoEffectManager {
|
|
|
384
202
|
* @detail api
|
|
385
203
|
* @brief Updates the special effects license. This method is effective only if you authenticate the license online.
|
|
386
204
|
* @param callback The result callback.
|
|
387
|
-
* @notes
|
|
388
|
-
*
|
|
389
|
-
*
|
|
205
|
+
* @notes
|
|
206
|
+
* - Call this method after you set the video effects license by calling [setupWithConfig](#VeLiveVideoEffectManager-setupwithconfig).
|
|
207
|
+
* - This method is an asynchronous operation.
|
|
390
208
|
* @order 90
|
|
391
209
|
*
|
|
392
210
|
*/
|
|
@@ -395,19 +213,19 @@ export declare class VeLiveVideoEffectManager {
|
|
|
395
213
|
/** {en}
|
|
396
214
|
* @detail api
|
|
397
215
|
* @brief Creates or destroys the special effects engine.
|
|
398
|
-
* @
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
* @notes <br>
|
|
402
|
-
* - Call this method after calling [setupWithConfig](broadcast-sdk-for-android-api#VeLiveVideoEffectManager-setupwithconfig) and [setAlgorithmModelPath](broadcast-sdk-for-android-api#VeLiveVideoEffectManager-setalgorithmmodelpath) ;
|
|
403
|
-
* - This method does not enable or disable video special effects. Call [setComposeNodes](broadcast-sdk-for-android-api#VeLiveVideoEffectManager-setcomposenodes) after calling this method to enable video special effects;
|
|
216
|
+
* @notes
|
|
217
|
+
* - Call this method after calling [setupwithconfig](#VeLiveVideoEffectManager-setupwithconfig) and [setAlgorithmModelPath](#VeLiveVideoEffectManager-setalgorithmmodelpath);
|
|
218
|
+
* - This method does not enable or disable video special effects. Call [setComposeNodes](#VeLiveVideoEffectManager-setcomposenodes) after calling this method to enable video special effects;
|
|
404
219
|
* - In most cases, the special effects engine will be destroyed when the effects manager is destroyed. However, if you have high performance requirements, you can call this method to manually destroy the special effects engine when you are not using special effects-related features;
|
|
405
220
|
* - Creating or destroying the special effects engine repeatedly can result in increased processing time.
|
|
406
221
|
* @order 92
|
|
407
222
|
* @param enable Whether to create or destroy the special effects engine.<br>
|
|
408
223
|
* - true: Create;
|
|
409
224
|
* - false: (Default) Destroy.
|
|
410
|
-
* @param callback [VeLiveVideoEffectCallback](broadcast-sdk-for-android-callback
|
|
225
|
+
* @param callback [VeLiveVideoEffectCallback](docs-broadcast-sdk-for-android-callback#VeLiveVideoEffectCallback), the listener for special effect events.
|
|
226
|
+
* @return <br>
|
|
227
|
+
* - 0: Success;
|
|
228
|
+
* - -1: Failure.
|
|
411
229
|
*
|
|
412
230
|
*/
|
|
413
231
|
setEnable(enable: boolean, callback: VeLiveVideoEffectCallback): void;
|
|
@@ -416,12 +234,12 @@ export declare class VeLiveVideoEffectManager {
|
|
|
416
234
|
* @detail api
|
|
417
235
|
* @brief Sets the path to the algorithm model package of the special effects.
|
|
418
236
|
* @param path The path to the algorithm model package of the special effects.
|
|
419
|
-
* @return <br>
|
|
420
|
-
* - 0: Success;
|
|
421
|
-
* - -1: Failure.
|
|
422
237
|
* @notes <br>
|
|
423
238
|
* Call this method after you set the special effects license by calling setupWithConfig {@link #setupWithConfig}.
|
|
424
239
|
* @order 91
|
|
240
|
+
* @return <br>
|
|
241
|
+
* - 0: Success;
|
|
242
|
+
* - -1: Failure.
|
|
425
243
|
*
|
|
426
244
|
*/
|
|
427
245
|
setAlgorithmModelPath(path: String): int;
|
|
@@ -430,14 +248,14 @@ export declare class VeLiveVideoEffectManager {
|
|
|
430
248
|
* @detail api
|
|
431
249
|
* @brief Sets the special effects you want to apply to the video. You can choose effects from ComposeMakeup.bundle.
|
|
432
250
|
* @param nodes The paths to the special effects resource.
|
|
251
|
+
* @notes
|
|
252
|
+
* - Call this method after calling [setEnable](#VeLiveVideoEffectManager-setenable).
|
|
253
|
+
* - If you make multiple calls to this method, only the last call takes effect;
|
|
254
|
+
* - To add more effects to the existing effects settings, call [appendComposeNodes](docs-broadcast-sdk-for-android-api#VeLiveVideoEffectManager-appendcomposenodes).
|
|
255
|
+
* @order 93
|
|
433
256
|
* @return <br>
|
|
434
257
|
* - 0: Success;
|
|
435
258
|
* - -1: Failure.
|
|
436
|
-
* @notes <br>
|
|
437
|
-
* - Call this method after calling setEnable {@link #VeLiveVideoEffectManager #setEnable};
|
|
438
|
-
* - If you make multiple calls to this method, only the last call takes effect;
|
|
439
|
-
* - To add more effects to the existing effects settings, call appendComposeNodes {@link #VeLiveVideoEffectManager#appendComposeNodes}.
|
|
440
|
-
* @order 93
|
|
441
259
|
*
|
|
442
260
|
*/
|
|
443
261
|
setComposeNodes(nodes: Array<String>): int;
|
|
@@ -446,26 +264,24 @@ export declare class VeLiveVideoEffectManager {
|
|
|
446
264
|
* @detail api
|
|
447
265
|
* @brief Adds one or more effects to the existing effects settings that you have configured by calling setComposeNodes {@link #VeLiveVideoEffectManager#setComposeNodes}.
|
|
448
266
|
* @param nodes The paths to the special effects resource.
|
|
267
|
+
* @notes Call this method after calling [setEnable](#VeLiveVideoEffectManager-setenable).
|
|
268
|
+
* @order 94
|
|
449
269
|
* @return <br>
|
|
450
270
|
* - 0: Success;
|
|
451
271
|
* - -1: Failure.
|
|
452
|
-
* @notes <br>
|
|
453
|
-
* - Call this method after calling setEnable {@link #VeLiveVideoEffectManager #setEnable}.
|
|
454
|
-
* @order 94
|
|
455
272
|
*
|
|
456
273
|
*/
|
|
457
274
|
appendComposeNodes(nodes: Array<String>): int;
|
|
458
275
|
|
|
459
276
|
/** {en}
|
|
460
277
|
* @detail api
|
|
461
|
-
* @brief Removes one or more special effects resource set by the setComposeNodes
|
|
278
|
+
* @brief Removes one or more special effects resource set by the [setComposeNodes](#VeLiveVideoEffectManager-setcomposenodes) or [appendComposeNodes](#VeLiveVideoEffectManager-appendcomposenodes) methods.
|
|
462
279
|
* @param nodes The paths to the special effects resource.
|
|
280
|
+
* @notes Call this method after calling [setEnable](#VeLiveVideoEffectManager-setenable).
|
|
281
|
+
* @order 94
|
|
463
282
|
* @return <br>
|
|
464
283
|
* - 0: Success;
|
|
465
284
|
* - -1: Failure.
|
|
466
|
-
* @notes <br>
|
|
467
|
-
* - Call this method after calling setEnable {@link #VeLiveVideoEffectManager #setEnable}.
|
|
468
|
-
* @order 94
|
|
469
285
|
*
|
|
470
286
|
*/
|
|
471
287
|
removeComposeNodes(nodes: Array<String>): int;
|
|
@@ -476,13 +292,13 @@ export declare class VeLiveVideoEffectManager {
|
|
|
476
292
|
* @param node The path to the special effects resource.
|
|
477
293
|
* @param key The key of the resource.
|
|
478
294
|
* @param intensity The intensity of the effect. The value range is [0.0, 1.0].
|
|
295
|
+
* @notes
|
|
296
|
+
* - Call this method after calling [setComposeNodes](#VeLiveVideoEffectManager-setcomposenodes) or [appendComposeNodes](#VeLiveVideoEffectManager-appendcomposenodes);
|
|
297
|
+
* - This method is only applicable to special effects that contain the three parameters mentioned above. For effects that do not have the intensity parameter, such as stickers, the method does not have any effect.
|
|
298
|
+
* @order 95
|
|
479
299
|
* @return <br>
|
|
480
300
|
* - 0: Success;
|
|
481
301
|
* - -1: Failure.
|
|
482
|
-
* @notes <br>
|
|
483
|
-
* - Call this method after calling setComposeNodes {@link #VeLiveVideoEffectManager#setComposeNodes} or appendComposeNodes {@link #VeLiveVideoEffectManager#appendComposeNodes};
|
|
484
|
-
* - This method is only applicable to special effects that contain the three parameters mentioned above. For effects that do not have the intensity parameter, such as stickers, the method does not have any effect.
|
|
485
|
-
* @order 95
|
|
486
302
|
*
|
|
487
303
|
*/
|
|
488
304
|
updateComposerNodeIntensity(node: String, key: String, intensity: float): int;
|
|
@@ -491,12 +307,12 @@ export declare class VeLiveVideoEffectManager {
|
|
|
491
307
|
* @detail api
|
|
492
308
|
* @brief Sets the color filter.
|
|
493
309
|
* @param path The absolute path to the filter resource.
|
|
310
|
+
* @notes
|
|
311
|
+
* Call this method after calling [setEnable](#VeLiveVideoEffectManager-setenable).
|
|
312
|
+
* @order 96
|
|
494
313
|
* @return <br>
|
|
495
314
|
* - 0: Success;
|
|
496
315
|
* - -1: Failure.
|
|
497
|
-
* @notes <br>
|
|
498
|
-
* Call this method after calling setEnable {@link #VeLiveVideoEffectManager #setEnable}.
|
|
499
|
-
* @order 96
|
|
500
316
|
*
|
|
501
317
|
*/
|
|
502
318
|
setFilter(path: String): int;
|
|
@@ -504,12 +320,12 @@ export declare class VeLiveVideoEffectManager {
|
|
|
504
320
|
/** {en}
|
|
505
321
|
* @detail api
|
|
506
322
|
* @brief Sets the intensity of the color filter.
|
|
507
|
-
* @
|
|
508
|
-
*
|
|
509
|
-
* - -1: Failure.
|
|
510
|
-
* @notes <br>Call this method after calling setFilter.
|
|
323
|
+
* @notes
|
|
324
|
+
* Call this method after calling [setFilter](#VeLiveVideoEffectManager-setfilter).
|
|
511
325
|
* @order 97
|
|
512
326
|
* @param intensity The intensity. The value range is [0.0, 1.0].
|
|
327
|
+
* @return - 0: Success;
|
|
328
|
+
* - -1: Failure.
|
|
513
329
|
*
|
|
514
330
|
*/
|
|
515
331
|
updateFilterIntensity(intensity: float): int;
|
|
@@ -518,24 +334,24 @@ export declare class VeLiveVideoEffectManager {
|
|
|
518
334
|
* @detail api
|
|
519
335
|
* @brief Sets the sticker.
|
|
520
336
|
* @param path The absolute path to the sticker resource.
|
|
337
|
+
* @notes
|
|
338
|
+
* Call this method after calling [setEnable](#VeLiveVideoEffectManager-setenable).
|
|
339
|
+
* @order 98
|
|
521
340
|
* @return <br>
|
|
522
341
|
* - 0: Success;
|
|
523
342
|
* - -1: Failure.
|
|
524
|
-
* @notes <br>
|
|
525
|
-
* Call this method after calling setEnable {@link #VeLiveVideoEffectManager #setEnable}.
|
|
526
|
-
* @order 98
|
|
527
343
|
*
|
|
528
344
|
*/
|
|
529
345
|
setSticker(path: String): int;
|
|
530
346
|
|
|
531
347
|
/** {en}
|
|
532
348
|
* @detail api
|
|
533
|
-
* @brief Advanced
|
|
349
|
+
* @brief Advanced functions of BytePlus Effects.
|
|
534
350
|
* @param callback A callback function that takes a handle as an argument.
|
|
535
351
|
* @param isGLThread Whether the callback is called in the GL thread.
|
|
536
352
|
* @param isAsync Whether the callback is executed synchronously.
|
|
537
|
-
* @notes
|
|
538
|
-
*
|
|
353
|
+
* @notes
|
|
354
|
+
* Call the method after calling [setEnable](#VeLiveVideoEffectManager-setenable). Do not perform frequent synchronization operations in the main thread.
|
|
539
355
|
* @order 99
|
|
540
356
|
*
|
|
541
357
|
*/
|
|
@@ -556,34 +372,25 @@ export declare class VeLivePusher {
|
|
|
556
372
|
/** {en}
|
|
557
373
|
* @detail api
|
|
558
374
|
* @brief Sets the level of the output log.
|
|
559
|
-
* @param logLevel The log level. See VeLivePusherLogLevel
|
|
560
|
-
* @order
|
|
375
|
+
* @param logLevel The log level. See [VeLivePusherLogLevel](broadcast-sdk-for-android-type-definition#VeLivePusherLogLevel) for details.
|
|
376
|
+
* @order 49
|
|
561
377
|
*
|
|
562
378
|
*/
|
|
563
379
|
static setLogLevel(logLevel: VeLivePusherLogLevel): void;
|
|
564
380
|
|
|
565
|
-
/** {en}
|
|
566
|
-
* @detail api
|
|
567
|
-
* @hidden
|
|
568
|
-
* @brief Sets log configurations.
|
|
569
|
-
* @param config The log level. See VeLivePusherLogConfig {@link #VeLivePusherLogConfig} for details。
|
|
570
|
-
*
|
|
571
|
-
*/
|
|
572
|
-
static setLogConfig(config: VeLivePusherLogConfig): void;
|
|
573
|
-
|
|
574
381
|
/** {en}
|
|
575
382
|
* @detail api
|
|
576
383
|
* @brief Sets the context of OpenGL.
|
|
577
384
|
* @param context The context of OpenGL.
|
|
578
|
-
* @order
|
|
385
|
+
* @order 50
|
|
579
386
|
*
|
|
580
387
|
*/
|
|
581
388
|
static setEGLContext(context: EGLContext): void;
|
|
582
389
|
|
|
583
390
|
/** {en}
|
|
584
391
|
* @detail api
|
|
585
|
-
* @brief Stops capturing and pushing streams and destroys the pusher. Call this method after stopPush
|
|
586
|
-
* @order
|
|
392
|
+
* @brief Stops capturing and pushing streams and destroys the pusher. Call this method after [stopPush](#VeLivePusher-stoppush) is called.
|
|
393
|
+
* @order 4
|
|
587
394
|
*
|
|
588
395
|
*/
|
|
589
396
|
release(): void;
|
|
@@ -591,11 +398,11 @@ export declare class VeLivePusher {
|
|
|
591
398
|
/** {en}
|
|
592
399
|
* @detail api
|
|
593
400
|
* @brief Sets an observer to listen for live pusher events, including errors, statuses, network quality, device information, and first frame rendering.
|
|
594
|
-
* @param observer The observer. Refer to VeLivePusherObserver
|
|
401
|
+
* @param observer The observer. Refer to [VeLivePusherObserver](broadcast-sdk-for-android-callback#VeLivePusherObserver) for details.
|
|
595
402
|
* @notes <br>
|
|
596
403
|
* - This method must be called after the live pusher is created;
|
|
597
404
|
* - If you make multiple calls to this method, only the last call takes effect.
|
|
598
|
-
* @order
|
|
405
|
+
* @order 2
|
|
599
406
|
*
|
|
600
407
|
*/
|
|
601
408
|
setObserver(observer: VeLivePusherObserver): void;
|
|
@@ -603,12 +410,12 @@ export declare class VeLivePusher {
|
|
|
603
410
|
/** {en}
|
|
604
411
|
* @detail api
|
|
605
412
|
* @brief Sets an observer to periodically report push-stream statistics.
|
|
606
|
-
* @param observer The observer. Refer to VeLivePusherStatisticsObserver
|
|
413
|
+
* @param observer The observer. Refer to [VeLivePusherStatisticsObserver](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLivePusherStatisticsObserver) for details.
|
|
607
414
|
* @param interval The time interval between two callbacks, in seconds. The default value is `5`.
|
|
608
415
|
* @notes <br>
|
|
609
416
|
* - This method must be called after the live pusher is created;
|
|
610
417
|
* - If you make multiple calls to this method, only the last call takes effect.
|
|
611
|
-
* @order
|
|
418
|
+
* @order 3
|
|
612
419
|
*
|
|
613
420
|
*/
|
|
614
421
|
setStatisticsObserver(observer: VeLivePusherStatisticsObserver, interval: int): void;
|
|
@@ -617,7 +424,7 @@ export declare class VeLivePusher {
|
|
|
617
424
|
* @detail api
|
|
618
425
|
* @brief Sets the preview for the local camera. If beauty AR is applied to the captured video or if it undergoes any other processing, the preview will display the processed video.
|
|
619
426
|
* @param view The preview view.
|
|
620
|
-
* @order
|
|
427
|
+
* @order 5
|
|
621
428
|
*
|
|
622
429
|
*/
|
|
623
430
|
setRenderView(view: View): Promise<void>;
|
|
@@ -626,6 +433,7 @@ export declare class VeLivePusher {
|
|
|
626
433
|
* @detail api
|
|
627
434
|
* @brief Sets fill mode for the local camera preview.
|
|
628
435
|
* @param mode The fill mode.
|
|
436
|
+
* @order 6
|
|
629
437
|
*
|
|
630
438
|
*/
|
|
631
439
|
setRenderFillMode(mode: VeLivePusherRenderMode): void;
|
|
@@ -633,11 +441,11 @@ export declare class VeLivePusher {
|
|
|
633
441
|
/** {en}
|
|
634
442
|
* @detail api
|
|
635
443
|
* @brief Enables or disables mirroring for the local preview and the streamed video.
|
|
636
|
-
* @param type Mirror mode. See VeLiveVideoMirrorType
|
|
444
|
+
* @param type Mirror mode. See [VeLiveVideoMirrorType](broadcast-sdk-for-android-type-definition#VeLiveVideoMirrorType) for details.
|
|
637
445
|
* @param mirror Whether to enable mirroring. <br>
|
|
638
446
|
* - true: Enable;
|
|
639
447
|
* - false: Disable.
|
|
640
|
-
* @order
|
|
448
|
+
* @order 7
|
|
641
449
|
*
|
|
642
450
|
*/
|
|
643
451
|
setVideoMirror(type: VeLiveVideoMirrorType, mirror: boolean): void;
|
|
@@ -646,9 +454,8 @@ export declare class VeLivePusher {
|
|
|
646
454
|
* @detail api
|
|
647
455
|
* @brief Starts video capture.
|
|
648
456
|
* @notes <br>After calling this method, you can stop video capture by calling [stopVideoCapture](#VeLivePusher-stopvideocapture).
|
|
649
|
-
* @order
|
|
650
|
-
* @param type The video capture type. See VeLiveVideoCaptureType
|
|
651
|
-
*
|
|
457
|
+
* @order 8
|
|
458
|
+
* @param type The video capture type. See [VeLiveVideoCaptureType](broadcast-sdk-for-android-type-definition#VeLiveVideoCaptureType) for details.
|
|
652
459
|
*
|
|
653
460
|
*/
|
|
654
461
|
startVideoCapture(type: VeLiveVideoCaptureType): void;
|
|
@@ -657,7 +464,7 @@ export declare class VeLivePusher {
|
|
|
657
464
|
* @detail api
|
|
658
465
|
* @brief Stops video capture.
|
|
659
466
|
* @notes <br>After calling this method, you can start video capture by calling [startVideoCapture](#VeLivePusher-startvideocapture).
|
|
660
|
-
* @order
|
|
467
|
+
* @order 9
|
|
661
468
|
*
|
|
662
469
|
*/
|
|
663
470
|
stopVideoCapture(): void;
|
|
@@ -666,8 +473,8 @@ export declare class VeLivePusher {
|
|
|
666
473
|
* @detail api
|
|
667
474
|
* @brief Starts audio capture.
|
|
668
475
|
* @notes <br>After calling this method, you can stop audio capture by calling [stopAudioCapture](#VeLivePusher-stopaudiocapture).
|
|
669
|
-
* @order
|
|
670
|
-
* @param type The audio capture type. See VeLiveAudioCaptureType
|
|
476
|
+
* @order 10
|
|
477
|
+
* @param type The audio capture type. See [VeLiveAudioCaptureType](broadcast-sdk-for-android-type-definition#VeLiveAudioCaptureType) for details.
|
|
671
478
|
*
|
|
672
479
|
*/
|
|
673
480
|
startAudioCapture(type: VeLiveAudioCaptureType): void;
|
|
@@ -676,7 +483,7 @@ export declare class VeLivePusher {
|
|
|
676
483
|
* @detail api
|
|
677
484
|
* @brief Stops audio capture.
|
|
678
485
|
* @notes <br>After calling this method, you can start audio capture by calling [startAudioCapture](#VeLivePusher-startaudiocapture).
|
|
679
|
-
* @order
|
|
486
|
+
* @order 11
|
|
680
487
|
*
|
|
681
488
|
*/
|
|
682
489
|
stopAudioCapture(): void;
|
|
@@ -685,8 +492,8 @@ export declare class VeLivePusher {
|
|
|
685
492
|
* @detail api
|
|
686
493
|
* @brief Switches the video capture type.
|
|
687
494
|
* @notes <br>This method must be called after [startVideoCapture](#VeLivePusher-startvideocapture) is called.
|
|
688
|
-
* @order
|
|
689
|
-
* @param type The video capture type. See VeLiveVideoCaptureType
|
|
495
|
+
* @order 12
|
|
496
|
+
* @param type The video capture type. See [VeLiveVideoCaptureType](broadcast-sdk-for-android-type-definition#VeLiveVideoCaptureType) for details.
|
|
690
497
|
*
|
|
691
498
|
*/
|
|
692
499
|
switchVideoCapture(type: VeLiveVideoCaptureType): void;
|
|
@@ -695,8 +502,8 @@ export declare class VeLivePusher {
|
|
|
695
502
|
* @detail api
|
|
696
503
|
* @brief Switches audio capture type.
|
|
697
504
|
* @notes <br>This method must be called after [startVideoCapture](#VeLivePusher-startvideocapture) is called.
|
|
698
|
-
* @order
|
|
699
|
-
* @param type The audio capture type. See VeLiveAudioCaptureType
|
|
505
|
+
* @order 13
|
|
506
|
+
* @param type The audio capture type. See [VeLiveAudioCaptureType](broadcast-sdk-for-android-type-definition#VeLiveAudioCaptureType) for details.
|
|
700
507
|
*
|
|
701
508
|
*/
|
|
702
509
|
switchAudioCapture(type: VeLiveAudioCaptureType): void;
|
|
@@ -704,9 +511,8 @@ export declare class VeLivePusher {
|
|
|
704
511
|
/** {en}
|
|
705
512
|
* @detail api
|
|
706
513
|
* @brief Gets the current video capture type.
|
|
707
|
-
* @
|
|
708
|
-
*
|
|
709
|
-
* @order 24
|
|
514
|
+
* @order 14
|
|
515
|
+
* @return The video capture type. See [VeLiveVideoCaptureType](docs-broadcast-sdk-for-android-type-definition#VeLiveVideoCaptureType) for details.
|
|
710
516
|
*
|
|
711
517
|
*/
|
|
712
518
|
getCurrentVideoCaptureType(): VeLiveVideoCaptureType;
|
|
@@ -714,9 +520,8 @@ export declare class VeLivePusher {
|
|
|
714
520
|
/** {en}
|
|
715
521
|
* @detail api
|
|
716
522
|
* @brief Gets the current audio capture type.
|
|
717
|
-
* @
|
|
718
|
-
*
|
|
719
|
-
* @order 25
|
|
523
|
+
* @order 15
|
|
524
|
+
* @return The audio capture type. See [VeLiveAudioCaptureType](docs-broadcast-sdk-for-android-type-definition#VeLiveAudioCaptureType) for details.
|
|
720
525
|
*
|
|
721
526
|
*/
|
|
722
527
|
getCurrentAudioCaptureType(): VeLiveAudioCaptureType;
|
|
@@ -725,7 +530,7 @@ export declare class VeLivePusher {
|
|
|
725
530
|
* @detail api
|
|
726
531
|
* @brief Sets a static image to push. When using this method, you must call startVideoCapture {@link #VeLivePusher#startVideoCapture} and set VeLiveVideoCaptureType {@link #VeLiveVideoCaptureType} to `VeLiveVideoCaptureCustomImage`.
|
|
727
532
|
* @param image The static image to push.
|
|
728
|
-
* @order
|
|
533
|
+
* @order 16
|
|
729
534
|
*
|
|
730
535
|
*/
|
|
731
536
|
updateCustomImage(image: Bitmap): Promise<void>;
|
|
@@ -736,11 +541,9 @@ export declare class VeLivePusher {
|
|
|
736
541
|
* - Control the flashlight
|
|
737
542
|
* - Set the camera zoom
|
|
738
543
|
* - Set autofocus
|
|
739
|
-
* @
|
|
740
|
-
*
|
|
741
|
-
* @
|
|
742
|
-
* To use this method, you must first call startVideoCapture {@link #startVideoCapture} and set VeLiveVideoCaptureType {@link #VeLiveVideoCaptureType} to `VeLiveVideoCaptureFrontCamera` or `VeLiveVideoCaptureBackCamera`.
|
|
743
|
-
* @order 27
|
|
544
|
+
* @notes To use this method, you must first call startVideoCapture and set [VeLiveVideoCaptureType](docs-broadcast-sdk-for-android-type-definition#VeLiveVideoCaptureType) to `VeLiveVideoCaptureFrontCamera` or `VeLiveVideoCaptureBackCamera`.
|
|
545
|
+
* @order 17
|
|
546
|
+
* @return The camera manager. See [VeLiveCameraDevice](#VeLiveCameraDevice) for details.
|
|
744
547
|
*
|
|
745
548
|
*/
|
|
746
549
|
getCameraDevice(): VeLiveCameraDevice;
|
|
@@ -749,8 +552,8 @@ export declare class VeLivePusher {
|
|
|
749
552
|
* @detail api
|
|
750
553
|
* @brief Sets video encoding parameters for the pushed stream.
|
|
751
554
|
* @notes This method can be called before or after live streaming starts.
|
|
752
|
-
* @order
|
|
753
|
-
* @param config The video encoding parameters, including the video resolution, encoding format, target bitrate, and GOP size. For details, see VeLiveVideoEncoderConfiguration
|
|
555
|
+
* @order 18
|
|
556
|
+
* @param config The video encoding parameters, including the video resolution, encoding format, target bitrate, and GOP size. For details, see [VeLiveVideoEncoderConfiguration](broadcast-sdk-for-android-type-definition#VeLiveVideoEncoderConfiguration).
|
|
754
557
|
*
|
|
755
558
|
*/
|
|
756
559
|
setVideoEncoderConfiguration(config: VeLiveVideoEncoderConfiguration): void;
|
|
@@ -758,9 +561,8 @@ export declare class VeLivePusher {
|
|
|
758
561
|
/** {en}
|
|
759
562
|
* @detail api
|
|
760
563
|
* @brief Gets video encoding parameters for the pushed stream.
|
|
761
|
-
* @
|
|
762
|
-
*
|
|
763
|
-
* @order 29
|
|
564
|
+
* @order 19
|
|
565
|
+
* @return The video encoding parameters, including the video resolution, encoding format, target bitrate, and GOP size. For details, see [VeLiveVideoEncoderConfiguration](docs-broadcast-sdk-for-android-type-definition#VeLivePusherDef-VeLiveVideoEncoderConfiguration).
|
|
764
566
|
*
|
|
765
567
|
*/
|
|
766
568
|
getVideoEncoderConfiguration(): VeLiveVideoEncoderConfiguration;
|
|
@@ -769,8 +571,8 @@ export declare class VeLivePusher {
|
|
|
769
571
|
* @detail api
|
|
770
572
|
* @brief Sets audio encoding parameters for the pushed stream.
|
|
771
573
|
* @notes <br>This method must be called before calling [startPush](#VeLivePusher-startpush) or [startPushWithUrls](#VeLivePusher-startpushwithurls).
|
|
772
|
-
* @order
|
|
773
|
-
* @param config The audio encoding parameters. See [VeLiveAudioEncoderConfiguration](
|
|
574
|
+
* @order 20
|
|
575
|
+
* @param config The audio encoding parameters. See [VeLiveAudioEncoderConfiguration](docs-broadcast-sdk-for-android-type-definition#VeLivePusherDef-VeLiveAudioEncoderConfiguration) for details.
|
|
774
576
|
*
|
|
775
577
|
*/
|
|
776
578
|
setAudioEncoderConfiguration(config: VeLiveAudioEncoderConfiguration): void;
|
|
@@ -778,8 +580,8 @@ export declare class VeLivePusher {
|
|
|
778
580
|
/** {en}
|
|
779
581
|
* @detail api
|
|
780
582
|
* @brief Gets audio encoding parameters for the pushed stream.
|
|
781
|
-
* @
|
|
782
|
-
* @
|
|
583
|
+
* @order 21
|
|
584
|
+
* @return The audio encoding parameters. See [VeLiveAudioEncoderConfiguration](docs-broadcast-sdk-for-android-type-definition#VeLivePusherDef-VeLiveAudioEncoderConfiguration) for details.
|
|
783
585
|
*
|
|
784
586
|
*/
|
|
785
587
|
getAudioEncoderConfiguration(): VeLiveAudioEncoderConfiguration;
|
|
@@ -788,7 +590,7 @@ export declare class VeLivePusher {
|
|
|
788
590
|
* @detail api
|
|
789
591
|
* @brief Starts streaming.
|
|
790
592
|
* @param url The push stream address.
|
|
791
|
-
* @order
|
|
593
|
+
* @order 22
|
|
792
594
|
*
|
|
793
595
|
*/
|
|
794
596
|
startPush(url: String): void;
|
|
@@ -799,7 +601,7 @@ export declare class VeLivePusher {
|
|
|
799
601
|
* @param urls A list of push stream addresses.
|
|
800
602
|
* @notes <br>
|
|
801
603
|
* When the first push stream address in the array is unavailable, the SDK will automatically switch to the subsequent addresses.
|
|
802
|
-
* @order
|
|
604
|
+
* @order 23
|
|
803
605
|
*
|
|
804
606
|
*/
|
|
805
607
|
startPushWithUrls(urls: Array<String>): void;
|
|
@@ -809,7 +611,7 @@ export declare class VeLivePusher {
|
|
|
809
611
|
* @brief Stops streaming.
|
|
810
612
|
* @notes <br>
|
|
811
613
|
* After you have stopped streaming, you can restart streaming by calling startPush {@link #startPush} or startPushWithUrls {@link #startPushWithUrls}.
|
|
812
|
-
* @order
|
|
614
|
+
* @order 24
|
|
813
615
|
*
|
|
814
616
|
*/
|
|
815
617
|
stopPush(): void;
|
|
@@ -817,11 +619,11 @@ export declare class VeLivePusher {
|
|
|
817
619
|
/** {en}
|
|
818
620
|
* @detail api
|
|
819
621
|
* @brief Checks whether the streaming is currently ongoing. You can use this method to query the status of the live pusher.
|
|
622
|
+
* @order 25
|
|
820
623
|
* @return <br>
|
|
821
624
|
* Whether the streaming is currently ongoing. <br>
|
|
822
625
|
* - true: The streaming is currently ongoing;
|
|
823
626
|
* - false: The streaming has stopped.
|
|
824
|
-
* @order 35
|
|
825
627
|
*
|
|
826
628
|
*/
|
|
827
629
|
isPushing(): boolean;
|
|
@@ -833,10 +635,10 @@ export declare class VeLivePusher {
|
|
|
833
635
|
* @param x The horizontal offset of the watermark, which represents the ratio of the distance between the left edge of the watermark and the left edge of the video to the width of the video. The value range is [0.0,1.0].
|
|
834
636
|
* @param y The vertical offset of the watermark, which represents the ratio of the distance between the top edge of the watermark and the top edge of the video to the height of the video. The value range is [0.0,1.0].
|
|
835
637
|
* @param scale The uniform scaling of the watermark. The value range is [0.0, 1.0].
|
|
638
|
+
* @order 26
|
|
836
639
|
* @return <br>
|
|
837
640
|
* - 0: Success;
|
|
838
641
|
* - < 0: Failure.
|
|
839
|
-
* @order 36
|
|
840
642
|
*
|
|
841
643
|
*/
|
|
842
644
|
setWatermark(image: Bitmap, x: float, y: float, scale: float): Promise<int>;
|
|
@@ -844,10 +646,10 @@ export declare class VeLivePusher {
|
|
|
844
646
|
/** {en}
|
|
845
647
|
* @detail api
|
|
846
648
|
* @brief Starts local recording.
|
|
847
|
-
* @order
|
|
649
|
+
* @order 27
|
|
848
650
|
* @param path The directory for saving the recording file. You cannot leave this parameter empty.
|
|
849
|
-
* @param config The recording configurations. See VeLiveFileRecorderConfiguration for details.
|
|
850
|
-
* @param listener The listener for recording events. See VeLiveFileRecordingListener for details.
|
|
651
|
+
* @param config The recording configurations. See [VeLiveFileRecorderConfiguration](docs-broadcast-sdk-for-android-type-definition#VeLivePusherDef-VeLiveFileRecorderConfiguration) for details.
|
|
652
|
+
* @param listener The listener for recording events. See [VeLiveFileRecordingListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveFileRecordingListener) for details.
|
|
851
653
|
*
|
|
852
654
|
*/
|
|
853
655
|
startFileRecording(path: String, config: VeLiveFileRecorderConfiguration, listener: VeLiveFileRecordingListener): void;
|
|
@@ -856,7 +658,7 @@ export declare class VeLivePusher {
|
|
|
856
658
|
* @detail api
|
|
857
659
|
* @brief Stops local recording.
|
|
858
660
|
* @notes <br>This method must be called after calling [startFileRecording](#VeLivePusher-startfilerecording).
|
|
859
|
-
* @order
|
|
661
|
+
* @order 28
|
|
860
662
|
*
|
|
861
663
|
*/
|
|
862
664
|
stopFileRecording(): void;
|
|
@@ -866,10 +668,10 @@ export declare class VeLivePusher {
|
|
|
866
668
|
* @brief Set advanced configurations. You can contact BytePlus technical support for more information about how to use this method.
|
|
867
669
|
* @param key The JSON key.
|
|
868
670
|
* @param value The JSON value.
|
|
671
|
+
* @order 29
|
|
869
672
|
* @return <br>
|
|
870
673
|
* - 0: Success;
|
|
871
674
|
* - -1: Failure.
|
|
872
|
-
* @order 39
|
|
873
675
|
*
|
|
874
676
|
*/
|
|
875
677
|
setProperty(key: String, value: Object): int;
|
|
@@ -877,13 +679,11 @@ export declare class VeLivePusher {
|
|
|
877
679
|
/** {en}
|
|
878
680
|
* @detail api
|
|
879
681
|
* @brief Pushes an external video frame.
|
|
880
|
-
* @param frame The external video frame. See VeLiveVideoFrame
|
|
881
|
-
* @
|
|
882
|
-
*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
* To use this method, you must first call startVideoCapture {@link #startVideoCapture} and set VeLiveVideoCaptureType {@link #VeLiveVideoCaptureType} to `VeLiveVideoCaptureExternal`.
|
|
886
|
-
* @order 40
|
|
682
|
+
* @param frame The external video frame. See [VeLiveVideoFrame](docs-broadcast-sdk-for-android-type-definition#VeLiveVideoFrame) for details.
|
|
683
|
+
* @notes To use this method, you must first call startVideoCapture and set [VeLiveVideoCaptureType](docs-broadcast-sdk-for-android-type-definition#VeLiveVideoCaptureType) to `VeLiveVideoCaptureExternal`.
|
|
684
|
+
* @order 30
|
|
685
|
+
* @return - 0: Success;
|
|
686
|
+
* - < 0: Failure.
|
|
887
687
|
*
|
|
888
688
|
*/
|
|
889
689
|
pushExternalVideoFrame(frame: VeLiveVideoFrame): int;
|
|
@@ -891,13 +691,11 @@ export declare class VeLivePusher {
|
|
|
891
691
|
/** {en}
|
|
892
692
|
* @detail api
|
|
893
693
|
* @brief Pushes an external audio frame.
|
|
894
|
-
* @param frame The external audio frame. See VeLiveAudioFrame
|
|
895
|
-
* @
|
|
896
|
-
*
|
|
897
|
-
*
|
|
898
|
-
*
|
|
899
|
-
* To use this method, you must first call startAudioCapture {@link #AustartdioCapture} and set VeLiveAudioCaptureType {@link #VeLiveAudioCaptureType} to `VeLiveAudioCaptureExternal`.
|
|
900
|
-
* @order 41
|
|
694
|
+
* @param frame The external audio frame. See [VeLiveAudioFrame](docs-broadcast-sdk-for-android-type-definition#VeLiveAudioFrame) for details.
|
|
695
|
+
* @notes To use this method, you must first call startAudioCapture and set [VeLiveAudioCaptureType](docs-broadcast-sdk-for-android-type-definition#VeLiveAudioCaptureType) to `VeLiveAudioCaptureExternal`.
|
|
696
|
+
* @order 31
|
|
697
|
+
* @return - 0: Success;
|
|
698
|
+
* - < 0: Failure.
|
|
901
699
|
*
|
|
902
700
|
*/
|
|
903
701
|
pushExternalAudioFrame(frame: VeLiveAudioFrame): int;
|
|
@@ -905,8 +703,8 @@ export declare class VeLivePusher {
|
|
|
905
703
|
/** {en}
|
|
906
704
|
* @detail api
|
|
907
705
|
* @brief Sets the orientation of the pushed video frame. The default orientation is portrait.
|
|
908
|
-
* @param orientation The orientation of the pushed video frame. See VeLiveOrientation
|
|
909
|
-
* @order
|
|
706
|
+
* @param orientation The orientation of the pushed video frame. See [VeLiveOrientation](broadcast-sdk-for-android-type-definition#VeLiveOrientation) for details.
|
|
707
|
+
* @order 32
|
|
910
708
|
*
|
|
911
709
|
*/
|
|
912
710
|
setOrientation(orientation: VeLiveOrientation): void;
|
|
@@ -914,11 +712,8 @@ export declare class VeLivePusher {
|
|
|
914
712
|
/** {en}
|
|
915
713
|
* @detail api
|
|
916
714
|
* @brief Sends an SEI message through the video frame. The SEI messages are strings in JSON format.
|
|
917
|
-
* @return <br>
|
|
918
|
-
* - 0: Success;
|
|
919
|
-
* - < 0: Failure.
|
|
920
715
|
* @notes <br>This method must be called after calling [startPush](#VeLivePusher-startpush) or [startPushWithUrls](#VeLivePusher-startpushwithurls).
|
|
921
|
-
* @order
|
|
716
|
+
* @order 33
|
|
922
717
|
* @param key The JSON key.
|
|
923
718
|
* @param value The JSON value.
|
|
924
719
|
* @param repeat The number of times the message is sent. For example, if you set `repeat` to `20` and set `isKeyFrame` to `true`, the SDK will add the SEI message to 20 consecutive key frames starting from the time the method is called.
|
|
@@ -928,6 +723,9 @@ export declare class VeLivePusher {
|
|
|
928
723
|
* @param allowsCovered Whether to allow overwriting. <br>
|
|
929
724
|
* - true: Allow overwriting;
|
|
930
725
|
* - false: Do not allow overwriting.
|
|
726
|
+
* @return <br>
|
|
727
|
+
* - 0: Success;
|
|
728
|
+
* - < 0: Failure.
|
|
931
729
|
*
|
|
932
730
|
*/
|
|
933
731
|
sendSeiMessage(key: String, value: Object, repeat: int, isKeyFrame: boolean, allowsCovered: boolean): int;
|
|
@@ -938,7 +736,7 @@ export declare class VeLivePusher {
|
|
|
938
736
|
* @param mute Whether to mute the stream. <br>
|
|
939
737
|
* - true: Mute;
|
|
940
738
|
* - false: (Default) Do not mute.
|
|
941
|
-
* @order
|
|
739
|
+
* @order 34
|
|
942
740
|
*
|
|
943
741
|
*/
|
|
944
742
|
setMute(mute: boolean): void;
|
|
@@ -946,10 +744,10 @@ export declare class VeLivePusher {
|
|
|
946
744
|
/** {en}
|
|
947
745
|
* @detail api
|
|
948
746
|
* @brief Checks whether the stream is muted.
|
|
747
|
+
* @order 35
|
|
949
748
|
* @return <br>
|
|
950
749
|
* - true: The stream is muted;
|
|
951
750
|
* - false: The stream is not muted.
|
|
952
|
-
* @order 45
|
|
953
751
|
*
|
|
954
752
|
*/
|
|
955
753
|
isMute(): boolean;
|
|
@@ -962,11 +760,9 @@ export declare class VeLivePusher {
|
|
|
962
760
|
* - Set materials
|
|
963
761
|
* - Set stickers
|
|
964
762
|
* - Set filters
|
|
965
|
-
* @
|
|
966
|
-
*
|
|
967
|
-
* @
|
|
968
|
-
* You must first integrate the BytePlus Effects SDK before calling this method.
|
|
969
|
-
* @order 46
|
|
763
|
+
* @notes You must first integrate the BytePlus Effects SDK before calling this method.
|
|
764
|
+
* @order 36
|
|
765
|
+
* @return The special effects manager. See [VeLiveVideoEffectManager](#VeLiveVideoEffectManager) for details.
|
|
970
766
|
*
|
|
971
767
|
*/
|
|
972
768
|
getVideoEffectManager(): VeLiveVideoEffectManager;
|
|
@@ -974,8 +770,8 @@ export declare class VeLivePusher {
|
|
|
974
770
|
/** {en}
|
|
975
771
|
* @detail api
|
|
976
772
|
* @brief Sets custom video processing.
|
|
977
|
-
* @order
|
|
978
|
-
* @param filter The video filter. See VeLiveVideoFrameFilter for details.
|
|
773
|
+
* @order 37
|
|
774
|
+
* @param filter The video filter. See [VeLiveVideoFrameFilter](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveVideoFrameFilter) for details.
|
|
979
775
|
*
|
|
980
776
|
*/
|
|
981
777
|
setVideoFrameFilter(filter: VeLiveVideoFrameFilter): void;
|
|
@@ -983,11 +779,9 @@ export declare class VeLivePusher {
|
|
|
983
779
|
/** {en}
|
|
984
780
|
* @detail api
|
|
985
781
|
* @brief Gets the audio device manager.
|
|
986
|
-
* @
|
|
987
|
-
*
|
|
988
|
-
* @
|
|
989
|
-
* To use this method, you must first call startAudioCapture {@link #startAudioCapture} and set VeLiveAudioCaptureType {@link #VeLiveAudioCaptureType} to `VeLiveAudioCaptureMicrophone`.
|
|
990
|
-
* @order 48
|
|
782
|
+
* @notes To use this method, you must first call startAudioCapture and set [VeLiveAudioCaptureType](docs-broadcast-sdk-for-android-type-definition#VeLiveAudioCaptureType) to `VeLiveAudioCaptureMicrophone`.
|
|
783
|
+
* @order 38
|
|
784
|
+
* @return The audio device manager. See [VeLiveAudioDevice](#VeLiveAudioDevice) for details.
|
|
991
785
|
*
|
|
992
786
|
*/
|
|
993
787
|
getAudioDevice(): VeLiveAudioDevice;
|
|
@@ -995,7 +789,7 @@ export declare class VeLivePusher {
|
|
|
995
789
|
/** {en}
|
|
996
790
|
* @detail api
|
|
997
791
|
* @brief Sets custom audio processing.
|
|
998
|
-
* @order
|
|
792
|
+
* @order 39
|
|
999
793
|
* @param filter The audio filter. See VeLiveAudioFrameFilter for details.
|
|
1000
794
|
*
|
|
1001
795
|
*/
|
|
@@ -1004,36 +798,32 @@ export declare class VeLivePusher {
|
|
|
1004
798
|
/** {en}
|
|
1005
799
|
* @detail api
|
|
1006
800
|
* @brief Creates the media player.
|
|
1007
|
-
* @
|
|
1008
|
-
*
|
|
1009
|
-
* @order 50
|
|
801
|
+
* @order 1
|
|
802
|
+
* @return The media player. See [VeLiveMediaPlayer](#VeLiveMediaPlayer) for details.
|
|
1010
803
|
*
|
|
1011
804
|
*/
|
|
1012
805
|
createPlayer(): VeLiveMediaPlayer;
|
|
1013
806
|
|
|
1014
807
|
/** {en}
|
|
1015
808
|
* @detail api
|
|
1016
|
-
* @brief Starts
|
|
1017
|
-
* @
|
|
1018
|
-
* @param screenIntent The system screen recording permission.
|
|
1019
|
-
* @order 52
|
|
1020
|
-
*
|
|
809
|
+
* @brief Starts system audio capture.
|
|
810
|
+
* @order 41
|
|
1021
811
|
*
|
|
1022
812
|
*/
|
|
1023
|
-
|
|
813
|
+
startMixSystemAudio(): void;
|
|
1024
814
|
|
|
1025
815
|
/** {en}
|
|
1026
816
|
* @detail api
|
|
1027
|
-
* @brief Stops
|
|
1028
|
-
* @order
|
|
817
|
+
* @brief Stops system audio capture.
|
|
818
|
+
* @order 42
|
|
1029
819
|
*
|
|
1030
820
|
*/
|
|
1031
|
-
|
|
821
|
+
stopMixSystemAudio(): void;
|
|
1032
822
|
|
|
1033
823
|
/** {en}
|
|
1034
824
|
* @detail api
|
|
1035
825
|
* @brief Gets whether the SDK is capturing the screen at this moment.
|
|
1036
|
-
* @order
|
|
826
|
+
* @order 43
|
|
1037
827
|
*
|
|
1038
828
|
*/
|
|
1039
829
|
isScreenRecording(): boolean;
|
|
@@ -1041,11 +831,11 @@ export declare class VeLivePusher {
|
|
|
1041
831
|
/** {en}
|
|
1042
832
|
* @detail api
|
|
1043
833
|
* @brief Adds a video frame listener.
|
|
834
|
+
* @order 44
|
|
835
|
+
* @param listener The listener. See [VeLiveVideoFrameListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveVideoFrameListener) for details.
|
|
1044
836
|
* @return <br>
|
|
1045
837
|
* - 0: Success;
|
|
1046
838
|
* - < 0: Failure.
|
|
1047
|
-
* @order 55
|
|
1048
|
-
* @param listener The listener. See VeLiveVideoFrameListener for details.
|
|
1049
839
|
*
|
|
1050
840
|
*/
|
|
1051
841
|
addVideoFrameListener(listener: VeLiveVideoFrameListener): int;
|
|
@@ -1053,13 +843,13 @@ export declare class VeLivePusher {
|
|
|
1053
843
|
/** {en}
|
|
1054
844
|
* @detail api
|
|
1055
845
|
* @brief Removes the video frame listener.
|
|
846
|
+
* @notes <br>
|
|
847
|
+
* Calling this method will return a failure if the listener has not been added or has been removed.
|
|
848
|
+
* @order 45
|
|
849
|
+
* @param listener The listener. See [VeLiveVideoFrameListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveVideoFrameListener) for details.
|
|
1056
850
|
* @return <br>
|
|
1057
851
|
* - 0: Success;
|
|
1058
852
|
* - < 0: Failure.
|
|
1059
|
-
* @notes <br>
|
|
1060
|
-
* Calling this method will return a failure if the listener has not been added or has been removed.
|
|
1061
|
-
* @order 56
|
|
1062
|
-
* @param listener The listener. See VeLiveVideoFrameListener for details.
|
|
1063
853
|
*
|
|
1064
854
|
*/
|
|
1065
855
|
removeVideoFrameListener(listener: VeLiveVideoFrameListener): int;
|
|
@@ -1067,11 +857,11 @@ export declare class VeLivePusher {
|
|
|
1067
857
|
/** {en}
|
|
1068
858
|
* @detail api
|
|
1069
859
|
* @brief Adds an audio frame listener.
|
|
860
|
+
* @order 46
|
|
861
|
+
* @param listener The listener. See [VeLiveAudioFrameListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveAudioFrameListener) for details.
|
|
1070
862
|
* @return <br>
|
|
1071
863
|
* - 0: Success;
|
|
1072
864
|
* - < 0: Failure.
|
|
1073
|
-
* @order 57
|
|
1074
|
-
* @param listener The listener. See VeLiveAudioFrameListener for details.
|
|
1075
865
|
*
|
|
1076
866
|
*/
|
|
1077
867
|
addAudioFrameListener(listener: VeLiveAudioFrameListener): int;
|
|
@@ -1079,13 +869,13 @@ export declare class VeLivePusher {
|
|
|
1079
869
|
/** {en}
|
|
1080
870
|
* @detail api
|
|
1081
871
|
* @brief Removes the audio frame listener.
|
|
872
|
+
* @notes <br>
|
|
873
|
+
* Calling this method will return a failure if the listener has not been added or has been removed.
|
|
874
|
+
* @order 47
|
|
875
|
+
* @param listener The listener. See [VeLiveAudioFrameListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveAudioFrameListener) for details.
|
|
1082
876
|
* @return <br>
|
|
1083
877
|
* - 0: Success;
|
|
1084
878
|
* - < 0: Failure.
|
|
1085
|
-
* @notes <br>
|
|
1086
|
-
* Calling this method will return a failure if the listener has not been added or has been removed.
|
|
1087
|
-
* @order 58
|
|
1088
|
-
* @param listener The listener. See VeLiveAudioFrameListener for details.
|
|
1089
879
|
*
|
|
1090
880
|
*/
|
|
1091
881
|
removeAudioFrameListener(listener: VeLiveAudioFrameListener): int;
|
|
@@ -1093,8 +883,8 @@ export declare class VeLivePusher {
|
|
|
1093
883
|
/** {en}
|
|
1094
884
|
* @detail api
|
|
1095
885
|
* @brief Takes a screenshot.
|
|
1096
|
-
* @order
|
|
1097
|
-
* @param listener The listener for the screenshot. See VeLiveSnapshotListener for details.
|
|
886
|
+
* @order 48
|
|
887
|
+
* @param listener The listener for the screenshot. See [VeLiveSnapshotListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveSnapshotListener) for details.
|
|
1098
888
|
*
|
|
1099
889
|
*/
|
|
1100
890
|
snapshot(listener: VeLiveSnapshotListener): void;
|
|
@@ -1115,7 +905,7 @@ export declare class VeLiveMediaPlayer {
|
|
|
1115
905
|
* @notes <br>
|
|
1116
906
|
* If you make multiple calls to this method, only the last call takes effect.
|
|
1117
907
|
* @order 101
|
|
1118
|
-
* @param listener The observer that listens for playback statuses. For details, see VeLiveMediaPlayerListener.
|
|
908
|
+
* @param listener The observer that listens for playback statuses. For details, see [VeLiveMediaPlayerListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveMediaPlayerListener).
|
|
1119
909
|
*
|
|
1120
910
|
*/
|
|
1121
911
|
setListener(listener: VeLiveMediaPlayerListener): void;
|
|
@@ -1124,17 +914,17 @@ export declare class VeLiveMediaPlayer {
|
|
|
1124
914
|
* @detail api
|
|
1125
915
|
* @brief Sets the file path. Supported file formats include MP3, AAC, M4A, WAV.
|
|
1126
916
|
* @param url The file path.
|
|
917
|
+
* @order 102
|
|
1127
918
|
* @return <br>
|
|
1128
919
|
* - 0: Success;
|
|
1129
920
|
* - ≠ 0: Failure.
|
|
1130
|
-
* @order 102
|
|
1131
921
|
*
|
|
1132
922
|
*/
|
|
1133
923
|
prepare(url: String): int;
|
|
1134
924
|
|
|
1135
925
|
/** {en}
|
|
1136
926
|
* @detail api
|
|
1137
|
-
* @brief
|
|
927
|
+
* @brief Start playback.
|
|
1138
928
|
* @notes <br>
|
|
1139
929
|
* This method must be called after you call start {@link #start} to start playback.
|
|
1140
930
|
* @order 103
|
|
@@ -1145,12 +935,12 @@ export declare class VeLiveMediaPlayer {
|
|
|
1145
935
|
/** {en}
|
|
1146
936
|
* @detail api
|
|
1147
937
|
* @brief Stops playback.
|
|
1148
|
-
* @return <br>
|
|
1149
|
-
* - 0: Success;
|
|
1150
|
-
* - ≠ 0: Failure.
|
|
1151
938
|
* @notes <br>
|
|
1152
939
|
* This method must be called after you call start {@link #start} to start playback.
|
|
1153
940
|
* @order 104
|
|
941
|
+
* @return <br>
|
|
942
|
+
* - 0: Success;
|
|
943
|
+
* - ≠ 0: Failure.
|
|
1154
944
|
*
|
|
1155
945
|
*/
|
|
1156
946
|
stop(): int;
|
|
@@ -1177,11 +967,11 @@ export declare class VeLiveMediaPlayer {
|
|
|
1177
967
|
/** {en}
|
|
1178
968
|
* @detail api
|
|
1179
969
|
* @brief Gets the duration of the media file.
|
|
1180
|
-
* @return <br>
|
|
1181
|
-
* - \\\\> 0: The duration of the media file, in milliseconds;
|
|
1182
|
-
* - ≤ 0: Failure.
|
|
1183
970
|
* @notes <br>This method must be called after you call [start](#VeLiveMediaPlayer-start) to start playback.
|
|
1184
971
|
* @order 107
|
|
972
|
+
* @return <br>
|
|
973
|
+
* - > 0: The duration of the media file, in milliseconds;
|
|
974
|
+
* - ≤ 0: Failure.
|
|
1185
975
|
*
|
|
1186
976
|
*/
|
|
1187
977
|
getDuration(): long;
|
|
@@ -1190,10 +980,10 @@ export declare class VeLiveMediaPlayer {
|
|
|
1190
980
|
* @detail api
|
|
1191
981
|
* @brief Sets the playback progress.
|
|
1192
982
|
* @param posMs The playback progress, in milliseconds.
|
|
983
|
+
* @order 108
|
|
1193
984
|
* @return <br>
|
|
1194
985
|
* - 0: Success;
|
|
1195
986
|
* - ≠ 0: Failure.
|
|
1196
|
-
* @order 108
|
|
1197
987
|
*
|
|
1198
988
|
*/
|
|
1199
989
|
seek(posMs: long): int;
|
|
@@ -1219,22 +1009,13 @@ export declare class VeLiveMediaPlayer {
|
|
|
1219
1009
|
*/
|
|
1220
1010
|
enableAutoEq(sourceLufs: float, targetLufs: float): void;
|
|
1221
1011
|
|
|
1222
|
-
/** {en}
|
|
1223
|
-
* @detail api
|
|
1224
|
-
* @brief Sets the view for rendering the video. Supports MP4 format.
|
|
1225
|
-
* @param view The view used by the media player to render video.
|
|
1226
|
-
* @order 111
|
|
1227
|
-
*
|
|
1228
|
-
*/
|
|
1229
|
-
setRenderView(view: View): void;
|
|
1230
|
-
|
|
1231
1012
|
/** {en}
|
|
1232
1013
|
* @detail api
|
|
1233
1014
|
* @brief Sets the observer for audio and video frames.
|
|
1234
1015
|
* @notes <br>
|
|
1235
1016
|
* If you make multiple calls to this method, only the last call takes effect.
|
|
1236
1017
|
* @order 112
|
|
1237
|
-
* @param listener The observer that listens for audio and video frames. For details, see VeLiveMediaPlayerFrameListener
|
|
1018
|
+
* @param listener The observer that listens for audio and video frames. For details, see [VeLiveMediaPlayerFrameListener](docs-broadcast-sdk-for-android-callback#VeLivePusherDef-VeLiveMediaPlayerFrameListener)
|
|
1238
1019
|
*
|
|
1239
1020
|
*/
|
|
1240
1021
|
setFrameListener(listener: VeLiveMediaPlayerFrameListener): void;
|
|
@@ -1269,70 +1050,6 @@ export declare class VeLiveMediaPlayer {
|
|
|
1269
1050
|
*/
|
|
1270
1051
|
enableBGMLoop(loop: boolean): void;
|
|
1271
1052
|
}
|
|
1272
|
-
export declare class VeLiveAudioFrame {
|
|
1273
|
-
constructor();
|
|
1274
|
-
constructor(sampleRate: VeLiveAudioSampleRate, channel: VeLiveAudioChannel, pts: long, buffer: ByteBuffer);
|
|
1275
|
-
bufferType: any;
|
|
1276
|
-
sampleRate: any;
|
|
1277
|
-
channels: any;
|
|
1278
|
-
ptsUs: any;
|
|
1279
|
-
buffer: any;
|
|
1280
|
-
samplesPerChannel: any;
|
|
1281
|
-
|
|
1282
|
-
/** {en}
|
|
1283
|
-
* @detail api
|
|
1284
|
-
* @brief Gets the audio data type.
|
|
1285
|
-
* @return <br>
|
|
1286
|
-
* The audio data type. See VeLiveAudioBufferType {@link #VeLiveAudioBufferType} for details.
|
|
1287
|
-
*
|
|
1288
|
-
*/
|
|
1289
|
-
getBufferType(): VeLiveAudioBufferType;
|
|
1290
|
-
|
|
1291
|
-
/** {en}
|
|
1292
|
-
* @detail api
|
|
1293
|
-
* @brief Gets the audio sample rate.
|
|
1294
|
-
* @return <br>
|
|
1295
|
-
* The audio sample rate. See VeLiveAudioSampleRate {@link #VeLiveAudioSampleRate} for details.
|
|
1296
|
-
*
|
|
1297
|
-
*/
|
|
1298
|
-
getSampleRate(): VeLiveAudioSampleRate;
|
|
1299
|
-
|
|
1300
|
-
/** {en}
|
|
1301
|
-
* @detail api
|
|
1302
|
-
* @brief Gets the number of audio channels.
|
|
1303
|
-
* @return <br>
|
|
1304
|
-
* The number of audio channels. See VeLiveAudioChannel {@link #VeLiveAudioChannel} for details.
|
|
1305
|
-
*
|
|
1306
|
-
*/
|
|
1307
|
-
getChannels(): VeLiveAudioChannel;
|
|
1308
|
-
|
|
1309
|
-
/** {en}
|
|
1310
|
-
* @detail api
|
|
1311
|
-
* @brief Gets the audio bit depth.
|
|
1312
|
-
* @return <br>
|
|
1313
|
-
* The audio bit depth.
|
|
1314
|
-
*
|
|
1315
|
-
*/
|
|
1316
|
-
getSamplesPerChannel(): int;
|
|
1317
|
-
|
|
1318
|
-
/** {en}
|
|
1319
|
-
* @detail api
|
|
1320
|
-
* @brief Gets the audio timestamp, in μs.
|
|
1321
|
-
* @return <br>
|
|
1322
|
-
* The timestamp of the audio frame, in μs.
|
|
1323
|
-
*
|
|
1324
|
-
*/
|
|
1325
|
-
getPts(): long;
|
|
1326
|
-
|
|
1327
|
-
/** {en}
|
|
1328
|
-
* @detail api
|
|
1329
|
-
* @brief Gets the audio data. The audio data is of type float32 and is stored in little-endian byte order.
|
|
1330
|
-
* @return <br>
|
|
1331
|
-
* The audio data in the format of ByteBuffer.
|
|
1332
|
-
*
|
|
1333
|
-
*/
|
|
1334
|
-
getBuffer(): ByteBuffer;
|
|
1335
|
-
}
|
|
1336
1053
|
export declare class VeLiveAudioDevice {
|
|
1337
1054
|
|
|
1338
1055
|
/** {en}
|
|
@@ -1347,181 +1064,10 @@ export declare class VeLiveAudioDevice {
|
|
|
1347
1064
|
/** {en}
|
|
1348
1065
|
* @detail api
|
|
1349
1066
|
* @brief Gets the current volume.
|
|
1067
|
+
* @order 75
|
|
1350
1068
|
* @return <br>
|
|
1351
1069
|
* The current volume.
|
|
1352
|
-
* @order 75
|
|
1353
1070
|
*
|
|
1354
1071
|
*/
|
|
1355
1072
|
getVoiceLoudness(): float;
|
|
1356
|
-
|
|
1357
|
-
/** {en}
|
|
1358
|
-
* @detail api
|
|
1359
|
-
* @brief Checks whether in-ear monitoring is supported.
|
|
1360
|
-
* @return <br>
|
|
1361
|
-
* - true: Supported;
|
|
1362
|
-
* - false: Not supported.
|
|
1363
|
-
* @order 76
|
|
1364
|
-
*
|
|
1365
|
-
*/
|
|
1366
|
-
isSupportHardwareEcho(): boolean;
|
|
1367
|
-
|
|
1368
|
-
/** {en}
|
|
1369
|
-
* @detail api
|
|
1370
|
-
* @brief Enables or disables in-ear monitoring.
|
|
1371
|
-
* @param enable Whether to enable in-ear monitoring. <br>
|
|
1372
|
-
* - true: Enable;
|
|
1373
|
-
* - false: (Default) Disable.
|
|
1374
|
-
* @order 77
|
|
1375
|
-
*
|
|
1376
|
-
*/
|
|
1377
|
-
enableEcho(enable: boolean): void;
|
|
1378
|
-
|
|
1379
|
-
/** {en}
|
|
1380
|
-
* @detail api
|
|
1381
|
-
* @brief Checks whether in-ear monitoring is enabled.
|
|
1382
|
-
* @return <br>
|
|
1383
|
-
* - true: Enabled;
|
|
1384
|
-
* - false: Disabled.
|
|
1385
|
-
* @order 78
|
|
1386
|
-
*
|
|
1387
|
-
*/
|
|
1388
|
-
isEnableEcho(): boolean;
|
|
1389
|
-
}
|
|
1390
|
-
export declare class VeLivePusherConfiguration {
|
|
1391
|
-
|
|
1392
|
-
/** {en}
|
|
1393
|
-
* @detail api
|
|
1394
|
-
* @brief Sets the time interval between each attempt to reconnect.
|
|
1395
|
-
* @param interval The time interval between each attempt to reconnect, in seconds. The default value is `5`.
|
|
1396
|
-
* @order 2
|
|
1397
|
-
*
|
|
1398
|
-
*/
|
|
1399
|
-
setReconnectIntervalSeconds(interval: int): this;
|
|
1400
|
-
|
|
1401
|
-
/** {en}
|
|
1402
|
-
* @detail api
|
|
1403
|
-
* @brief Gets the time interval between each attempt to reconnect.
|
|
1404
|
-
* @return <br>
|
|
1405
|
-
* The time interval between each attempt to reconnect, in seconds.
|
|
1406
|
-
* @order 3
|
|
1407
|
-
*
|
|
1408
|
-
*/
|
|
1409
|
-
getReconnectIntervalSeconds(): int;
|
|
1410
|
-
|
|
1411
|
-
/** {en}
|
|
1412
|
-
* @detail api
|
|
1413
|
-
* @brief Sets the number of attempts to reconnect after the initial attempt fails.
|
|
1414
|
-
* @param maxCount The number of attempts to reconnect after the initial attempt fails. The default value is `3`.
|
|
1415
|
-
* @order 4
|
|
1416
|
-
*
|
|
1417
|
-
*/
|
|
1418
|
-
setReconnectCount(maxCount: int): this;
|
|
1419
|
-
|
|
1420
|
-
/** {en}
|
|
1421
|
-
* @detail api
|
|
1422
|
-
* @brief Gets the number of attempts to reconnect after the initial attempt fails.
|
|
1423
|
-
* @return <br>
|
|
1424
|
-
* The number of attempts to reconnect after the initial attempt fails.
|
|
1425
|
-
* @order 5
|
|
1426
|
-
*
|
|
1427
|
-
*
|
|
1428
|
-
*/
|
|
1429
|
-
getReconnectCount(): int;
|
|
1430
|
-
|
|
1431
|
-
/** {en}
|
|
1432
|
-
* @detail api
|
|
1433
|
-
* @brief Sets the video capture configurations.
|
|
1434
|
-
* @return <br>
|
|
1435
|
-
* The pusher configurations. See VeLivePusherConfiguration {@link #VeLivePusherConfiguration} for details.
|
|
1436
|
-
* @order 6
|
|
1437
|
-
* @param config The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
|
|
1438
|
-
*
|
|
1439
|
-
*/
|
|
1440
|
-
setVideoCaptureConfig(config: VeLiveVideoCaptureConfiguration): this;
|
|
1441
|
-
|
|
1442
|
-
/** {en}
|
|
1443
|
-
* @detail api
|
|
1444
|
-
* @brief Gets the video capture configurations.
|
|
1445
|
-
* @return <br>The video capture configurations. See VeLiveVideoCaptureConfiguration for details.
|
|
1446
|
-
* @order 7
|
|
1447
|
-
*
|
|
1448
|
-
*/
|
|
1449
|
-
getVideoCaptureConfig(): VeLiveVideoCaptureConfiguration;
|
|
1450
|
-
|
|
1451
|
-
/** {en}
|
|
1452
|
-
* @detail api
|
|
1453
|
-
* @brief Sets the audio capture configurations.
|
|
1454
|
-
* @return <br>
|
|
1455
|
-
* The pusher configurations. See VeLivePusherConfiguration {@link #VeLivePusherConfiguration} for details.
|
|
1456
|
-
* @order 7
|
|
1457
|
-
* @param config The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
|
|
1458
|
-
*
|
|
1459
|
-
*/
|
|
1460
|
-
setAudioCaptureConfig(config: VeLiveAudioCaptureConfiguration): this;
|
|
1461
|
-
|
|
1462
|
-
/** {en}
|
|
1463
|
-
* @detail api
|
|
1464
|
-
* @brief Gets the audio capture configurations.
|
|
1465
|
-
* @return <br>The audio capture configurations. See VeLiveAudioCaptureConfiguration for details.
|
|
1466
|
-
* @order 8
|
|
1467
|
-
*
|
|
1468
|
-
*
|
|
1469
|
-
*/
|
|
1470
|
-
getAudioCaptureConfig(): VeLiveAudioCaptureConfiguration;
|
|
1471
|
-
|
|
1472
|
-
/** {en}
|
|
1473
|
-
* @detail api
|
|
1474
|
-
* @brief Sets the context of the application.
|
|
1475
|
-
* @param context The context of the application.
|
|
1476
|
-
* @return <br>
|
|
1477
|
-
* The pusher configurations. See VeLivePusherConfiguration {@link #VeLivePusherConfiguration} for details.
|
|
1478
|
-
* @order 9
|
|
1479
|
-
*
|
|
1480
|
-
*/
|
|
1481
|
-
setContext(context: Context): this;
|
|
1482
|
-
|
|
1483
|
-
/** {en}
|
|
1484
|
-
* @detail api
|
|
1485
|
-
* @brief Gets the context of the application.
|
|
1486
|
-
* @return <br>
|
|
1487
|
-
* The context of the application.
|
|
1488
|
-
* @order 10
|
|
1489
|
-
*
|
|
1490
|
-
*
|
|
1491
|
-
*/
|
|
1492
|
-
getContext(): Context;
|
|
1493
|
-
|
|
1494
|
-
/** {en}
|
|
1495
|
-
* @detail api
|
|
1496
|
-
* @brief Sets advanced parameters. You can leave this parameter empty. If you need to use it, please contact BytePlus technical support.
|
|
1497
|
-
* @param params Extension parameters.
|
|
1498
|
-
* @return <br>
|
|
1499
|
-
* The pusher configurations. See VeLivePusherConfiguration {@link #VeLivePusherConfiguration} for details.
|
|
1500
|
-
* @order 11
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1503
|
-
*/
|
|
1504
|
-
setExtraParameters(params: String): this;
|
|
1505
|
-
|
|
1506
|
-
/** {en}
|
|
1507
|
-
* @detail api
|
|
1508
|
-
* @brief Gets advanced parameters.
|
|
1509
|
-
* @return <br>
|
|
1510
|
-
* Advanced parameters.
|
|
1511
|
-
* @order 12
|
|
1512
|
-
*
|
|
1513
|
-
*
|
|
1514
|
-
*/
|
|
1515
|
-
getExtraParams(): LiveSdkSetting;
|
|
1516
|
-
|
|
1517
|
-
/** {en}
|
|
1518
|
-
* @detail api
|
|
1519
|
-
* @brief Creates the live pusher.
|
|
1520
|
-
* @return <br>
|
|
1521
|
-
* The live pusher. See VeLivePusher {@link #VeLivePusher} for details.
|
|
1522
|
-
* @order 1
|
|
1523
|
-
*
|
|
1524
|
-
*
|
|
1525
|
-
*/
|
|
1526
|
-
build(): VeLivePusher;
|
|
1527
1073
|
}
|