Skip to content
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

Missing plug in error happens and then goes away #159

Open
jwbrown opened this issue Mar 16, 2024 · 1 comment
Open

Missing plug in error happens and then goes away #159

jwbrown opened this issue Mar 16, 2024 · 1 comment

Comments

@jwbrown
Copy link

jwbrown commented Mar 16, 2024

Testing on Galaxy S8 with Android version 9

When creating a thumbnail I get "MissingPluginException(No implementation found for method data on channel plugins.justsoft.xyz/video_thumbnail)" initially (current test case is on about 20 files done in a series

When navigating back to the page, the same code executes fine later

The code is:
try { uint8list2 = await video_thumbnail.VideoThumbnail.thumbnailData( video: '$documentsDirectory/files/$file_name', imageFormat: video_thumbnail.ImageFormat.JPEG, maxWidth: 200, // specify the width of the thumbnail, let the height auto-scaled to keep the source aspect ratio quality: 25, ); } catch (e) { logger.d('thumbnail for $file_name error'); logger.e(e); }

The error seems to take about 45 seconds to happen, it is not instantaneous and again, once it stops it does not seem to reoccur. My theory is that it is some form of initialization, but I have no idea how to test/detect or wait for it.

@dhaval-patel-ke
Copy link

I'm also able to reproduce this error with 4K video for android device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants