-
Notifications
You must be signed in to change notification settings - Fork 30
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 Player HLS(m3u8) video error - VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null #8
Comments
How should I also update the HLS playlist URLs when I store files as follows in the stories folder in videos folder? as shown below
The code to update playlist URLs as follows
|
Hi @BrianTum ,
Trying to go to the link for your video, you get a 404 from the browser, so the url is broken: To check what the correct url should be, you can get the download link of the file from firebase console, then compare it to your url. |
Thank you @syonip for your feedback. I found the solution. Problem was on updating the HLS files. I store the file in Subdolders in Firebase Storage i.e. inside videos in stories folders and so I had to rename my HLS files to fetch from these folders i.e.
It's still slow in fetching the videos... Any idea of how to improve video performance? |
The performance is a combination of many factors, so I would try to isolate the problem by performing tests:
These test can help you figure out where the problem is. |
Hey @syonip and @BrianTum , maybe you can help me figure out what's wrong with my project. My files either are not accessible, or are malformed. I can access them freely, though, and paths seem to be right, so I can't pinpoint the issue... Here is a screenshot of the bucket Here is the link to the master file |
Hey I'm trying to fetch for an HLS (.m3u8) video from Firebase Firestore with the following URL sample https://firebasestorage.googleapis.com/v0/b/picmoni-6e741.appspot.com/o/Stories%2FVideos%2F5cc5ff96-223b-4e9a-8308-cd98fac98830%2Fmaster.m3u8?alt=media&token=1fd5da08-f374-4909-84fd-cea93b056fe0
I use the flutters video player to get and play the video as follows
Here is the error I get from the debug console:
Here is the flutter doctor - v
And here is a minimal reproducible code of the error with flutter run -v
Your help will be highly appreciated
The text was updated successfully, but these errors were encountered: