8000 [camera] Camera Timeout on some devices · Issue #76305 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[camera] Camera Timeout on some devices #76305
Closed
@Tomucha

Description

@Tomucha

I have trouble with camera plugin (0.7.0+2) - the second time I try to:

  XFile file = await controller.takePicture();
  return file;

... the call ends up with "timeout". The first time I take a photo everything works fine, but all subsequent calls fail. It all happens with example application too:

https://github.com/flutter/plugins/tree/master/packages/camera/camera/example

I/flutter ( 4707): Error: captureTimeout
I/flutter ( 4707): Error Message: Picture capture request timed out
W/System  ( 4707): A resource failed to call release. 

It works on some low-level phone I have here (myPhone Hammer Iron 2).


tomucha@tomucha-mx:~$ flutter --version
Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (4 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.6, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: device-specificOnly manifests on certain devicesp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyr: timeoutIssue is closed due to author not providing the requested details in time

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0