You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use it in combination with Jetpack Compose Multiplatform on the desktop side. I'm facing a problem with the length (duration) of streams. For some streams, the length returned by lengthChanged(mediaPlayer: MediaPlayer, newLength: Long) is 0, and the same issue occurs with val duration = mediaPlayer.media().info().duration(), even if it is called after the stream has started to play.
For info , on android side , i'm able to get the correct duration with exoplayer
The text was updated successfully, but these errors were encountered:
Indeed, when using VLC Player, the duration is not displayed, but interestingly, the progress bar works for tracking the advancement and allows jumping directly to a specific position in the video.
caprica
changed the title
for some strream lenght returned stay at 0
for some strream length returned stay at 0
May 18, 2024
Hello,
Thanks for your library.
I use it in combination with Jetpack Compose Multiplatform on the desktop side. I'm facing a problem with the length (duration) of streams. For some streams, the length returned by lengthChanged(mediaPlayer: MediaPlayer, newLength: Long) is 0, and the same issue occurs with val duration = mediaPlayer.media().info().duration(), even if it is called after the stream has started to play.
For info , on android side , i'm able to get the correct duration with exoplayer
The text was updated successfully, but these errors were encountered: