@byteplus/react-native-live-push 1.1.3-rc.4 → 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 +1027 -466
- package/lib/module/index.js +1029 -463
- 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 -16
- 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 -412
- 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 -620
- package/ios/VeLiveMixerView.h +0 -69
- package/ios/VeLiveMixerView.m +0 -600
- 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 -18
- 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 -18
- 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,91 +0,0 @@
|
|
|
1
|
-
import { VeLiveVideoFrame, VeLiveAudioFrame } from './api';
|
|
2
|
-
import { int, String, Bundle, long, Bitmap, float, JSONObject } from './types';
|
|
3
|
-
import { VeLiveVideoFrameSource, VeLiveAudioFrameSource, VeLivePusherStatus, VeLiveFirstFrameType, VeLiveNetworkQuality, VeLiveAudioPowerLevel, VeLivePusherStatistics } from './keytype';
|
|
4
|
-
export declare class VeLiveVideoFrameFilter {
|
|
5
|
-
|
|
6
|
-
onVideoProcess?(srcFrame: VeLiveVideoFrame, dstFrame: VeLiveVideoFrame): int;
|
|
7
|
-
}
|
|
8
|
-
export declare class VeLiveVideoFrameListener {
|
|
9
|
-
|
|
10
|
-
getObservedVideoFrameSource?(): VeLiveVideoFrameSource;
|
|
11
|
-
|
|
12
|
-
onCaptureVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
13
|
-
|
|
14
|
-
onPreEncodeVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
15
|
-
}
|
|
16
|
-
export declare class VeLiveVideoEffectCallback {
|
|
17
|
-
|
|
18
|
-
onResult?(result: int, msg: String): void;
|
|
19
|
-
}
|
|
20
|
-
export declare class VeLiveMediaPlayerListener {
|
|
21
|
-
|
|
22
|
-
onStart?(info: Bundle): void;
|
|
23
|
-
|
|
24
|
-
onProgress?(timeMs: long): void;
|
|
25
|
-
|
|
26
|
-
onStop?(): void;
|
|
27
|
-
|
|
28
|
-
onError?(code: int, msg: String): void;
|
|
29
|
-
}
|
|
30
|
-
export declare class VeLiveAudioFrameListener {
|
|
31
|
-
|
|
32
|
-
getObservedAudioFrameSource?(): VeLiveAudioFrameSource;
|
|
33
|
-
|
|
34
|
-
onCaptureAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
35
|
-
|
|
36
|
-
onPreEncodeAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
37
|
-
}
|
|
38
|
-
export declare class VeLiveMediaPlayerFrameListener {
|
|
39
|
-
|
|
40
|
-
onAudioFrame?(frame: VeLiveAudioFrame): void;
|
|
41
|
-
|
|
42
|
-
onVideoFrame?(frame: VeLiveVideoFrame): void;
|
|
43
|
-
}
|
|
44
|
-
export declare class VeLiveSnapshotListener {
|
|
45
|
-
|
|
46
|
-
onSnapshotComplete?(image: Bitmap): void;
|
|
47
|
-
}
|
|
48
|
-
export declare class VeLiveAudioFrameFilter {
|
|
49
|
-
|
|
50
|
-
onAudioProcess?(srcFrame: VeLiveAudioFrame, dstFrame: VeLiveAudioFrame): int;
|
|
51
|
-
}
|
|
52
|
-
export declare class VeLivePusherObserver {
|
|
53
|
-
|
|
54
|
-
onError?(code: int, subCode: int, msg: String): void;
|
|
55
|
-
|
|
56
|
-
onStatusChange?(status: VeLivePusherStatus): void;
|
|
57
|
-
|
|
58
|
-
onFirstVideoFrame?(type: VeLiveFirstFrameType, timestampMs: long): void;
|
|
59
|
-
|
|
60
|
-
onFirstAudioFrame?(type: VeLiveFirstFrameType, timestampMs: long): void;
|
|
61
|
-
|
|
62
|
-
onCameraOpened?(open: boolean): void;
|
|
63
|
-
|
|
64
|
-
onMicrophoneOpened?(open: boolean): void;
|
|
65
|
-
|
|
66
|
-
onScreenRecording?(open: boolean): void;
|
|
67
|
-
|
|
68
|
-
onNetworkQuality?(quality: VeLiveNetworkQuality): void;
|
|
69
|
-
|
|
70
|
-
onAudioPowerQuality?(level: VeLiveAudioPowerLevel, value: float): void;
|
|
71
|
-
}
|
|
72
|
-
export declare class VeLivePusherStatisticsObserver {
|
|
73
|
-
|
|
74
|
-
onStatistics?(statistics: VeLivePusherStatistics): void;
|
|
75
|
-
|
|
76
|
-
onLogMonitor?(logInfo: JSONObject): void;
|
|
77
|
-
}
|
|
78
|
-
export declare class VeLivePusherDef {
|
|
79
|
-
}
|
|
80
|
-
export declare class VeLiveFileRecordingListener {
|
|
81
|
-
|
|
82
|
-
onFileRecordingStarted?(): void;
|
|
83
|
-
|
|
84
|
-
onFileRecordingStopped?(): void;
|
|
85
|
-
|
|
86
|
-
onFileRecordingError?(errorCode: int, message: String): void;
|
|
87
|
-
}
|
|
88
|
-
export declare class VeLiveVideoEffectHandleCallback {
|
|
89
|
-
|
|
90
|
-
onEffectHandle?(handle: Object): void;
|
|
91
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare enum VeLivePusherErrorCode {
|
|
2
|
-
|
|
3
|
-
VeLivePusherSuccess = 0,
|
|
4
|
-
|
|
5
|
-
VeLivePusherInvalidLicense = -1,
|
|
6
|
-
|
|
7
|
-
VeLivePusherInvalidParameter = -2,
|
|
8
|
-
|
|
9
|
-
VeLivePusherVideoCaptureError = -3,
|
|
10
|
-
|
|
11
|
-
VeLivePusherAudioCaptureError = -4,
|
|
12
|
-
|
|
13
|
-
VeLivePusherVideoEncoderError = -5,
|
|
14
|
-
|
|
15
|
-
VeLivePusherAudioEncoderError = -6,
|
|
16
|
-
|
|
17
|
-
VeLivePusherTransportError = -7,
|
|
18
|
-
|
|
19
|
-
VeLivePusherVideoEffectError = -8,
|
|
20
|
-
|
|
21
|
-
VeLivePusherAudioDeviceError = -9,
|
|
22
|
-
|
|
23
|
-
VeLivePusherLicenseUnsupportedH265 = -10,
|
|
24
|
-
|
|
25
|
-
VeLivePusherError = -100
|
|
26
|
-
}
|