@byteplus/react-native-live-push 1.0.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/LICENSE +21 -0
- package/README.md +2 -0
- package/android/build.gradle +92 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +16 -0
- package/android/src/main/AndroidManifestNew.xml +16 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/ExternalSourceHelper.java +58 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +19 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/ScreenCaptureHelper.java +73 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +182 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModuleSpec.java +16 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushPackage.java +27 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushView.java +45 -0
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +87 -0
- package/ios/VeLivePushSDK.h +24 -0
- package/ios/VeLivePushSDK.m +109 -0
- package/ios/VeLivePushView.h +24 -0
- package/ios/VeLivePushView.m +74 -0
- package/ios/VeLivePushViewManager.m +59 -0
- package/lib/commonjs/index.js +24238 -0
- package/lib/module/index.js +24186 -0
- package/lib/typescript/android/index.d.ts +44 -0
- package/lib/typescript/codegen/android/api.d.ts +372 -0
- package/lib/typescript/codegen/android/callback.d.ts +91 -0
- package/lib/typescript/codegen/android/errorcode.d.ts +26 -0
- package/lib/typescript/codegen/android/index.d.ts +5 -0
- package/lib/typescript/codegen/android/keytype.d.ts +469 -0
- package/lib/typescript/codegen/android/types.d.ts +32 -0
- package/lib/typescript/codegen/ios/api.d.ts +257 -0
- package/lib/typescript/codegen/ios/callback.d.ts +88 -0
- package/lib/typescript/codegen/ios/errorcode.d.ts +54 -0
- package/lib/typescript/codegen/ios/index.d.ts +5 -0
- package/lib/typescript/codegen/ios/keytype.d.ts +488 -0
- package/lib/typescript/codegen/ios/types.d.ts +35 -0
- package/lib/typescript/codegen/pack/api.d.ts +1933 -0
- package/lib/typescript/codegen/pack/callback.d.ts +542 -0
- package/lib/typescript/codegen/pack/errorcode.d.ts +174 -0
- package/lib/typescript/codegen/pack/index.d.ts +5 -0
- package/lib/typescript/codegen/pack/keytype.d.ts +1952 -0
- package/lib/typescript/codegen/pack/types.d.ts +1 -0
- package/lib/typescript/codegen/type-shim.d.ts +6 -0
- package/lib/typescript/component.d.ts +8 -0
- package/lib/typescript/core/api.d.ts +2 -0
- package/lib/typescript/core/callback.d.ts +2 -0
- package/lib/typescript/core/env.d.ts +29 -0
- package/lib/typescript/core/errorcode.d.ts +2 -0
- package/lib/typescript/core/index.d.ts +6 -0
- package/lib/typescript/core/keytype.d.ts +7 -0
- package/lib/typescript/core/pusher.d.ts +16 -0
- package/lib/typescript/index.d.ts +2 -0
- package/lib/typescript/ios/extends.d.ts +41 -0
- package/lib/typescript/runtime.d.ts +1 -0
- package/package.json +31 -0
- package/react-native-velive-push.podspec +45 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { NSString, BOOL, int, float, CGPoint, NSDictionary, id, UIView, long, NSArray, UIImage, EAGLContext } from './types';
|
|
2
|
+
import { VeLiveFileRecorderConfiguration, VeLiveAudioMixType, VeLiveVideoFrame, VeLiveAudioFrame, VeLiveStreamMixDescription, VeLivePusherConfiguration, VeLivePusherRenderMode, VeLiveVideoMirrorType, VeLiveVideoCaptureType, VeLiveAudioCaptureType, VeLiveVideoEncoderConfiguration, VeLiveAudioEncoderConfiguration, UIInterfaceOrientation, VeLiveVideoEncodeFrame, VeLivePusherLogConfig, VeLivePusherLogLevel, VeLiveVideoEffectLicenseConfiguration } from './keytype';
|
|
3
|
+
import { VeLiveMediaPlayerListener, VeLiveMediaPlayerFrameListener, VeLivePusherObserver, VeLivePusherStatisticsObserver, VeLiveVideoFrameListener, VeLiveAudioFrameListener, VeLiveScreenCaptureStatusObserver, VeLiveFileRecordingListener, VeLiveVideoFrameFilter, VeLiveAudioFrameFilter, VeLiveSnapshotListener } from './callback';
|
|
4
|
+
export declare class VeLiveFileRecorderManager {
|
|
5
|
+
init(): this;
|
|
6
|
+
|
|
7
|
+
startRecord(path: NSString, config: VeLiveFileRecorderConfiguration): void;
|
|
8
|
+
|
|
9
|
+
stopRecord(): void;
|
|
10
|
+
}
|
|
11
|
+
export declare class VeLiveCameraDevice {
|
|
12
|
+
init(): this;
|
|
13
|
+
|
|
14
|
+
isTorchSupported(): BOOL;
|
|
15
|
+
|
|
16
|
+
enableTorch(enable: BOOL): int;
|
|
17
|
+
|
|
18
|
+
setZoomRatio(ratio: float): int;
|
|
19
|
+
|
|
20
|
+
getCurrentZoomRatio(): float;
|
|
21
|
+
|
|
22
|
+
getMaxZoomRatio(): float;
|
|
23
|
+
|
|
24
|
+
getMinZoomRatio(): float;
|
|
25
|
+
|
|
26
|
+
isAutoFocusEnabled(): BOOL;
|
|
27
|
+
|
|
28
|
+
enableAutoFocus(enable: BOOL): int;
|
|
29
|
+
|
|
30
|
+
setFocusPosition(position: CGPoint): int;
|
|
31
|
+
|
|
32
|
+
isExposurePositionSupported(): BOOL;
|
|
33
|
+
|
|
34
|
+
setExposurePosition(position: CGPoint): int;
|
|
35
|
+
|
|
36
|
+
setExposureCompensation(value: float): int;
|
|
37
|
+
|
|
38
|
+
getMinExposureCompensation(): float;
|
|
39
|
+
|
|
40
|
+
getMaxExposureCompensation(): float;
|
|
41
|
+
|
|
42
|
+
setParameter(parameter: NSDictionary): void;
|
|
43
|
+
|
|
44
|
+
getParameter(key: NSString): id;
|
|
45
|
+
}
|
|
46
|
+
export declare class VeLiveMediaPlayer {
|
|
47
|
+
init(): this;
|
|
48
|
+
|
|
49
|
+
prepare(url: NSString): int;
|
|
50
|
+
|
|
51
|
+
destroy(): void;
|
|
52
|
+
|
|
53
|
+
setListener(listener: id<VeLiveMediaPlayerListener>): void;
|
|
54
|
+
|
|
55
|
+
setFrameListener(listener: id<VeLiveMediaPlayerFrameListener>): void;
|
|
56
|
+
|
|
57
|
+
enableMixer(enable: BOOL): void;
|
|
58
|
+
|
|
59
|
+
enableAutoEq(sourceLufs: float, targetLufs: float): void;
|
|
60
|
+
|
|
61
|
+
setRenderView(view: UIView): void;
|
|
62
|
+
|
|
63
|
+
enableBGMLoop(enable: BOOL): void;
|
|
64
|
+
|
|
65
|
+
start(): Promise<int>;
|
|
66
|
+
|
|
67
|
+
stop(): Promise<int>;
|
|
68
|
+
|
|
69
|
+
pause(): Promise<void>;
|
|
70
|
+
|
|
71
|
+
resume(): Promise<void>;
|
|
72
|
+
|
|
73
|
+
seek(pos: long): int;
|
|
74
|
+
|
|
75
|
+
getDuration(): long;
|
|
76
|
+
|
|
77
|
+
setBGMVolume(volume: float): void;
|
|
78
|
+
|
|
79
|
+
setVoiceVolume(volume: float): void;
|
|
80
|
+
}
|
|
81
|
+
export declare class VeLiveAudioDevice {
|
|
82
|
+
init(): this;
|
|
83
|
+
|
|
84
|
+
setVoiceLoudness(level: float): void;
|
|
85
|
+
|
|
86
|
+
getVoiceLoudness(): float;
|
|
87
|
+
|
|
88
|
+
isSupportHardwareEcho(): BOOL;
|
|
89
|
+
|
|
90
|
+
enableEcho(enable: BOOL): void;
|
|
91
|
+
|
|
92
|
+
isEnableEcho(): BOOL;
|
|
93
|
+
}
|
|
94
|
+
export declare class VeLiveMixerManager {
|
|
95
|
+
init(): this;
|
|
96
|
+
|
|
97
|
+
addVideoStream(): int;
|
|
98
|
+
|
|
99
|
+
removeVideoStream(streamId: int): void;
|
|
100
|
+
|
|
101
|
+
addAudioStream(): int;
|
|
102
|
+
|
|
103
|
+
addAudioStream_type(type: VeLiveAudioMixType): int;
|
|
104
|
+
|
|
105
|
+
removeAudioStream(streamId: int): void;
|
|
106
|
+
|
|
107
|
+
setAudioStream(streamId: int, volume: float): void;
|
|
108
|
+
|
|
109
|
+
getOriginVideoStream(): int;
|
|
110
|
+
|
|
111
|
+
getOriginAudioStream(): int;
|
|
112
|
+
|
|
113
|
+
getAppAudioStream(): int;
|
|
114
|
+
|
|
115
|
+
sendCustomVideoFrame(frame: VeLiveVideoFrame, streamId: int): void;
|
|
116
|
+
|
|
117
|
+
sendCustomAudioFrame(frame: VeLiveAudioFrame, streamId: int): void;
|
|
118
|
+
|
|
119
|
+
updateStreamMixDescription(mixDescription: VeLiveStreamMixDescription): void;
|
|
120
|
+
}
|
|
121
|
+
export declare class VeLivePusher {
|
|
122
|
+
|
|
123
|
+
static getVersion(): NSString;
|
|
124
|
+
|
|
125
|
+
static setLogConfig(logConfig: VeLivePusherLogConfig): BOOL;
|
|
126
|
+
|
|
127
|
+
static setLogLevel(level: VeLivePusherLogLevel): void;
|
|
128
|
+
|
|
129
|
+
startScreenCapture(applicationGroupIdentifier: NSString): void;
|
|
130
|
+
|
|
131
|
+
stopScreenCapture(): void;
|
|
132
|
+
|
|
133
|
+
initWithConfig(config: VeLivePusherConfiguration): this;
|
|
134
|
+
|
|
135
|
+
destroy(): void;
|
|
136
|
+
|
|
137
|
+
setObserver(observer: id<VeLivePusherObserver>): void;
|
|
138
|
+
|
|
139
|
+
setStatisticsObserver(observer: id<VeLivePusherStatisticsObserver>, interval: int): void;
|
|
140
|
+
|
|
141
|
+
addVideoFrameListener(listener: id<VeLiveVideoFrameListener>): int;
|
|
142
|
+
|
|
143
|
+
removeVideoFrameListener(listener: id<VeLiveVideoFrameListener>): int;
|
|
144
|
+
|
|
145
|
+
addAudioFrameListener(listener: id<VeLiveAudioFrameListener>): int;
|
|
146
|
+
|
|
147
|
+
removeAudioFrameListener(listener: id<VeLiveAudioFrameListener>): int;
|
|
148
|
+
|
|
149
|
+
setScreenCaptureObserver(observer: id<VeLiveScreenCaptureStatusObserver>): int;
|
|
150
|
+
|
|
151
|
+
setRenderView(view: UIView): Promise<void>;
|
|
152
|
+
|
|
153
|
+
setRenderFillMode(fillMode: VeLivePusherRenderMode): void;
|
|
154
|
+
|
|
155
|
+
setVideoMirror(type: VeLiveVideoMirrorType, enable: BOOL): void;
|
|
156
|
+
|
|
157
|
+
startPush(url: NSString): void;
|
|
158
|
+
|
|
159
|
+
startPushWithUrls(urls: NSArray<NSString>): void;
|
|
160
|
+
|
|
161
|
+
stopPush(): void;
|
|
162
|
+
|
|
163
|
+
isPushing(): BOOL;
|
|
164
|
+
|
|
165
|
+
startVideoCapture(type: VeLiveVideoCaptureType): void;
|
|
166
|
+
|
|
167
|
+
stopVideoCapture(): void;
|
|
168
|
+
|
|
169
|
+
switchVideoCapture(type: VeLiveVideoCaptureType): void;
|
|
170
|
+
|
|
171
|
+
startAudioCapture(type: VeLiveAudioCaptureType): void;
|
|
172
|
+
|
|
173
|
+
stopAudioCapture(): void;
|
|
174
|
+
|
|
175
|
+
switchAudioCapture(type: VeLiveAudioCaptureType): void;
|
|
176
|
+
|
|
177
|
+
getCurrentVideoCaptureType(): VeLiveVideoCaptureType;
|
|
178
|
+
|
|
179
|
+
getCurrentAudioCaptureType(): VeLiveAudioCaptureType;
|
|
180
|
+
|
|
181
|
+
updateCustomImage(image: UIImage): Promise<void>;
|
|
182
|
+
|
|
183
|
+
setMute(mute: BOOL): void;
|
|
184
|
+
|
|
185
|
+
isMute(): BOOL;
|
|
186
|
+
|
|
187
|
+
setVideoEncoderConfiguration(config: VeLiveVideoEncoderConfiguration): void;
|
|
188
|
+
|
|
189
|
+
setAudioEncoderConfiguration(config: VeLiveAudioEncoderConfiguration): void;
|
|
190
|
+
|
|
191
|
+
startFileRecording(path: NSString, config: VeLiveFileRecorderConfiguration, listener: id<VeLiveFileRecordingListener>): void;
|
|
192
|
+
|
|
193
|
+
stopFileRecording(): void;
|
|
194
|
+
|
|
195
|
+
getCameraDevice(): VeLiveCameraDevice;
|
|
196
|
+
|
|
197
|
+
getAudioDevice(): VeLiveAudioDevice;
|
|
198
|
+
|
|
199
|
+
getMixerManager(): VeLiveMixerManager;
|
|
200
|
+
|
|
201
|
+
getVideoEffectManager(): VeLiveVideoEffectManager;
|
|
202
|
+
|
|
203
|
+
createPlayer(): VeLiveMediaPlayer;
|
|
204
|
+
|
|
205
|
+
setVideoFrameFilter(filter: id<VeLiveVideoFrameFilter>): void;
|
|
206
|
+
|
|
207
|
+
setAudioFrameFilter(filter: id<VeLiveAudioFrameFilter>): void;
|
|
208
|
+
|
|
209
|
+
setOrientation(orientation: UIInterfaceOrientation): void;
|
|
210
|
+
|
|
211
|
+
setWatermark(image: UIImage, x: float, y: float, scale: float): Promise<int>;
|
|
212
|
+
|
|
213
|
+
snapshot(listener: id<VeLiveSnapshotListener>): void;
|
|
214
|
+
|
|
215
|
+
sendSeiMessage(key: NSString, value: id, repeat: int, isKeyFrame: BOOL, allowsCovered: BOOL): int;
|
|
216
|
+
|
|
217
|
+
pushExternalVideoFrame(frame: VeLiveVideoFrame): int;
|
|
218
|
+
|
|
219
|
+
pushExternalVideoEncodeFrame(encodeFrame: VeLiveVideoEncodeFrame): int;
|
|
220
|
+
|
|
221
|
+
pushExternalAudioFrame(frame: VeLiveAudioFrame): int;
|
|
222
|
+
|
|
223
|
+
setProperty(key: NSString, value: id): int;
|
|
224
|
+
|
|
225
|
+
requestIDRFrame(): void;
|
|
226
|
+
|
|
227
|
+
setEGLVersion(version: int): void;
|
|
228
|
+
|
|
229
|
+
getEGLContext(): EAGLContext;
|
|
230
|
+
}
|
|
231
|
+
export declare class VeLiveVideoEffectManager {
|
|
232
|
+
init(): this;
|
|
233
|
+
|
|
234
|
+
setupWithConfig(config: VeLiveVideoEffectLicenseConfiguration): int;
|
|
235
|
+
|
|
236
|
+
updateLicense(completion: (result: number, message: string) => void): void;
|
|
237
|
+
|
|
238
|
+
setAlgoModelPath(path: NSString): int;
|
|
239
|
+
|
|
240
|
+
setEnable(enable: BOOL): int;
|
|
241
|
+
|
|
242
|
+
setComposeNodes(nodes: NSArray<NSString>): int;
|
|
243
|
+
|
|
244
|
+
appendComposeNodes(nodes: NSArray<NSString>): int;
|
|
245
|
+
|
|
246
|
+
removeComposeNodes(nodes: NSArray<NSString>): int;
|
|
247
|
+
|
|
248
|
+
updateComposerNodeIntensity(node: NSString, key: NSString, intensity: float): int;
|
|
249
|
+
|
|
250
|
+
setFilter(path: NSString): int;
|
|
251
|
+
|
|
252
|
+
updateFilterIntensity(intensity: float): int;
|
|
253
|
+
|
|
254
|
+
setSticker(path: NSString): int;
|
|
255
|
+
|
|
256
|
+
setAdvancedFeature(callback: (handle: void) => void, isGLThread: BOOL, isAsync: BOOL): void;
|
|
257
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { VeLivePusherStatistics, VeLiveVideoFrame, VeLiveAudioFrame, VeLiveVideoFrameSource, VeLiveAudioFrameSource, VeLivePushStatus, VeLiveFirstFrameType, VeLiveNetworkQuality, VeLiveAudioPowerLevel } from './keytype';
|
|
2
|
+
import { NSDictionary, int, NSString, long, NSError, UIImage, int64_t, BOOL, float } from './types';
|
|
3
|
+
export declare abstract class VeLivePusherStatisticsObserver {
|
|
4
|
+
|
|
5
|
+
onStatistics?(statistics: VeLivePusherStatistics): void;
|
|
6
|
+
|
|
7
|
+
onLogMonitor?(logInfo: NSDictionary): void;
|
|
8
|
+
}
|
|
9
|
+
export declare abstract class VeLiveMediaPlayerFrameListener {
|
|
10
|
+
|
|
11
|
+
onVideoFrame?(videoFrame: VeLiveVideoFrame): void;
|
|
12
|
+
|
|
13
|
+
onAudioFrame?(audioFrame: VeLiveAudioFrame): void;
|
|
14
|
+
}
|
|
15
|
+
export declare abstract class VeLiveFileRecordingListener {
|
|
16
|
+
|
|
17
|
+
onFileRecordingStarted?(): void;
|
|
18
|
+
|
|
19
|
+
onFileRecordingStopped?(): void;
|
|
20
|
+
|
|
21
|
+
onFileRecordingError?(errorCode: int, msg: NSString): void;
|
|
22
|
+
}
|
|
23
|
+
export declare abstract class VeLiveScreenCaptureStatusObserver {
|
|
24
|
+
|
|
25
|
+
broadcastStarted?(): void;
|
|
26
|
+
|
|
27
|
+
broadcastPaused?(): void;
|
|
28
|
+
|
|
29
|
+
broadcastResumed?(): void;
|
|
30
|
+
|
|
31
|
+
broadcastFinished?(): void;
|
|
32
|
+
}
|
|
33
|
+
export declare abstract class VeLiveVideoFrameFilter {
|
|
34
|
+
|
|
35
|
+
onVideoProcess?(srcFrame: VeLiveVideoFrame, dstFrame: VeLiveVideoFrame): int;
|
|
36
|
+
}
|
|
37
|
+
export declare abstract class VeLiveVideoFrameListener {
|
|
38
|
+
|
|
39
|
+
getObservedVideoFrameSource?(): VeLiveVideoFrameSource;
|
|
40
|
+
|
|
41
|
+
onCaptureVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
42
|
+
|
|
43
|
+
onPreEncodeVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
44
|
+
}
|
|
45
|
+
export declare abstract class VeLiveAudioFrameListener {
|
|
46
|
+
|
|
47
|
+
getObservedAudioFrameSource?(): VeLiveAudioFrameSource;
|
|
48
|
+
|
|
49
|
+
onCaptureAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
50
|
+
|
|
51
|
+
onPreEncodeAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
52
|
+
}
|
|
53
|
+
export declare abstract class VeLiveMediaPlayerListener {
|
|
54
|
+
|
|
55
|
+
onStart?(): void;
|
|
56
|
+
|
|
57
|
+
onProgress?(timeMS: long): void;
|
|
58
|
+
|
|
59
|
+
onStop?(): void;
|
|
60
|
+
|
|
61
|
+
onError?(error: NSError): void;
|
|
62
|
+
}
|
|
63
|
+
export declare abstract class VeLiveAudioFrameFilter {
|
|
64
|
+
|
|
65
|
+
onAudioProcess?(srcFrame: VeLiveAudioFrame, dstFrame: VeLiveAudioFrame): int;
|
|
66
|
+
}
|
|
67
|
+
export declare abstract class VeLiveSnapshotListener {
|
|
68
|
+
|
|
69
|
+
onSnapshotComplete?(image: UIImage): void;
|
|
70
|
+
}
|
|
71
|
+
export declare abstract class VeLivePusherObserver {
|
|
72
|
+
|
|
73
|
+
onError?(code: int, subcode: int, msg: NSString): void;
|
|
74
|
+
|
|
75
|
+
onStatusChange?(status: VeLivePushStatus): void;
|
|
76
|
+
|
|
77
|
+
onFirstVideoFrame?(type: VeLiveFirstFrameType, timestampMs: int64_t): void;
|
|
78
|
+
|
|
79
|
+
onFirstAudioFrame?(type: VeLiveFirstFrameType, timestampMs: int64_t): void;
|
|
80
|
+
|
|
81
|
+
onCameraOpened?(open: BOOL): void;
|
|
82
|
+
|
|
83
|
+
onMicrophoneOpened?(open: BOOL): void;
|
|
84
|
+
|
|
85
|
+
onNetworkQuality?(quality: VeLiveNetworkQuality): void;
|
|
86
|
+
|
|
87
|
+
onAudioPowerQuality?(level: VeLiveAudioPowerLevel, value: float): void;
|
|
88
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare enum VeLivePusherErrorCode {
|
|
2
|
+
|
|
3
|
+
VeLivePusherInvalidLicenseSubErrorCode = -100,
|
|
4
|
+
|
|
5
|
+
VeLivePusherInvalidLicenseUnsupportH265 = -101,
|
|
6
|
+
|
|
7
|
+
VeLivePusherInvalidParameterSubErrorCode = -200,
|
|
8
|
+
|
|
9
|
+
VeLivePusherInvalidParameterScreenCaptureAppGroupIdentifierSubErrorCode = -201,
|
|
10
|
+
|
|
11
|
+
VeLivePusherVideoCaptureTypeError = -301,
|
|
12
|
+
|
|
13
|
+
VeLivePusherVideoCapturePermissionError = -302,
|
|
14
|
+
|
|
15
|
+
VeLivePusherAudioCaptureTypeError = -401,
|
|
16
|
+
|
|
17
|
+
VeLivePusherAudioCapturePermissionError = -402,
|
|
18
|
+
|
|
19
|
+
VeLivePusherVideoEncoderSubErrorCode = -500,
|
|
20
|
+
|
|
21
|
+
VeLivePusherAudioEncoderSubErrorCode = -600,
|
|
22
|
+
|
|
23
|
+
VeLivePusherTransportSubErrorCode = -700,
|
|
24
|
+
|
|
25
|
+
VeLivePusherVideoEffectSubErrorCode = -800,
|
|
26
|
+
|
|
27
|
+
VeLivePusherAudioDeviceSubErrorCode = -900,
|
|
28
|
+
|
|
29
|
+
VeLivePusherInternalError = -1001
|
|
30
|
+
}
|
|
31
|
+
export declare enum VeLivePusherCode {
|
|
32
|
+
|
|
33
|
+
VeLivePusherSuccess = 0,
|
|
34
|
+
|
|
35
|
+
VeLivePusherInvalidLicense = -1,
|
|
36
|
+
|
|
37
|
+
VeLivePusherInvalidParameter = -2,
|
|
38
|
+
|
|
39
|
+
VeLivePusherVideoCaptureError = -3,
|
|
40
|
+
|
|
41
|
+
VeLivePusherAudioCaptureError = -4,
|
|
42
|
+
|
|
43
|
+
VeLivePusherVideoEncoderError = -5,
|
|
44
|
+
|
|
45
|
+
VeLivePusherAudioEncoderError = -6,
|
|
46
|
+
|
|
47
|
+
VeLivePusherTransportError = -7,
|
|
48
|
+
|
|
49
|
+
VeLivePusherVideoEffectError = -8,
|
|
50
|
+
|
|
51
|
+
VeLivePusherAudioDeviceError = -9,
|
|
52
|
+
|
|
53
|
+
VeLivePusherError = -100
|
|
54
|
+
}
|