I am utilizing the flutter_vlc_player
bundle in my Flutter app to play video streams. The video display screen works on some gadgets, however on newer Android variations (e.g., Android 13/14), the app crashes silently or freezes.
The one logs I get earlier than the app exits or freezes are:
I/om.app.flexzone( 8491): Thread[2,tid=8509,WaitingInMainSignalCatcherLoop,Thread*=0x73b108a8cbe0,peer=0x2001300,"Signal Catcher"]: reacting to sign 3
I/om.app.flexzone( 8491):
I/om.app.flexzone( 8491): Wrote stack traces to tombstoned
There aren’t any exceptions thrown in Dart, and nothing useful is proven in logcat past this. I believe it is one thing associated to the native VLC integration.
What I’ve tried:
Up to date flutter_vlc_player to the newest model.
Tried completely different {hardware} acceleration modes (HwAcc.full, HwAcc.disabled, and so on.).
Set completely different side ratios.
Disabled subtitle/audio options.
Rebuilt the app with newest compileSdkVersion (34).
Examined on emulator and bodily gadgets.
Code Context (Simplified):“
I’m initializing the VLC controller like this in initState():
_vlcController = VlcPlayerController.community(
currentLink!,
autoPlay: widget.autoPlay,
allowBackgroundPlayback: false,
autoInitialize: true,
hwAcc: HwAcc.disabled,
choices: VlcPlayerOptions(
superior: VlcAdvancedOptions([
VlcAdvancedOptions.networkCaching(500),
VlcAdvancedOptions.clockSynchronization(0),
VlcAdvancedOptions.clockJitter(0),
]),
subtitle: VlcSubtitleOptions([
VlcSubtitleOptions.fontSize(24),
VlcSubtitleOptions.color(VlcSubtitleColor.white),
]),
audio: VlcAudioOptions([
VlcAudioOptions.audioTimeStretch(false),
]),
),
);
And my dispose() methodology correctly stops and disposes the controller.
Questions:
What does the Sign Catcher log imply and the way do I debug it?
Has anybody encountered this challenge with flutter_vlc_player on Android 13/14?
Might this be associated to a local VLC bug, lacking permissions, or one thing else in AndroidManifest.xml?
Are there recognized points or advisable configs to make this work reliably on newer Android variations?