-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[camera] Camera with MediaSettings: platform implementations (federated) #5223
[camera] Camera with MediaSettings: platform implementations (federated) #5223
Conversation
MediaSettings.low changed to const MediaSettings(resolutionPreset: ResolutionPreset.low).
Co-authored-by: Camille Simon <[email protected]>
Co-authored-by: Maurice Parrish <[email protected]>
@stuartmorgan this is blocked on your review |
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.h
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettingsAVWrapper.h
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettingsAVWrapper.h
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSettingsTests.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.m
Outdated
Show resolved
Hide resolved
@stuartmorgan Thank, you for review. Your suggestions are applied. |
@stuartmorgan Can you take a look when you have time? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay again; just a few last small things.
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.h
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.m
Outdated
Show resolved
Hide resolved
@stuartmorgan suggestions applied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Could you rebase and squash a few of the commits together to get this under 250 commits, so that the CLA check will pass without intervention?
suggestions applied AssertPositiveNumberOrNil: macro to inline formatted .class to +class Update packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.m Co-authored-by: Jenn Magder <[email protected]> applied suggestions. 02/25/2024. dependency injection (DI) variant for unit test ObjC suggestions applied suggestion applied updated camera_platform_interface versions reverted changes to camera merged 01/07/2024 refactored and co0mmented warning suppressions. renamed MediaRecorderBuilder.RecordingParameters merged 12/07/2023
faa7b8f
to
adf6929
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bunch of files showed as changed since review, and because of the squash I can't tell if that's a GitHub artifact of the squash, or actual changes, so I re-reviewed those files. That turned up a few more minor comments which may be things I just didn't previously review, but I've flagged them regardless. Sorry that means one more quick pass.
packages/camera/camera_avfoundation/example/lib/camera_controller.dart
Outdated
Show resolved
Hide resolved
two lines
@stuartmorgan resolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
flutter/packages@764d997...6b4d8b6 2024-04-08 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 3.24.9 to 3.24.10 (flutter/packages#6480) 2024-04-07 [email protected] Add limit to image_picker_platform_interface (flutter/packages#6434) 2024-04-07 [email protected] Roll Flutter from 477ebd8 to 98d23f7 (16 revisions) (flutter/packages#6478) 2024-04-05 [email protected] Roll Flutter from ac2ca93 to 477ebd8 (32 revisions) (flutter/packages#6470) 2024-04-05 [email protected] [camera] Camera with MediaSettings: platform implementations (federated) (flutter/packages#5223) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@764d997...6b4d8b6 2024-04-08 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 3.24.9 to 3.24.10 (flutter/packages#6480) 2024-04-07 [email protected] Add limit to image_picker_platform_interface (flutter/packages#6434) 2024-04-07 [email protected] Roll Flutter from 477ebd8 to 98d23f7 (16 revisions) (flutter/packages#6478) 2024-04-05 [email protected] Roll Flutter from ac2ca93 to 477ebd8 (32 revisions) (flutter/packages#6470) 2024-04-05 [email protected] [camera] Camera with MediaSettings: platform implementations (federated) (flutter/packages#5223) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…ed) (flutter#5223) This is the `platform implementations` part of `camera` PR flutter#3586. `camera_platform_interface: 2.6.0` merged and published in PR flutter#3615. Now repeating steps 3,4 (see [Changing federated plugins](https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#changing-federated-plugins)), because `camera/camera` depends on implementations `camera/camera_android`, `camera/camera_web` etc.
…ed) (flutter#5223) ## Platform implementations of federated plugin This is the `platform implementations` part of `camera` PR flutter#3586. `camera_platform_interface: 2.6.0` merged and published in PR flutter#3615. Now repeating steps 3,4 (see [Changing federated plugins](https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#changing-federated-plugins)), because `camera/camera` depends on implementations `camera/camera_android`, `camera/camera_web` etc.
Platform implementations of federated plugin
This is the
platform implementations
part ofcamera
PR #3586.camera_platform_interface: 2.6.0
merged and published in PR #3615.Now repeating steps 3,4 (see Changing federated plugins), because
camera/camera
depends on implementationscamera/camera_android
,camera/camera_web
etc.