Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v3.0.2 #214

Merged
merged 8 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.0.2] - 23-10-17

### Fixed

- Fixed an issue on Android where compilation would fail when depending on player SDK 6.2.0.

## [3.0.1] - 23-10-12

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class QualityListAdapter<Q : Quality> : QualityList<Q> {
return qualities.size
}

override fun getItem(i: Int): Q? {
return if (i >= 0 && i < length()) qualities[i] else null
override fun getItem(i: Int): Q {
return qualities[i]
}

override fun iterator(): MutableIterator<Q?> {
Expand Down
17 changes: 12 additions & 5 deletions doc/features.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions doc/media_caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The process of caching a media asset involves several steps to enable offline pl
It starts with the creation and initiation of a CachingTask, which downloads the media content for local storage.
Once cached, the asset can be played offline seamlessly.

The Media Cache feature is accessible on all platforms except for tvOS.

This page is structured as follows:

- [Caching Workflow](#caching-workflow)
Expand Down
31 changes: 31 additions & 0 deletions example/src/custom/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,37 @@
}
}
},
{
"name": "HLS - CSAI - Google IMA VMAP",
"os": [
"ios",
"web"
],
"source": {
"sources": [
{
"src": "https://cdn.theoplayer.com/video/elephants-dream/playlistCorrectionENG.m3u8",
"type": "application/x-mpegurl"
}
],
"ads": [
{
"integration": "google-ima",
"sources": {
"src": "https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostpodbumper&cmsid=496&vid=short_onecue&correlator="
}
}
],
"poster": "https://theoplayer-cdn.s3.eu-west-1.amazonaws.com/react-native-theoplayer/temp/THEOPlayer-1200x1200.png",
"metadata": {
"title": "Elephants Dream with VMAP",
"subtitle": "Elephants Dream with VMAP Subtitle",
"album": "Ellies Album",
"displayIconUri": "https://theoplayer-cdn.s3.eu-west-1.amazonaws.com/react-native-theoplayer/temp/THEOPlayer-200x200.png",
"artist": "Ellie"
}
}
},
{
"name": "DASH - SSAI - Google DAI",
"os": [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-theoplayer",
"version": "3.0.1",
"version": "3.0.2",
"description": "A THEOplayer video component for react-native.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down