-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance iOS media playback and initialization
- Import new dependencies in `MediaPlayerController.kt` for iOS platform interaction. - Introduce playback management and observation enhancements in MediaPlayerController, including periodic time checks and end-of-time notifications. - Remove options map related to `cookie` and replace it with `null` in media asset configuration. - Integrate playback duration calculations into media preparation method. - Add new function `startObserving` to handle video playback progress and completion actions. - Add coroutine dispatch context `Dispatchers.IO` in `Platform.ios.kt`. - Remove cookie parameter and usage from `VideoPlayer` function and related initialization in iOS platform. - Enhance media player controller initialization by starting video progress observation immediately after media preparation. Signed-off-by: jnelle <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters