-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
Use case
Right now, the cameraDescription is set when you create a new CameraController instance, and you can't change it after that. Sometimes, when I record a video, I want to be able to switch from the front-facing to the back-facing camera mid-recording to show something. Certain packages like camerawesome allow that but only on iOS.
Proposal
Add a setCamera(CameraDescription) method to CameraController, that can be called while recording, or at the very least when the controller is paused so that we can pause, switch and resume in the same file.
nt4f04uNd, II11II, Tom3652, aytunch, erkansahin and 13 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.