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

Video "Stream" Playback Downloads Rather Than Chunk-loading to Small Buffer #2812

Open
Enverex opened this issue Aug 16, 2021 · 1 comment
Open
Labels
Bug Something isn't working Network Network issues or problems

Comments

@Enverex
Copy link

Enverex commented Aug 16, 2021

Describe the bug?

When playing back a static video file from a server with the "Stream" option ticked, Neos will immediately start playing the file as expected (as "Stream" is ticked) but it won't just fill a buffer, it appears to download the entire target media file as fast as it can (it doesn't show in Gather Jobs though).

Relevant issues

None found.

To Reproduce

This is easier to do on a slower connection obviously (or with a huge file) as otherwise the file may download before you realise.

Create a video player. Enable the Stream option. Enter the URL to a static media file on a server somewhere. Click play.

Watch as your network usage remains maxed out until it seems as though given the time and bandwidth used, the whole file will have been downloaded.

Expected behavior

For videos to be chunk loaded as needed and only keep a small (sane) buffer (either time or size based).

Log Files

No response

Screenshots

This streams, but also seems to download the whole file in the process. This is using Unity Native.
image

Another example but using VLC. The video itself is less than 3Mb/s bitrate, but as you can see it's maxing out my connection and seemed to continue to do that until the entire file had been downloaded.
image

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

2021.8.14.443

What Platforms does this occur on?

Windows

Link to Reproduction Item/World

No response

Did this work before?

No

If it worked before, on which build?

No response

Additional context

This has an additional negative effect that if you stop streaming the file for whatever reason, then resume again, it seems to go through the entire download process again (it doesn't cache it, or it disposes of it if it is caching it temporarily). It should only need to chunk load to keep a buffer filled.

Reporters

Enverex#6528

@Enverex Enverex added the Bug Something isn't working label Aug 16, 2021
@shadowpanther shadowpanther added the Network Network issues or problems label Aug 16, 2021
@Enverex Enverex changed the title Unity Native "Stream" Playback Downloads Rather Than Chunk-loading to Small Buffer Video "Stream" Playback Downloads Rather Than Chunk-loading to Small Buffer Sep 3, 2021
@Enverex
Copy link
Author

Enverex commented Sep 3, 2021

Updated this as it does actually seem to affect both the Unity Native player and VLC, not just the former.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Network Network issues or problems
Projects
None yet
Development

No branches or pull requests

2 participants