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

MissingPluginException(No implementation found for method listen on channel plugins.voximplant.com/call_controller_events) #20

Open
nerdsarena opened this issue Dec 3, 2021 · 4 comments

Comments

@nerdsarena
Copy link

When the exception was thrown, this was the stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:545:9)

@YuliaGrigorieva
Copy link
Contributor

Hello @nerdsarena,

Could you please provide some details how to reproduce and the following information:

  • flutter version
  • flutter_callkit_voximplant version
  • ios version?

Best regards,
Yulia Grigorieva

@nerdsarena
Copy link
Author

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

@YuliaGrigorieva
Copy link
Contributor

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.

/// Signature for callbacks reporting when the provider’s
/// audio session is activated.
///
/// Used in [FCXProvider].
typedef void FCXProviderDidActivateAudioSession();
/// Signature for callbacks reporting when the provider’s
/// audio session is deactivated.
///
/// Used in [FCXProvider].
typedef void FCXProviderDidDeactivateAudioSession();

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

@nerdsarena
Copy link
Author

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
AgoraIO/Advanced-Video#135
https://stackoverflow.com/questions/54007207/audio-seems-not-work-with-callkit-when-incoming-call-is-answered

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

2 participants