@byteplus/react-native-rtc 1.1.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.
- package/package.json +1 -1
- package/react-native-rtc.podspec +12 -7
package/package.json
CHANGED
package/react-native-rtc.podspec
CHANGED
|
@@ -31,7 +31,9 @@ Pod::Spec.new do |s|
|
|
|
31
31
|
|
|
32
32
|
s.pod_target_xcconfig = {
|
|
33
33
|
'ENABLE_UNION_FOR_RTC_WITH_LIVE' => '$(ENABLE_UNION_FOR_RTC_WITH_LIVE)',
|
|
34
|
-
'ENABLE_UNION_FOR_RTC_WITH_VOD' => '$(ENABLE_UNION_FOR_RTC_WITH_VOD)'
|
|
34
|
+
'ENABLE_UNION_FOR_RTC_WITH_VOD' => '$(ENABLE_UNION_FOR_RTC_WITH_VOD)',
|
|
35
|
+
'UNION_FOR_RTC_WITH_LIVE_VERSION' => '$(UNION_FOR_RTC_WITH_LIVE_VERSION)',
|
|
36
|
+
'UNION_FOR_RTC_WITH_VOD_VERSION' => '$(UNION_FOR_RTC_WITH_VOD_VERSION)'
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
s.default_subspec = 'Core'
|
|
@@ -77,25 +79,26 @@ Pod::Spec.new do |s|
|
|
|
77
79
|
end
|
|
78
80
|
end
|
|
79
81
|
|
|
80
|
-
s.dependency 'VolcApiEngine', '1.6.
|
|
82
|
+
s.dependency 'VolcApiEngine', '1.6.4'
|
|
81
83
|
|
|
82
84
|
enable_union_live = (ENV['ENABLE_UNION_FOR_RTC_WITH_LIVE'] == 'YES')
|
|
83
85
|
enable_union_vod = (ENV['ENABLE_UNION_FOR_RTC_WITH_VOD'] == 'YES')
|
|
86
|
+
target_live_version = ENV['UNION_FOR_RTC_WITH_LIVE_VERSION']
|
|
87
|
+
target_vod_version = ENV['UNION_FOR_RTC_WITH_VOD_VERSION']
|
|
84
88
|
|
|
85
89
|
rtc_sdk_name = is_bp ? 'BytePlusRTC' : 'VolcEngineRTC'
|
|
86
90
|
|
|
87
|
-
rtc_live_unique_version = is_bp ? '1.46.300.
|
|
91
|
+
rtc_live_unique_version = is_bp ? '1.46.300.5-premium' : '1.46.3.9-premium'
|
|
88
92
|
rtc_default_version = is_bp ? '3.58.1.14800' : '3.58.1.100'
|
|
89
93
|
|
|
90
94
|
vod_player_sr_version = is_bp ? '1.45.300.3-premium' : '1.46.2.8-premium'
|
|
91
|
-
live_player_sr_version = is_bp ? '1.46.300.3-premium' : '1.46.3.9-premium'
|
|
92
95
|
|
|
93
96
|
if enable_union_live
|
|
94
97
|
# Live mode using unique RTC version.
|
|
95
|
-
s.dependency 'TTSDKFramework/RTCSDK', rtc_live_unique_version
|
|
98
|
+
s.dependency 'TTSDKFramework/RTCSDK', target_live_version || rtc_live_unique_version
|
|
96
99
|
# While using live mode, pusher RN sdk is require for getting pusher instance.
|
|
97
100
|
s.dependency 'react-native-velive-push'
|
|
98
|
-
s.dependency 'TTSDKFramework/Player-SR',
|
|
101
|
+
s.dependency 'TTSDKFramework/Player-SR', target_live_version || rtc_live_unique_version
|
|
99
102
|
else
|
|
100
103
|
# Vod mode or default mode using default rtc version.
|
|
101
104
|
s.dependency rtc_sdk_name, rtc_default_version
|
|
@@ -103,6 +106,8 @@ Pod::Spec.new do |s|
|
|
|
103
106
|
|
|
104
107
|
if enable_union_vod
|
|
105
108
|
# 1.45.300.3 for vod.
|
|
106
|
-
s.dependency 'TTSDKFramework/Player-SR', vod_player_sr_version
|
|
109
|
+
s.dependency 'TTSDKFramework/Player-SR', target_vod_version || vod_player_sr_version
|
|
107
110
|
end
|
|
111
|
+
|
|
112
|
+
puts("[RTC POD INSTALL INFO]: enable_union_live: #{enable_union_live} / enable_union_vod: #{enable_union_vod} / target_live_version: #{target_live_version} / target_vod_version: #{target_vod_version}")
|
|
108
113
|
end
|