We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got this error when change the audio category on real ios device to force video mute and unmute when I pressed on ringer button
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(1009, Failed to set audio session category, The operation couldn’t be completed. (OSStatus error 561017449.), null) #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:651:7) #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:322:18) #2 FlutterVolumeController.setIOSAudioSessionCategory (package:flutter_volume_controller/src/flutter_volume_controller.dart:223:7)
The text was updated successfully, but these errors were encountered:
https://developer.apple.com/documentation/coreaudiotypes/avaudiosessionerrorinsufficientpriority You may need some extra handling for this scenario.
Sorry, something went wrong.
do u have any idea how to handle this case ? i'm switching from
FlutterVolumeController.setIOSAudioSessionCategory( category: AudioSessionCategory.playback, );
and
FlutterVolumeController.setIOSAudioSessionCategory( category: AudioSessionCategory.ambient, );
when user switch ringer mode from on and off
No branches or pull requests
I got this error when change the audio category on real ios device to force video mute and unmute when I pressed on ringer button
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(1009, Failed to set audio session category, The operation couldn’t be completed. (OSStatus error 561017449.), null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:651:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:322:18)
#2 FlutterVolumeController.setIOSAudioSessionCategory (package:flutter_volume_controller/src/flutter_volume_controller.dart:223:7)
The text was updated successfully, but these errors were encountered: