@byteplus/react-native-live-push 1.1.3-rc.3 → 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 +157 -144
- 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 +32 -3
- package/ios/VeLiveMixerView.m +120 -112
- package/ios/VeLiveMixerViewManager.m +2 -2
- package/lib/commonjs/index.js +25072 -23532
- 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/keytype.d.ts +1 -0
- package/lib/commonjs/typescript/core/pusher.d.ts +0 -3
- package/lib/module/index.js +25074 -23533
- 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/keytype.d.ts +1 -0
- 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/keytype.d.ts +1 -0
- 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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { VeLiveAudioDevice,
|
|
1
|
+
import { VeLiveAudioDevice, VeLiveCameraDevice, VeLiveMediaPlayer, VeLivePusher as _VeLivePusher, VeLivePusherConfiguration, VeLiveVideoEffectManager } from '../codegen/pack/api';
|
|
2
|
+
import { VeLiveAudioFrame, VeLiveVideoFrame } from '../codegen/pack/keytype';
|
|
2
3
|
import { VeLiveMixerManager } from './mixer';
|
|
3
4
|
declare module '../codegen/pack/api' {
|
|
4
5
|
interface VeLivePusher {
|
|
@@ -11,6 +11,3 @@ export interface InitOptions extends Partial<VeLivePusherConfiguration> {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function initPusher(options: InitOptions): Promise<VeLivePusher>;
|
|
13
13
|
export declare function relaunchPusher(options: InitOptions): Promise<VeLivePusher>;
|
|
14
|
-
export declare function startScreenCapture(pusher: VeLivePusher, options: {
|
|
15
|
-
enableAppAudio: boolean;
|
|
16
|
-
}): Promise<boolean>;
|
|
@@ -7,12 +7,9 @@ declare class ApplicationContext {
|
|
|
7
7
|
}
|
|
8
8
|
declare class ReactApplicationContext {
|
|
9
9
|
}
|
|
10
|
-
declare class ScreenIntent {
|
|
11
|
-
}
|
|
12
10
|
export declare class NativeVariables {
|
|
13
11
|
static getApplicationContext(): Promise<ApplicationContext>;
|
|
14
12
|
static getReactApplicationContext(): Promise<ReactApplicationContext>;
|
|
15
|
-
static getScreenIntent(): Promise<ScreenIntent>;
|
|
16
13
|
}
|
|
17
14
|
export declare class TTNetManager extends NativeProxyService {
|
|
18
15
|
static initTTNet(appContext: ApplicationContext): void;
|