Skip to content

Commit

Permalink
Merge pull request #516 from bitmovin/release/v0.29.0
Browse files Browse the repository at this point in the history
Release 0.29.0
  • Loading branch information
strangesource authored Sep 9, 2024
2 parents b159d91 + 9314096 commit 6bc239c
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 30 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.29.0]

### Added

- Android: `AdaptationConfig.initialBandwidthEstimateOverride` to override the selection of the optimal media tracks before actual bandwidth data is available

### Changed

- Update Bitmovin's native Android SDK version to `3.82.0`
- Update Bitmovin's native iOS SDK version to `3.71.0`
- Update IMA SDK dependency on Android to `3.33.0`

### Changed

## [0.28.0] - 2024-08-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion RNBitmovinPlayer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|

s.swift_version = "5.10"
s.dependency "React-Core"
s.dependency "BitmovinPlayer", "3.67.0"
s.dependency "BitmovinPlayer", "3.71.0"
s.ios.dependency "GoogleAds-IMA-iOS-SDK", "3.23.0"
s.tvos.dependency "GoogleAds-IMA-tvOS-SDK", "4.13.0"
end
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ dependencies {
implementation "androidx.concurrent:concurrent-futures-ktx:1.1.0"

// Bitmovin
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.31.0'
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.33.0'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
implementation 'com.bitmovin.player:player:3.78.0+jason'
implementation 'com.bitmovin.player:player:3.82.0+jason'
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ private fun String.toTimelineReferencePoint(): TimelineReferencePoint? = when (t
*/
private fun ReadableMap.toAdaptationConfig(): AdaptationConfig = AdaptationConfig().apply {
withInt("maxSelectableBitrate") { maxSelectableVideoBitrate = it }
withInt("initialBandwidthEstimateOverride") { initialBandwidthEstimateOverride = it.toLong(); }
}

/**
Expand Down
22 changes: 11 additions & 11 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PODS:
- BitmovinAnalyticsCollector/BitmovinPlayer (3.7.0):
- BitmovinAnalyticsCollector/BitmovinPlayer (3.8.0):
- BitmovinAnalyticsCollector/Core
- BitmovinPlayerCore (~> 3.48)
- BitmovinAnalyticsCollector/Core (3.7.0)
- BitmovinPlayer (3.67.0):
- BitmovinAnalyticsCollector/Core (3.8.0)
- BitmovinPlayer (3.71.0):
- BitmovinAnalyticsCollector/BitmovinPlayer (~> 3.0)
- BitmovinPlayerCore (= 3.67.0)
- BitmovinPlayerCore (3.67.0)
- BitmovinPlayerCore (= 3.71.0)
- BitmovinPlayerCore (3.71.0)
- boost (1.83.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.73.4-0)
Expand Down Expand Up @@ -1048,8 +1048,8 @@ PODS:
- React-jsi (= 0.73.4-0)
- React-logger (= 0.73.4-0)
- React-perflogger (= 0.73.4-0)
- RNBitmovinPlayer (0.28.0):
- BitmovinPlayer (= 3.67.0)
- RNBitmovinPlayer (0.29.0):
- BitmovinPlayer (= 3.71.0)
- GoogleAds-IMA-iOS-SDK (= 3.23.0)
- GoogleAds-IMA-tvOS-SDK (= 4.13.0)
- React-Core
Expand Down Expand Up @@ -1245,9 +1245,9 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
BitmovinAnalyticsCollector: bbd82c0b8e11aefacd8e53b6e40c62f2cba6f3f5
BitmovinPlayer: 48ee17de9e0bbd310d874112bab92cb78f5e1cbf
BitmovinPlayerCore: da464f49a91a1308519a7187088822e33f1d057b
BitmovinAnalyticsCollector: 1390e34dd1af4a0b9fe09e290510de648eec4c09
BitmovinPlayer: fa8d008541dfc63e974187a4f88dafcc8c62e927
BitmovinPlayerCore: 40e6e74a437e12adbaae10cbd59dc47454edf507
boost: 88202336c3ba1e7a264a83c0c888784b0f360c28
DoubleConversion: 74cb0ce4de271b23e772567504735c87134edf0a
FBLazyVector: 33a271a7e8de0bd321e47356d8bc3b2d5fb9ddba
Expand Down Expand Up @@ -1302,7 +1302,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: 20b2202e3396589a71069d12ae9f328949c7c7b8
React-utils: 0307d396f233e47a167b5aaf045b0e4e1dc19d74
ReactCommon: 17891ca337bfa5a7263649b09f27a8c664537bf2
RNBitmovinPlayer: ae4f785479c566a71bf03d84bde7ec139eb22eaa
RNBitmovinPlayer: f7ddd96ad231988fe728edef4d2bd0a8f99a5769
RNCPicker: b18aaf30df596e9b1738e7c1f9ee55402a229dca
RNScreens: b582cb834dc4133307562e930e8fa914b8c04ef2
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Expand Down
6 changes: 3 additions & 3 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2473,9 +2473,9 @@ fast-deep-equal@^3.1.3:
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==

fast-xml-parser@^4.0.12, fast-xml-parser@^4.2.4:
version "4.4.0"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.0.tgz#341cc98de71e9ba9e651a67f41f1752d1441a501"
integrity sha512-kLY3jFlwIYwBNDojclKsNAC12sfD6NwW74QB2CoNGPvtVxjliYehVunB3HYyNi+n4Tt1dAcgwYvmKF/Z18flqg==
version "4.4.1"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f"
integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==
dependencies:
strnum "^1.0.5"

Expand Down
22 changes: 11 additions & 11 deletions integration_test/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PODS:
- BitmovinAnalyticsCollector/BitmovinPlayer (3.7.0):
- BitmovinAnalyticsCollector/BitmovinPlayer (3.8.0):
- BitmovinAnalyticsCollector/Core
- BitmovinPlayerCore (~> 3.48)
- BitmovinAnalyticsCollector/Core (3.7.0)
- BitmovinPlayer (3.67.0):
- BitmovinAnalyticsCollector/Core (3.8.0)
- BitmovinPlayer (3.71.0):
- BitmovinAnalyticsCollector/BitmovinPlayer (~> 3.0)
- BitmovinPlayerCore (= 3.67.0)
- BitmovinPlayerCore (3.67.0)
- BitmovinPlayerCore (= 3.71.0)
- BitmovinPlayerCore (3.71.0)
- boost (1.83.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.73.4-0)
Expand Down Expand Up @@ -1040,8 +1040,8 @@ PODS:
- React-jsi (= 0.73.4-0)
- React-logger (= 0.73.4-0)
- React-perflogger (= 0.73.4-0)
- RNBitmovinPlayer (0.28.0):
- BitmovinPlayer (= 3.67.0)
- RNBitmovinPlayer (0.29.0):
- BitmovinPlayer (= 3.71.0)
- GoogleAds-IMA-iOS-SDK (= 3.23.0)
- GoogleAds-IMA-tvOS-SDK (= 4.13.0)
- React-Core
Expand Down Expand Up @@ -1215,9 +1215,9 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
BitmovinAnalyticsCollector: bbd82c0b8e11aefacd8e53b6e40c62f2cba6f3f5
BitmovinPlayer: 48ee17de9e0bbd310d874112bab92cb78f5e1cbf
BitmovinPlayerCore: da464f49a91a1308519a7187088822e33f1d057b
BitmovinAnalyticsCollector: 1390e34dd1af4a0b9fe09e290510de648eec4c09
BitmovinPlayer: fa8d008541dfc63e974187a4f88dafcc8c62e927
BitmovinPlayerCore: 40e6e74a437e12adbaae10cbd59dc47454edf507
boost: 88202336c3ba1e7a264a83c0c888784b0f360c28
DoubleConversion: 74cb0ce4de271b23e772567504735c87134edf0a
FBLazyVector: 33a271a7e8de0bd321e47356d8bc3b2d5fb9ddba
Expand Down Expand Up @@ -1267,7 +1267,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: 20b2202e3396589a71069d12ae9f328949c7c7b8
React-utils: 0307d396f233e47a167b5aaf045b0e4e1dc19d74
ReactCommon: 17891ca337bfa5a7263649b09f27a8c664537bf2
RNBitmovinPlayer: ae4f785479c566a71bf03d84bde7ec139eb22eaa
RNBitmovinPlayer: f7ddd96ad231988fe728edef4d2bd0a8f99a5769
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Yoga: ab50eb8f7fcf1b36aad1801b5687b66b2c0aa000

Expand Down
3 changes: 2 additions & 1 deletion integration_test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"cavy-cli": "^3.0.0",
"patch-package": "^8.0.0",
"pod-install": "^0.1.39",
"react-native-uuid": "^2.0.1"
"react-native-uuid": "^2.0.1",
"fast-xml-parser": "4.4.1"
},
"engines": {
"node": ">=18"
Expand Down
7 changes: 7 additions & 0 deletions integration_test/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,13 @@ execa@^5.0.0, execa@^5.1.1:
signal-exit "^3.0.3"
strip-final-newline "^2.0.0"

[email protected]:
version "4.4.1"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f"
integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==
dependencies:
strnum "^1.0.5"

fast-xml-parser@^4.0.12, fast-xml-parser@^4.2.4:
version "4.4.0"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.0.tgz#341cc98de71e9ba9e651a67f41f1752d1441a501"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitmovin-player-react-native",
"version": "0.28.0",
"version": "0.29.0",
"description": "Official React Native bindings for Bitmovin's mobile Player SDKs.",
"main": "lib/index.js",
"module": "lib/index.mjs",
Expand Down
8 changes: 8 additions & 0 deletions src/adaptationConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ export interface AdaptationConfig {
* Can be set to `undefined` for no limitation.
*/
maxSelectableBitrate?: number;

/**
* The initial bandwidth estimate in bits per second the player uses to select the optimal media tracks before actual bandwidth data is available. Overriding this value should only be done in specific cases and will most of the time not result in better selection logic.
*
* @platform Android
* @see https://cdn.bitmovin.com/player/android/3/docs/player-core/com.bitmovin.player.api.media/-adaptation-config/initial-bandwidth-estimate-override.html
*/
initialBandwidthEstimateOverride?: number;
}

0 comments on commit 6bc239c

Please sign in to comment.