@byteplus/react-native-live-push 1.0.2 → 1.0.3-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.
Files changed (32) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +1 -1
  3. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +5 -3
  4. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +10 -5
  5. package/ios/VeLivePushView.m +1 -1
  6. package/ios/VeLivePushViewManager.m +5 -1
  7. package/lib/commonjs/index.js +21799 -17839
  8. package/lib/module/index.js +21799 -17832
  9. package/lib/typescript/android/index.d.ts +3 -0
  10. package/lib/typescript/codegen/android/api.d.ts +1350 -75
  11. package/lib/typescript/codegen/android/keytype.d.ts +439 -62
  12. package/lib/typescript/codegen/android/types.d.ts +7 -6
  13. package/lib/typescript/codegen/ios/api.d.ts +11 -19
  14. package/lib/typescript/codegen/ios/callback.d.ts +17 -25
  15. package/lib/typescript/codegen/ios/external.d.ts +1 -0
  16. package/lib/typescript/codegen/ios/index.d.ts +1 -0
  17. package/lib/typescript/codegen/ios/keytype.d.ts +6 -34
  18. package/lib/typescript/codegen/ios/types.d.ts +16 -5
  19. package/lib/typescript/codegen/pack/api.d.ts +1250 -1216
  20. package/lib/typescript/codegen/pack/callback.d.ts +153 -295
  21. package/lib/typescript/codegen/pack/errorcode.d.ts +11 -150
  22. package/lib/typescript/codegen/pack/index.d.ts +1 -1
  23. package/lib/typescript/codegen/pack/keytype.d.ts +806 -1366
  24. package/lib/typescript/codegen/pack/types.d.ts +67 -0
  25. package/lib/typescript/component.d.ts +10 -3
  26. package/lib/typescript/core/api.d.ts +2 -2
  27. package/lib/typescript/core/callback.d.ts +2 -2
  28. package/lib/typescript/core/errorcode.d.ts +2 -2
  29. package/lib/typescript/core/keytype.d.ts +2 -7
  30. package/lib/typescript/platforms/ios/extends.d.ts +17 -0
  31. package/package.json +2 -1
  32. package/react-native-velive-push.podspec +3 -3
@@ -1,72 +1,31 @@
1
1
  import * as $p_a from '../android/index';
2
2
  import * as $p_i from '../ios/index';
3
3
 
4
- /** {en}
5
- * @detail errorcode
6
- * @brief The error code.
7
- */
8
4
  export declare enum VeLivePusherErrorCode {
9
5
 
10
- /** {en}
11
- * @brief No error.
12
- */
13
6
  VeLivePusherSuccess = 0,
14
7
 
15
- /** {en}
16
- * @brief SDK license error, possibly caused by an invalid or expired certificate.
17
- */
18
- VeLivePusherInvalidLicense = -1,
8
+ VeLivePusherInvalidLicense = 1,
19
9
 
20
- /** {en}
21
- * @brief Parameter error, possibly caused by an invalid parameter value or parameter type.
22
- */
23
- VeLivePusherInvalidParameter = -2,
10
+ VeLivePusherInvalidParameter = 2,
24
11
 
25
- /** {en}
26
- * @brief Video capture error, possibly caused by the lack of access to the video device.
27
- */
28
- VeLivePusherVideoCaptureError = -3,
12
+ VeLivePusherVideoCaptureError = 3,
29
13
 
30
- /** {en}
31
- * @brief Audio capture error, possibly caused by the lack of access to the audio device.
32
- */
33
- VeLivePusherAudioCaptureError = -4,
14
+ VeLivePusherAudioCaptureError = 4,
34
15
 
35
- /** {en}
36
- * @brief Video encoding error, possibly caused by a configuration issue with the video encoder.
37
- */
38
- VeLivePusherVideoEncoderError = -5,
16
+ VeLivePusherVideoEncoderError = 5,
39
17
 
40
- /** {en}
41
- * @brief Audio encoding error, possibly caused by a configuration issue with the audio encoder.
42
- */
43
- VeLivePusherAudioEncoderError = -6,
18
+ VeLivePusherAudioEncoderError = 6,
44
19
 
45
- /** {en}
46
- * @brief Network error, which might be caused by network connection issues such as network instability or high latency.
47
- */
48
- VeLivePusherTransportError = -7,
20
+ VeLivePusherTransportError = 7,
49
21
 
50
- /** {en}
51
- * @brief Special effects error. Please check if the Effects SDK has been integrated and initialized, and if the path of the effects resources is correctly set.
52
- */
53
- VeLivePusherVideoEffectError = -8,
22
+ VeLivePusherVideoEffectError = 8,
54
23
 
55
- /** {en}
56
- * @brief Audio device error.
57
- */
58
- VeLivePusherAudioDeviceError = -9,
24
+ VeLivePusherAudioDeviceError = 9,
59
25
 
60
- /** {en}
61
- * @platform android
62
- * @brief The license does not support H265.
63
- */
64
- VeLivePusherLicenseUnsupportedH265 = -10,
26
+ VeLivePusherLicenseUnsupportedH265 = 10,
65
27
 
66
- /** {en}
67
- * @brief Internal error. You can contact the BytePlus technical support for help.
68
- */
69
- VeLivePusherError = -100
28
+ VeLivePusherError = 11
70
29
  }
71
30
  export declare class t_VeLivePusherErrorCode {
72
31
  static ts_to_android(value: VeLivePusherErrorCode): $p_a.VeLivePusherErrorCode;
@@ -74,101 +33,3 @@ export declare class t_VeLivePusherErrorCode {
74
33
  static ts_to_ios(value: VeLivePusherErrorCode): $p_i.VeLivePusherCode;
75
34
  static ios_to_ts(value: $p_i.VeLivePusherCode): VeLivePusherErrorCode;
76
35
  }
77
-
78
- /** {en}
79
- * @platform ios
80
- * @detail errorcode
81
- * @brief Push-stream error.
82
- */
83
- export declare enum VeLivePusherSubErrorCode {
84
-
85
- /** {en}
86
- * @platform ios
87
- * @brief SDK license error, possibly caused by an invalid or expired certificate.
88
- */
89
- VeLivePusherInvalidLicenseSubErrorCode = -100,
90
-
91
- /** {en}
92
- * @platform ios
93
- * @brief The current SDK license does not support H.265.
94
- */
95
- VeLivePusherInvalidLicenseUnsupportH265 = -101,
96
-
97
- /** {en}
98
- * @platform ios
99
- * @brief Parameter error, possibly caused by an invalid parameter value or parameter type.
100
- */
101
- VeLivePusherInvalidParameterSubErrorCode = -200,
102
-
103
- /** {en}
104
- * @platform ios
105
- * @brief Parameter error, screen capture AppGroupIdentifier parameter error.
106
- */
107
- VeLivePusherInvalidParameterScreenCaptureAppGroupIdentifierSubErrorCode = -201,
108
-
109
- /** {en}
110
- * @platform ios
111
- * @brief Video capture type error, possibly caused by an unsupported video capture type or capture device.
112
- */
113
- VeLivePusherVideoCaptureTypeError = -301,
114
-
115
- /** {en}
116
- * @platform ios
117
- * @brief Video capture permission error, possibly caused by the lack of access to the video device.
118
- */
119
- VeLivePusherVideoCapturePermissionError = -302,
120
-
121
- /** {en}
122
- * @platform ios
123
- * @brief Audio capture type error, possibly caused by an unsupported audio capture type or capture device.
124
- */
125
- VeLivePusherAudioCaptureTypeError = -401,
126
-
127
- /** {en}
128
- * @platform ios
129
- * @brief Audio capture permission error, possibly caused by the lack of access to the audio device.
130
- */
131
- VeLivePusherAudioCapturePermissionError = -402,
132
-
133
- /** {en}
134
- * @platform ios
135
- * @brief Video encoding error, possibly caused by a configuration issue with the video encoder or an error during encoding.
136
- */
137
- VeLivePusherVideoEncoderSubErrorCode = -500,
138
-
139
- /** {en}
140
- * @platform ios
141
- * @brief Audio encoding error, possibly caused by a configuration issue with the audio encoder or an error during encoding.
142
- */
143
- VeLivePusherAudioEncoderSubErrorCode = -600,
144
-
145
- /** {en}
146
- * @platform ios
147
- * @brief Network error, which might be caused by network connection issues such as network instability or high latency.
148
- */
149
- VeLivePusherTransportSubErrorCode = -700,
150
-
151
- /** {en}
152
- * @platform ios
153
- * @brief Special effects error, possibly caused by issues with video processing.
154
- */
155
- VeLivePusherVideoEffectSubErrorCode = -800,
156
-
157
- /** {en}
158
- * @platform ios
159
- * @brief Audio device error.
160
- */
161
- VeLivePusherAudioDeviceSubErrorCode = -900,
162
-
163
- /** {en}
164
- * @platform ios
165
- * @brief Internal error. You can contact the BytePlus technical support for help.
166
- */
167
- VeLivePusherInternalError = -1001
168
- }
169
- export declare class t_VeLivePusherSubErrorCode {
170
- static ts_to_android(value: VeLivePusherSubErrorCode): never;
171
- static android_to_ts(value: unknown): never;
172
- static ts_to_ios(value: VeLivePusherSubErrorCode): $p_i.VeLivePusherErrorCode;
173
- static ios_to_ts(value: $p_i.VeLivePusherErrorCode): VeLivePusherSubErrorCode;
174
- }
@@ -1,5 +1,5 @@
1
+ export * from './keytype';
1
2
  export * from './api';
2
3
  export * from './callback';
3
4
  export * from './errorcode';
4
- export * from './keytype';
5
5
  export * from './types';