Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalArgumentException: playPosition can not be negative when playing a live stream #146

Open
waltercruz opened this issue Feb 8, 2024 · 2 comments

Comments

@waltercruz
Copy link

Hi! Sometimes, when I stream a live stream (HLS) to chromecast, I get a 'playPosition can not be negative when playing a live stream' Exception.

If I edit the FullScreenExoPlayerFragment.java and replace

castPlayer.setMediaItem(mediaItem, videoPosition);

with

castPlayer.setMediaItem(mediaItem);

on onCastSessionAvailable (currently on line 1331)

then this bug is mostly gone.

@jepiqueau
Copy link
Collaborator

@PhantomPainX Can you deal with that one

@PhantomPainX
Copy link
Contributor

@jepiqueau roger that 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants