call onVideoRocordingMode callback within it call recordingState.stopRecording() callback within it call onVideo() callback then call captureRequest.when(single:(){}) it wont be called if app go to background or any state like pause,inactive etc.
Expected results
Should call captureRequest.when(single:(){}); callbacke
Actual results
throw exception that camera won't in recording mode
Please add a proper reproduction code.
A single code that we can directly launch.
Your explanation is hard to understand and the more you help us reproduce a bug the less time we waste.
Thank you
Steps to Reproduce
call onVideoRocordingMode callback within it call recordingState.stopRecording() callback within it call onVideo() callback then call captureRequest.when(single:(){}) it wont be called if app go to background or any state like pause,inactive etc.
Expected results
Should call captureRequest.when(single:(){}); callbacke
Actual results
throw exception that camera won't in recording mode
About your device
Your flutter version
Run this in your command line
flutter --version
3.16.5