Open nerdsarena opened 2 years ago
Hello @nerdsarena,
Could you please provide some details how to reproduce and the following information:
Best regards, Yulia Grigorieva
flutter version : Flutter 2.2.3 flutter_callkit_voximplant version : flutter_callkit_voximplant: ^2.0.2+2
i see this error in log when run in android only
we know your plugin support iOS only but we face issue handle audio in iOS while app accept call from background and we tray multiple solutions but without any new result ! so we think this error my be the reason
hello @nerdsarena ,
Thank you for information provided.
We wil check if we can reproduce the issue with an android app and will get back to you soon.
Regarding the issue with audio on iOS, it does not seem to be related to this error. Please check if you use FCXProviderDidActivateAudioSession/FCXProviderDidDeactivateAudioSession events in your project.
The audio in a call should start only after CallKit activates the audio session, otherwise there might be issues to get the audio from the microphone or play audio to an audio device (speaker, receiver, headset).
Best regards, Yulia Grigorieva
after investigation we found issue that audio session not active when response from background after a lot of search we understand that audio session activated from callkit it self but this not happen in our case can you help us with any sample code how to activate audio session when it's not activated thanks
similar issue https://developer.apple.com/forums/thread/64544 https://github.com/AgoraIO/Advanced-Video/issues/135 https://stackoverflow.com/questions/54007207/audio-seems-not-work-with-callkit-when-incoming-call-is-answered
When the exception was thrown, this was the stack:
0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)