-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Ignore load errors in subtitle tracks sideloaded using SingleSampleMediaSource #3140
Comments
Did you fins any solution for this? I'm facing the same issue |
The only solution I have now is to validate each Text Url before passing it to exoplayer. |
Let's use this issue to track relaxing loading errors for the SingleSampleMediaSource to allow playback to continue in these cases. |
@AquilesCanta I have a similar issue: |
…rors This prevents users from having to check sideloaded subtitles URLs before preparing a SingleSampleMediaSource with it. Issue:#3140 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174475274
As of the change above, it's possible to configure |
…rors This prevents users from having to check sideloaded subtitles URLs before preparing a SingleSampleMediaSource with it. Issue:#3140 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174475274
I am using MergingMediaSource in order to display Video and subtitles. For some reason the text source file might be removed from the server so the url will return 404, giving the following exception com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404
At this point it makes sense, the problem is I can't play the video if this happens although I expect that if the text source is not found, I could at least play the video.
Below you can find the code snippet for preparing the media links
The text was updated successfully, but these errors were encountered: