We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.64001F, -1, null, [848, 480, 29.971603], [-1, -1]), format_supported=YES, null, null)
@Shahed-Atik @newtaDev @duongtuancanhktpm @harshd110
It seems to happen after I call playerController.changeVideo ~10 time. Please help to check the problem.
Here is my code: PodPlayerController? controller;
void changeVideo(String url) { if (controller != null) { controller!.changeVideo( playVideoFrom: PlayVideoFrom.network(url), playerConfig: PodPlayerConfig(autoPlay: false)); } }
FYI, I have already added android:usesCleartextTraffic="true" in the AndroidManifest.xml file.
The text was updated successfully, but these errors were encountered:
Hello @DipakSkywave
I have fixed this error by adding this dispose method in this function.
@newtaDev Please add this line in code and push it to the live. So, many users will resolved their errors.
Sorry, something went wrong.
newtaDev#194 fix suggested
cc28648
Revert "newtaDev#194 fix suggested"
1edc35a
This reverts commit cc28648.
No branches or pull requests
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.64001F, -1, null, [848, 480, 29.971603], [-1, -1]), format_supported=YES, null, null)
@Shahed-Atik @newtaDev @duongtuancanhktpm @harshd110
It seems to happen after I call playerController.changeVideo ~10 time. Please help to check the problem.
Here is my code:
PodPlayerController? controller;
void changeVideo(String url) {
if (controller != null) {
controller!.changeVideo(
playVideoFrom: PlayVideoFrom.network(url),
playerConfig: PodPlayerConfig(autoPlay: false));
}
}
FYI, I have already added android:usesCleartextTraffic="true" in the AndroidManifest.xml file.
The text was updated successfully, but these errors were encountered: