Open HidenoriMatsubayashi opened 3 years ago
@HidenoriMatsubayashi , is camera plugin depends on video player ?
No, it doesn't, but using GStreamer is the same with the video_player plugin.
@HidenoriMatsubayashi , Thanks, I understand its gst-camerabin plugin. got below error while cross compiling , any paths to be updated ? 💪 Building with sound null safety 💪
elinux/flutter/generated_plugin_registrant.dart:11:22: Error: Method not found: 'PathProviderELinux.register'. PathProviderELinux.register(); ^^^^^^^^ Exception Building an eLinux application with wayland backend in debug mode for arm64 target... 8.2s The build failed.
You are trying to cross-build, but does self-building (on x64 for x64) succeed?
NO, it gave same error,
$ cd path/packages/camera/example $ flutter-elinux pub get => success $ flutter-elinux build elinux --debug
💪 Building with sound null safety 💪
elinux/flutter/generated_plugin_registrant.dart:11:22: Error: Method not found: 'PathProviderELinux.register'. PathProviderELinux.register(); ^^^^^^^^ Exception Building an eLinux application with wayland backend in debug mode for x64 target... 8.5s The build failed.
Are you using the latest version of flutter-elinux? If not, could you use the latest version?
@HidenoriMatsubayashi Thank you , it works with latest version. adding "upgrade" switch would be helpful :)
adding "upgrade" switch would be helpful
Than you for your feedback. I'll consider to add it!
The default orientation of the camera is Portrait, I could change to landscape by forcing it to landscape, as most of embedded platforms are not equipped with sensors, keeping default orientation to landscape would be better I guess. Please let me know if my understanding is wrong
Thank you for your feedback.
as most of embedded platforms are not equipped with sensors, keeping default orientation to landscape would be better
Yes, I agree with you. Are you using the example of camera plugin or your own camera app?
I am using plugin example.
@Nagendra-Bankupalli
Thanks a lot. This is a bug, so I fixed it https://github.com/sony/flutter-elinux-plugins/pull/36
@HidenoriMatsubayashi Does the camera plugin support multiple cameras?
No, not yet. It's one of TODOs.
Create camera plugin
TODO: