@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.
Files changed (33) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -1
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/com/volcengine/velive/rn/pull/VolcLiveModule.java +1 -1
  5. package/android/src/main/java/com/volcengine/velive/rn/pull/VolcViewManager.java +1 -1
  6. package/ios/VeLivePullView.m +1 -1
  7. package/ios/VeLivePullViewManager.m +1 -1
  8. package/lib/commonjs/index.js +12227 -8161
  9. package/lib/module/index.js +12228 -8160
  10. package/lib/typescript/codegen/android/api.d.ts +253 -4
  11. package/lib/typescript/codegen/android/errorcode.d.ts +2 -2
  12. package/lib/typescript/codegen/android/external.d.ts +1 -0
  13. package/lib/typescript/codegen/android/index.d.ts +1 -0
  14. package/lib/typescript/codegen/android/keytype.d.ts +2 -4
  15. package/lib/typescript/codegen/android/types.d.ts +7 -6
  16. package/lib/typescript/codegen/ios/api.d.ts +4 -8
  17. package/lib/typescript/codegen/ios/callback.d.ts +17 -21
  18. package/lib/typescript/codegen/ios/external.d.ts +1 -0
  19. package/lib/typescript/codegen/ios/index.d.ts +1 -0
  20. package/lib/typescript/codegen/ios/keytype.d.ts +0 -30
  21. package/lib/typescript/codegen/ios/types.d.ts +16 -5
  22. package/lib/typescript/codegen/pack/api.d.ts +73 -96
  23. package/lib/typescript/codegen/pack/callback.d.ts +59 -45
  24. package/lib/typescript/codegen/pack/errorcode.d.ts +56 -49
  25. package/lib/typescript/codegen/pack/external.d.ts +1 -0
  26. package/lib/typescript/codegen/pack/index.d.ts +2 -1
  27. package/lib/typescript/codegen/pack/keytype.d.ts +346 -630
  28. package/lib/typescript/codegen/pack/types.d.ts +68 -1
  29. package/lib/typescript/component.d.ts +9 -2
  30. package/lib/typescript/core/keytype.d.ts +1 -1
  31. package/lib/typescript/platforms/ios/extends.d.ts +2 -0
  32. package/package.json +6 -4
  33. package/react-native-velive-pull.podspec +3 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright 2024 Beijing Volcano Engine Technology Co., Ltd.
3
+ Copyright 2024 BytePlus Pte Ltd.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,2 +1,3 @@
1
- # 火山引擎直播拉流 React Native SDK
1
+ # BytePlus MediaLive React Native SDK
2
2
 
3
+ DOC see [instructions for use](https://docs.byteplus.com/en/docs/byteplus-media-live/docs-integrating-the-broadcast-and-player-sdks-for-rn)
@@ -88,6 +88,6 @@ dependencies {
88
88
  // noinspection GradleDynamicVersion
89
89
  implementation "com.facebook.react:react-native:+"
90
90
 
91
- implementation "com.volcengine:VolcApiEngine:1.0.3"
92
- implementation 'com.bytedanceapi:ttsdk-ttlivepull_rtc:1.41.3.4'
91
+ implementation "com.volcengine:VolcApiEngine:1.2.3"
92
+ implementation 'com.bytedanceapi:ttsdk-ttlivepull_rtc:1.41.300.103'
93
93
  }
@@ -12,7 +12,7 @@ import com.facebook.react.bridge.WritableMap;
12
12
  import com.facebook.react.module.annotations.ReactModule;
13
13
  import com.facebook.react.modules.core.DeviceEventManagerModule;
14
14
 
15
- import com.volcengine.VolcApiEngine.runtime.*;
15
+ import com.volcengine.VolcApiEngine.*;
16
16
  import com.volcengine.velive.rn.pull.autogen.MethodSignature;
17
17
 
18
18
  @ReactModule(name = VolcLiveModule.NAME)
@@ -80,7 +80,7 @@ public class VolcViewManager extends SimpleViewManager<VolcView> implements Volc
80
80
  "load",
81
81
  MapBuilder.of(
82
82
  "phasedRegistrationNames",
83
- MapBuilder.of("bubbled", "onLoad")
83
+ MapBuilder.of("bubbled", "onViewLoad")
84
84
  )
85
85
  ).build();
86
86
  }
@@ -30,7 +30,7 @@
30
30
  [self emitLoaded];
31
31
  }
32
32
 
33
- - (void) setOnLoad:(RCTBubblingEventBlock)onLoad {
33
+ - (void) setOnViewLoad:(RCTBubblingEventBlock)onLoad {
34
34
  _onLoad = onLoad;
35
35
 
36
36
  [self emitLoaded];
@@ -19,7 +19,7 @@
19
19
  RCT_EXPORT_MODULE(VolcView)
20
20
 
21
21
  // 导出 events
22
- RCT_EXPORT_VIEW_PROPERTY(onLoad, RCTBubblingEventBlock)
22
+ RCT_EXPORT_VIEW_PROPERTY(onViewLoad, RCTBubblingEventBlock)
23
23
 
24
24
  // 导出 events
25
25
  RCT_CUSTOM_VIEW_PROPERTY(viewId, NSString, VeUIView)