-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) #7109
[camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) #7109
Conversation
…h cameras without breaking the audio
…nly be used while recording
… switching camera
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
Secondary review request for @camsim99 @stuartmorgan or @hellohuanlin |
Did not mean to remove you @hellohuanlin and don't seem to be able to add you back |
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 on iOS part - looks like it's the same code from #6478 which I have reviewed.
After looking at the logs Im still not sure whats failing here. I guess the build timed out but not sure why. Any ideas or suggestions @bparrishMines @stuartmorgan. Or can we just re-trigger these tests to run? |
There aren't any failing tests here; it will be landed automatically when the tree is green. |
…or cam_avfoundation and cam_android) (flutter/plugins#7109)
* f1a3fea7f Update GCLOUD_FIREBASE_TESTLAB_KEY (flutter/plugins#7176) * 9c312d4d2 [camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) (flutter/plugins#7109)
Looks like an android test on Testlab is failing for starqlteue_26. Probably due to this here #6478 (comment) |
@stuartmorgan What solution do you think we should use: disable switching camera for devices below API 26, Or disable the plugin for older versions? |
|
Looks that way:
I'm confused how this passed the |
We should only disable the new feature, not the entire plugin. |
Sorry about that. I don't have access to my Android device right now so will do this tomorrow. But to be sure. Im thinking the new feature for devices < 26 should throw some sort of unsupported error when user tries to flip camera mid recording and not mess with the recording state (camera keeps recording unflipped). Is that what you're thinking? |
That sounds reasonable to me. So the next step here would be to make a new PR that starts with a revert of the revert (with no changes) as the first commit, then makes changes in follow-up commits, to make it easy to review just the changes. We'll make sure to have a team member push a commit to the PR once it's reviewed so that we can get full presubmit tests. |
…t PR for cam_avfoundation and cam_android) (flutter#7109)" (flutter#7181)" This reverts commit 66d5724.
This is another split out PR for #6478. This PR only contains changes under Camera_AVFoundation and Camera_Android, while also pointing them to the merged platform interface changes version 2.4.0