Getting Started
To use our Flutter player SDK, add tpstreamsplayersdk as a dependency in your pubspec.yaml file.
Player Methods
The TPStreamsPlayerController provides several methods to control video playback and manage player states. Below is the detailed explanation of each method:
Player Events
You can listen to various events related to the player's state through the TPStreamsPlayerController. By adding a listener, you can track changes in the player's properties such as whether the video is playing, the current position, buffering state, and more.
Watermarks
Display one or more text and image watermarks over video playback by passing BaseWatermarkConfig entries (TextWatermarkConfig and ImageWatermarkConfig) to TPStreamsPlayerController.setWatermarks(). Watermarks render above the video content and adjust automatically on screen resize, orientation changes, and fullscreen mode. Pass an empty list or call clearWatermarks() to remove all watermarks.
Downloads
The Flutter TPStreams SDK provides comprehensive download functionality for offline video playback. This includes initiating downloads, managing ongoing tasks, and tracking progress through streams.
Changelog
Real-time release history and updates for the TPStreams Flutter Player SDK.