flutter-webrtc / flutter-webrtc-demo

Demo for flutter-webrtc
MIT License
1.15k stars 417 forks source link

Member not found: 'WebRTC.invokeMethod'. #165

Closed vinnitu closed 2 years ago

vinnitu commented 2 years ago

Hello!

trying to run deme get error

$ flutter run
Launching lib/main.dart on Chrome in debug mode...
/home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.6.10/lib/src/helper.dart:53:21: Error: Member not found: 'WebRTC.invokeMethod'.
      return WebRTC.invokeMethod(
                    ^^^^^^^^^^^^
/home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.6.10/lib/src/helper.dart:94:22: Error: Member not found: 'WebRTC.invokeMethod'.
        await WebRTC.invokeMethod(
                     ^^^^^^^^^^^^
/home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.6.10/lib/src/helper.dart:111:22: Error: Member not found: 'WebRTC.invokeMethod'.
        await WebRTC.invokeMethod(
                     ^^^^^^^^^^^^
Waiting for connection from debug service on Chrome...             19.6s
Failed to compile application.
cloudwebrtc commented 2 years ago

fixed https://github.com/flutter-webrtc/flutter-webrtc/releases/tag/0.6.10%2Bhotfix.1