@byteplus/react-native-live-push 1.1.3-rc.3 → 1.1.4-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/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +2 -13
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushPackage.java +13 -16
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushView.java +0 -16
- package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +2 -7
- package/lib/commonjs/index.js +2126 -2925
- package/lib/module/index.js +2128 -2922
- package/lib/typescript/codegen/android/api.d.ts +121 -1
- package/lib/typescript/codegen/ios/api.d.ts +28 -1
- package/lib/typescript/codegen/pack/api.d.ts +133 -1
- package/lib/typescript/core/api.d.ts +2 -17
- package/lib/typescript/core/keytype.d.ts +0 -15
- package/lib/typescript/index.d.ts +0 -1
- package/package.json +1 -1
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerManager.java +0 -397
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerView.java +0 -423
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/MixerViewManager.java +0 -79
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/TextureMgr.java +0 -168
- package/android/src/main/java/com/volcengine/velive/rn/push/mixer/YuvHelper.java +0 -165
- package/ios/VeLiveMixerHelper.h +0 -44
- package/ios/VeLiveMixerHelper.m +0 -591
- package/ios/VeLiveMixerView.h +0 -69
- package/ios/VeLiveMixerView.m +0 -592
- package/ios/VeLiveMixerViewManager.m +0 -92
- package/lib/commonjs/typescript/android/index.d.ts +0 -47
- package/lib/commonjs/typescript/codegen/android/api.d.ts +0 -1527
- package/lib/commonjs/typescript/codegen/android/callback.d.ts +0 -91
- package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +0 -26
- package/lib/commonjs/typescript/codegen/android/index.d.ts +0 -5
- package/lib/commonjs/typescript/codegen/android/keytype.d.ts +0 -846
- package/lib/commonjs/typescript/codegen/android/types.d.ts +0 -33
- package/lib/commonjs/typescript/codegen/ios/api.d.ts +0 -222
- package/lib/commonjs/typescript/codegen/ios/callback.d.ts +0 -80
- package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +0 -54
- package/lib/commonjs/typescript/codegen/ios/external.d.ts +0 -1
- package/lib/commonjs/typescript/codegen/ios/index.d.ts +0 -6
- package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +0 -460
- package/lib/commonjs/typescript/codegen/ios/types.d.ts +0 -46
- package/lib/commonjs/typescript/codegen/pack/api.d.ts +0 -1835
- package/lib/commonjs/typescript/codegen/pack/callback.d.ts +0 -400
- package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +0 -35
- package/lib/commonjs/typescript/codegen/pack/index.d.ts +0 -5
- package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +0 -1392
- package/lib/commonjs/typescript/codegen/pack/types.d.ts +0 -68
- package/lib/commonjs/typescript/codegen/type-shim.d.ts +0 -6
- package/lib/commonjs/typescript/component.d.ts +0 -15
- package/lib/commonjs/typescript/core/api.d.ts +0 -17
- package/lib/commonjs/typescript/core/callback.d.ts +0 -2
- package/lib/commonjs/typescript/core/env.d.ts +0 -29
- package/lib/commonjs/typescript/core/errorcode.d.ts +0 -2
- package/lib/commonjs/typescript/core/index.d.ts +0 -6
- package/lib/commonjs/typescript/core/keytype.d.ts +0 -17
- package/lib/commonjs/typescript/core/mixer.d.ts +0 -26
- package/lib/commonjs/typescript/core/pusher.d.ts +0 -16
- package/lib/commonjs/typescript/index.d.ts +0 -3
- package/lib/commonjs/typescript/ios/extends.d.ts +0 -41
- package/lib/commonjs/typescript/platforms/android/extends.d.ts +0 -8
- package/lib/commonjs/typescript/platforms/android/helper.d.ts +0 -8
- package/lib/commonjs/typescript/platforms/android/mixer.d.ts +0 -8
- package/lib/commonjs/typescript/platforms/ios/extends.d.ts +0 -17
- package/lib/commonjs/typescript/platforms/ios/helper.d.ts +0 -8
- package/lib/commonjs/typescript/platforms/ios/mixer.d.ts +0 -9
- package/lib/commonjs/typescript/runtime.d.ts +0 -1
- package/lib/commonjs/typescript/view/MixView.d.ts +0 -52
- package/lib/commonjs/typescript/view/VeImageView.d.ts +0 -19
- package/lib/commonjs/typescript/view/VeTextView.d.ts +0 -7
- package/lib/commonjs/typescript/view/VeView.d.ts +0 -7
- package/lib/commonjs/typescript/view/VeWebView.d.ts +0 -7
- package/lib/commonjs/typescript/view/index.d.ts +0 -5
- package/lib/module/typescript/android/index.d.ts +0 -47
- package/lib/module/typescript/codegen/android/api.d.ts +0 -1527
- package/lib/module/typescript/codegen/android/callback.d.ts +0 -91
- package/lib/module/typescript/codegen/android/errorcode.d.ts +0 -26
- package/lib/module/typescript/codegen/android/index.d.ts +0 -5
- package/lib/module/typescript/codegen/android/keytype.d.ts +0 -846
- package/lib/module/typescript/codegen/android/types.d.ts +0 -33
- package/lib/module/typescript/codegen/ios/api.d.ts +0 -222
- package/lib/module/typescript/codegen/ios/callback.d.ts +0 -80
- package/lib/module/typescript/codegen/ios/errorcode.d.ts +0 -54
- package/lib/module/typescript/codegen/ios/external.d.ts +0 -1
- package/lib/module/typescript/codegen/ios/index.d.ts +0 -6
- package/lib/module/typescript/codegen/ios/keytype.d.ts +0 -460
- package/lib/module/typescript/codegen/ios/types.d.ts +0 -46
- package/lib/module/typescript/codegen/pack/api.d.ts +0 -1835
- package/lib/module/typescript/codegen/pack/callback.d.ts +0 -400
- package/lib/module/typescript/codegen/pack/errorcode.d.ts +0 -35
- package/lib/module/typescript/codegen/pack/index.d.ts +0 -5
- package/lib/module/typescript/codegen/pack/keytype.d.ts +0 -1392
- package/lib/module/typescript/codegen/pack/types.d.ts +0 -68
- package/lib/module/typescript/codegen/type-shim.d.ts +0 -6
- package/lib/module/typescript/component.d.ts +0 -15
- package/lib/module/typescript/core/api.d.ts +0 -17
- package/lib/module/typescript/core/callback.d.ts +0 -2
- package/lib/module/typescript/core/env.d.ts +0 -29
- package/lib/module/typescript/core/errorcode.d.ts +0 -2
- package/lib/module/typescript/core/index.d.ts +0 -6
- package/lib/module/typescript/core/keytype.d.ts +0 -17
- package/lib/module/typescript/core/mixer.d.ts +0 -26
- package/lib/module/typescript/core/pusher.d.ts +0 -16
- package/lib/module/typescript/index.d.ts +0 -3
- package/lib/module/typescript/ios/extends.d.ts +0 -41
- package/lib/module/typescript/platforms/android/extends.d.ts +0 -8
- package/lib/module/typescript/platforms/android/helper.d.ts +0 -8
- package/lib/module/typescript/platforms/android/mixer.d.ts +0 -8
- package/lib/module/typescript/platforms/ios/extends.d.ts +0 -17
- package/lib/module/typescript/platforms/ios/helper.d.ts +0 -8
- package/lib/module/typescript/platforms/ios/mixer.d.ts +0 -9
- package/lib/module/typescript/runtime.d.ts +0 -1
- package/lib/module/typescript/view/MixView.d.ts +0 -52
- package/lib/module/typescript/view/VeImageView.d.ts +0 -19
- package/lib/module/typescript/view/VeTextView.d.ts +0 -7
- package/lib/module/typescript/view/VeView.d.ts +0 -7
- package/lib/module/typescript/view/VeWebView.d.ts +0 -7
- package/lib/module/typescript/view/index.d.ts +0 -5
- package/lib/typescript/core/mixer.d.ts +0 -26
- package/lib/typescript/platforms/android/extends.d.ts +0 -8
- package/lib/typescript/platforms/android/mixer.d.ts +0 -8
- package/lib/typescript/platforms/ios/mixer.d.ts +0 -9
- package/lib/typescript/view/MixView.d.ts +0 -52
- package/lib/typescript/view/VeImageView.d.ts +0 -19
- package/lib/typescript/view/VeTextView.d.ts +0 -7
- package/lib/typescript/view/VeView.d.ts +0 -7
- package/lib/typescript/view/VeWebView.d.ts +0 -7
- package/lib/typescript/view/index.d.ts +0 -5
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export type String = string;
|
|
2
|
-
export type Boolean = boolean;
|
|
3
|
-
export type Void = void;
|
|
4
|
-
export type int = number;
|
|
5
|
-
export type float = number;
|
|
6
|
-
export type double = number;
|
|
7
|
-
export type long = number;
|
|
8
|
-
export type Integer = number;
|
|
9
|
-
export type Double = number;
|
|
10
|
-
export type List<T = any> = Array<T>;
|
|
11
|
-
export type list<T = any> = Array<T>;
|
|
12
|
-
export type ArrayList<T = any> = Array<T>;
|
|
13
|
-
export type Map<K extends keyof any = any, V = any> = Record<K, V>;
|
|
14
|
-
export type HashMap<K extends keyof any = any, V = any> = Record<K, V>;
|
|
15
|
-
export type Pair<K extends keyof any = any, V = any> = Record<K, V>;
|
|
16
|
-
export type set<T = any> = Set<T>;
|
|
17
|
-
export type map = Object;
|
|
18
|
-
export type struct = Object;
|
|
19
|
-
export type Bitmap = unknown;
|
|
20
|
-
export type EGLContext = unknown;
|
|
21
|
-
export type ByteArray = number;
|
|
22
|
-
export type ByteBuffer = ArrayBuffer;
|
|
23
|
-
export type Matrix = unknown;
|
|
24
|
-
export type SurfaceHolder = unknown;
|
|
25
|
-
export type Surface = unknown;
|
|
26
|
-
export type Runnable = unknown;
|
|
27
|
-
export type View = unknown;
|
|
28
|
-
export type Intent = unknown;
|
|
29
|
-
export type Context = unknown;
|
|
30
|
-
export type Bundle = any;
|
|
31
|
-
export type JSONObject = any;
|
|
32
|
-
export type LiveSdkSetting = unknown;
|
|
33
|
-
export type NativeImageResource = unknown;
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
import { NSString, BOOL, int, float, CGPoint, NSDictionary, id, long, NSArray, UIImage } from './types';
|
|
2
|
-
import { VeLiveFileRecorderConfiguration, VeLivePusherLogLevel, VeLivePusherConfiguration, VeLivePusherRenderMode, VeLiveVideoMirrorType, VeLiveVideoCaptureType, VeLiveAudioCaptureType, VeLiveVideoEncoderConfiguration, VeLiveAudioEncoderConfiguration, UIInterfaceOrientation, VeLiveVideoFrame, VeLiveVideoEncodeFrame, VeLiveAudioFrame, VeLiveVideoEffectLicenseConfiguration } from './keytype';
|
|
3
|
-
import { VeLiveMediaPlayerListener, VeLiveMediaPlayerFrameListener, VeLivePusherObserver, VeLivePusherStatisticsObserver, VeLiveVideoFrameListener, VeLiveAudioFrameListener, VeLiveScreenCaptureStatusObserver, VeLiveFileRecordingListener, VeLiveVideoFrameFilter, VeLiveAudioFrameFilter, VeLiveSnapshotListener } from './callback';
|
|
4
|
-
import { UIView } from './external';
|
|
5
|
-
export declare class VeLiveFileRecorderManager {
|
|
6
|
-
|
|
7
|
-
startRecord(path: NSString, config: VeLiveFileRecorderConfiguration): void;
|
|
8
|
-
|
|
9
|
-
stopRecord(): void;
|
|
10
|
-
init(): this;
|
|
11
|
-
}
|
|
12
|
-
export declare class VeLiveCameraDevice {
|
|
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
|
-
init(): this;
|
|
46
|
-
}
|
|
47
|
-
export declare class VeLiveMediaPlayer {
|
|
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
|
-
init(): this;
|
|
81
|
-
}
|
|
82
|
-
export declare class VeLiveAudioDevice {
|
|
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
|
-
init(): this;
|
|
94
|
-
}
|
|
95
|
-
export declare class VeLivePusher {
|
|
96
|
-
|
|
97
|
-
static setLogLevel(level: VeLivePusherLogLevel): void;
|
|
98
|
-
|
|
99
|
-
startScreenCapture(applicationGroupIdentifier: NSString): void;
|
|
100
|
-
|
|
101
|
-
stopScreenCapture(): void;
|
|
102
|
-
init(): this;
|
|
103
|
-
|
|
104
|
-
initWithConfig(config: VeLivePusherConfiguration): this;
|
|
105
|
-
|
|
106
|
-
destroy(): void;
|
|
107
|
-
|
|
108
|
-
setObserver(observer: id<VeLivePusherObserver>): void;
|
|
109
|
-
|
|
110
|
-
setStatisticsObserver(observer: id<VeLivePusherStatisticsObserver>, interval: int): void;
|
|
111
|
-
|
|
112
|
-
addVideoFrameListener(listener: id<VeLiveVideoFrameListener>): int;
|
|
113
|
-
|
|
114
|
-
removeVideoFrameListener(listener: id<VeLiveVideoFrameListener>): int;
|
|
115
|
-
|
|
116
|
-
addAudioFrameListener(listener: id<VeLiveAudioFrameListener>): int;
|
|
117
|
-
|
|
118
|
-
removeAudioFrameListener(listener: id<VeLiveAudioFrameListener>): int;
|
|
119
|
-
|
|
120
|
-
setScreenCaptureObserver(observer: id<VeLiveScreenCaptureStatusObserver>): int;
|
|
121
|
-
|
|
122
|
-
setRenderView(view: UIView): Promise<void>;
|
|
123
|
-
|
|
124
|
-
setRenderFillMode(fillMode: VeLivePusherRenderMode): void;
|
|
125
|
-
|
|
126
|
-
setVideoMirror(type: VeLiveVideoMirrorType, enable: BOOL): void;
|
|
127
|
-
|
|
128
|
-
startPush(url: NSString): void;
|
|
129
|
-
|
|
130
|
-
startPushWithUrls(urls: NSArray<NSString>): void;
|
|
131
|
-
|
|
132
|
-
stopPush(): void;
|
|
133
|
-
|
|
134
|
-
isPushing(): BOOL;
|
|
135
|
-
|
|
136
|
-
startVideoCapture(type: VeLiveVideoCaptureType): void;
|
|
137
|
-
|
|
138
|
-
stopVideoCapture(): void;
|
|
139
|
-
|
|
140
|
-
switchVideoCapture(type: VeLiveVideoCaptureType): void;
|
|
141
|
-
|
|
142
|
-
startAudioCapture(type: VeLiveAudioCaptureType): void;
|
|
143
|
-
|
|
144
|
-
stopAudioCapture(): void;
|
|
145
|
-
|
|
146
|
-
switchAudioCapture(type: VeLiveAudioCaptureType): void;
|
|
147
|
-
|
|
148
|
-
getCurrentVideoCaptureType(): VeLiveVideoCaptureType;
|
|
149
|
-
|
|
150
|
-
getCurrentAudioCaptureType(): VeLiveAudioCaptureType;
|
|
151
|
-
|
|
152
|
-
updateCustomImage(image: UIImage): Promise<void>;
|
|
153
|
-
|
|
154
|
-
setMute(mute: BOOL): void;
|
|
155
|
-
|
|
156
|
-
isMute(): BOOL;
|
|
157
|
-
|
|
158
|
-
setVideoEncoderConfiguration(config: VeLiveVideoEncoderConfiguration): void;
|
|
159
|
-
|
|
160
|
-
setAudioEncoderConfiguration(config: VeLiveAudioEncoderConfiguration): void;
|
|
161
|
-
|
|
162
|
-
startFileRecording(path: NSString, config: VeLiveFileRecorderConfiguration, listener: id<VeLiveFileRecordingListener>): void;
|
|
163
|
-
|
|
164
|
-
stopFileRecording(): void;
|
|
165
|
-
|
|
166
|
-
getCameraDevice(): VeLiveCameraDevice;
|
|
167
|
-
|
|
168
|
-
getAudioDevice(): VeLiveAudioDevice;
|
|
169
|
-
|
|
170
|
-
getVideoEffectManager(): VeLiveVideoEffectManager;
|
|
171
|
-
|
|
172
|
-
createPlayer(): VeLiveMediaPlayer;
|
|
173
|
-
|
|
174
|
-
setVideoFrameFilter(filter: id<VeLiveVideoFrameFilter>): void;
|
|
175
|
-
|
|
176
|
-
setAudioFrameFilter(filter: id<VeLiveAudioFrameFilter>): void;
|
|
177
|
-
|
|
178
|
-
setOrientation(orientation: UIInterfaceOrientation): void;
|
|
179
|
-
|
|
180
|
-
setWatermark(image: UIImage, x: float, y: float, scale: float): Promise<int>;
|
|
181
|
-
|
|
182
|
-
snapshot(listener: id<VeLiveSnapshotListener>): void;
|
|
183
|
-
|
|
184
|
-
sendSeiMessage(key: NSString, value: id, repeat: int, isKeyFrame: BOOL, allowsCovered: BOOL): int;
|
|
185
|
-
|
|
186
|
-
pushExternalVideoFrame(frame: VeLiveVideoFrame): int;
|
|
187
|
-
|
|
188
|
-
pushExternalVideoEncodeFrame(encodeFrame: VeLiveVideoEncodeFrame): int;
|
|
189
|
-
|
|
190
|
-
pushExternalAudioFrame(frame: VeLiveAudioFrame): int;
|
|
191
|
-
|
|
192
|
-
setProperty(key: NSString, value: id): int;
|
|
193
|
-
|
|
194
|
-
requestIDRFrame(): void;
|
|
195
|
-
}
|
|
196
|
-
export declare class VeLiveVideoEffectManager {
|
|
197
|
-
|
|
198
|
-
setupWithConfig(config: VeLiveVideoEffectLicenseConfiguration): int;
|
|
199
|
-
|
|
200
|
-
updateLicense(completion: (result: number, message: string) => void): void;
|
|
201
|
-
|
|
202
|
-
setAlgoModelPath(path: NSString): int;
|
|
203
|
-
|
|
204
|
-
setEnable(enable: BOOL): int;
|
|
205
|
-
|
|
206
|
-
setComposeNodes(nodes: NSArray<NSString>): int;
|
|
207
|
-
|
|
208
|
-
appendComposeNodes(nodes: NSArray<NSString>): int;
|
|
209
|
-
|
|
210
|
-
removeComposeNodes(nodes: NSArray<NSString>): int;
|
|
211
|
-
|
|
212
|
-
updateComposerNodeIntensity(node: NSString, key: NSString, intensity: float): int;
|
|
213
|
-
|
|
214
|
-
setFilter(path: NSString): int;
|
|
215
|
-
|
|
216
|
-
updateFilterIntensity(intensity: float): int;
|
|
217
|
-
|
|
218
|
-
setSticker(path: NSString): int;
|
|
219
|
-
|
|
220
|
-
setAdvancedFeature(callback: (handle: void) => void, isGLThread: BOOL, isAsync: BOOL): void;
|
|
221
|
-
init(): this;
|
|
222
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { VeLivePusherStatistics, VeLiveVideoFrame, VeLiveAudioFrame, VeLivePushStatus, VeLiveFirstFrameType, VeLiveNetworkQuality, VeLiveAudioPowerLevel } from './keytype';
|
|
2
|
-
import { NSDictionary, int, NSString, long, NSError, UIImage, int64_t, BOOL, float } from './types';
|
|
3
|
-
export declare class VeLivePusherStatisticsObserver {
|
|
4
|
-
|
|
5
|
-
onStatistics?(statistics: VeLivePusherStatistics): void;
|
|
6
|
-
|
|
7
|
-
onLogMonitor?(logInfo: NSDictionary): void;
|
|
8
|
-
}
|
|
9
|
-
export declare class VeLiveMediaPlayerFrameListener {
|
|
10
|
-
|
|
11
|
-
onVideoFrame?(videoFrame: VeLiveVideoFrame): void;
|
|
12
|
-
|
|
13
|
-
onAudioFrame?(audioFrame: VeLiveAudioFrame): void;
|
|
14
|
-
}
|
|
15
|
-
export declare class VeLiveFileRecordingListener {
|
|
16
|
-
|
|
17
|
-
onFileRecordingStarted?(): void;
|
|
18
|
-
|
|
19
|
-
onFileRecordingStopped?(): void;
|
|
20
|
-
|
|
21
|
-
onFileRecordingError$message?(errorCode: int, msg: NSString): void;
|
|
22
|
-
}
|
|
23
|
-
export declare class VeLiveScreenCaptureStatusObserver {
|
|
24
|
-
|
|
25
|
-
broadcastStarted?(): void;
|
|
26
|
-
|
|
27
|
-
broadcastPaused?(): void;
|
|
28
|
-
|
|
29
|
-
broadcastResumed?(): void;
|
|
30
|
-
|
|
31
|
-
broadcastFinished?(): void;
|
|
32
|
-
}
|
|
33
|
-
export declare class VeLiveVideoFrameFilter {
|
|
34
|
-
}
|
|
35
|
-
export declare class VeLiveVideoFrameListener {
|
|
36
|
-
|
|
37
|
-
onCaptureVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
38
|
-
|
|
39
|
-
onPreEncodeVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
40
|
-
}
|
|
41
|
-
export declare class VeLiveAudioFrameListener {
|
|
42
|
-
|
|
43
|
-
onCaptureAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
44
|
-
|
|
45
|
-
onPreEncodeAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
46
|
-
}
|
|
47
|
-
export declare class VeLiveMediaPlayerListener {
|
|
48
|
-
|
|
49
|
-
onStart?(): void;
|
|
50
|
-
|
|
51
|
-
onProgress?(timeMS: long): void;
|
|
52
|
-
|
|
53
|
-
onStop?(): void;
|
|
54
|
-
|
|
55
|
-
onError?(error: NSError): void;
|
|
56
|
-
}
|
|
57
|
-
export declare class VeLiveAudioFrameFilter {
|
|
58
|
-
}
|
|
59
|
-
export declare class VeLiveSnapshotListener {
|
|
60
|
-
|
|
61
|
-
onSnapshotComplete?(image: UIImage): void;
|
|
62
|
-
}
|
|
63
|
-
export declare class VeLivePusherObserver {
|
|
64
|
-
|
|
65
|
-
onError$subcode$message?(code: int, subcode: int, msg: NSString): void;
|
|
66
|
-
|
|
67
|
-
onStatusChange?(status: VeLivePushStatus): void;
|
|
68
|
-
|
|
69
|
-
onFirstVideoFrame$timestampMs?(type: VeLiveFirstFrameType, timestampMs: int64_t): void;
|
|
70
|
-
|
|
71
|
-
onFirstAudioFrame$timestampMs?(type: VeLiveFirstFrameType, timestampMs: int64_t): void;
|
|
72
|
-
|
|
73
|
-
onCameraOpened?(open: BOOL): void;
|
|
74
|
-
|
|
75
|
-
onMicrophoneOpened?(open: BOOL): void;
|
|
76
|
-
|
|
77
|
-
onNetworkQuality?(quality: VeLiveNetworkQuality): void;
|
|
78
|
-
|
|
79
|
-
onAudioPowerQuality$value?(level: VeLiveAudioPowerLevel, value: float): void;
|
|
80
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UIView } from '../../platforms/ios/extends';
|