Low playback performance: Pause to fill buffer, switch bitrate or DP #2760
Labels
idea
Idea for a new feature
pending-triage
Requires triage before any work can begin
product-backlog
Atlas should buffer some seconds before (re)starting playback. If it fails to fill cache fast enough from one provider, it could
Originally reported by bedeho:
Also:
Lastly:
Observations
Some facts with improvement ideas, should be weighed based on relevance:
Due to (the less smart) random provider selection this might not always be the fasted / closest provider available. #2748
Solutions
This is a complex problem with multiple variables:
To determine for each case what the actual bottleneck is and finding the best solution all above need to be taken into account.
Lower bitrate
There is no point to deliver HD quality to mobile devices. To offer multiple bitrates the Joystream CDN needs to be redesigned because unfortunately it was not created with this feature in mind.
This job needs to be done by SP or external services because client-side browser based transcoding is not feasable:
After a video is uploaded it would be reprocessed into multiple formats based on (platform wide or per video) target audiences from mobile (180kps) over desktop (720kps) to HD for everything above.
Similar was suggested in Joystream/joystream#2793 (comment)
Provider performance
To test speed for the asset displayed in above loom video https://play.joystream.org/video/26682
My player chose to load from this provider: https://joystreamoxygen.com/distributor/api/v1/assets/14225
Performing speed tests from different locations:
The first two are SP/DP themselves, the third is a home connection (without VPN or proxy) and the achieved download speed is lower than the bitrate.
As you see video size of 955M is enormous for one minute video: 130000 to 170000 kbps, that is avg. 140 mbps or 17.5 MB/s.
Cache: 150 MB (9.1 sec)
For comparison space used per 1 minute video
Conclusion
In contrast to the original assumption by the reporter current DWG is not to blame. The described playback issue is related to the video library atlas uses and the Joystream CDN architecture lacking bitrate handling based on target audiences / device.
The text was updated successfully, but these errors were encountered: