@byteplus/react-native-live-pull 1.3.0 → 1.3.2-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 (41) hide show
  1. package/android/build.gradle +1 -1
  2. package/package.json +3 -3
  3. package/react-native-velive-pull.podspec +10 -3
  4. package/lib/commonjs/index.js +0 -14555
  5. package/lib/module/index.js +0 -14543
  6. package/lib/typescript/codegen/android/api.d.ts +0 -318
  7. package/lib/typescript/codegen/android/callback.d.ts +0 -206
  8. package/lib/typescript/codegen/android/errorcode.d.ts +0 -174
  9. package/lib/typescript/codegen/android/external.d.ts +0 -1
  10. package/lib/typescript/codegen/android/index.d.ts +0 -6
  11. package/lib/typescript/codegen/android/keytype.d.ts +0 -749
  12. package/lib/typescript/codegen/android/types.d.ts +0 -31
  13. package/lib/typescript/codegen/ios/api.d.ts +0 -295
  14. package/lib/typescript/codegen/ios/callback.d.ts +0 -176
  15. package/lib/typescript/codegen/ios/errorcode.d.ts +0 -160
  16. package/lib/typescript/codegen/ios/external.d.ts +0 -1
  17. package/lib/typescript/codegen/ios/index.d.ts +0 -6
  18. package/lib/typescript/codegen/ios/keytype.d.ts +0 -695
  19. package/lib/typescript/codegen/ios/types.d.ts +0 -46
  20. package/lib/typescript/codegen/pack/api.d.ts +0 -367
  21. package/lib/typescript/codegen/pack/callback.d.ts +0 -255
  22. package/lib/typescript/codegen/pack/errorcode.d.ts +0 -187
  23. package/lib/typescript/codegen/pack/external.d.ts +0 -1
  24. package/lib/typescript/codegen/pack/index.d.ts +0 -6
  25. package/lib/typescript/codegen/pack/keytype.d.ts +0 -909
  26. package/lib/typescript/codegen/pack/types.d.ts +0 -68
  27. package/lib/typescript/component.d.ts +0 -15
  28. package/lib/typescript/core/api.d.ts +0 -114
  29. package/lib/typescript/core/appState.d.ts +0 -3
  30. package/lib/typescript/core/callback.d.ts +0 -53
  31. package/lib/typescript/core/env.d.ts +0 -38
  32. package/lib/typescript/core/errorcode.d.ts +0 -1
  33. package/lib/typescript/core/index.d.ts +0 -6
  34. package/lib/typescript/core/keytype.d.ts +0 -33
  35. package/lib/typescript/core/player.d.ts +0 -16
  36. package/lib/typescript/index.d.ts +0 -3
  37. package/lib/typescript/platforms/android/extends.d.ts +0 -39
  38. package/lib/typescript/platforms/android/pictureInpicture.d.ts +0 -26
  39. package/lib/typescript/platforms/ios/extends.d.ts +0 -43
  40. package/lib/typescript/platforms/ios/pictureInpicture.d.ts +0 -32
  41. package/lib/typescript/runtime/index.d.ts +0 -1
@@ -42,7 +42,7 @@ if (volcApiEnvVersion) {
42
42
  } else if (rootProject.hasProperty('VOLC_API_ENGINE_VERSION_FOR_LIVE_PULL')) {
43
43
  volc_api_engine_version = rootProject.property('VOLC_API_ENGINE_VERSION_FOR_LIVE_PULL')
44
44
  } else {
45
- volc_api_engine_version = "1.6.4" // Default version
45
+ volc_api_engine_version = "1.6.6" // Default version
46
46
  }
47
47
 
48
48
  println "[LIVE PULL GRADLE INFO]: Using ttsdk_ttlivepull_rtc version: $ttsdk_ttlivepull_rtc_version"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/react-native-live-pull",
3
- "version": "1.3.0",
3
+ "version": "1.3.2-rc.0",
4
4
  "peerDependencies": {
5
5
  "react": "*",
6
6
  "react-native": "*"
@@ -33,11 +33,11 @@
33
33
  },
34
34
  "nativeVersion": {
35
35
  "volc": {
36
- "android": "1.46.3.6",
36
+ "android": "1.47.3.6",
37
37
  "ios": "1.46.3.10-premium"
38
38
  },
39
39
  "byteplus": {
40
- "android": "1.46.300.2",
40
+ "android": "1.47.300.2",
41
41
  "ios": "1.46.300.7-premium"
42
42
  }
43
43
  }
@@ -52,10 +52,17 @@ Pod::Spec.new do |s|
52
52
  # Version configuration through environment variables
53
53
  volc_api_engine_version = ENV['VOLC_API_ENGINE_VERSION_FOR_LIVE_PULL'] || '1.6.5'
54
54
  ttsdk_framework_version = ENV['TTSDK_FRAMEWORK_VERSION_FOR_LIVE_PULL'] || (is_bp ? package['nativeVersion']['byteplus']['ios'] : package['nativeVersion']['volc']['ios'])
55
+
56
+ use_rtc = ENV['USE_RTC_FOR_LIVE_PULL'] || 'true'
55
57
 
56
58
  s.dependency 'VolcApiEngine', volc_api_engine_version
57
59
  s.dependency 'TTSDKFramework/Core', ttsdk_framework_version
58
- s.dependency 'TTSDKFramework/LivePull-RTS', ttsdk_framework_version
60
+
61
+ if use_rtc == 'true'
62
+ s.dependency 'TTSDKFramework/LivePull-RTS', ttsdk_framework_version
63
+ else
64
+ s.dependency 'TTSDKFramework/LivePull', ttsdk_framework_version
65
+ end
59
66
 
60
- puts("[LIVE PULL POD INSTALL INFO]: volc_api_engine_version: #{volc_api_engine_version} / ttsdk_framework_version: #{ttsdk_framework_version}")
61
- end
67
+ puts("[LIVE PULL POD INSTALL INFO]: volc_api_engine_version: #{volc_api_engine_version} / ttsdk_framework_version: #{ttsdk_framework_version} / use_rtc: #{use_rtc}")
68
+ end