jcrisp88 / flutter-webrtc_python-aiortc-opencv

Flutter WebRTC demo with Python server to perform image processing on video frames using OpenCV
65 stars 18 forks source link

Failed to compile due to too old dependencies on Flutter #4

Open NineWoranop opened 10 months ago

NineWoranop commented 10 months ago

Hello,

I failed to get the dependencies on this flutter example. The dependencies are too old. They are no longer there for compile. Could you please help me to upgrade your example if you have time?

0010SS commented 10 months ago

Simply changing the dependency versions make the repo work for me. Below is my setup for pubspec.yaml:

environment:
  sdk: ">=3.1.2 <4.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.6
  flutter_webrtc: ^0.9.47
  http: ^1.1.0
  equatable: ^2.0.5