文件最后提交记录最后更新时间
[camera] Remove deprecated feature from Windows example (#10380) The Windows camera example was showing usage of maxVideoDuration, but the parameter is deprecated and ignored, so shouldn't be part of the example. Also makes a minor improvement to type safety of some code interacting with Pigeon, since the Pigeon definition had already been changed to non-nullable. Fixes https://github.com/flutter/flutter/issues/166605 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[camera] Remove deprecated feature from Windows example (#10380) The Windows camera example was showing usage of maxVideoDuration, but the parameter is deprecated and ignored, so shouldn't be part of the example. Also makes a minor improvement to type safety of some code interacting with Pigeon, since the Pigeon definition had already been changed to non-nullable. Fixes https://github.com/flutter/flutter/issues/166605 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
Update repo for 3.38 (#10405) 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.38 release (except the first one, which the stable roller will handle). This includes a lot of autoformat changes, because the N-2 is now 3.32, which means many packages are now being updated to a min Dart SDK of 3.8, triggering a formatter behavior change.6 个月前
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[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 年前
[camera] Remove deprecated feature from Windows example (#10380) The Windows camera example was showing usage of maxVideoDuration, but the parameter is deprecated and ignored, so shouldn't be part of the example. Also makes a minor improvement to type safety of some code interacting with Pigeon, since the Pigeon definition had already been changed to non-nullable. Fixes https://github.com/flutter/flutter/issues/166605 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
[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 年前
[camera] Remove deprecated feature from Windows example (#10380) The Windows camera example was showing usage of maxVideoDuration, but the parameter is deprecated and ignored, so shouldn't be part of the example. Also makes a minor improvement to type safety of some code interacting with Pigeon, since the Pigeon definition had already been changed to non-nullable. Fixes https://github.com/flutter/flutter/issues/166605 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
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.