Skip to main content
0 votes
0 answers
26 views

How to prevent video recording from stopping when sliding down the nontification bar? (Package: CameraAwesome 2.5.0)

I'm building a video recording app in Flutter using the CameraAwesome plugin. However, whenever I slide down the notification shade or go to another app, it auto-stops the recording. When I try to ...
ryannmahajan's user avatar
6 votes
1 answer
179 views

Flutter- Front camera preview is getting mirrored on some devices

Fromt camera preview is getting mirrored on some devices I have upgraded the camera package to the latest version (0.11) with Flutter SDK 3.27.4. Tested on a physical device with the expected result: ...
Fahim Shahriyar's user avatar
0 votes
1 answer
131 views

CamerePreview in goes black, but photo capturing still works

I'm new to Flutter and currently working on a camera feature. The issue I'm facing is that the camera preview appears black, but I can still take pictures successfully. I've checked permissions and ...
Hayashing only simp Kiana's user avatar
1 vote
0 answers
33 views

Flutter camera_web setFlashMode returns TypeError on Android Google Chrome

Im making a web-app that needs to enable torch/flash using Flutter. However, whenever I try to enable flash, I get an error: Type Error: true: type 'bool' is not a subtype of type 'JSArray<Object?&...
MikkelT's user avatar
  • 881
0 votes
1 answer
102 views

How to switch camera while recording video with camera package in Flutter?

I can switch between the front and back cameras if I'm not recording video. But while recording video the camera preview widget goes black for a short while and then shows the same camera, not ...
An Tran's user avatar
  • 162
0 votes
0 answers
16 views

Flutter turns picture, windows-explorer displays it wrong, Android Studio correct

I have a problem in my flutter project. When I take a picture, it is displayed -90 deg turned, in Android Studio/IntelliJ it is displayed correctly, and in windows explorer, it is again -90 deg turned....
Lukas Fürst's user avatar
0 votes
2 answers
195 views

MissingPluginException when trying to open camera in Flutter on ARM64 Ubuntu machine

I am trying to open the camera and fetch live video, similar to a CCTV camera, on an ARM64-based Ubuntu machine using a Flutter application. However, I am encountering the following error when ...
urvi joshi's user avatar
1 vote
0 answers
34 views

Flutter camera image conversion to image

I'm trying to convert a cameraImage using camera and image libraries. I've tried many code snippet to do the conversion unsuccessfully. Like this one: How to convert camera image to image? Now, I'm ...
nono's user avatar
  • 1,742
0 votes
1 answer
58 views

flutter plugin camera take photo 90° rotated; can we force rotate?

I am using camera plugin to take photo body: FutureBuilder<void>( future: _initializeControllerFuture, builder: (context, snapshot) { if (snapshot.connectionState == ConnectionState.done)...
realtebo's user avatar
  • 25.8k
1 vote
0 answers
66 views

Flutter Camera Impacts the performance and quality

I am working in the flutter application and I have the functionality of the camera in my app. I am using camera plugin but it is not up to the mark. camera plugin impacts the performance of my app. ...
Bilal Patel's user avatar
1 vote
0 answers
368 views

Flutter camera plugin not initializing on iOS iPhone XR device

Flutter camera plugin. Not initialise controller on iOS iPhone XR device I have a camera widget in my Flutter application, and it initializes successfully on Android devices. However, on an iPhone XR ...
Oleksandr Krynytskyi's user avatar
1 vote
0 answers
177 views

Flutter Camera is lagging while stream image

Have you used CameraController's startImageStream() yet? Can you give me some experience? I need to process the frame right while recording the video and then send the frame to the server. I have put ...
Quyền Phạm Danh's user avatar
0 votes
0 answers
143 views

Can't mock camera controller for unit tests

By online examples I've wrote CameraBloc implementation: class CameraUtils { Future<List<CameraDescription>> getAvailableCameras() async => await availableCameras(); Future<...
Denis Steinman's user avatar
17 votes
7 answers
3k views

Camera preview is getting rotated

For some reason (only on some of the phones) my camera preview is rotated 90 degrees. Device orientation utils on debug says the same thing for working and not working phones: D/CameraOrientationUtil(...
Michal's user avatar
  • 265
1 vote
2 answers
104 views

Expand CameraPreview to fit device width

I am building a custom camera UI. I would like the CameraPreview to be expanded so it fits the device width. This is the implementation and the result: return Column( ...
giordy16's user avatar
  • 373

15 30 50 per page