fluttercommunity / fluttercommunity/chewie

Uncaught RangeError: Maximum call stack size exceeded while playing m3u8 video in Flutter Web Release

Open
#655 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
1.1k
Avg merge
6d 8h
Merged PRs (30d)
6

Description

Hi, I am facing one issue with your video player in Flutter web release only.

Here is the link of web https://sample-f55e4.web.app/#/.

Uncaught RangeError: Maximum call stack size exceeded
at Object.b (hls.js@latest:1:3489)
at l.trigger (hls.js@latest:1:316427)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)
at l.trigger (hls.js@latest:1:316554)

This RangeError exception comes when i play video after few mins spent on that screen. And after that video stuck at one position.

![image](https://user-images.githubusercontent.com/17845189/177303260-50ac4a25-649e-41fc-a1e2-c492a434f863.png)

And Same occur when i use chewie with video player. You can navigate on chewie screen by clicking on action item chewie.
![image](https://user-images.githubusercontent.com/17845189/177303310-bf29e018-3149-42bd-a054-486063e1d563.png)

So please look into this issue as it is happening randomly. Also these are m3u8 video only.

chewie: ^1.3.4
video_player: ^2.4.5
video_player_web_hls: ^0.1.11+4

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.0, on Microsoft Windows [Version 10.0.19044.1766], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.4)
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these
components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
[√] Android Studio (version 2020.3)
[√] Connected device (3 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.