video_player_web_hls icon indicating copy to clipboard operation
video_player_web_hls copied to clipboard

Uncaught InternalError: too much recursion in hls.js

Open tuotau-lessonapp opened this issue 1 year ago • 1 comments

Hi!

We encountered a bug where the videos don't load fully in the web version of our app. They load some of the video and stop loading after that. The videos are HLS streams from Vimeo. In the browser console it says "Uncaught InternalError: too much recursion [hls.js@1:1:368422]". This error only occurs in the web version, in Android and iOS the videos work fine.

Do you think this error is happening because of something in the hls.js side, or could it be something from this plugin? Would love to find a solution for this, otherwise the plugin has worked well for us, but now suddenly we can't get the videos working properly.

tuotau-lessonapp avatar Sep 21 '23 11:09 tuotau-lessonapp

I had a similar problem when building for release. I solved the problem by modifying the trigger part of hls.js.

I remember that the latest hls.js fixes this problem.

If the problem still occurs, search for 'trigger' or 'if (this.config.debug)' in hls.js and you may find code that causes recursive calls.

sgbai78 avatar Nov 03 '23 06:11 sgbai78