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

DefaultHttpDataSource disconnects after 20sec on chromebook #10906

Closed
rcvangemert opened this issue Jan 6, 2023 · 6 comments
Closed

DefaultHttpDataSource disconnects after 20sec on chromebook #10906

rcvangemert opened this issue Jan 6, 2023 · 6 comments

Comments

@rcvangemert
Copy link

rcvangemert commented Jan 6, 2023

I have 2 HP Chromebooks X2-v1 & X2-v2, both disconnect after approx 15 seconds from my app's HTTP server. If I connect VLC or my app exoplayer on an android only tablet it works OK.

Has anyone experienced something similar?

Thanks

@christosts
Copy link
Contributor

I assume you are playing progressive media, like mp4 (basically not DASH or HLS). We don't set an explicit timeout on the player side when to disconnect from the server and let the underlying network library handle issues around connection timeouts/pooling/etc.

From the wording of your question, it sounds like the same behavior is happening with VLC on chromebook too, therefore this is not an ExoPlayer-specific issue, right?

@rcvangemert
Copy link
Author

rcvangemert commented Jan 11, 2023 via email

@christosts
Copy link
Contributor

christosts commented Jan 11, 2023

I also tried okhttp

DefaultHttpDataSource is based on HttpUrlConnection which on Android is implemented using OkHttp. I don't know exactly how chromebooks are handling HttpUrlConnection but it might be that your tests using OkHttp are basically exercising the same code. For completeness, did you attempt repeating the test using Cronet?

In case it's helpful, we have a page about network stacks here.

There does not seem to be an actionable item here. I'll let the item open in case anyone else wants to chime in, otherwise it will auto-close (please ignore the bot's auto-replies)

@rcvangemert
Copy link
Author

rcvangemert commented Jan 12, 2023 via email

@google-oss-bot
Copy link
Collaborator

Hey @rcvangemert. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@google-oss-bot
Copy link
Collaborator

Since there haven't been any recent updates here, I am going to close this issue.

@rcvangemert if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

@google google locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants