Skip to content
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

crasher: OperationFailedException(startRecording failed: Recording(Properties(RecordingNotEnabled))) #8

Open
jd-bus opened this issue May 26, 2024 · 2 comments

Comments

@jd-bus
Copy link

jd-bus commented May 26, 2024

Hi, facing the following issue using the demo code.

Fatal Exception: FlutterError
OperationFailedException(startRecording failed: Recording(Properties(RecordingNotEnabled)))
0
platform_bridge.dart - Line 220
PlatformBridge._asyncCall.<fn> + 220
1
util.dart - Line 15
ObjectExt.let + 15
2
platform_bridge.dart - Line 220
PlatformBridge._asyncCall + 220
3
platform_bridge.dart - Line 386
PlatformBridge.updateInputs.<fn> + 386
4
platform_bridge.dart - Line 502
PlatformBridge.startRecording + 502
5
recording_button.dart - Line 169
_RecordingButtonState._onPressed + 169

Here is the breakdown of iOS versions it is happening on. Basically, any version.
Screenshot 2024-05-27 at 2 37 45 AM

Here is an example:
Screenshot 2024-05-27 at 2 39 02 AM

Do you know anything about it? I tested to see if it is caused by refusing voice/video permissions but I could not reproduce it. Even after refusing those permissions it didn't crash.

@jd-bus
Copy link
Author

jd-bus commented Jun 8, 2024

More stack trace information (I've confirmed this is running the latest example code)

Fatal Exception: FlutterError
OperationFailedException(updateInputs failed: TimeoutException after 0:00:10.000000: Future not completed)
0
platform_bridge.dart - Line 220
PlatformBridge._asyncCall.<fn> + 220
1
util.dart - Line 15
ObjectExt.let + 15
2
platform_bridge.dart - Line 220
PlatformBridge._asyncCall + 220
3
platform_bridge.dart - Line 386
PlatformBridge.updateInputs.<fn> + 386

Any feedback on this? For the record, it's not clear to me that this is an issue with the demo code per se vs the library. However I haven't been able to find daily_flutter itself on GitHub so asking the question here. Thanks!

@jd-bus jd-bus changed the title ios crasher crasher: OperationFailedException(startRecording failed: Recording(Properties(RecordingNotEnabled))) Jun 23, 2024
@jd-bus
Copy link
Author

jd-bus commented Jun 23, 2024

Also seeing this on Android so I updated the title of the issue accordingly. Here is a stack trace on Android:

PlatformBridge._asyncCall.<fn>
io.flutter.plugins.firebase.crashlytics.FlutterError - OperationFailedException(startRecording failed: Recording(Properties(RecordingNotEnabled)))
package:daily_flutter/src/platform_bridge.dart:220
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
OperationFailedException(startRecording failed: Recording(Properties(RecordingNotEnabled)))
PlatformBridge._asyncCall.<fn> (platform_bridge.dart:220)
ObjectExt.let (util.dart:15)
PlatformBridge._asyncCall (platform_bridge.dart:220)
PlatformBridge.updateInputs.<fn> (platform_bridge.dart:386)
PlatformBridge.startRecording (platform_bridge.dart:502)
_RecordingButtonState._onPressed (recording_button.dart:169)

ie, basically the same stacktrace as iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant