[camera] Camera with MediaSettings: platform implementations (federated)#5223
Conversation
MediaSettings.low changed to const MediaSettings(resolutionPreset: ResolutionPreset.low).
Co-authored-by: Camille Simon <43054281+camsim99@users.noreply.github.com>
Co-authored-by: Maurice Parrish <10687576+bparrishMines@users.noreply.github.com>
|
@stuartmorgan |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Windows mostly looks good; I did a pass of the Obj-C after some of it caught my attention while skimming the other implementations, and I left a number of comments there.
packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSettingsTests.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSettingsTests.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSettingsTests.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/example/ios/RunnerTests/CameraSettingsTests.m
Outdated
Show resolved
Hide resolved
|
@stuartmorgan any more changes requested here? Or is this ready to be merged? |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Thanks for the test structure changes, that looks much safer than all the class mocking.
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.m
Outdated
Show resolved
Hide resolved
packages/camera/camera_avfoundation/ios/Classes/FLTCamMediaSettings.m
Outdated
Show resolved
Hide resolved
|
@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? |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
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 |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
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 <magder@google.com> 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
stuartmorgan-g
left a comment
There was a problem hiding this comment.
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 |
Platform implementations of federated plugin
This is the
platform implementationspart ofcameraPR #3586.camera_platform_interface: 2.6.0merged and published in PR #3615.Now repeating steps 3,4 (see Changing federated plugins), because
camera/cameradepends on implementationscamera/camera_android,camera/camera_webetc.