bitmovin-player-react-native 0.43.0 → 0.44.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.
@@ -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.92.0"
23
+ s.dependency "BitmovinPlayer", "3.93.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
@@ -105,6 +105,6 @@ dependencies {
105
105
  // Bitmovin
106
106
  implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.35.1'
107
107
  implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
108
- implementation 'com.bitmovin.player:player:3.115.0+jason'
109
- implementation 'com.bitmovin.player:player-media-session:3.115.0+jason'
108
+ implementation 'com.bitmovin.player:player:3.118.0+jason'
109
+ implementation 'com.bitmovin.player:player-media-session:3.118.0+jason'
110
110
  }
@@ -206,7 +206,6 @@ fun ReadableMap.toTweaksConfig(): TweaksConfig = TweaksConfig().apply {
206
206
  }
207
207
  withBoolean("languagePropertyNormalization") { languagePropertyNormalization = it }
208
208
  withDouble("localDynamicDashWindowUpdateInterval") { localDynamicDashWindowUpdateInterval = it }
209
- withBoolean("shouldApplyTtmlRegionWorkaround") { shouldApplyTtmlRegionWorkaround = it }
210
209
  withBoolean("useDrmSessionForClearPeriods") { useDrmSessionForClearPeriods = it }
211
210
  withBoolean("useDrmSessionForClearSources") { useDrmSessionForClearSources = it }
212
211
  withBoolean("useFiletypeExtractorFallbackForHls") { useFiletypeExtractorFallbackForHls = it }
@@ -272,7 +271,7 @@ fun ReadableMap.toSourceConfig(): SourceConfig? {
272
271
  withBoolean("isPosterPersistent") { isPosterPersistent = it }
273
272
  withArray("subtitleTracks") { subtitleTracks ->
274
273
  for (i in 0 until subtitleTracks.size()) {
275
- subtitleTracks.getMap(i).toSubtitleTrack()?.let {
274
+ subtitleTracks.getMap(i)?.toSubtitleTrack()?.let {
276
275
  addSubtitleTrack(it)
277
276
  }
278
277
  }
@@ -990,7 +989,7 @@ fun ReadableArray.toMediaCodecInfoList(): List<MediaCodecInfo> {
990
989
  }
991
990
  val mediaCodecInfoList = mutableListOf<MediaCodecInfo>()
992
991
  (0 until size()).forEach {
993
- val info = getMap(it).toMediaCodecInfo() ?: return@forEach
992
+ val info = getMap(it)?.toMediaCodecInfo() ?: return@forEach
994
993
  mediaCodecInfoList.add(info)
995
994
  }
996
995
  return mediaCodecInfoList
package/lib/index.d.mts CHANGED
@@ -3025,13 +3025,6 @@ interface TweaksConfig {
3025
3025
  * @platform Android
3026
3026
  */
3027
3027
  localDynamicDashWindowUpdateInterval?: number;
3028
- /**
3029
- * Specifies whether default positioning values should be assumed when parsing TTML regions in case of
3030
- * unsupported TTML features. Default is true
3031
- *
3032
- * @platform Android
3033
- */
3034
- shouldApplyTtmlRegionWorkaround?: boolean;
3035
3028
  /**
3036
3029
  * Specifies whether a DRM session should be used for clear tracks of type video and audio. Using
3037
3030
  * DRM sessions for clear content avoids the recreation of decoders when transitioning between clear
package/lib/index.d.ts CHANGED
@@ -3025,13 +3025,6 @@ interface TweaksConfig {
3025
3025
  * @platform Android
3026
3026
  */
3027
3027
  localDynamicDashWindowUpdateInterval?: number;
3028
- /**
3029
- * Specifies whether default positioning values should be assumed when parsing TTML regions in case of
3030
- * unsupported TTML features. Default is true
3031
- *
3032
- * @platform Android
3033
- */
3034
- shouldApplyTtmlRegionWorkaround?: boolean;
3035
3028
  /**
3036
3029
  * Specifies whether a DRM session should be used for clear tracks of type video and audio. Using
3037
3030
  * DRM sessions for clear content avoids the recreation of decoders when transitioning between clear
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitmovin-player-react-native",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "description": "Official React Native bindings for Bitmovin's mobile Player SDKs.",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
@@ -142,13 +142,6 @@ export interface TweaksConfig {
142
142
  * @platform Android
143
143
  */
144
144
  localDynamicDashWindowUpdateInterval?: number;
145
- /**
146
- * Specifies whether default positioning values should be assumed when parsing TTML regions in case of
147
- * unsupported TTML features. Default is true
148
- *
149
- * @platform Android
150
- */
151
- shouldApplyTtmlRegionWorkaround?: boolean;
152
145
  /**
153
146
  * Specifies whether a DRM session should be used for clear tracks of type video and audio. Using
154
147
  * DRM sessions for clear content avoids the recreation of decoders when transitioning between clear