文件最后提交记录最后更新时间
Update repo for 3.32 stable (#9311) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.32 stable release (except the first one, as the stable roller has already landed).1 年前
[camera_windows] Revert: Support image streams on Windows platform (#7951) This reverts commit b31a279641283f1ef75ee2cc586b53de559148e4 (https://github.com/flutter/packages/pull/7067) The implementation had significant bugs: - It had asynchronous results, but never responded to them, violating the engine API contract and preventing futures from completing. - It std::moved pointers between classes, while still keeping them as ivars and global references and referring to them from long-lived handlers.1 年前
[camera_windows] Revert: Support image streams on Windows platform (#7951) This reverts commit b31a279641283f1ef75ee2cc586b53de559148e4 (https://github.com/flutter/packages/pull/7067) The implementation had significant bugs: - It had asynchronous results, but never responded to them, violating the engine API contract and preventing futures from completing. - It std::moved pointers between classes, while still keeping them as ivars and global references and referring to them from long-lived handlers.1 年前
[camera]: Activate leak testing for sub packages (#8353) *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* Follow up of https://github.com/flutter/packages/pull/8287 Activates leak testing for the packages including a test folder See the documentation: https://github.com/dart-lang/leak_tracker/blob/main/doc%2Fleak_tracking%2FDETECT.md1 年前
[various] Enable permissive- for Windows plugin examples (#8636) As the Visual Studio C++ compiler moves toward increasingly standards-compliant behavior, things it allows may become errors in the future (as seen in https://github.com/flutter/flutter/issues/163296 and the issues it references). To avoid a whole class of future problems, this enables /permissive- for the example apps of all of our Windows plugins that have native code, and fixes the resulting violations. Fixes https://github.com/flutter/flutter/issues/1632961 年前
[camera_windows] Support camera on windows desktop platform (#4641) This PR adds a Windows Desktop implementation of [camera plugin](https://pub.dev/packages/camera) using Media Foundation and CaptureEngine interface. The implementation supports multiple cameras, video preview, and capturing photos and videos. Works with camera plugin and [camera example](https://pub.dev/packages/camera/example). The current implementation uses FlutterDesktopPixelBuffer, but could be switched to use shared textures or Platform views after those are supported. Unit tests are partially done; for the CaptureControllerImpl class all falilure code paths are not yet covered. Still missing some features, like exposure and focus controls. These can be done later with interfaces IAMCameraControl and IAMVideoProcAmp, Resolves flutter/flutter#41709: [camera] Add Windows support4 年前
[camera_windows] Support camera on windows desktop platform (#4641) This PR adds a Windows Desktop implementation of [camera plugin](https://pub.dev/packages/camera) using Media Foundation and CaptureEngine interface. The implementation supports multiple cameras, video preview, and capturing photos and videos. Works with camera plugin and [camera example](https://pub.dev/packages/camera/example). The current implementation uses FlutterDesktopPixelBuffer, but could be switched to use shared textures or Platform views after those are supported. Unit tests are partially done; for the CaptureControllerImpl class all falilure code paths are not yet covered. Still missing some features, like exposure and focus controls. These can be done later with interfaces IAMCameraControl and IAMVideoProcAmp, Resolves flutter/flutter#41709: [camera] Add Windows support4 年前
[camera_windows] Support camera on windows desktop platform (#4641) This PR adds a Windows Desktop implementation of [camera plugin](https://pub.dev/packages/camera) using Media Foundation and CaptureEngine interface. The implementation supports multiple cameras, video preview, and capturing photos and videos. Works with camera plugin and [camera example](https://pub.dev/packages/camera/example). The current implementation uses FlutterDesktopPixelBuffer, but could be switched to use shared textures or Platform views after those are supported. Unit tests are partially done; for the CaptureControllerImpl class all falilure code paths are not yet covered. Still missing some features, like exposure and focus controls. These can be done later with interfaces IAMCameraControl and IAMVideoProcAmp, Resolves flutter/flutter#41709: [camera] Add Windows support4 年前
Update repo for 3.32 stable (#9311) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.32 stable release (except the first one, as the stable roller has already landed).1 年前
[camera_windows] Support camera on windows desktop platform (#4641) This PR adds a Windows Desktop implementation of [camera plugin](https://pub.dev/packages/camera) using Media Foundation and CaptureEngine interface. The implementation supports multiple cameras, video preview, and capturing photos and videos. Works with camera plugin and [camera example](https://pub.dev/packages/camera/example). The current implementation uses FlutterDesktopPixelBuffer, but could be switched to use shared textures or Platform views after those are supported. Unit tests are partially done; for the CaptureControllerImpl class all falilure code paths are not yet covered. Still missing some features, like exposure and focus controls. These can be done later with interfaces IAMCameraControl and IAMVideoProcAmp, Resolves flutter/flutter#41709: [camera] Add Windows support4 年前
[various] Update flutter.dev links to more reliable destinations (#6963) Contributes to https://github.com/flutter/website/issues/10363 by updating to the latest links and updating some links to use new /to/ links that can be updated as needed.1 年前
Update repo for 3.32 stable (#9311) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.32 stable release (except the first one, as the stable roller has already landed).1 年前
README.md

Camera Windows Plugin

The Windows implementation of camera.

Note: This plugin is under development. See missing implementations and limitations.

Usage

Depend on the package

This package is not an endorsed implementation of the camera plugin, so in addition to depending on camera you'll need to add camera_windows to your pubspec.yaml explicitly. Once you do, you can use the camera APIs as you normally would.

Missing features on the Windows platform

Device orientation

Device orientation detection is not yet implemented: issue #97540.

Pause and Resume video recording

Pausing and resuming the video recording is not supported due to Windows API limitations.

Exposure mode, point and offset

Support for explosure mode and offset is not yet implemented: issue #97537.

Exposure points are not supported due to limitations of the Windows API.

Focus mode and point

Support for explosure mode and offset is not yet implemented: issue #97537.

Flash mode

Support for flash mode is not yet implemented: issue #97537.

Focus points are not supported due to current limitations of the Windows API.

Streaming of frames

Support for image streaming is not yet implemented: issue #97542.

Error handling

Camera errors can be listened using the platform's onCameraError method.

Listening to errors is important, and in certain situations, disposing of the camera is the only way to reset the situation.