@byteplus/react-native-live-push 1.1.3-rc.4 → 1.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/volcengine/velive/rn/push/ClassHelper.java +9 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +5 -8
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +1 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +1 -3
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +33 -22
- package/ios/VeLiveMixerHelper.h +7 -5
- package/ios/VeLiveMixerHelper.m +1 -1
- package/ios/VeLiveMixerViewManager.m +2 -2
- package/lib/commonjs/index.js +23202 -20302
- 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/pusher.d.ts +0 -3
- package/lib/module/index.js +23203 -20302
- 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/pusher.d.ts +0 -3
- 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/pusher.d.ts +0 -3
- 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
|
@@ -2,79 +2,241 @@ import { VeLivePusherStatistics, VeLiveVideoFrame, VeLiveAudioFrame, VeLivePushS
|
|
|
2
2
|
import { NSDictionary, int, NSString, long, NSError, UIImage, int64_t, BOOL, float } from './types';
|
|
3
3
|
export declare class VeLivePusherStatisticsObserver {
|
|
4
4
|
|
|
5
|
+
/** {en}
|
|
6
|
+
* @detail callback
|
|
7
|
+
* @brief Occurs periodically to report streaming statistics. By default, the callback is triggered every 5 seconds.
|
|
8
|
+
* @param statistics The streaming statistics. See [VeLivePusherStatistics](broadcast-sdk-for-ios-type-definition#VeLivePusherStatistics) for details.
|
|
9
|
+
* @order 8
|
|
10
|
+
*/
|
|
5
11
|
onStatistics?(statistics: VeLivePusherStatistics): void;
|
|
6
12
|
|
|
13
|
+
/** {en}
|
|
14
|
+
* @detail callback
|
|
15
|
+
* @brief Occurs periodically to return log information.
|
|
16
|
+
* @param logInfo The log information.
|
|
17
|
+
* @order 9
|
|
18
|
+
*/
|
|
7
19
|
onLogMonitor?(logInfo: NSDictionary): void;
|
|
8
20
|
}
|
|
9
21
|
export declare class VeLiveMediaPlayerFrameListener {
|
|
10
22
|
|
|
23
|
+
/** {en}
|
|
24
|
+
* @detail callback
|
|
25
|
+
* @brief Occurs when the media player decodes a video frame.
|
|
26
|
+
* @param videoFrame The video frame data, including the timestamp, pixel format, and other information. See [VeLiveVideoFrame](broadcast-sdk-for-ios-type-definition#VeLiveVideoFrame) for details.
|
|
27
|
+
*/
|
|
11
28
|
onVideoFrame?(videoFrame: VeLiveVideoFrame): void;
|
|
12
29
|
|
|
30
|
+
/** {en}
|
|
31
|
+
* @detail callback
|
|
32
|
+
* @brief Occurs when the media player decodes an audio frame.
|
|
33
|
+
* @param audioFrame The audio frame data. See [VeLiveAudioFrame](broadcast-sdk-for-ios-type-definition#VeLiveAudioFrame) for details.
|
|
34
|
+
*/
|
|
13
35
|
onAudioFrame?(audioFrame: VeLiveAudioFrame): void;
|
|
14
36
|
}
|
|
15
37
|
export declare class VeLiveFileRecordingListener {
|
|
16
38
|
|
|
39
|
+
/** {en}
|
|
40
|
+
* @detail callback
|
|
41
|
+
* @brief Occurs when recording starts.
|
|
42
|
+
* @order 10
|
|
43
|
+
*/
|
|
17
44
|
onFileRecordingStarted?(): void;
|
|
18
45
|
|
|
46
|
+
/** {en}
|
|
47
|
+
* @detail callback
|
|
48
|
+
* @brief Occurs when recording stops.
|
|
49
|
+
* @order 11
|
|
50
|
+
*/
|
|
19
51
|
onFileRecordingStopped?(): void;
|
|
20
52
|
|
|
53
|
+
/** {en}
|
|
54
|
+
* @detail callback
|
|
55
|
+
* @brief Occurs when an error occurs during recording.
|
|
56
|
+
* @param errorCode The error code. See [VeLivePusherCode](broadcast-sdk-for-ios-api-error-code#VeLivePusherCode) for details.
|
|
57
|
+
* @param msg The error message.
|
|
58
|
+
* @order 12
|
|
59
|
+
*/
|
|
21
60
|
onFileRecordingError$message?(errorCode: int, msg: NSString): void;
|
|
22
61
|
}
|
|
23
62
|
export declare class VeLiveScreenCaptureStatusObserver {
|
|
24
63
|
|
|
64
|
+
/** {en}
|
|
65
|
+
* @detail callback
|
|
66
|
+
* @brief Triggered when screen streaming starts. This callback is triggered once the `[RPBroadcastSampleHandler startBroadcast]` callback is triggered.
|
|
67
|
+
*/
|
|
25
68
|
broadcastStarted?(): void;
|
|
26
69
|
|
|
70
|
+
/** {en}
|
|
71
|
+
* @detail callback
|
|
72
|
+
* @brief Triggered when screen streaming pauses. This callback is triggered once the `[RPBroadcastSampleHandler pauseBroadcast]` callback is triggered.
|
|
73
|
+
*/
|
|
27
74
|
broadcastPaused?(): void;
|
|
28
75
|
|
|
76
|
+
/** {en}
|
|
77
|
+
* @detail callback
|
|
78
|
+
* @brief Triggered when screen streaming resumes. This callback is triggered once the `[RPBroadcastSampleHandler resumeBroadcast]` callback is triggered.
|
|
79
|
+
*/
|
|
29
80
|
broadcastResumed?(): void;
|
|
30
81
|
|
|
82
|
+
/** {en}
|
|
83
|
+
* @detail callback
|
|
84
|
+
* @brief Triggered when screen streaming stops. This callback is triggered once the `[RPBroadcastSampleHandler finishBroadcast]` callback is triggered.
|
|
85
|
+
*/
|
|
31
86
|
broadcastFinished?(): void;
|
|
32
87
|
}
|
|
33
88
|
export declare class VeLiveVideoFrameFilter {
|
|
34
89
|
}
|
|
35
90
|
export declare class VeLiveVideoFrameListener {
|
|
36
91
|
|
|
92
|
+
/** {en}
|
|
93
|
+
* @detail callback
|
|
94
|
+
* @brief Occurs when a video frame is captured. This callback will be triggered only if you return `VeLiveVideoFrameSourceCapture` when implementing the [getObservedVideoFrameSource](#VeLiveVideoFrameListener-getobservedvideoframesource) callback method.
|
|
95
|
+
* @param frame The captured video frame. See VeLiveVideoFrame{@link #VeLiveVideoFrame} for details.
|
|
96
|
+
*/
|
|
37
97
|
onCaptureVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
38
98
|
|
|
99
|
+
/** {en}
|
|
100
|
+
* @detail callback
|
|
101
|
+
* @brief Occurs when a video frame is to be encoded. This callback will be triggered only if you return `VeLiveVideoFrameSourcePreEncode` when implementing the [getObservedVideoFrameSource](#VeLiveVideoFrameListener-getobservedvideoframesource) callback method.
|
|
102
|
+
* @param frame The video frame prior to encoding. See [VeLiveVideoFrame](broadcast-sdk-for-ios-type-definition#VeLiveVideoFrame) for details.
|
|
103
|
+
*/
|
|
39
104
|
onPreEncodeVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
40
105
|
}
|
|
41
106
|
export declare class VeLiveAudioFrameListener {
|
|
42
107
|
|
|
108
|
+
/** {en}
|
|
109
|
+
* @detail callback
|
|
110
|
+
* @brief Occurs when an audio frame is captured. This callback will be triggered only if you return `VeLiveAudioFrameSourceCapture` when implementing the [getObservedAudioFrameSource](#VeLiveAudioFrameListener-getobservedaudioframesource) callback method.
|
|
111
|
+
* @param frame The captured audio frame data. See VeLiveAudioFrame {@link #VeLiveAudioFrame} for details.
|
|
112
|
+
*/
|
|
43
113
|
onCaptureAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
44
114
|
|
|
115
|
+
/** {en}
|
|
116
|
+
* @detail callback
|
|
117
|
+
* @brief Occurs when an audio frame is to be encoded. This callback will be triggered only if you return `VeLiveAudioFrameSourcePreEncode` when implementing the [getObservedAudioFrameSource](#VeLiveAudioFrameListener-getobservedaudioframesource) callback method.
|
|
118
|
+
* @param frame The audio frame prior to encoding. See VeLiveAudioFrame {@link #VeLiveAudioFrame} for details.
|
|
119
|
+
*/
|
|
45
120
|
onPreEncodeAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
46
121
|
}
|
|
47
122
|
export declare class VeLiveMediaPlayerListener {
|
|
48
123
|
|
|
124
|
+
/** {en}
|
|
125
|
+
* @detail callback
|
|
126
|
+
* @brief Occurs when the playback starts.
|
|
127
|
+
*/
|
|
49
128
|
onStart?(): void;
|
|
50
129
|
|
|
130
|
+
/** {en}
|
|
131
|
+
* @detail callback
|
|
132
|
+
* @brief Occurs every 100 ms to report the playback progress.
|
|
133
|
+
* @param timeMS The playback progress, in milliseconds.
|
|
134
|
+
*/
|
|
51
135
|
onProgress?(timeMS: long): void;
|
|
52
136
|
|
|
137
|
+
/** {en}
|
|
138
|
+
* @detail callback
|
|
139
|
+
* @brief Occurs when the playback stops.
|
|
140
|
+
*/
|
|
53
141
|
onStop?(): void;
|
|
54
142
|
|
|
143
|
+
/** {en}
|
|
144
|
+
* @detail callback
|
|
145
|
+
* @brief Occurs when an error occurs in the media player.
|
|
146
|
+
* @param error The error message.
|
|
147
|
+
*/
|
|
55
148
|
onError?(error: NSError): void;
|
|
56
149
|
}
|
|
57
150
|
export declare class VeLiveAudioFrameFilter {
|
|
58
151
|
}
|
|
59
152
|
export declare class VeLiveSnapshotListener {
|
|
60
153
|
|
|
154
|
+
/** {en}
|
|
155
|
+
* @detail callback
|
|
156
|
+
* @brief Occurs when a screenshot is successfully taken after snapshot:{@link #VeLivePusher#snapshot} is called.
|
|
157
|
+
* @param image The screenshot image.
|
|
158
|
+
*/
|
|
61
159
|
onSnapshotComplete?(image: UIImage): void;
|
|
62
160
|
}
|
|
63
161
|
export declare class VeLivePusherObserver {
|
|
64
162
|
|
|
163
|
+
/** {en}
|
|
164
|
+
* @detail callback
|
|
165
|
+
* @brief Occurs when a streaming error occurs.
|
|
166
|
+
* @param code The error code. See [VeLivePusherCode](broadcast-sdk-for-ios-api-error-code#VeLivePusherCode) for details.
|
|
167
|
+
* @param subcode The subcode. See [VeLivePusherErrorCode](broadcast-sdk-for-ios-api-error-code#VeLivePusherErrorCode) for details.
|
|
168
|
+
* @param msg The error message.
|
|
169
|
+
* @order 0
|
|
170
|
+
*/
|
|
65
171
|
onError$subcode$message?(code: int, subcode: int, msg: NSString): void;
|
|
66
172
|
|
|
173
|
+
/** {en}
|
|
174
|
+
* @detail callback
|
|
175
|
+
* @brief Occurs when the streaming status changes.
|
|
176
|
+
* @param status The updated streaming status. See [VeLivePushStatus](broadcast-sdk-for-ios-type-definition#VeLivePushStatus) for details.
|
|
177
|
+
* @order 1
|
|
178
|
+
*/
|
|
67
179
|
onStatusChange?(status: VeLivePushStatus): void;
|
|
68
180
|
|
|
181
|
+
/** {en}
|
|
182
|
+
* @detail callback
|
|
183
|
+
* @brief Occurs when the live pusher sends the first video frame.
|
|
184
|
+
* @param type The type of the first frame. See [VeLiveFirstFrameType](broadcast-sdk-for-ios-type-definition#VeLiveFirstFrameType) for details.
|
|
185
|
+
* @param timestampMs The timestamp, in milliseconds.
|
|
186
|
+
* @order 2
|
|
187
|
+
*/
|
|
69
188
|
onFirstVideoFrame$timestampMs?(type: VeLiveFirstFrameType, timestampMs: int64_t): void;
|
|
70
189
|
|
|
190
|
+
/** {en}
|
|
191
|
+
* @detail callback
|
|
192
|
+
* @brief Occurs when the live pusher sends the first audio frame.
|
|
193
|
+
* @param type The type of the first audio frame. See [VeLiveFirstFrameType](broadcast-sdk-for-ios-type-definition#VeLiveFirstFrameType) for details.
|
|
194
|
+
* @param timestampMs The timestamp, in milliseconds.
|
|
195
|
+
* @order 3
|
|
196
|
+
*/
|
|
71
197
|
onFirstAudioFrame$timestampMs?(type: VeLiveFirstFrameType, timestampMs: int64_t): void;
|
|
72
198
|
|
|
199
|
+
/** {en}
|
|
200
|
+
* @detail callback
|
|
201
|
+
* @brief Occurs when the camera is turned on or turned off.
|
|
202
|
+
* @param open Whether the updated status of the camera is on. <br>
|
|
203
|
+
* - YES: On;
|
|
204
|
+
* - NO: Off.
|
|
205
|
+
* @order 4
|
|
206
|
+
*/
|
|
73
207
|
onCameraOpened?(open: BOOL): void;
|
|
74
208
|
|
|
209
|
+
/** {en}
|
|
210
|
+
* @detail callback
|
|
211
|
+
* @brief Occurs when the microphone is turned on or turned off.
|
|
212
|
+
* @param open Whether the updated status of the microphone is on. <br>
|
|
213
|
+
* - YES:On;
|
|
214
|
+
* - NO:Off.
|
|
215
|
+
* @order 5
|
|
216
|
+
*/
|
|
75
217
|
onMicrophoneOpened?(open: BOOL): void;
|
|
76
218
|
|
|
219
|
+
/** {en}
|
|
220
|
+
* @detail callback
|
|
221
|
+
* @brief Occurs when the network quality changes.
|
|
222
|
+
* @param quality The updated network quality. See [VeLiveNetworkQuality](broadcast-sdk-for-ios-type-definition#VeLiveNetworkQuality) for details.
|
|
223
|
+
* @order 6
|
|
224
|
+
*/
|
|
77
225
|
onNetworkQuality?(quality: VeLiveNetworkQuality): void;
|
|
78
226
|
|
|
227
|
+
/** {en}
|
|
228
|
+
* @detail callback
|
|
229
|
+
* @brief Occurs when the audio volume level changes.
|
|
230
|
+
* @order 7
|
|
231
|
+
* @param level The updated volume level. See [VeLiveAudioPowerLevel](broadcast-sdk-for-ios-type-definition#VeLiveAudioPowerLevel) for details.
|
|
232
|
+
* @param value The current volume measured in decibel value (dB).
|
|
233
|
+
* - A value of -1 indicates that the corresponding volume decibel value is not available.
|
|
234
|
+
* - Decibel values less than 1 correspond to the VeLiveAudioPowerLevelSilent level.
|
|
235
|
+
* - Decibel values greater than 1 and less than or equal to 15 correspond to the VeLiveAudioPowerLevelQuiet level.
|
|
236
|
+
* - Decibel values greater than 15 and less than or equal to 30 correspond to the VeLiveAudioPowerLevelLight level.
|
|
237
|
+
* - Decibel values greater than 30 and less than or equal to 60 correspond to the VeLiveAudioPowerLevelNormal level.
|
|
238
|
+
* - Decibel values greater than 60 and less than or equal to 85 correspond to the VeLiveAudioPowerLevelLoud level.
|
|
239
|
+
* - Decibel values greater than 85 correspond to the VeLiveAudioPowerLevelNoisy level.
|
|
240
|
+
*/
|
|
79
241
|
onAudioPowerQuality$value?(level: VeLiveAudioPowerLevel, value: float): void;
|
|
80
242
|
}
|
|
@@ -1,54 +1,154 @@
|
|
|
1
1
|
export declare enum VeLivePusherErrorCode {
|
|
2
2
|
|
|
3
|
+
/** {en}
|
|
4
|
+
* @brief SDK license error, possibly caused by an invalid or expired certificate.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
VeLivePusherInvalidLicenseSubErrorCode = -100,
|
|
4
8
|
|
|
9
|
+
/** {en}
|
|
10
|
+
* @brief The current SDK license does not support H.265.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
5
13
|
VeLivePusherInvalidLicenseUnsupportH265 = -101,
|
|
6
14
|
|
|
15
|
+
/** {en}
|
|
16
|
+
* @brief Parameter error, possibly caused by an invalid parameter value or parameter type.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
7
19
|
VeLivePusherInvalidParameterSubErrorCode = -200,
|
|
8
20
|
|
|
21
|
+
/** {en}
|
|
22
|
+
* @brief Parameter error, screen capture AppGroupIdentifier parameter error.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
9
25
|
VeLivePusherInvalidParameterScreenCaptureAppGroupIdentifierSubErrorCode = -201,
|
|
10
26
|
|
|
27
|
+
/** {en}
|
|
28
|
+
* @brief Video capture type error, possibly caused by an unsupported video capture type or capture device.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
11
31
|
VeLivePusherVideoCaptureTypeError = -301,
|
|
12
32
|
|
|
33
|
+
/** {en}
|
|
34
|
+
* @brief Video capture permission error, possibly caused by the lack of access to the video device.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
13
37
|
VeLivePusherVideoCapturePermissionError = -302,
|
|
14
38
|
|
|
39
|
+
/** {en}
|
|
40
|
+
* @brief Audio capture type error, possibly caused by an unsupported audio capture type or capture device.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
15
43
|
VeLivePusherAudioCaptureTypeError = -401,
|
|
16
44
|
|
|
45
|
+
/** {en}
|
|
46
|
+
* @brief Audio capture permission error, possibly caused by the lack of access to the audio device.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
17
49
|
VeLivePusherAudioCapturePermissionError = -402,
|
|
18
50
|
|
|
51
|
+
/** {en}
|
|
52
|
+
* @brief Video encoding error, possibly caused by a configuration issue with the video encoder or an error during encoding.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
19
55
|
VeLivePusherVideoEncoderSubErrorCode = -500,
|
|
20
56
|
|
|
57
|
+
/** {en}
|
|
58
|
+
* @brief Audio encoding error, possibly caused by a configuration issue with the audio encoder or an error during encoding.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
21
61
|
VeLivePusherAudioEncoderSubErrorCode = -600,
|
|
22
62
|
|
|
63
|
+
/** {en}
|
|
64
|
+
* @brief Network error, which might be caused by network connection issues such as network instability or high latency.
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
23
67
|
VeLivePusherTransportSubErrorCode = -700,
|
|
24
68
|
|
|
69
|
+
/** {en}
|
|
70
|
+
* @brief Special effects error, possibly caused by issues with video processing.
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
25
73
|
VeLivePusherVideoEffectSubErrorCode = -800,
|
|
26
74
|
|
|
75
|
+
/** {en}
|
|
76
|
+
* @brief Audio device error.
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
27
79
|
VeLivePusherAudioDeviceSubErrorCode = -900,
|
|
28
80
|
|
|
29
|
-
|
|
81
|
+
/** {en}
|
|
82
|
+
* @brief Internal error. You can [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact the BytePlus technical support for help.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
VeLivePusherInternalError = -10001
|
|
30
86
|
}
|
|
31
87
|
export declare enum VeLivePusherCode {
|
|
32
88
|
|
|
89
|
+
/** {en}
|
|
90
|
+
* @brief No error.
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
33
93
|
VeLivePusherSuccess = 0,
|
|
34
94
|
|
|
95
|
+
/** {en}
|
|
96
|
+
* @brief SDK license error.
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
35
99
|
VeLivePusherInvalidLicense = -1,
|
|
36
100
|
|
|
101
|
+
/** {en}
|
|
102
|
+
* @brief Parameter error.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
37
105
|
VeLivePusherInvalidParameter = -2,
|
|
38
106
|
|
|
107
|
+
/** {en}
|
|
108
|
+
* @brief Video capture error.
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
39
111
|
VeLivePusherVideoCaptureError = -3,
|
|
40
112
|
|
|
113
|
+
/** {en}
|
|
114
|
+
* @brief Audio capture error.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
41
117
|
VeLivePusherAudioCaptureError = -4,
|
|
42
118
|
|
|
119
|
+
/** {en}
|
|
120
|
+
* @brief Video encoding error.
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
43
123
|
VeLivePusherVideoEncoderError = -5,
|
|
44
124
|
|
|
125
|
+
/** {en}
|
|
126
|
+
* @brief Audio encoding error.
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
45
129
|
VeLivePusherAudioEncoderError = -6,
|
|
46
130
|
|
|
131
|
+
/** {en}
|
|
132
|
+
* @brief Network transmission error.
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
47
135
|
VeLivePusherTransportError = -7,
|
|
48
136
|
|
|
137
|
+
/** {en}
|
|
138
|
+
* @brief Special effects error.
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
49
141
|
VeLivePusherVideoEffectError = -8,
|
|
50
142
|
|
|
143
|
+
/** {en}
|
|
144
|
+
* @brief Audio error.
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
51
147
|
VeLivePusherAudioDeviceError = -9,
|
|
52
148
|
|
|
149
|
+
/** {en}
|
|
150
|
+
* @brief Other error.
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
53
153
|
VeLivePusherError = -100
|
|
54
154
|
}
|