tpstreams_player_sdk
TPStreams Player SDK makes it easy to play our DRM-protected and non-DRM content.
2.2.32
2.5K downloads/mo
#4960 most downloaded on pub.dev
What this package is like to depend on
Last release 4 days ago
20 Aug 2026
Ships fairly regularly
a new release about every 2 weeks
Most releases are documented
notes for 45 of 56 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
64 releases · first in 2023
38 releases in the last 12 months
see the full history below
Release timeline
64 releases · Jul 2023 to Aug 2026Releases
latest 60 of 64-
2.2.3220 Aug 2026Release notes
Open source →Android
- Upgraded TPStreamsAndroidPlayer to 1.2.8.
- Bridged
allowFallbackToL3parameter: enables automatic fallback to software decryption when hardware-secured DRM decryption fails, preventing complete playback failure on unsupported devices. - Watermarks now render within the video content area instead of the full player view.
- Live streams now continue playback when the live feed ends before the VOD recording is ready.
- HTTP 401/403/404 errors from media CDN are correctly classified instead of being treated as network failures.
iOS
- Upgraded TPStreamsSDK to 1.2.40.
- Watermarks now anchor to the video content rect instead of the full player view.
- Live video playback now works while transcoding is in progress.
-
2.2.3118 Aug 2026Release notes
Open source →iOS
- Fixed an issue where audio continued playing after the Flutter widget was disposed due to retain cycles in Pigeon channel handlers (#57).
- Added weak-reference proxies and explicit channel/delegate cleanup to ensure proper deallocation during disposal and teardown.
-
2.2.3013 Aug 2026Release notes
Open source →iOS
- Added watermark support on iOS:
setWatermarksandclearWatermarksnow apply a player config instead of being ignored (#55). - The player config is now always built and applied consistently across player initialization and watermark updates (#55).
- Upgraded TPStreamsSDK to 1.2.39 in the podspec and Package.swift.
- Added watermark support on iOS:
-
2.2.2907 Aug 2026Release notes
Open source →- Added auto-resume support: playback now restores to the last watched position for signed-in viewers on both platforms.
TPStreamPlayernow accepts auserIdparameter to identify the viewer.
- Upgraded iOS Player SDK to 1.2.38 and Android Player SDK to 1.2.7.
- Added auto-resume support: playback now restores to the last watched position for signed-in viewers on both platforms.
-
2.2.2804 Aug 2026Release notes
Open source →iOS
- Use a per-player AVContentKeySession for offline DRM, ensuring expired licenses are validated on every playback instead of being bypassed by cached content keys from a shared session (#153)
- Migrate RealmSwift from 10.54.2 to 20.0.4 (#154)
- Make offline asset deletion thread-safe by carrying only plain asset and content ids across threads, and running encryption-key cleanup on the content key delegate queue (#155)
Android
- Upgrade
androidx.media3from 1.7.1 to 1.8.1, the last release line that supports minSdk 21 (1.9+ raises the minimum to 23) (#117) - 1.8.1 includes playback fixes: VP9 Widevine playback on some devices, an extended detached-surface workaround for Lenovo/Motorola/realme devices, Bluetooth A/V sync after pause-resume, and several DASH/HLS fixes
- Adapt download preparation to the updated
DownloadHelper.Callback.onPreparedcallback signature in 1.8.0 (#117)
-
2.2.2729 Jul 2026Release notes
Open source →- Added
resolutionparameter toTPStreamPlayerto set the initial playback quality for online videos on Android and iOS. - Updated iOS Player SDK to 1.2.35.
- Added
-
2.2.2624 Jul 2026Release notes
Open source →- Upgraded Android Player SDK to 1.2.4 for improved stability and performance.
- Added
setWatermarksandclearWatermarksAPIs to display text watermark overlays on video with configurable positioning, styling, opacity, and animation.
-
2.2.2520 Jul 2026Release notes
Open source →- Upgraded Android Player SDK to 1.2.3 for improved stability and performance.
- Fixed an issue where setting maximum video resolution would fail silently on Android.
-
2.2.2430 Jun 2026Release notes
Open source →- Migrated iOS dependency management from CocoaPods to Swift Package Manager (SPM) for faster and more reliable builds.
- Updated iOS Player SDK to 1.2.34 with fixes for CocoaPods resource loading, initialization handling, and invalid playback URL reporting.
-
2.2.2308 Jun 2026Release notes
Open source →- Added totalSize and downloadedSize to DownloadAsset to support download progress calculation.
- Added thumbnailUrl to DownloadAsset to support displaying asset thumbnails.
-
2.2.2212 May 2026Release notes
Open source →- Fix layout gaps and rotation issues by removing the internal SafeArea handling
- Add public API to control auto fullscreen on device rotation
-
2.2.2111 May 2026Release notes
Open source →- Update TPStreams Android Player to 1.1.16 for improved fullscreen playback stability.
-
2.2.2008 May 2026Release notes
Open source →- Fixed an issue on iOS where the onPlayerCreated callback was not triggered for offline playback when currentItem was initialized before KVO observer registration.
-
2.2.1930 Apr 2026Release notes
Open source →- Added support for pre-selected resolution in
startDownloadto skip the quality picker. - Updated Android native SDK dependency to 1.1.14.
- Added support for pre-selected resolution in
-
2.2.1828 Apr 2026Release notes
Open source →- Added global JWT-based authentication to simplify integration for Testpress users.
- Kept playback and download APIs backward compatible while safely handling optional authentication parameters.
-
2.2.1727 Apr 2026Release notes
Open source →- Added the missing Start Download API implementation on iOS.
- Fixed an audio leak issue occurring after player disposal on iOS.
-
2.2.17-beta.218 Apr 2026 pre-releaseNothing published for this version
-
2.2.17-beta.118 Apr 2026 pre-releaseNothing published for this version
-
2.2.1617 Apr 2026Release notes
Open source →Features
- Revamped player UI for improved usability and visual consistency.
Bug Fixes
- Bug fixes and code optimization.
-
2.2.16-beta.313 Apr 2026 pre-releaseRelease notes
Open source →Features
- Restored multi-provider support for TPStreams and Testpress backends in Android.
- Updated Android native SDK dependency to v1.1.12.
-
2.2.16-beta.203 Apr 2026 pre-release -
2.2.16-beta.103 Apr 2026 pre-releaseRelease notes
Open source →Improvements
- Revamped player UI for improved usability and visual consistency
Breaking Changes
- Removed
Testpressprovider support from SDK initialization.
-
2.2.1502 Apr 2026Release notes
Open source →- Updated iOS SDK dependency to 1.2.29
- Added support for DRM-protected live stream playback on iOS
-
2.2.1420 Mar 2026Release notes
Open source →- Added
enterFullScreen()andexitFullScreen()APIs for programmatic fullscreen control. - Updated iOS SDK dependency version.
- Added
-
2.2.1319 Feb 2026Release notes
Open source →- Added
setMaxResolutionAPI to cap video playback resolution in Android. - Fixed iOS crash occurring on multiple player dispose calls.
- Updated Android SDK dependency version.
- Added
-
2.2.13-debug-127 Feb 2026 pre-releaseNothing published for this version
-
2.2.13-beta.226 Feb 2026 pre-releaseNothing published for this version
-
2.2.13-beta.125 Feb 2026 pre-releaseNothing published for this version
-
2.2.1218 Feb 2026Release notes
Open source →- Added
onReplaycallback to listen for replay button clicks. - Added support for configurable auto-play.
- Updated Android and iOS player SDK versions.
- Added
-
2.2.1103 Feb 2026 -
2.2.1029 Jan 2026Release notes
Open source →- Added
onAccessTokenExpiredcallback to support seamless token refreshing in Android.
- Added
-
2.2.929 Jan 2026Release notes
Open source →- Added
onBeforeFullScreenEnterandonBeforeFullScreenExitcallbacks to allow apps to respond before fullscreen transitions occur - Updated Android SDK dependency version
- Added
-
2.2.822 Jan 2026Release notes
Open source →- Added support for launching player in fullscreen and (dependency)iOSPlayerSDK version update
-
2.2.717 Dec 2025 -
2.2.611 Dec 2025 -
2.2.528 Oct 2025Release notes
Open source →- Updated
compileSdkVersionto 34 for improved compatibility with newer Android Gradle Plugin versions.
- Updated
-
2.2.407 Oct 2025Release notes
Open source →- Integrated Android Player SDK v3.1.8 for enhanced playback performance and stability.
-
2.2.311 Sep 2025 -
2.2.225 Aug 2025Nothing published for this version
-
2.2.102 Jul 2025 -
2.2.013 May 2025Nothing published for this version
-
2.1.925 Apr 2025 -
2.1.806 Mar 2025 -
2.1.731 Jan 2025 -
2.1.609 Jan 2025Release notes
Open source →- Added Offline Download support with APIs to start, pause, resume, cancel and delete downloads.
- Bug fixes and code optimization.
-
2.1.504 Dec 2024 -
2.1.408 Nov 2024 -
2.1.319 Sep 2024 -
2.1.219 Jul 2024Nothing published for this version
-
2.1.118 Jul 2024 -
2.1.017 May 2024 -
2.0.926 Feb 2024 -
2.0.801 Feb 2024Nothing published for this version
-
2.0.708 Jan 2024 -
2.0.606 Jan 2024 -
2.0.502 Jan 2024Release notes
Open source →Features
-
Enhanced control over video playback with new APIs:
- Play, pause, stop, and seek video playback programmatically.
- Enables seamless integration of custom controls and gestures.
-
Added support for listeners to monitor player state changes:
- Register callbacks for real-time updates on playing, paused, buffering, etc.
- Facilitates improved integration with the application's UI.
-
-
2.0.430 Dec 2023Nothing published for this version
-
2.0.321 Nov 2023Nothing published for this version
-
2.0.203 Nov 2023Nothing published for this version
-
2.0.103 Nov 2023Nothing published for this version