This release corresponds to the 2.0.22
- Added
onAccessTokenExpired
callback inTPStreamPlayerListener
. - Fixed issue where the download button did not appear for completed livestreams.
- Improved error messages to be more user-friendly.
- Resolved crash issue related to renewing offline DRM licenses.
- Added an option to set the offline license expiration time when building
TpInitParams
. - Code optimization and refactoring.
This release corresponds to the 2.0.21
- Added validation to ensure
videoId
andaccessToken
are neither null nor empty. - Fixed a NullPointerException that occurred when updating the download button image.
- Introduced an API to start downloads in
TpStreamDownloadManager
. - Displayed appropriate notice messages according to the livestream status.
- Optimized and refactored code.
This release corresponds to the 2.0.20
- Added permission for foregroundServiceType in the manifest.
- Added validation for
TpInitParams
before playing downloaded videos. - Code optimization and refactoring.
This release corresponds to the 2.0.19
- Updated the compile and target SDK versions to 33.
- Fixed order changing issue in downloaded assets.
- Added option to store metadata with the download asset.
- Added folderTree field in Asset model to fetch the video folder path.
- Code optimization and refactoring.
This release corresponds to the 2.0.18
- Added
getDownloadAsset()
method inTpStreamDownloadManager
to fetch a single download asset. - Added
showFullscreenButton()
andhideFullscreenButton()
methods in TPStreamPlayerView. - Code optimisation and refactoring.
This release corresponds to the 2.0.17b
- Moved
com.tpstream.player.enum.PlaybackError
tocom.tpstream.player.constants.PlaybackError
. - Removed deprecated
onMetadata()
method fromTPStreamPlayerListener
. - Removed deprecated
onPlayerErrorChanged()
method fromTPStreamPlayerListener
. - Added subtitle support.
This release corresponds to the 2.0.16b
- Added
setPreferredExitFullscreenOrientation
to specify preferred orientation upon exiting fullscreen mode.
This release corresponds to the 2.0.15b
- Introduced support for Livestream.
- Introduced a new Asset class and incorporated the existing Video class as an attribute within the Asset.
- Download callbacks will take the Asset object as an argument instead of a Video.
- Conducted code optimization, refactoring, and miscellaneous bug fixes.
This release corresponds to the 2.0.14b
- Fix resolution not listing in advance resolution sheet
This release corresponds to the 2.0.13b
- Add consumer rules to avoid removal of essential libraries.
This release corresponds to the 2.0.12b
- Add
getPlayWhenReady()
andsetPlayWhenReady()
inTpStreamsPlayer
. - Add deprecated
onMetadata()
inTPStreamPlayerListener
. - Add deprecated
onPlayerErrorChanged()
inTPStreamPlayerListener
.
This release corresponds to the 2.0.11b
- Fix Fragment Attachment Check in
onPlaybackError()
.
This release corresponds to the 2.0.10b
- Fix Error message displayed when player is loading.
- Changed user-friendly error messages on player errors.
This release corresponds to the 2.0.9b
- Add
showErrorMessage()
inTPStreamPlayerView
to show the custom error message on the player view.
This release corresponds to the 2.0.8b
- Add
getPlayBackSpeed()
inTpStreamsPlayer
. - Resolve WindowLeaked exception in
TpStreamPlayerFragment
.
This release corresponds to the 2.0.7b
- Fix App not responding after the video buffer end when device has no Internet connection.
This release corresponds to the 2.0.6b
- Code optimisation and refactoring.
This release corresponds to the 2.0.5b
- Add
getMaxResolution()
andsetMaxResolution()
inTpStreamsPlayer
to restrict the maximum playback resolution. - Fix Playback speed button UI in
TPStreamPlayerView
.
This release corresponds to the 2.0.4b
- Add
setMaxVideoSize()
inTpStreamsPlayer
to restrict the playback video size
This release corresponds to the 2.0.3b
- Add support to change seek bar color in
TPStreamPlayerView
. - Move
TpStreamsPlayer.TPStreamPlayerListener
toTPStreamPlayerListener
- Add new
PlaybackError
. - Add
onPlayerError(playbackError: PlaybackError)
as a replacement foronPlayerError(error: PlaybackException)
. - Code optimisation and refactoring.
This release corresponds to the 2.0.2b
- Add
showFullScreen()
andexitFullScreen()
APIs in theTpStreamPlayerFragment
to programmatically control fullscreen mode. - Add
onFullScreenChanged()
callback event inTPStreamPlayerListener
. - Add sentry error log with playerId tag.
- Add option set custom time for seek forward and seek backward.
- Code optimisation and refactoring.
This release corresponds to the 2.0.1b
- Upgraded media3 dependency to 1.1.1.
- Code optimisation and refactoring.
- Add new
TPStreamsSDK
. - Remove
orgCode
param inTpInitParams
. - Code optimisation and refactoring.
- Add
TpStreamPlayer.load()
as a replacement forTpStreamPlayerFragment.load()
. The load method in fragment will be deprecated in the next release. - Added
play()
andpause()
APIs in theTpStreamsPlayer
to programmatically control the playback. - Add new
TPStreamPlayerView
. - Add support to Enable and Disable seekBar in
TPStreamPlayerView
. - Add support to show and hide fast forward button and rewind button in
TPStreamPlayerView
. - Fix Night theme in Resolution selection sheet and Download selection sheet.
- Fix duplicate resolution names in Resolution selection sheet.
- Upgraded media3 dependency to 1.0.2.
- Add Marker support in
TPStreamPlayerView
. - Move
com.tpstream.player.TpStreamPlayerFragment
tocom.tpstream.player.ui.TpStreamPlayerFragment
. - Move
com.tpstream.player.models.Video
tocom.tpstream.player.data.Video
. - Move
com.tpstream.player.TpStreamDownloadManager
tocom.tpstream.player.offline.TpStreamDownloadManager
. - Move
com.tpstream.player.models.DownloadStatus
tocom.tpstream.player.data.source.local.DownloadStatus
. - Move
com.tpstream.player.InitializationListener
tocom.tpstream.player.ui.InitializationListener
. - Code optimisation and refactoring.
- Remove playerFragment.playbackStateListener. Use player.setListener(TPStreamPlayerListener) instead.
- Rename TPPlayerListener to TPStreamPlayerListener.
- Rename OfflineVideoState to DownloadStatus.
- Rename OfflineVideoInfo to Video.
- Code optimisation and refactoring.
- Fix stop background music when the video starts playing.
- Fix app crash when turning off the internet while downloading video.
- Refactor.
- Add sentry error logs.
- Misc bug fixes.
- Refactor.
- Fix not able to replace expired DRM license key.
- Fix not able to download single track in non-DRM videos.
- Fix AES encrypted video not downloading.
- Fix not able to download AES encrypted video.
- Fix video not playing after minimize and reopening the app.
- Fix non-DRM video is not getting downloaded.
- Refactor.
- Misc bug fixes.
- Added Event Listener to player.
- Misc bug fixes.
- Added support for AES encrypted video.
- Added support to change resolution for video.
- Added support to full screen.
- No notes provided.