Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[camera]: Add support for external cameras on iOS #130073

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

Open
bibaswan-bhawal opened this issue Jul 6, 2023 · 4 comments
Open

[camera]: Add support for external cameras on iOS #130073

bibaswan-bhawal opened this issue Jul 6, 2023 · 4 comments
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter e: OS-version specific Affects only some versions of the relevant operating system has partial patch There is a PR awaiting someone to take it across the finish line p: camera The camera plugin P2 Important issues not at the top of the work list package flutter/packages repository. See also p: labels. platform-ios iOS applications specifically team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team

Comments

@bibaswan-bhawal
Copy link

With the introduction of IOS 17 the camera apis for ios have changed quite a bit. One of the introductions is external webcam support for iPadOS. It would be great if the camera plugin could support this out of the box.

@darshankawar darshankawar added in triage Presently being triaged by the triage team c: new feature Nothing broken; request for a new capability platform-ios iOS applications specifically p: camera The camera plugin package flutter/packages repository. See also p: labels. c: proposal A detailed proposal for a change to Flutter e: OS-version specific Affects only some versions of the relevant operating system and removed in triage Presently being triaged by the triage team labels Jul 7, 2023
@stuartmorgan-g
Copy link
Contributor

It looks like this would require passing AVCaptureDeviceTypeExternal to the discovery session. It's unclear if that will impact any of the rest of the plugin code, or it's just that.

@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team labels Jul 8, 2023
@bibaswan-bhawal
Copy link
Author

I did some initial testing and found that passing AVCaptureDeviceTypeExternal does infact allow the camera to be detected and see a preview using CameraPreview, however, take picture does not work. I have not tested with taking video or any of the other features.

The WWDC session on this could be helpful in implementing this https://developer.apple.com/videos/play/wwdc2023/10106/

Unfortunatly running flutter apps on IOS 17 is broken and only allows running from xcode and attaching flutter so its cumbersome to develop and test on. Fixing that and then adding this would be really great.

@stuartmorgan-g stuartmorgan-g changed the title [camera package]: Updating the camera plugin for ios 17 [camera]: Add support for external cameras on iOS Jul 9, 2023
@flutter-triage-bot flutter-triage-bot bot removed the triaged-ios Triaged by iOS platform team label Jul 10, 2023
@flutter-triage-bot
Copy link

This issue is missing a priority label. Please set a priority label when adding the triaged-ios label.

@voxoid0

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter e: OS-version specific Affects only some versions of the relevant operating system has partial patch There is a PR awaiting someone to take it across the finish line p: camera The camera plugin P2 Important issues not at the top of the work list package flutter/packages repository. See also p: labels. platform-ios iOS applications specifically team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team
Projects
None yet
5 participants