-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Describe the issue
HLS video hangs on Unity WebGL when users have a slow but steady internet connection. My HLS playlist consists of 1080p, 720p, 480p and 360p.
When I throttle my connection (e.g., in Chrome devtools) I see that:
- The video starts buffering (to be expected).
- In the 'Network tab' the rest of the
.ts(HLS files) are loading. Weirdly enough it does download some of them double. - The
.tsfiles are loaded successfully, but if this takes 'too long' the video hangs. It doesn't continue playing like it normally does when it buffers for a few seconds. - Console error log:
{"severity":2,"category":1,"code":1003,"data":["{URL}", 1], "handled":false,"message":"Shaka Error 1003","stack":"Error: Shaka Error 1003\n at new _0x503e04 (https://url.com/hisplayer.js:2:69926)\n at _0x5c48d8.h (https://url.com/hisplayer.js:2:1190848)\n at _0x1b5f27 (https://url.com/hisplayer.js:2:28864)\n at _0x40006b.throw (https://url.com/hisplayer.js:2:29788)\n at _0x1e732e (https://url.com/hisplayer.js:2:30442)"}.
Your system and development environment:
- HISPlayer Unity Video Player SDK version: 4.11.0 (
com.hisplayer.hisplayersdkfrom the package.json) - Unity version: 6000.1.17f1
- Package URL (if purchased from the store): https://assetstore.unity.com/packages/tools/video/video-streaming-player-webgl-283452
- Operating system (OS): Windows/ ChromeOS (non-exhaustive)
To Reproduce
Steps to reproduce the issue:
- Play a HLS video with HISPlayer.
- Throttle internet connection, in Chrome you can throttle this in the devtools (Network -> change 'No Throttling' to 3G).
- If you throttle it down enough, so that it has to buffer for more than a few seconds you get an error and the video hangs.
Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels