Comments (8)
@krupalieBizTrait Please provide complete minimal reproducible code sample that triggers the reported error.
from flutter.
Future _stopVideoRecording() async {
if (!controller.value.isRecordingVideo) {
return null;
}
try {
XFile video = await controller.stopVideoRecording();
CommonMethod().getXSnackBar("stopvideo", Colors.green);
if (video.path != "") {
isRecording.value = false;
_timer!.cancel();
}
} on CameraException catch (e) {
CommonMethod().getXSnackBar("catch..${e}", Colors.redAccent);
MyPrint(tag: "catch", value: e.toString());
}
Always getting catch exception in my above device in android
from flutter.
Above isn't a complete code as it contains custom implementation which we can't directly use. Please provide us complete reproducible code sample (ex: main.dart) that we can simply copy paste and run to verify further.
from flutter.
from flutter.
from flutter.
@krupalieBizTrait I used the code you shared above, ran on S10 (Android 12) using latest stable version and was able to record video using front and back camera properly without seeing the reported exception. Are there any specific steps to replicate the error ?
from flutter.
from flutter.
@krupalieBizTrait
I see that you are using community package like get in your code implementation. Can you narrow down your use case with only camera implementation and remove other third party code and check if you still get same exception or not. If yes, please update code sample.
from flutter.
Related Issues (20)
- Running flutter in iOS17, native print logs cannot be displayed in VSCode,only in XCode. But iOS 16 can show both
- How to deploy a flutter app using flavor with xcode cloud?
- RangeSlider : bad rounded value on 55 HOT 2
- Cherry picks to the engine require formatting HOT 4
- [Impeller] Different blur effect when using BorderRadius.only HOT 1
- mac-10 lost external connection phone device. HOT 1
- mac-7 and mac-24 lost external connection phone device. HOT 1
- Blank/empty UI on second run of app in Android emulator.
- [pigeon] [Mac-14] runPigeonIntegrationTests timeout in CI on macOS 14 HOT 1
- mac-23 lost external connection phone device. HOT 1
- [webview_flutter] [flutter 3.22.1] iOS textfield cannot call up keyboard after exiting webview_flutter page in flutter 3.22.1, no problem in 3.19.6 HOT 2
- Flutter 3.22.0 -- iOS crash on app launch: 0x0000000108967408 NativeCanvas._restore$Method$FfiNative + 124 HOT 1
- Can't use shadow build with `led` in staging pool for some engine tests HOT 2
- RichText is not following Android system font size HOT 6
- [go_router]: StatefulShellRoute does not persist when navigating to a new screen after 12.x.x HOT 1
- mac-3 lost external connection phone device. HOT 1
- [go_router] ability to have a default pop to
- [Impeller] Android: Impeller opt-out via the command-line and manifest options must work.
- Machine 'flutter-devicelab-linux-38' might be in bad state and may need to be quarantined HOT 1
- Allow safely probing for surrounding `_InheritedNestedScrollView`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.