Closed Chu-4hun closed 1 year ago
I am waiting for media_kit new release, when that available I will move to it, due to being much faster and more stable (dart_vlc maintainer is the same as media_kit) so he is working more in media_kit
Also from your logs, I see no problem does the app crash with no indication of the problem?
Yes it does. Even VS Code thinks that app still running. I'll record behavior.
Yes it does. Even VS Code thinks that app still running. I'll record behavior.
Can you test the example code too? Or a video url which is not m3u8?
Yes it does. Even VS Code thinks that app still running. I'll record behavior.
Can you test the example code too? Or a video url which is not m3u8?
Not .m3u8 links works fine. Code provided above is from example but only url is changed
Yes it does. Even VS Code thinks that app still running. I'll record behavior.
Can you test the example code too? Or a video url which is not m3u8?
Not .m3u8 links works fine. Code provided above is from example but only url is changed
All m3u8 fails right? That's on Linux, I think yes it's related to dart_vlc
Can you wait for media_kit adaptation?
I need to test this behavior in web. But if media_kit adaptation won't take too long, it will be ok, I just wont build my app to linux and test it on web.
I need to test this behavior in web. But if media_kit adaptation won't take too long, it will be ok, I just wont build my app to linux and test it on web.
Okay, let me know if there is anything else.
I will try to do the adaptation ASAP
Do I need to close the issue, if the problem is still relevant?
Do I need to close the issue, if the problem is still relevant?
i think its better to leave it open, since its not fixed yet
@Chu-4hun can you test with 4.0.7
? this version is using media_kit (also supports macos)
@Chu-4hun can you test with
4.0.7
? this version is using media_kit (also supports macos)
Ok, let me check
i tried this dispose method
@override
void dispose() {
try {
_meeduPlayerController.dispose();
} catch (e) {
print(e.toString());
}
if (!Platform.isLinux) {
Wakelock.disable();
}
super.dispose();
}
It's still freezes
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_gl.cc(98)] Could not create external texture->
media_kit: TextureGL: THIS IS NOT AN ERROR. DO NOT REPORT!
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_gl.cc(98)] Could not create external texture->
media_kit: TextureGL: Resize: (640, 426)
flutter: Duration is 0:25:04.869000
flutter: VideoOutput.Resize
flutter: {handle: 93962798065504, id: 93962776366640, rect: {left: 0, top: 0, width: 640, height: 426}}
flutter: Fit is BoxFit.fitWidth
[GETX] CLOSE TO ROUTE /ReleaseView
media_kit: VideoOutput: video_output_dispose: 93962798065504
i use ubuntu 22.03 with x11 display manager
i think this can be it
media_kit: VideoOutput: video_output_dispose: 140442684142720
i think this can be it
media_kit: VideoOutput: video_output_dispose: 140442684142720
That is a normal log for media_kit.
Can you test media_kit example? It's on their repo as media_kit_test
If that's crash too, then it's a media_kit problem.
If it doesn't then it's a problem on my side.
Note: I don't have Linux, this is why I am not able to test.
Please let me know what happens.
still freezes . . .
Im using flutter 3.7.8 stable branch. I'll try to upgrade to the testing channel
on flutter 3.9.0-20.0.pre75 i have this error (i know what it is a flutter error, but just to log).
ERROR: ../../../../.pub-cache/hosted/pub.dev/stacked-3.2.0/lib/src/view_models/ui/skeleton_loader.dart:106:19: Error: No named parameter with the name 'vsync'. ERROR: vsync: this,
still freezes . . .
Okay, can you open an issue on media_kit package
Since this seems to be a problem on their side
on flutter 3.9.0-20.0.pre75 i have this error (i know what it is a flutter error, but just to log).
ERROR: ../../../../.pub-cache/hosted/pub.dev/stacked-3.2.0/lib/src/view_models/ui/skeleton_loader.dart:106:19: Error: No named parameter with the name 'vsync'. ERROR: vsync: this,
For this, I saw a breaking change where they removed vsync, so i guess this is this problem
did you open an issue in media_kit or it was fixed?
did you open an issue in media_kit or it was fixed?
I'm really sorry for my delay. I haven't done it yet. I'm writing my last college thesis and because of this there is not enough time. Furthermore, I will test again my error and will open the issue if needed.
did you open an issue in media_kit or it was fixed?
I'm really sorry for my delay. I haven't done it yet. I'm writing my last college thesis and because of this there is not enough time. Furthermore, I will test again my error and will open the issue if needed.
Good luck with that, and thank you very much.
Updated your library to 4.2.2
flutter_meedu_videoplayer: ^4.2.2
Still crashes on dispose() with linux
Updated your library to 4.2.2
flutter_meedu_videoplayer: ^4.2.2
Still crashes on dispose() with linux
Also can you provide flutter doctor
output
And run flutter pub update
and send ouput of it
And test again, and let me know?
And Does it happen on media_kit test?
If yes, that's on their side so they may require a url to test what causes it and what is the fix for it
I commented on their issue
https://github.com/alexmercerind/media_kit/issues/167#issuecomment-1528101173
And Does it happen on media_kit test?
If yes, that's on their side so they may require a url to test what causes it and what is the fix for it
I created the blank project with media_kit. Bug is still relevant. It's on their side.
Also can you provide
flutter doctor
output
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.9, on Pop!_OS 22.04 LTS 6.2.6-76060206-generic, locale ru_RU.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.77.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
! Doctor found issues in 1 category.
I commented on their issue
https://github.com/alexmercerind/media_kit/issues/167#issuecomment-1528101173
Thank you very much
When dispose() is called, I guess dart_vls is not properly disposed any url with .m3u8 causes crashes code example