这是indexloc提供的服务,不要输入任何密码
Skip to content

java.lang.IllegalArgumentException: Out of range: 4972007364548 #2750

@360060316

Description

@360060316

Version

Media3 1.8.0

More version details

No response

Devices that reproduce the issue

xiaomi 11p、Hisense VIDAA_TV、Samsung SM-A5360

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

play video

Expected result

java.lang.IllegalArgumentException

Actual result

java.lang.IllegalArgumentException: Out of range: 4972007364548
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:204)
at com.google.common.primitives.Ints.checkedCast(Ints.java:88)
at androidx.media3.common.util.Util.percentInt(Util.java:1239)
at androidx.media3.common.BasePlayer.getBufferedPercentage(BasePlayer.java:324)
at com.jizhi.exo.ExoMediaPlayer$1.onPlaybackStateChanged(ExoMediaPlayer.java:5)
at androidx.media3.exoplayer.ExoPlayerImpl.lambda$updatePlaybackInfo$23(ExoPlayerImpl.java:2212)
at androidx.media3.exoplayer.ExoPlayerImpl.$r8$lambda$E4n58CkvitW_uqvjUINIEQVgh4g(ExoPlayerImpl.java:0)
at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda11.invoke(ExoPlayerImpl.java:0)
at androidx.media3.common.util.ListenerSet$ListenerHolder.invoke(ListenerSet.java:342)
at androidx.media3.common.util.ListenerSet.lambda$queueEvent$0(ListenerSet.java:226)
at androidx.media3.common.util.ListenerSet.$r8$lambda$Maws-DUsVhcg5uFQgolq5mcQJiM(ListenerSet.java:0)
at androidx.media3.common.util.ListenerSet$$ExternalSyntheticLambda1.run(ListenerSet.java:0)
at androidx.media3.common.util.ListenerSet.flushEvents(ListenerSet.java:248)
at androidx.media3.exoplayer.ExoPlayerImpl.updatePlaybackInfo(ExoPlayerImpl.java:2242)
at androidx.media3.exoplayer.ExoPlayerImpl.handlePlaybackInfo(ExoPlayerImpl.java:2076)
at androidx.media3.exoplayer.ExoPlayerImpl.lambda$new$1(ExoPlayerImpl.java:353)
at androidx.media3.exoplayer.ExoPlayerImpl.$r8$lambda$lw6lhDmtFnjAs6VzxoaBDEG3RGo(ExoPlayerImpl.java:0)
at androidx.media3.exoplayer.DefaultSuitableOutputChecker$ImplApi23$$ExternalSyntheticLambda3.run(DefaultSuitableOutputChecker.java:0)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6103)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:925)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:813)

Media

unknown

Bug Report

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions