Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

[VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method muteLocalVideoStream on channel agora_rtc_channel)

Open Hwan-seok opened this issue 3 years ago • 5 comments

I did not hot restarted

Describe the bug MissingPluginException occurs when using muteLocalAudioStream and muteLocalVideoStream.

[VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method muteLocalVideoStream on channel agora_rtc_channel) [VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method muteLocalAudioStream on channel agora_rtc_channel)

It works as expected (muting) but exception occurs.

It only occurs on IOS DEVICES.

What I tried.

flutter clean
ios pod repo update
remove podfile.lock and pod install
detele and reinstall app

To Reproduce get 4.0.6 rtc engine and try muteLocalVideoStream

Desktop (please complete the following information):

  • OS: Mac book m1 App(not mac os app)
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: All IOS Devices => What I tested, Iphone 12 mini, Iphone 11,
  • OS: 14.7.1
  • Version : 4.0.6 (latest)

Additional context Add any other context about the problem here.

Hwan-seok avatar Aug 30 '21 10:08 Hwan-seok

this is a bug, will be fixed next version. you can use publish and unpublish.

LichKing-2234 avatar Aug 30 '21 12:08 LichKing-2234

Are these two exactly the same to publish or unpublish?

Hwan-seok avatar Aug 30 '21 13:08 Hwan-seok

But then, how can I unpublish audio or video only?

Hwan-seok avatar Aug 30 '21 13:08 Hwan-seok

@LichKing-2234 I feel it works properly but only throws platform exception right? If above is correct then, could I just try and empty catch the method?

Hwan-seok avatar Aug 31 '21 02:08 Hwan-seok

not work on iOS

LichKing-2234 avatar Aug 31 '21 02:08 LichKing-2234

If you still face issues, please try upgrading to the new version to see if it works for you.

littleGnAl avatar Nov 14 '23 09:11 littleGnAl

Closing the issue due to lost interest in it.

Hwan-seok avatar Nov 14 '23 09:11 Hwan-seok

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Nov 21 '23 10:11 github-actions[bot]