@byteplus/react-native-live-pull 1.0.2 → 1.0.3-rc.1
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 +1 -1
- package/README.md +2 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/volcengine/velive/rn/pull/VolcLiveModule.java +1 -1
- package/android/src/main/java/com/volcengine/velive/rn/pull/VolcViewManager.java +1 -1
- package/ios/VeLivePullView.m +1 -1
- package/ios/VeLivePullViewManager.m +1 -1
- package/lib/commonjs/index.js +12227 -8161
- package/lib/module/index.js +12228 -8160
- package/lib/typescript/codegen/android/api.d.ts +253 -4
- package/lib/typescript/codegen/android/errorcode.d.ts +2 -2
- package/lib/typescript/codegen/android/external.d.ts +1 -0
- package/lib/typescript/codegen/android/index.d.ts +1 -0
- package/lib/typescript/codegen/android/keytype.d.ts +2 -4
- package/lib/typescript/codegen/android/types.d.ts +7 -6
- package/lib/typescript/codegen/ios/api.d.ts +4 -8
- package/lib/typescript/codegen/ios/callback.d.ts +17 -21
- package/lib/typescript/codegen/ios/external.d.ts +1 -0
- package/lib/typescript/codegen/ios/index.d.ts +1 -0
- package/lib/typescript/codegen/ios/keytype.d.ts +0 -30
- package/lib/typescript/codegen/ios/types.d.ts +16 -5
- package/lib/typescript/codegen/pack/api.d.ts +73 -96
- package/lib/typescript/codegen/pack/callback.d.ts +59 -45
- package/lib/typescript/codegen/pack/errorcode.d.ts +56 -49
- package/lib/typescript/codegen/pack/external.d.ts +1 -0
- package/lib/typescript/codegen/pack/index.d.ts +2 -1
- package/lib/typescript/codegen/pack/keytype.d.ts +346 -630
- package/lib/typescript/codegen/pack/types.d.ts +68 -1
- package/lib/typescript/component.d.ts +9 -2
- package/lib/typescript/core/keytype.d.ts +1 -1
- package/lib/typescript/platforms/ios/extends.d.ts +2 -0
- package/package.json +6 -4
- package/react-native-velive-pull.podspec +3 -3
|
@@ -1 +1,68 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type int = number;
|
|
2
|
+
export type Context = unknown;
|
|
3
|
+
export type JSONObject = any;
|
|
4
|
+
export type id<T = any> = T;
|
|
5
|
+
export type BOOL = boolean;
|
|
6
|
+
export type bool = boolean;
|
|
7
|
+
export type long = number;
|
|
8
|
+
export type float = number;
|
|
9
|
+
export type int64_t = number;
|
|
10
|
+
export type double = number;
|
|
11
|
+
export type dispatch_queue_t = any;
|
|
12
|
+
export type NSString = string;
|
|
13
|
+
export type NSMutableString = string;
|
|
14
|
+
export type NSInteger = number;
|
|
15
|
+
export type NSUInteger = number;
|
|
16
|
+
export type NSNumber = number;
|
|
17
|
+
export type NSValue = number;
|
|
18
|
+
export type NSNull = null;
|
|
19
|
+
export type NSArray<T = any> = Array<T>;
|
|
20
|
+
export type NSMutableArray<T = any> = Array<T>;
|
|
21
|
+
export type NSObject<T = any> = T;
|
|
22
|
+
export type NSDictionary<K extends keyof any = any, V = any> = {
|
|
23
|
+
[P in K]: V;
|
|
24
|
+
};
|
|
25
|
+
export type NSMutableDictionary = Object;
|
|
26
|
+
export type NSDate = Date;
|
|
27
|
+
export type NSData = ArrayBuffer;
|
|
28
|
+
export type NSURL = string;
|
|
29
|
+
export type NSError = {
|
|
30
|
+
code: number;
|
|
31
|
+
domain: string;
|
|
32
|
+
};
|
|
33
|
+
export type NSTimeInterval = number;
|
|
34
|
+
export type UIImage = unknown;
|
|
35
|
+
export type CVPixelBufferRef = any;
|
|
36
|
+
export type CMSampleBufferRef = any;
|
|
37
|
+
export type CMTime = number;
|
|
38
|
+
export type GLuint = number;
|
|
39
|
+
export type CGFloat = number;
|
|
40
|
+
export type SInt64 = number;
|
|
41
|
+
export type intptr_t = any;
|
|
42
|
+
export type uint32_t = number;
|
|
43
|
+
export type uint8_t = number;
|
|
44
|
+
export type longlong = number;
|
|
45
|
+
export type String = string;
|
|
46
|
+
export type Boolean = boolean;
|
|
47
|
+
export type Void = void;
|
|
48
|
+
export type Integer = number;
|
|
49
|
+
export type Double = number;
|
|
50
|
+
export type List<T = any> = Array<T>;
|
|
51
|
+
export type list<T = any> = Array<T>;
|
|
52
|
+
export type ArrayList<T = any> = Array<T>;
|
|
53
|
+
export type Map<K extends keyof any = any, V = any> = Record<K, V>;
|
|
54
|
+
export type HashMap<K extends keyof any = any, V = any> = Record<K, V>;
|
|
55
|
+
export type Pair<K extends keyof any = any, V = any> = Record<K, V>;
|
|
56
|
+
export type set<T = any> = Set<T>;
|
|
57
|
+
export type map = Object;
|
|
58
|
+
export type struct = Object;
|
|
59
|
+
export type Bitmap = unknown;
|
|
60
|
+
export type EGLContext = unknown;
|
|
61
|
+
export type ByteArray = number;
|
|
62
|
+
export type ByteBuffer = ArrayBuffer;
|
|
63
|
+
export type Matrix = unknown;
|
|
64
|
+
export type SurfaceHolder = unknown;
|
|
65
|
+
export type Surface = unknown;
|
|
66
|
+
export type Runnable = unknown;
|
|
67
|
+
export type View = unknown;
|
|
68
|
+
export type Intent = unknown;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type VolcViewProps = {
|
|
2
3
|
viewId: string;
|
|
3
4
|
kind: 'SurfaceView' | 'UIView';
|
|
4
5
|
children?: any;
|
|
5
6
|
style?: any;
|
|
7
|
+
onViewLoad?: () => void;
|
|
8
|
+
};
|
|
9
|
+
export type NativeSurfaceViewComponentProps = Omit<VolcViewProps, 'onViewLoad'> & {
|
|
6
10
|
onLoad?: () => void;
|
|
7
11
|
};
|
|
8
|
-
export declare
|
|
12
|
+
export declare class NativeViewComponent extends React.Component<NativeSurfaceViewComponentProps> {
|
|
13
|
+
render(): React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { VeLivePlayerAudioBufferType, VeLivePlayerAudioFrame,
|
|
1
|
+
export { VeLivePlayerAudioBufferType, VeLivePlayerAudioFrame, VeLivePlayerConfiguration, VeLivePlayerFillMode, VeLivePlayerFormat, VeLivePlayerLogLevel, VeLivePlayerMirror, VeLivePlayerPixelFormat, VeLivePlayerProtocol, VeLivePlayerResolution, VeLivePlayerResolutionSwitchReason, VeLivePlayerRotation, VeLivePlayerStatistics, VeLivePlayerStatus, VeLivePlayerStream, VeLivePlayerStreamData, VeLivePlayerStreamType, VeLivePlayerVideoBufferType, VeLivePlayerVideoFrame, } from '../codegen/pack/keytype';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteplus/react-native-live-pull",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3-rc.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "*",
|
|
6
6
|
"react-native": "*"
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"main": "lib/commonjs/index.js",
|
|
9
9
|
"module": "lib/module/index.js",
|
|
10
10
|
"types": "lib/typescript/index.d.ts",
|
|
11
|
-
"license": "MIT",
|
|
12
11
|
"files": [
|
|
13
12
|
"android",
|
|
14
13
|
"ios",
|
|
@@ -27,6 +26,9 @@
|
|
|
27
26
|
"!**/*.xcframework"
|
|
28
27
|
],
|
|
29
28
|
"author": "vcloud-fe",
|
|
30
|
-
"description": "
|
|
31
|
-
"homepage": "https://www.
|
|
29
|
+
"description": "BytePlus sdk for react native",
|
|
30
|
+
"homepage": "https://www.byteplus.com/en",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"zx": "^8.1.1"
|
|
33
|
+
}
|
|
32
34
|
}
|
|
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
s.dependency 'VolcApiEngine', '1.
|
|
43
|
-
s.dependency 'TTSDKFramework/Core', '1.41.
|
|
44
|
-
s.dependency 'TTSDKFramework/LivePull-RTS', '1.41.
|
|
42
|
+
s.dependency 'VolcApiEngine', '1.2.3'
|
|
43
|
+
s.dependency 'TTSDKFramework/Core', '1.41.300.7-premium'
|
|
44
|
+
s.dependency 'TTSDKFramework/LivePull-RTS', '1.41.300.7-premium'
|
|
45
45
|
end
|