You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) (#7109)
* setDescription in Camera platform interface
* example app setup to change description mid recording
* AVFoundationCamera method call to setDescription
* FLTCam setup to setDescription
* captureSession split into video and audio so we will be able to switch cameras without breaking the audio
* renamed setDescription to setDescriptionWhileRecording since it can only be used while recording
* integration tests fixed
* set description while recording integration test
* throws error if device not recording and setDescriptionWhileRecording is called
* set description while recording test
* example project setup
* camera preview can be changed while recording
* camera switches and keeps surface pointed to mediarecorder
* small change to set autofocus when switching while recording
* android video record goes through VideoRenderer to apply matrix after switching camera
* switch camera uses VideoRenderer
* dont use video renderer until user switches camera while recording
* rotate based on initial recording direction
* VideoRenderer cleanup
* flutter results for setDescriptionWhileRecording
* error if you setDescriptionWhileRecording while device is not recording
* android tests
* integration tests
* method channel test
* main package tests
* setDescriptionWhileRecording called while no video was recording test
* integration tests
* dependency overrides
* update readme and version
* removed old TODO
* removed accidental dev team ID commit
* renamed local variables
* use captureSessionQueue
* fixed local variable name
* setupCaptureVideoOutput function
* createConnectionWithInput
* simplified configureConnection function to re-use code on switching camera
* formatting
* example project dependency overrides
* fixed versioning
* formatting
* fixed some ios native tests
* fixed small bug
* dont emit initialized when switching camera
* ios formatting
* dependency overrides for camera/example
* android formatting
* ios test formatted
* android tests formatted
* android format that I missed
* other android formatting
* final formatting with flutter tool
* formatted android again
* android license in new file
* update-excerpts ran
* fixed changelog
* removed development team
* renames configureConnection to createConnection
* renames unimplemented error message
* renames setDescriptionWhileRecording error to match android and the other errors
* fixes formatting
* removes override dependencies from camera_web and camera_windows
* removes camera_web override dependency in camera package
* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java
Co-authored-by: Camille Simon <[email protected]>
* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java
Co-authored-by: Camille Simon <[email protected]>
* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java
Co-authored-by: Camille Simon <[email protected]>
* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java
Co-authored-by: Camille Simon <[email protected]>
* reformats camera.java
* VideoRenderer uses surface texture timestamp instead of current system time
* formats VideoRenderer.java
* fixes comments in VideoRenderer.java
* Update packages/camera/camera_platform_interface/lib/src/platform_interface/camera_platform.dart
Co-authored-by: Maurice Parrish <[email protected]>
* Update packages/camera/camera/lib/src/camera_controller.dart
Co-authored-by: Maurice Parrish <[email protected]>
* renames error typo
* frees shaders after program linking
* handles eglSwapBuffers errors
* extension check guards eglPresentationTimeANDROID
* cleans openGL resources
* reverted timestamp to use uptimeMillis()
* Tests for startPreviewWithVideoRendererStream
* fixes exception not being caught
* tests for correct rotation to be set
* fixes versioning
* tests method channel setDescriptionWhileRecording
* adds forwarding getter on CameraController to its value's description
* dummy commit to fix github test's not finding commit hash
* adds override description for FakeController in camera tests
* fixes versioning for avfoundation and android
* fixes versioning
* fixes pubspec versions
* ios setDescription
* setDescription
* android setDescription
* formatting
* revert
* nits and reverts
* nits
* fixes README
* fixes other comments
* fixes setDescription override in camera_preview_test
* set description test
* versions
* removes changes on platform_interface_changes
* points all packages to platform interface version 2.4
* points to the new platform interface
* removes everything that isnt under camera_avfoundation and camera_android
* removes dependency overrides in examples
* removes version change on camera
* removes camera changes that were missed
* fixes android version
---------
Co-authored-by: BradenBagby <[email protected]>
Co-authored-by: Camille Simon <[email protected]>
Co-authored-by: Maurice Parrish <[email protected]>
0 commit comments