bitmovin-player-react-native 0.37.0 → 0.38.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.
package/RNBitmovinPlayer.podspec
CHANGED
|
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
|
|
|
20
20
|
|
|
21
21
|
s.swift_version = "5.10"
|
|
22
22
|
s.dependency "React-Core"
|
|
23
|
-
s.dependency "BitmovinPlayer", "3.
|
|
23
|
+
s.dependency "BitmovinPlayer", "3.85.0"
|
|
24
24
|
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.23.0"
|
|
25
25
|
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.13.0"
|
|
26
26
|
end
|
package/android/build.gradle
CHANGED
|
@@ -105,6 +105,6 @@ dependencies {
|
|
|
105
105
|
// Bitmovin
|
|
106
106
|
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.33.0'
|
|
107
107
|
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
|
|
108
|
-
implementation 'com.bitmovin.player:player:3.
|
|
109
|
-
implementation 'com.bitmovin.player:player-media-session:3.
|
|
108
|
+
implementation 'com.bitmovin.player:player:3.104.1+jason'
|
|
109
|
+
implementation 'com.bitmovin.player:player-media-session:3.104.1+jason'
|
|
110
110
|
}
|
|
@@ -5,6 +5,7 @@ import com.bitmovin.analytics.api.AnalyticsConfig
|
|
|
5
5
|
import com.bitmovin.analytics.api.CustomData
|
|
6
6
|
import com.bitmovin.analytics.api.DefaultMetadata
|
|
7
7
|
import com.bitmovin.analytics.api.SourceMetadata
|
|
8
|
+
import com.bitmovin.player.api.BandwidthMeterType
|
|
8
9
|
import com.bitmovin.player.api.DeviceDescription.DeviceName
|
|
9
10
|
import com.bitmovin.player.api.ForceReuseVideoCodecReason
|
|
10
11
|
import com.bitmovin.player.api.PlaybackConfig
|
|
@@ -184,7 +185,11 @@ private fun String.toForceReuseVideoCodecReason(): ForceReuseVideoCodecReason? =
|
|
|
184
185
|
*/
|
|
185
186
|
fun ReadableMap.toTweaksConfig(): TweaksConfig = TweaksConfig().apply {
|
|
186
187
|
withDouble("timeChangedInterval") { timeChangedInterval = it }
|
|
187
|
-
withInt("bandwidthEstimateWeightLimit") {
|
|
188
|
+
withInt("bandwidthEstimateWeightLimit") {
|
|
189
|
+
bandwidthMeterType = BandwidthMeterType.Default(
|
|
190
|
+
bandwidthEstimateWeightLimit = it,
|
|
191
|
+
)
|
|
192
|
+
}
|
|
188
193
|
withMap("devicesThatRequireSurfaceWorkaround") { devices ->
|
|
189
194
|
val deviceNames = devices.withStringArray("deviceNames") {
|
|
190
195
|
it.filterNotNull().map(::DeviceName)
|
package/ios/Event+JSON.swift
CHANGED
|
@@ -28,11 +28,11 @@ extension NSError: JsonConvertible {
|
|
|
28
28
|
|
|
29
29
|
extension DeficiencyData: JsonConvertible {
|
|
30
30
|
func toJSON() -> [AnyHashable: Any] {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
[
|
|
32
|
+
"code": code,
|
|
33
|
+
"message": message,
|
|
34
|
+
"underlyingError": underlyingError.toJSON()
|
|
35
|
+
]
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|