@byteplus/react-native-live-push 1.1.1-rc.0 → 1.1.1-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.
@@ -2,25 +2,25 @@ export declare enum VeLivePusherErrorCode {
2
2
 
3
3
  VeLivePusherSuccess = 0,
4
4
 
5
- VeLivePusherInvalidLicense = 1,
5
+ VeLivePusherInvalidLicense = -1,
6
6
 
7
- VeLivePusherInvalidParameter = 2,
7
+ VeLivePusherInvalidParameter = -2,
8
8
 
9
- VeLivePusherVideoCaptureError = 3,
9
+ VeLivePusherVideoCaptureError = -3,
10
10
 
11
- VeLivePusherAudioCaptureError = 4,
11
+ VeLivePusherAudioCaptureError = -4,
12
12
 
13
- VeLivePusherVideoEncoderError = 5,
13
+ VeLivePusherVideoEncoderError = -5,
14
14
 
15
- VeLivePusherAudioEncoderError = 6,
15
+ VeLivePusherAudioEncoderError = -6,
16
16
 
17
- VeLivePusherTransportError = 7,
17
+ VeLivePusherTransportError = -7,
18
18
 
19
- VeLivePusherVideoEffectError = 8,
19
+ VeLivePusherVideoEffectError = -8,
20
20
 
21
- VeLivePusherAudioDeviceError = 9,
21
+ VeLivePusherAudioDeviceError = -9,
22
22
 
23
- VeLivePusherLicenseUnsupportedH265 = 10,
23
+ VeLivePusherLicenseUnsupportedH265 = -10,
24
24
 
25
- VeLivePusherError = 11
25
+ VeLivePusherError = -100
26
26
  }
@@ -5,27 +5,27 @@ export declare enum VeLivePusherErrorCode {
5
5
 
6
6
  VeLivePusherSuccess = 0,
7
7
 
8
- VeLivePusherInvalidLicense = 1,
8
+ VeLivePusherInvalidLicense = -1,
9
9
 
10
- VeLivePusherInvalidParameter = 2,
10
+ VeLivePusherInvalidParameter = -2,
11
11
 
12
- VeLivePusherVideoCaptureError = 3,
12
+ VeLivePusherVideoCaptureError = -3,
13
13
 
14
- VeLivePusherAudioCaptureError = 4,
14
+ VeLivePusherAudioCaptureError = -4,
15
15
 
16
- VeLivePusherVideoEncoderError = 5,
16
+ VeLivePusherVideoEncoderError = -5,
17
17
 
18
- VeLivePusherAudioEncoderError = 6,
18
+ VeLivePusherAudioEncoderError = -6,
19
19
 
20
- VeLivePusherTransportError = 7,
20
+ VeLivePusherTransportError = -7,
21
21
 
22
- VeLivePusherVideoEffectError = 8,
22
+ VeLivePusherVideoEffectError = -8,
23
23
 
24
- VeLivePusherAudioDeviceError = 9,
24
+ VeLivePusherAudioDeviceError = -9,
25
25
 
26
- VeLivePusherLicenseUnsupportedH265 = 10,
26
+ VeLivePusherLicenseUnsupportedH265 = -10,
27
27
 
28
- VeLivePusherError = 11
28
+ VeLivePusherError = -100
29
29
  }
30
30
  export declare class t_VeLivePusherErrorCode {
31
31
  static ts_to_android(value: VeLivePusherErrorCode): $p_a.VeLivePusherErrorCode;
@@ -179,19 +179,6 @@ export declare enum VeLiveAudioBufferType {
179
179
  VeLiveAudioBufferTypeNSData = 3
180
180
  }
181
181
 
182
- export declare enum VeLiveFirstFrameType {
183
-
184
- VeLiveFirstCaptureFrame = 0,
185
-
186
- VeLiveFirstRenderFrame = 1,
187
-
188
- VeLiveFirstEncodedFrame = 2,
189
-
190
- VeLiveFirstSendFrame = 3,
191
-
192
- VeLiveFirstAppAudioCaptureFrame = 4
193
- }
194
-
195
182
  export declare enum VeLiveVideoCaptureType {
196
183
 
197
184
  VeLiveVideoCaptureFrontCamera = 0,
@@ -685,6 +672,19 @@ export declare enum VeLiveAudioChannel {
685
672
  VeLiveAudioChannelStereo = 1
686
673
  }
687
674
 
675
+ export declare enum VeLiveFirstFrameType {
676
+
677
+ VeLiveFirstCaptureFrame = 0,
678
+
679
+ VeLiveFirstRenderFrame = 1,
680
+
681
+ VeLiveFirstEncodedFrame = 2,
682
+
683
+ VeLiveFirstSendFrame = 3,
684
+
685
+ VeLiveFirstAppAudioCaptureFrame = 4
686
+ }
687
+
688
688
  export declare enum VeLiveVideoFrameSource {
689
689
 
690
690
  /** {en}
@@ -1264,12 +1264,6 @@ export declare class t_VeLiveAudioBufferType {
1264
1264
  static ts_to_ios(value: VeLiveAudioBufferType): $p_i.VeLiveAudioBufferType;
1265
1265
  static ios_to_ts(value: $p_i.VeLiveAudioBufferType): VeLiveAudioBufferType;
1266
1266
  }
1267
- export declare class t_VeLiveFirstFrameType {
1268
- static ts_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
1269
- static android_to_ts(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
1270
- static ts_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
1271
- static ios_to_ts(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
1272
- }
1273
1267
  export declare class t_VeLiveVideoCaptureType {
1274
1268
  static ts_to_android(value: VeLiveVideoCaptureType): $p_a.VeLiveVideoCaptureType;
1275
1269
  static android_to_ts(value: $p_a.VeLiveVideoCaptureType): VeLiveVideoCaptureType;
@@ -1354,6 +1348,12 @@ export declare class t_VeLiveAudioChannel {
1354
1348
  static ts_to_ios(value: VeLiveAudioChannel): $p_i.VeLiveAudioChannel;
1355
1349
  static ios_to_ts(value: $p_i.VeLiveAudioChannel): VeLiveAudioChannel;
1356
1350
  }
1351
+ export declare class t_VeLiveFirstFrameType {
1352
+ static ts_to_android(value: VeLiveFirstFrameType): $p_a.VeLiveFirstFrameType;
1353
+ static android_to_ts(value: $p_a.VeLiveFirstFrameType): VeLiveFirstFrameType;
1354
+ static ts_to_ios(value: VeLiveFirstFrameType): $p_i.VeLiveFirstFrameType;
1355
+ static ios_to_ts(value: $p_i.VeLiveFirstFrameType): VeLiveFirstFrameType;
1356
+ }
1357
1357
  export declare class t_VeLiveVideoFrameSource {
1358
1358
  static ts_to_android(value: VeLiveVideoFrameSource): $p_a.VeLiveVideoFrameSource;
1359
1359
  static android_to_ts(value: $p_a.VeLiveVideoFrameSource): VeLiveVideoFrameSource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/react-native-live-push",
3
- "version": "1.1.1-rc.0",
3
+ "version": "1.1.1-rc.1",
4
4
  "peerDependencies": {
5
5
  "react": "*",
6
6
  "react-native": "*"