doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.2k stars 984 forks source link

Played duration/progress for .m3u8 files (streams) in notification center and lock screen not working on Android. #2133

Closed FranzVDB closed 10 months ago

FranzVDB commented 10 months ago

Describe the Bug The progress of the stream is not shown on the notification/lockscreen/media center.

Should show time played out of full duration, but just shows a gray line.

Steps To Reproduce

Code To Reproduce Example App

Replicable on Example App? Yes

Environment Info: System: OS: macOS 13.5.2 CPU: (12) arm64 Apple M2 Pro Memory: 71.80 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.5.1 - /usr/local/bin/npm Watchman: 2023.05.22.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 Android SDK: Not Found IDEs: Android Studio: 2022.2 AI-222.4459.24.2221.10121639 Xcode: 15.0/15A240d - /usr/bin/xcodebuild Languages: Java: 11.0.19 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.7 => 0.71.7 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Found on real device: Samsung galaxy S10 - Android 12

dcvz commented 10 months ago

Will be fixed by https://github.com/doublesymmetry/KotlinAudio/pull/93 in the next RC