@volcengine/react-native-live-push 1.0.2 → 1.1.1-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/README.md +1 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +1 -1
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +5 -3
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushView.java +86 -11
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +29 -40
- package/ios/VeLivePushView.m +1 -1
- package/ios/VeLivePushViewManager.m +5 -1
- package/lib/commonjs/index.js +21800 -17843
- package/lib/module/index.js +21800 -17836
- package/lib/typescript/android/index.d.ts +3 -0
- package/lib/typescript/codegen/android/api.d.ts +353 -125
- package/lib/typescript/codegen/android/callback.d.ts +36 -5
- package/lib/typescript/codegen/android/errorcode.d.ts +12 -0
- package/lib/typescript/codegen/android/keytype.d.ts +305 -73
- package/lib/typescript/codegen/android/types.d.ts +7 -6
- package/lib/typescript/codegen/ios/api.d.ts +81 -118
- package/lib/typescript/codegen/ios/callback.d.ts +22 -58
- package/lib/typescript/codegen/ios/external.d.ts +1 -0
- package/lib/typescript/codegen/ios/index.d.ts +1 -0
- package/lib/typescript/codegen/ios/keytype.d.ts +40 -98
- package/lib/typescript/codegen/ios/types.d.ts +16 -5
- package/lib/typescript/codegen/pack/api.d.ts +1261 -1195
- package/lib/typescript/codegen/pack/callback.d.ts +166 -270
- package/lib/typescript/codegen/pack/errorcode.d.ts +24 -122
- package/lib/typescript/codegen/pack/index.d.ts +1 -1
- package/lib/typescript/codegen/pack/keytype.d.ts +1095 -1244
- package/lib/typescript/codegen/pack/types.d.ts +67 -0
- package/lib/typescript/component.d.ts +10 -3
- package/lib/typescript/core/api.d.ts +2 -2
- package/lib/typescript/core/callback.d.ts +2 -2
- package/lib/typescript/core/errorcode.d.ts +2 -2
- package/lib/typescript/core/keytype.d.ts +2 -7
- package/lib/typescript/platforms/ios/extends.d.ts +17 -0
- package/package.json +7 -4
- package/react-native-velive-push.podspec +1 -1
|
@@ -1,385 +1,241 @@
|
|
|
1
|
-
import { VeLiveVideoFrame, VeLiveAudioFrame } from './api';
|
|
2
1
|
import * as $p_a from '../android/index';
|
|
3
2
|
import * as $p_i from '../ios/index';
|
|
3
|
+
import { VeLiveVideoFrame, VeLiveAudioFrame } from './api';
|
|
4
|
+
import { Bitmap, JSONObject } from './types';
|
|
4
5
|
import { VeLivePusherStatus, VeLiveFirstFrameType, VeLiveNetworkQuality, VeLiveAudioPowerLevel, VeLivePusherStatistics } from './keytype';
|
|
5
6
|
/** {zh}
|
|
6
7
|
* @detail callback
|
|
7
|
-
* @list overview
|
|
8
8
|
* @brief 自定义的视频处理回调。
|
|
9
|
+
*
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
11
|
export interface VeLiveVideoFrameFilter {
|
|
12
|
-
/** {zh}
|
|
13
|
-
* @detail callback
|
|
14
|
-
* @group 回调
|
|
15
|
-
* @brief 自定义的视频处理方法。
|
|
16
|
-
* @order 15
|
|
17
|
-
* @param srcFrame 源视频帧,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame)。
|
|
18
|
-
* @param dstFrame 处理后的视频帧,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame)。
|
|
19
|
-
* @return
|
|
20
|
-
* - 0:处理成功;
|
|
21
|
-
* - <0:处理失败,该帧会被 SDK 丢弃;
|
|
22
|
-
* - \>0:处理失败,该帧会被 SDK 继续传递到编码器。
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
onVideoProcess?(srcFrame: VeLiveVideoFrame, dstFrame: VeLiveVideoFrame): number;
|
|
26
|
-
}
|
|
27
|
-
export declare class android_VeLiveVideoFrameFilter extends $p_a.VeLiveVideoFrameFilter {
|
|
28
|
-
protected _instance: VeLiveVideoFrameFilter;
|
|
29
|
-
constructor(_instance: VeLiveVideoFrameFilter);
|
|
30
|
-
onVideoProcess(arg_0: $p_a.VeLiveVideoFrame, arg_1: $p_a.VeLiveVideoFrame): number;
|
|
31
|
-
}
|
|
32
|
-
export declare class ios_VeLiveVideoFrameFilter extends $p_i.VeLiveVideoFrameFilter {
|
|
33
|
-
protected _instance: VeLiveVideoFrameFilter;
|
|
34
|
-
constructor(_instance: VeLiveVideoFrameFilter);
|
|
35
|
-
onVideoProcess(arg_0: $p_i.VeLiveVideoFrame, arg_1: $p_i.VeLiveVideoFrame): number;
|
|
36
12
|
}
|
|
37
13
|
/** {zh}
|
|
38
14
|
* @detail callback
|
|
39
|
-
* @list overview
|
|
40
15
|
* @brief 视频帧订阅回调。
|
|
16
|
+
*
|
|
41
17
|
*/
|
|
42
|
-
|
|
43
18
|
export interface VeLiveVideoFrameListener {
|
|
44
19
|
/** {zh}
|
|
45
20
|
* @detail callback
|
|
46
|
-
* @
|
|
47
|
-
* @brief 采集视频帧回调。只有当您通过 {@link #VeLiveVideoFrameListener#getObservedVideoFrameSource getObservedVideoFrameSource} 返回 `VeLiveVideoFrameSourceCapture` 时,才会触发该回调。
|
|
21
|
+
* @brief 采集视频帧回调。只有当您通过 getObservedVideoFrameSource{@link #VeLiveVideoFrameListener#getObservedVideoFrameSource} 返回 `VeLiveVideoFrameSourceCapture` 时,才会触发该回调。
|
|
48
22
|
* @order 18
|
|
49
23
|
* @param frame 视频帧数据,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame)。
|
|
24
|
+
*
|
|
50
25
|
*/
|
|
51
26
|
|
|
52
27
|
onCaptureVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
53
28
|
/** {zh}
|
|
54
29
|
* @detail callback
|
|
55
|
-
* @
|
|
56
|
-
* @brief 编码前视频帧回调。只有当您通过 {@link #VeLiveVideoFrameListener#getObservedVideoFrameSource getObservedVideoFrameSource} 返回 `VeLiveVideoFrameSourcePreEncode` 时,才会触发该回调。
|
|
30
|
+
* @brief 编码前视频帧回调。只有当您通过 getObservedVideoFrameSource{@link #VeLiveVideoFrameListener#getObservedVideoFrameSource} 返回 `VeLiveVideoFrameSourcePreEncode` 时,才会触发该回调。
|
|
57
31
|
* @order 19
|
|
58
32
|
* @param frame 视频帧数据,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame)。
|
|
33
|
+
*
|
|
59
34
|
*/
|
|
60
35
|
|
|
61
36
|
onPreEncodeVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
62
37
|
}
|
|
63
|
-
export declare class android_VeLiveVideoFrameListener extends $p_a.VeLiveVideoFrameListener {
|
|
64
|
-
protected _instance: VeLiveVideoFrameListener;
|
|
65
|
-
constructor(_instance: VeLiveVideoFrameListener);
|
|
66
|
-
onCaptureVideoFrame(arg_0: $p_a.VeLiveVideoFrame): void;
|
|
67
|
-
onPreEncodeVideoFrame(arg_0: $p_a.VeLiveVideoFrame): void;
|
|
68
|
-
}
|
|
69
|
-
export declare class ios_VeLiveVideoFrameListener extends $p_i.VeLiveVideoFrameListener {
|
|
70
|
-
protected _instance: VeLiveVideoFrameListener;
|
|
71
|
-
constructor(_instance: VeLiveVideoFrameListener);
|
|
72
|
-
onCaptureVideoFrame(arg_0: $p_i.VeLiveVideoFrame): void;
|
|
73
|
-
onPreEncodeVideoFrame(arg_0: $p_i.VeLiveVideoFrame): void;
|
|
74
|
-
}
|
|
75
|
-
/** {zh}
|
|
76
|
-
* @platform android
|
|
77
|
-
* @detail callback
|
|
78
|
-
* @list overview
|
|
79
|
-
* @brief 视频特效回调。
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
export interface VeLiveVideoEffectCallback {
|
|
83
|
-
/** {zh}
|
|
84
|
-
* @platform android
|
|
85
|
-
* @detail callback
|
|
86
|
-
* @group 回调
|
|
87
|
-
* @brief 视频特效处理结果回调。
|
|
88
|
-
* @param result 处理结果。
|
|
89
|
-
* @param msg 消息。
|
|
90
|
-
* @order 1
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
android_onResult?(result: number, msg: string): void;
|
|
94
|
-
}
|
|
95
|
-
export declare class android_VeLiveVideoEffectCallback extends $p_a.VeLiveVideoEffectCallback {
|
|
96
|
-
protected _instance: VeLiveVideoEffectCallback;
|
|
97
|
-
constructor(_instance: VeLiveVideoEffectCallback);
|
|
98
|
-
onResult(arg_0: $p_a.int, arg_1: string): void;
|
|
99
|
-
}
|
|
100
38
|
/** {zh}
|
|
101
39
|
* @detail callback
|
|
102
|
-
* @list overview
|
|
103
40
|
* @brief 播放器播放回调。通过该回调,您可以获取与播放相关的事件和通知。
|
|
41
|
+
*
|
|
104
42
|
*/
|
|
105
|
-
|
|
106
43
|
export interface VeLiveMediaPlayerListener {
|
|
107
44
|
/** {zh}
|
|
108
45
|
* @detail callback
|
|
109
|
-
* @group 回调
|
|
110
46
|
* @brief 开始播放的回调。
|
|
111
|
-
*
|
|
112
|
-
* @order 1
|
|
47
|
+
*
|
|
113
48
|
*/
|
|
114
49
|
|
|
115
|
-
onStart?(
|
|
50
|
+
onStart?(): void;
|
|
116
51
|
/** {zh}
|
|
117
52
|
* @detail callback
|
|
118
|
-
* @group 回调
|
|
119
53
|
* @brief 播放进度的回调,每 100ms 触发一次。
|
|
120
54
|
* @param timeMs 播放进度,单位为 ms。
|
|
55
|
+
*
|
|
121
56
|
*/
|
|
122
57
|
|
|
123
58
|
onProgress?(timeMs: number): void;
|
|
124
59
|
/** {zh}
|
|
125
60
|
* @detail callback
|
|
126
|
-
* @group 回调
|
|
127
61
|
* @brief 停止播放的回调。
|
|
62
|
+
*
|
|
128
63
|
*/
|
|
129
64
|
|
|
130
65
|
onStop?(): void;
|
|
131
66
|
/** {zh}
|
|
132
67
|
* @detail callback
|
|
133
|
-
* @group 回调
|
|
134
68
|
* @brief 返错误状态的回调。
|
|
135
69
|
* @param code 错误码,详情请参见 [VeLivePusherErrorCode](147520#VeLivePusherErrorCode)。
|
|
136
70
|
* @param msg 错误消息。
|
|
71
|
+
*
|
|
137
72
|
*/
|
|
138
73
|
|
|
139
|
-
onError?(
|
|
140
|
-
}
|
|
141
|
-
export declare class android_VeLiveMediaPlayerListener extends $p_a.VeLiveMediaPlayerListener {
|
|
142
|
-
protected _instance: VeLiveMediaPlayerListener;
|
|
143
|
-
constructor(_instance: VeLiveMediaPlayerListener);
|
|
144
|
-
onStart(arg_0: $p_a.Bundle): void;
|
|
145
|
-
onProgress(arg_0: $p_a.long): void;
|
|
146
|
-
onStop(): void;
|
|
147
|
-
onError(arg_0: $p_a.int, arg_1: string): void;
|
|
148
|
-
}
|
|
149
|
-
export declare class ios_VeLiveMediaPlayerListener extends $p_i.VeLiveMediaPlayerListener {
|
|
150
|
-
protected _instance: VeLiveMediaPlayerListener;
|
|
151
|
-
constructor(_instance: VeLiveMediaPlayerListener);
|
|
152
|
-
onStart(): void;
|
|
153
|
-
onProgress(arg_0: $p_i.long): void;
|
|
154
|
-
onStop(): void;
|
|
155
|
-
onError(arg_0: $p_i.NSError): void;
|
|
74
|
+
onError?(error: number): void;
|
|
156
75
|
}
|
|
157
76
|
/** {zh}
|
|
158
77
|
* @detail callback
|
|
159
|
-
* @list overview
|
|
160
78
|
* @brief 音频帧订阅回调。
|
|
79
|
+
*
|
|
161
80
|
*/
|
|
162
|
-
|
|
163
81
|
export interface VeLiveAudioFrameListener {
|
|
164
82
|
/** {zh}
|
|
165
83
|
* @detail callback
|
|
166
|
-
* @
|
|
167
|
-
* @brief 采集音频帧回调。只有当您通过 {@link #VeLiveAudioFrameListener#getObservedAudioFrameSource getObservedAudioFrameSource} 返回 `VeLiveAudioFrameSourceCapture` 时,才会触发该回调。
|
|
84
|
+
* @brief 采集音频帧回调。只有当您通过 getObservedAudioFrameSource{@link #VeLiveAudioFrameListener#getObservedAudioFrameSource} 返回 `VeLiveAudioFrameSourceCapture` 时,才会触发该回调。
|
|
168
85
|
* @order 21
|
|
169
86
|
* @param frame 音频帧数据,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame)。
|
|
87
|
+
*
|
|
170
88
|
*/
|
|
171
89
|
|
|
172
90
|
onCaptureAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
173
91
|
/** {zh}
|
|
174
92
|
* @detail callback
|
|
175
|
-
* @
|
|
176
|
-
* @brief 编码前音频帧回调。只有当您通过 {@link #VeLiveAudioFrameListener#getObservedAudioFrameSource getObservedAudioFrameSource} 返回 `VeLiveAudioFrameSourcePreEncode` 时,才会触发该回调。
|
|
93
|
+
* @brief 编码前音频帧回调。只有当您通过 getObservedAudioFrameSource{@link #VeLiveAudioFrameListener#getObservedAudioFrameSource} 返回 `VeLiveAudioFrameSourcePreEncode` 时,才会触发该回调。
|
|
177
94
|
* @order 22
|
|
178
95
|
* @param frame 音频帧数据,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame)。
|
|
96
|
+
*
|
|
179
97
|
*/
|
|
180
98
|
|
|
181
99
|
onPreEncodeAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
182
100
|
}
|
|
183
|
-
export declare class android_VeLiveAudioFrameListener extends $p_a.VeLiveAudioFrameListener {
|
|
184
|
-
protected _instance: VeLiveAudioFrameListener;
|
|
185
|
-
constructor(_instance: VeLiveAudioFrameListener);
|
|
186
|
-
onCaptureAudioFrame(arg_0: $p_a.VeLiveAudioFrame): void;
|
|
187
|
-
onPreEncodeAudioFrame(arg_0: $p_a.VeLiveAudioFrame): void;
|
|
188
|
-
}
|
|
189
|
-
export declare class ios_VeLiveAudioFrameListener extends $p_i.VeLiveAudioFrameListener {
|
|
190
|
-
protected _instance: VeLiveAudioFrameListener;
|
|
191
|
-
constructor(_instance: VeLiveAudioFrameListener);
|
|
192
|
-
onCaptureAudioFrame(arg_0: $p_i.VeLiveAudioFrame): void;
|
|
193
|
-
onPreEncodeAudioFrame(arg_0: $p_i.VeLiveAudioFrame): void;
|
|
194
|
-
}
|
|
195
101
|
/** {zh}
|
|
196
102
|
* @detail callback
|
|
197
|
-
* @list overview
|
|
198
103
|
* @brief 播放器音视频帧回调。通过该回调,您可以获取音频和视频帧的数据。
|
|
104
|
+
*
|
|
199
105
|
*/
|
|
200
|
-
|
|
201
106
|
export interface VeLiveMediaPlayerFrameListener {
|
|
202
107
|
/** {zh}
|
|
203
108
|
* @detail callback
|
|
204
|
-
* @group 回调
|
|
205
109
|
* @brief 播放器音频帧回调。
|
|
206
110
|
* @param frame 音频帧,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame)。
|
|
111
|
+
*
|
|
207
112
|
*/
|
|
208
113
|
|
|
209
114
|
onAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
210
115
|
/** {zh}
|
|
211
116
|
* @detail callback
|
|
212
|
-
* @group 回调
|
|
213
117
|
* @brief 播放器视频帧回调。当完成一个新的视频帧的解码后,触发该回调。
|
|
214
118
|
* @param frame 视频帧数据,包含了帧的时间戳和格式等信息,详情请参见 [VeLiveVideoFrame](147517#VeLiveVideoFrame)。
|
|
119
|
+
*
|
|
215
120
|
*/
|
|
216
121
|
|
|
217
122
|
onVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
218
123
|
}
|
|
219
|
-
export declare class android_VeLiveMediaPlayerFrameListener extends $p_a.VeLiveMediaPlayerFrameListener {
|
|
220
|
-
protected _instance: VeLiveMediaPlayerFrameListener;
|
|
221
|
-
constructor(_instance: VeLiveMediaPlayerFrameListener);
|
|
222
|
-
onAudioFrame(arg_0: $p_a.VeLiveAudioFrame): void;
|
|
223
|
-
onVideoFrame(arg_0: $p_a.VeLiveVideoFrame): void;
|
|
224
|
-
}
|
|
225
|
-
export declare class ios_VeLiveMediaPlayerFrameListener extends $p_i.VeLiveMediaPlayerFrameListener {
|
|
226
|
-
protected _instance: VeLiveMediaPlayerFrameListener;
|
|
227
|
-
constructor(_instance: VeLiveMediaPlayerFrameListener);
|
|
228
|
-
onAudioFrame(arg_0: $p_i.VeLiveAudioFrame): void;
|
|
229
|
-
onVideoFrame(arg_0: $p_i.VeLiveVideoFrame): void;
|
|
230
|
-
}
|
|
231
124
|
/** {zh}
|
|
232
125
|
* @detail callback
|
|
233
|
-
* @list overview
|
|
234
126
|
* @brief 直播截图回调。
|
|
127
|
+
*
|
|
235
128
|
*/
|
|
236
|
-
|
|
237
129
|
export interface VeLiveSnapshotListener {
|
|
238
130
|
/** {zh}
|
|
239
131
|
* @detail callback
|
|
240
|
-
* @group 回调
|
|
241
132
|
* @brief 截图成功回调。
|
|
242
133
|
* @notes <br>
|
|
243
|
-
* 调用 {@link #VeLivePusher#snapshot
|
|
134
|
+
* 调用 snapshot{@link #VeLivePusher#snapshot} 截图成功后,会收到这个回调。
|
|
244
135
|
* @order 15
|
|
245
136
|
* @param image 视频的截图。
|
|
137
|
+
*
|
|
246
138
|
*/
|
|
247
139
|
|
|
248
|
-
onSnapshotComplete?(image:
|
|
249
|
-
}
|
|
250
|
-
export declare class android_VeLiveSnapshotListener extends $p_a.VeLiveSnapshotListener {
|
|
251
|
-
protected _instance: VeLiveSnapshotListener;
|
|
252
|
-
constructor(_instance: VeLiveSnapshotListener);
|
|
253
|
-
onSnapshotComplete(arg_0: $p_a.Bitmap): void;
|
|
254
|
-
}
|
|
255
|
-
export declare class ios_VeLiveSnapshotListener extends $p_i.VeLiveSnapshotListener {
|
|
256
|
-
protected _instance: VeLiveSnapshotListener;
|
|
257
|
-
constructor(_instance: VeLiveSnapshotListener);
|
|
258
|
-
onSnapshotComplete(arg_0: $p_i.UIImage): void;
|
|
140
|
+
onSnapshotComplete?(image: Bitmap): void;
|
|
259
141
|
}
|
|
260
142
|
/** {zh}
|
|
261
143
|
* @detail callback
|
|
262
|
-
* @list overview
|
|
263
144
|
* @brief 自定义的音频处理回调。
|
|
145
|
+
*
|
|
264
146
|
*/
|
|
265
|
-
|
|
266
147
|
export interface VeLiveAudioFrameFilter {
|
|
267
|
-
/** {zh}
|
|
268
|
-
* @detail callback
|
|
269
|
-
* @group 回调
|
|
270
|
-
* @brief 自定义的音频处理方法。
|
|
271
|
-
* @order 16
|
|
272
|
-
* @param srcFrame 源音频帧,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame)。
|
|
273
|
-
* @param dstFrame 处理后的音频帧,详情请参见 [VeLiveAudioFrame](147517#VeLiveAudioFrame)。
|
|
274
|
-
* - 0:处理成功;
|
|
275
|
-
* - ≠0:处理失败,该帧会被 SDK 继续传递到编码器;
|
|
276
|
-
*/
|
|
277
|
-
|
|
278
|
-
onAudioProcess?(srcFrame: VeLiveAudioFrame, dstFrame: VeLiveAudioFrame): number;
|
|
279
|
-
}
|
|
280
|
-
export declare class android_VeLiveAudioFrameFilter extends $p_a.VeLiveAudioFrameFilter {
|
|
281
|
-
protected _instance: VeLiveAudioFrameFilter;
|
|
282
|
-
constructor(_instance: VeLiveAudioFrameFilter);
|
|
283
|
-
onAudioProcess(arg_0: $p_a.VeLiveAudioFrame, arg_1: $p_a.VeLiveAudioFrame): number;
|
|
284
|
-
}
|
|
285
|
-
export declare class ios_VeLiveAudioFrameFilter extends $p_i.VeLiveAudioFrameFilter {
|
|
286
|
-
protected _instance: VeLiveAudioFrameFilter;
|
|
287
|
-
constructor(_instance: VeLiveAudioFrameFilter);
|
|
288
|
-
onAudioProcess(arg_0: $p_i.VeLiveAudioFrame, arg_1: $p_i.VeLiveAudioFrame): number;
|
|
289
148
|
}
|
|
290
149
|
/** {zh}
|
|
291
150
|
* @detail callback
|
|
292
|
-
* @list overview
|
|
293
151
|
* @brief 回调协议,用于监听推流器的推流错误、状态、网络质量、设备、首帧等回调事件等。
|
|
294
152
|
*/
|
|
295
|
-
|
|
296
153
|
export interface VeLivePusherObserver {
|
|
297
154
|
/** {zh}
|
|
298
155
|
* @detail callback
|
|
299
|
-
* @group 回调
|
|
300
156
|
* @brief 推流错误回调。
|
|
301
157
|
* @order 1
|
|
302
158
|
* @param code 错误码。详情请参见 [VeLivePusherErrorCode](147520#VeLivePusherErrorCode)。
|
|
303
159
|
* @param subCode 子错误码。
|
|
304
160
|
* @param msg 错误信息。
|
|
161
|
+
*
|
|
305
162
|
*/
|
|
306
163
|
|
|
307
164
|
onError?(code: number, subCode: number, msg: string): void;
|
|
308
165
|
/** {zh}
|
|
309
166
|
* @detail callback
|
|
310
|
-
* @group 回调
|
|
311
167
|
* @brief 推流状态变化回调。
|
|
312
168
|
* @order 2
|
|
313
169
|
* @param status 变化后的推流状态。详情请参见 [VeLivePusherStatus](147521#VeLivePusherStatus)。
|
|
170
|
+
*
|
|
314
171
|
*/
|
|
315
172
|
|
|
316
173
|
onStatusChange?(status: VeLivePusherStatus): void;
|
|
317
174
|
/** {zh}
|
|
318
175
|
* @detail callback
|
|
319
|
-
* @group 回调
|
|
320
176
|
* @brief 首帧视频回调,当推流器发送出第一帧视频时,触发该回调。
|
|
321
177
|
* @order 3
|
|
322
178
|
* @param type 首帧的类型,详情请参见 [VeLiveFirstFrameType](147521#VeLiveFirstFrameType)。
|
|
323
179
|
* @param timestampMs 时间戳,单位为 ms。
|
|
180
|
+
*
|
|
324
181
|
*/
|
|
325
182
|
|
|
326
183
|
onFirstVideoFrame?(type: VeLiveFirstFrameType, timestampMs: number): void;
|
|
327
184
|
/** {zh}
|
|
328
185
|
* @detail callback
|
|
329
|
-
* @group 回调
|
|
330
186
|
* @brief 首帧音频回调,当推流器发送出第一帧音频时,触发该回调。
|
|
331
187
|
* @order 4
|
|
332
188
|
* @param type 首帧的类型,详情请参见 [VeLiveFirstFrameType](147521#VeLiveFirstFrameType)。
|
|
333
189
|
* @param timestampMs 时间戳,单位为 ms。
|
|
190
|
+
*
|
|
334
191
|
*/
|
|
335
192
|
|
|
336
193
|
onFirstAudioFrame?(type: VeLiveFirstFrameType, timestampMs: number): void;
|
|
337
194
|
/** {zh}
|
|
338
195
|
* @detail callback
|
|
339
|
-
* @group 回调
|
|
340
196
|
* @brief 摄像头开启/关闭回调,当推流器的摄像头开启或关闭时,触发该回调。
|
|
341
|
-
* @param open
|
|
197
|
+
* @param open 摄像头的新状态是否为开启。<br>
|
|
342
198
|
* - true:摄像头开启;
|
|
343
199
|
* - false:摄像头关闭。
|
|
344
200
|
* @order 5
|
|
201
|
+
*
|
|
345
202
|
*/
|
|
346
203
|
|
|
347
204
|
onCameraOpened?(open: boolean): void;
|
|
348
205
|
/** {zh}
|
|
349
206
|
* @detail callback
|
|
350
|
-
* @group 回调
|
|
351
207
|
* @brief 麦克风开启/关闭回调,当推流器的麦克风开启或关闭时,触发该回调。
|
|
352
|
-
* @param open
|
|
208
|
+
* @param open 麦克风的新状态是否为开启。<br>
|
|
353
209
|
* - true:麦克风开启;
|
|
354
210
|
* - false:麦克风关闭。
|
|
355
211
|
* @order 6
|
|
212
|
+
*
|
|
356
213
|
*/
|
|
357
214
|
|
|
358
215
|
onMicrophoneOpened?(open: boolean): void;
|
|
359
216
|
/** {zh}
|
|
360
217
|
* @platform android
|
|
361
218
|
* @detail callback
|
|
362
|
-
* @group 回调
|
|
363
219
|
* @brief 屏幕采集开启/关闭回调,当推流器的屏幕采集开启或关闭时,触发该回调。
|
|
364
|
-
* @param open
|
|
220
|
+
* @param open 屏幕采集的新状态是否为开启。<br>
|
|
365
221
|
* - true:屏幕采集开启;
|
|
366
222
|
* - false:屏幕采集关闭。
|
|
367
223
|
* @order 7
|
|
224
|
+
*
|
|
368
225
|
*/
|
|
369
226
|
|
|
370
|
-
android_onScreenRecording?(
|
|
227
|
+
android_onScreenRecording?(): void;
|
|
371
228
|
/** {zh}
|
|
372
229
|
* @detail callback
|
|
373
|
-
* @group 回调
|
|
374
230
|
* @brief 网络质量状态回调,当推流器检测到网络质量发生变化时,触发该回调。
|
|
375
231
|
* @order 8
|
|
376
232
|
* @param quality 变化后的网络质量。详情请参见 [VeLiveNetworkQuality](147521#VeLiveNetworkQuality)。
|
|
233
|
+
*
|
|
377
234
|
*/
|
|
378
235
|
|
|
379
236
|
onNetworkQuality?(quality: VeLiveNetworkQuality): void;
|
|
380
237
|
/** {zh}
|
|
381
238
|
* @detail callback
|
|
382
|
-
* @group 回调
|
|
383
239
|
* @brief 音量等级回调,当推流器的音频音量等级发生变化时,触发该回调。
|
|
384
240
|
* @order 9
|
|
385
241
|
* @param level 变化后的音量等级。详情请参见 [VeLiveAudioPowerLevel](147521#VeLiveAudioPowerLevel)。
|
|
@@ -391,155 +247,195 @@ export interface VeLivePusherObserver {
|
|
|
391
247
|
* - 分贝数大于 30 小于等于 60,对应 VeLiveAudioPowerLevelNormal 级别
|
|
392
248
|
* - 分贝数大于 60 小于等于 85,对应 VeLiveAudioPowerLevelLoud
|
|
393
249
|
* - 分贝数大于 85,对应 VeLiveAudioPowerLevelNoisy 级别
|
|
250
|
+
*
|
|
394
251
|
*/
|
|
395
252
|
|
|
396
253
|
onAudioPowerQuality?(level: VeLiveAudioPowerLevel, value: number): void;
|
|
397
254
|
}
|
|
398
|
-
export declare class android_VeLivePusherObserver extends $p_a.VeLivePusherObserver {
|
|
399
|
-
protected _instance: VeLivePusherObserver;
|
|
400
|
-
constructor(_instance: VeLivePusherObserver);
|
|
401
|
-
onError(arg_0: $p_a.int, arg_1: $p_a.int, arg_2: string): void;
|
|
402
|
-
onStatusChange(arg_0: $p_a.VeLivePusherStatus): void;
|
|
403
|
-
onFirstVideoFrame(arg_0: $p_a.VeLiveFirstFrameType, arg_1: $p_a.long): void;
|
|
404
|
-
onFirstAudioFrame(arg_0: $p_a.VeLiveFirstFrameType, arg_1: $p_a.long): void;
|
|
405
|
-
onCameraOpened(arg_0: boolean): void;
|
|
406
|
-
onMicrophoneOpened(arg_0: boolean): void;
|
|
407
|
-
onScreenRecording(arg_0: boolean): void;
|
|
408
|
-
onNetworkQuality(arg_0: $p_a.VeLiveNetworkQuality): void;
|
|
409
|
-
onAudioPowerQuality(arg_0: $p_a.VeLiveAudioPowerLevel, arg_1: $p_a.float): void;
|
|
410
|
-
}
|
|
411
|
-
export declare class ios_VeLivePusherObserver extends $p_i.VeLivePusherObserver {
|
|
412
|
-
protected _instance: VeLivePusherObserver;
|
|
413
|
-
constructor(_instance: VeLivePusherObserver);
|
|
414
|
-
onError(arg_0: $p_i.int, arg_1: $p_i.int, arg_2: $p_i.NSString): void;
|
|
415
|
-
onStatusChange(arg_0: $p_i.VeLivePushStatus): void;
|
|
416
|
-
onFirstVideoFrame(arg_0: $p_i.VeLiveFirstFrameType, arg_1: $p_i.int64_t): void;
|
|
417
|
-
onFirstAudioFrame(arg_0: $p_i.VeLiveFirstFrameType, arg_1: $p_i.int64_t): void;
|
|
418
|
-
onCameraOpened(arg_0: $p_i.BOOL): void;
|
|
419
|
-
onMicrophoneOpened(arg_0: $p_i.BOOL): void;
|
|
420
|
-
onNetworkQuality(arg_0: $p_i.VeLiveNetworkQuality): void;
|
|
421
|
-
onAudioPowerQuality(arg_0: $p_i.VeLiveAudioPowerLevel, arg_1: $p_i.float): void;
|
|
422
|
-
}
|
|
423
255
|
/** {zh}
|
|
424
256
|
* @detail callback
|
|
425
|
-
* @list overview
|
|
426
257
|
* @brief 推流器周期性回调。
|
|
258
|
+
*
|
|
427
259
|
*/
|
|
428
|
-
|
|
429
260
|
export interface VeLivePusherStatisticsObserver {
|
|
430
261
|
/** {zh}
|
|
431
262
|
* @detail callback
|
|
432
|
-
* @group 回调
|
|
433
263
|
* @brief 推流周期性统计信息回调。
|
|
434
264
|
* @order 10
|
|
435
265
|
* @param statistics 周期性统计信息,默认每 5s 回调一次。详情请参见 [VeLivePusherStatistics](147521#VeLivePusherStatistics)。
|
|
266
|
+
*
|
|
436
267
|
*/
|
|
437
268
|
|
|
438
269
|
onStatistics?(statistics: VeLivePusherStatistics): void;
|
|
439
270
|
/** {zh}
|
|
440
271
|
* @detail callback
|
|
441
|
-
* @group 回调
|
|
442
272
|
* @brief 周期性日志信息回调。
|
|
443
273
|
* @order 11
|
|
444
274
|
* @param logInfo 周期性日志信息。
|
|
275
|
+
*
|
|
445
276
|
*/
|
|
446
277
|
|
|
447
|
-
onLogMonitor?(logInfo:
|
|
448
|
-
}
|
|
449
|
-
export declare class android_VeLivePusherStatisticsObserver extends $p_a.VeLivePusherStatisticsObserver {
|
|
450
|
-
protected _instance: VeLivePusherStatisticsObserver;
|
|
451
|
-
constructor(_instance: VeLivePusherStatisticsObserver);
|
|
452
|
-
onStatistics(arg_0: $p_a.VeLivePusherStatistics): void;
|
|
453
|
-
onLogMonitor(arg_0: $p_a.JSONObject): void;
|
|
454
|
-
}
|
|
455
|
-
export declare class ios_VeLivePusherStatisticsObserver extends $p_i.VeLivePusherStatisticsObserver {
|
|
456
|
-
protected _instance: VeLivePusherStatisticsObserver;
|
|
457
|
-
constructor(_instance: VeLivePusherStatisticsObserver);
|
|
458
|
-
onStatistics(arg_0: $p_i.VeLivePusherStatistics): void;
|
|
459
|
-
onLogMonitor(arg_0: $p_i.NSDictionary): void;
|
|
460
|
-
}
|
|
461
|
-
export declare class VeLivePusherDef extends $p_a.VeLivePusherDef {
|
|
278
|
+
onLogMonitor?(logInfo: JSONObject): void;
|
|
462
279
|
}
|
|
463
280
|
/** {zh}
|
|
464
281
|
* @detail callback
|
|
465
|
-
* @list overview
|
|
466
282
|
* @brief 直播录制回调。
|
|
283
|
+
*
|
|
467
284
|
*/
|
|
468
|
-
|
|
469
285
|
export interface VeLiveFileRecordingListener {
|
|
470
286
|
/** {zh}
|
|
471
287
|
* @detail callback
|
|
472
|
-
* @group 回调
|
|
473
288
|
* @brief 直播录制开始回调。
|
|
474
289
|
* @order 12
|
|
290
|
+
*
|
|
475
291
|
*/
|
|
476
292
|
|
|
477
293
|
onFileRecordingStarted?(): void;
|
|
478
294
|
/** {zh}
|
|
479
295
|
* @detail callback
|
|
480
|
-
* @group 回调
|
|
481
296
|
* @brief 直播录制停止回调。
|
|
482
297
|
* @order 13
|
|
298
|
+
*
|
|
483
299
|
*/
|
|
484
300
|
|
|
485
301
|
onFileRecordingStopped?(): void;
|
|
486
302
|
/** {zh}
|
|
487
303
|
* @detail callback
|
|
488
|
-
* @group 回调
|
|
489
304
|
* @brief 直播录制错误回调。
|
|
490
305
|
* @order 14
|
|
491
306
|
* @param errorCode 错误码,详情请参见 [VeLivePusherErrorCode](147520#VeLivePusherErrorCode)。
|
|
492
307
|
* @param message 错误信息。
|
|
308
|
+
*
|
|
493
309
|
*/
|
|
494
310
|
|
|
495
311
|
onFileRecordingError?(errorCode: number, message: string): void;
|
|
496
312
|
}
|
|
313
|
+
export declare class android_VeLiveVideoFrameFilter extends $p_a.VeLiveVideoFrameFilter {
|
|
314
|
+
protected _instance: VeLiveVideoFrameFilter;
|
|
315
|
+
constructor(_instance: VeLiveVideoFrameFilter);
|
|
316
|
+
}
|
|
317
|
+
export declare class ios_VeLiveVideoFrameFilter extends $p_i.VeLiveVideoFrameFilter {
|
|
318
|
+
protected _instance: VeLiveVideoFrameFilter;
|
|
319
|
+
constructor(_instance: VeLiveVideoFrameFilter);
|
|
320
|
+
}
|
|
321
|
+
export declare class android_VeLiveVideoFrameListener extends $p_a.VeLiveVideoFrameListener {
|
|
322
|
+
protected _instance: VeLiveVideoFrameListener;
|
|
323
|
+
constructor(_instance: VeLiveVideoFrameListener);
|
|
324
|
+
onCaptureVideoFrame(frame: $p_a.VeLiveVideoFrame): void;
|
|
325
|
+
onPreEncodeVideoFrame(frame: $p_a.VeLiveVideoFrame): void;
|
|
326
|
+
}
|
|
327
|
+
export declare class ios_VeLiveVideoFrameListener extends $p_i.VeLiveVideoFrameListener {
|
|
328
|
+
protected _instance: VeLiveVideoFrameListener;
|
|
329
|
+
constructor(_instance: VeLiveVideoFrameListener);
|
|
330
|
+
onCaptureVideoFrame(frame: $p_i.VeLiveVideoFrame): void;
|
|
331
|
+
onPreEncodeVideoFrame(frame: $p_i.VeLiveVideoFrame): void;
|
|
332
|
+
}
|
|
333
|
+
export declare class android_VeLiveMediaPlayerListener extends $p_a.VeLiveMediaPlayerListener {
|
|
334
|
+
protected _instance: VeLiveMediaPlayerListener;
|
|
335
|
+
constructor(_instance: VeLiveMediaPlayerListener);
|
|
336
|
+
onStart(info: $p_a.Bundle): void;
|
|
337
|
+
onProgress(timeMs: $p_a.long): void;
|
|
338
|
+
onStop(): void;
|
|
339
|
+
onError(code: $p_a.int, msg: string): void;
|
|
340
|
+
}
|
|
341
|
+
export declare class ios_VeLiveMediaPlayerListener extends $p_i.VeLiveMediaPlayerListener {
|
|
342
|
+
protected _instance: VeLiveMediaPlayerListener;
|
|
343
|
+
constructor(_instance: VeLiveMediaPlayerListener);
|
|
344
|
+
onStart(): void;
|
|
345
|
+
onProgress(timeMS: $p_i.long): void;
|
|
346
|
+
onStop(): void;
|
|
347
|
+
onError(error: $p_i.NSError): void;
|
|
348
|
+
}
|
|
349
|
+
export declare class android_VeLiveAudioFrameListener extends $p_a.VeLiveAudioFrameListener {
|
|
350
|
+
protected _instance: VeLiveAudioFrameListener;
|
|
351
|
+
constructor(_instance: VeLiveAudioFrameListener);
|
|
352
|
+
onCaptureAudioFrame(frame: $p_a.VeLiveAudioFrame): void;
|
|
353
|
+
onPreEncodeAudioFrame(frame: $p_a.VeLiveAudioFrame): void;
|
|
354
|
+
}
|
|
355
|
+
export declare class ios_VeLiveAudioFrameListener extends $p_i.VeLiveAudioFrameListener {
|
|
356
|
+
protected _instance: VeLiveAudioFrameListener;
|
|
357
|
+
constructor(_instance: VeLiveAudioFrameListener);
|
|
358
|
+
onCaptureAudioFrame(frame: $p_i.VeLiveAudioFrame): void;
|
|
359
|
+
onPreEncodeAudioFrame(frame: $p_i.VeLiveAudioFrame): void;
|
|
360
|
+
}
|
|
361
|
+
export declare class android_VeLiveMediaPlayerFrameListener extends $p_a.VeLiveMediaPlayerFrameListener {
|
|
362
|
+
protected _instance: VeLiveMediaPlayerFrameListener;
|
|
363
|
+
constructor(_instance: VeLiveMediaPlayerFrameListener);
|
|
364
|
+
onAudioFrame(frame: $p_a.VeLiveAudioFrame): void;
|
|
365
|
+
onVideoFrame(frame: $p_a.VeLiveVideoFrame): void;
|
|
366
|
+
}
|
|
367
|
+
export declare class ios_VeLiveMediaPlayerFrameListener extends $p_i.VeLiveMediaPlayerFrameListener {
|
|
368
|
+
protected _instance: VeLiveMediaPlayerFrameListener;
|
|
369
|
+
constructor(_instance: VeLiveMediaPlayerFrameListener);
|
|
370
|
+
onAudioFrame(audioFrame: $p_i.VeLiveAudioFrame): void;
|
|
371
|
+
onVideoFrame(videoFrame: $p_i.VeLiveVideoFrame): void;
|
|
372
|
+
}
|
|
373
|
+
export declare class android_VeLiveSnapshotListener extends $p_a.VeLiveSnapshotListener {
|
|
374
|
+
protected _instance: VeLiveSnapshotListener;
|
|
375
|
+
constructor(_instance: VeLiveSnapshotListener);
|
|
376
|
+
onSnapshotComplete(image: $p_a.Bitmap): void;
|
|
377
|
+
}
|
|
378
|
+
export declare class ios_VeLiveSnapshotListener extends $p_i.VeLiveSnapshotListener {
|
|
379
|
+
protected _instance: VeLiveSnapshotListener;
|
|
380
|
+
constructor(_instance: VeLiveSnapshotListener);
|
|
381
|
+
onSnapshotComplete(image: $p_i.UIImage): void;
|
|
382
|
+
}
|
|
383
|
+
export declare class android_VeLiveAudioFrameFilter extends $p_a.VeLiveAudioFrameFilter {
|
|
384
|
+
protected _instance: VeLiveAudioFrameFilter;
|
|
385
|
+
constructor(_instance: VeLiveAudioFrameFilter);
|
|
386
|
+
}
|
|
387
|
+
export declare class ios_VeLiveAudioFrameFilter extends $p_i.VeLiveAudioFrameFilter {
|
|
388
|
+
protected _instance: VeLiveAudioFrameFilter;
|
|
389
|
+
constructor(_instance: VeLiveAudioFrameFilter);
|
|
390
|
+
}
|
|
391
|
+
export declare class android_VeLivePusherObserver extends $p_a.VeLivePusherObserver {
|
|
392
|
+
protected _instance: VeLivePusherObserver;
|
|
393
|
+
constructor(_instance: VeLivePusherObserver);
|
|
394
|
+
onError(code: $p_a.int, subCode: $p_a.int, msg: string): void;
|
|
395
|
+
onStatusChange(status: $p_a.VeLivePusherStatus): void;
|
|
396
|
+
onFirstVideoFrame(type: $p_a.VeLiveFirstFrameType, timestampMs: $p_a.long): void;
|
|
397
|
+
onFirstAudioFrame(type: $p_a.VeLiveFirstFrameType, timestampMs: $p_a.long): void;
|
|
398
|
+
onCameraOpened(open: boolean): void;
|
|
399
|
+
onMicrophoneOpened(open: boolean): void;
|
|
400
|
+
onScreenRecording(open: boolean): void;
|
|
401
|
+
onNetworkQuality(quality: $p_a.VeLiveNetworkQuality): void;
|
|
402
|
+
onAudioPowerQuality(level: $p_a.VeLiveAudioPowerLevel, value: $p_a.float): void;
|
|
403
|
+
}
|
|
404
|
+
export declare class ios_VeLivePusherObserver extends $p_i.VeLivePusherObserver {
|
|
405
|
+
protected _instance: VeLivePusherObserver;
|
|
406
|
+
constructor(_instance: VeLivePusherObserver);
|
|
407
|
+
onError$subcode$message(code: $p_i.int, subcode: $p_i.int, msg: $p_i.NSString): void;
|
|
408
|
+
onStatusChange(status: $p_i.VeLivePushStatus): void;
|
|
409
|
+
onFirstVideoFrame$timestampMs(type: $p_i.VeLiveFirstFrameType, timestampMs: $p_i.int64_t): void;
|
|
410
|
+
onFirstAudioFrame$timestampMs(type: $p_i.VeLiveFirstFrameType, timestampMs: $p_i.int64_t): void;
|
|
411
|
+
onCameraOpened(open: $p_i.BOOL): void;
|
|
412
|
+
onMicrophoneOpened(open: $p_i.BOOL): void;
|
|
413
|
+
onNetworkQuality(quality: $p_i.VeLiveNetworkQuality): void;
|
|
414
|
+
onAudioPowerQuality$value(level: $p_i.VeLiveAudioPowerLevel, value: $p_i.float): void;
|
|
415
|
+
}
|
|
416
|
+
export declare class android_VeLivePusherStatisticsObserver extends $p_a.VeLivePusherStatisticsObserver {
|
|
417
|
+
protected _instance: VeLivePusherStatisticsObserver;
|
|
418
|
+
constructor(_instance: VeLivePusherStatisticsObserver);
|
|
419
|
+
onStatistics(statistics: $p_a.VeLivePusherStatistics): void;
|
|
420
|
+
onLogMonitor(logInfo: $p_a.JSONObject): void;
|
|
421
|
+
}
|
|
422
|
+
export declare class ios_VeLivePusherStatisticsObserver extends $p_i.VeLivePusherStatisticsObserver {
|
|
423
|
+
protected _instance: VeLivePusherStatisticsObserver;
|
|
424
|
+
constructor(_instance: VeLivePusherStatisticsObserver);
|
|
425
|
+
onStatistics(statistics: $p_i.VeLivePusherStatistics): void;
|
|
426
|
+
onLogMonitor(logInfo: $p_i.NSDictionary): void;
|
|
427
|
+
}
|
|
497
428
|
export declare class android_VeLiveFileRecordingListener extends $p_a.VeLiveFileRecordingListener {
|
|
498
429
|
protected _instance: VeLiveFileRecordingListener;
|
|
499
430
|
constructor(_instance: VeLiveFileRecordingListener);
|
|
500
431
|
onFileRecordingStarted(): void;
|
|
501
432
|
onFileRecordingStopped(): void;
|
|
502
|
-
onFileRecordingError(
|
|
433
|
+
onFileRecordingError(errorCode: $p_a.int, message: string): void;
|
|
503
434
|
}
|
|
504
435
|
export declare class ios_VeLiveFileRecordingListener extends $p_i.VeLiveFileRecordingListener {
|
|
505
436
|
protected _instance: VeLiveFileRecordingListener;
|
|
506
437
|
constructor(_instance: VeLiveFileRecordingListener);
|
|
507
438
|
onFileRecordingStarted(): void;
|
|
508
439
|
onFileRecordingStopped(): void;
|
|
509
|
-
onFileRecordingError(
|
|
510
|
-
}
|
|
511
|
-
/** {zh}
|
|
512
|
-
* @platform android
|
|
513
|
-
* @detail callback
|
|
514
|
-
* @list overview
|
|
515
|
-
* @brief 视频特效对象回调。
|
|
516
|
-
*/
|
|
517
|
-
|
|
518
|
-
export interface VeLiveVideoEffectHandleCallback {
|
|
519
|
-
/** {zh}
|
|
520
|
-
* @platform android
|
|
521
|
-
* @detail callback
|
|
522
|
-
* @group 回调
|
|
523
|
-
* @brief 视频特效对象回调,调用 [setAdvancedFeature](147517#VeLiveVideoEffectManager-setadvancedfeature) 接口时触发此回调,如需使用请联系[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076)。
|
|
524
|
-
* @param handle 视频特效对象。
|
|
525
|
-
*/
|
|
526
|
-
|
|
527
|
-
android_onEffectHandle?(handle: Object): void;
|
|
528
|
-
}
|
|
529
|
-
export declare class android_VeLiveVideoEffectHandleCallback extends $p_a.VeLiveVideoEffectHandleCallback {
|
|
530
|
-
protected _instance: VeLiveVideoEffectHandleCallback;
|
|
531
|
-
constructor(_instance: VeLiveVideoEffectHandleCallback);
|
|
532
|
-
onEffectHandle(arg_0: object): void;
|
|
533
|
-
}
|
|
534
|
-
/** {zh}
|
|
535
|
-
* @platform ios
|
|
536
|
-
* @list overview
|
|
537
|
-
* @detail callback
|
|
538
|
-
*/
|
|
539
|
-
|
|
540
|
-
export interface VeLiveScreenCaptureStatusObserver {
|
|
541
|
-
}
|
|
542
|
-
export declare class ios_VeLiveScreenCaptureStatusObserver extends $p_i.VeLiveScreenCaptureStatusObserver {
|
|
543
|
-
protected _instance: VeLiveScreenCaptureStatusObserver;
|
|
544
|
-
constructor(_instance: VeLiveScreenCaptureStatusObserver);
|
|
440
|
+
onFileRecordingError$message(errorCode: $p_i.int, msg: $p_i.NSString): void;
|
|
545
441
|
}
|