ConnectyCube / connectycube-flutter-sdk-releases

ConnectyCube Flutter SDK Releases
7 stars 1 forks source link

Android RTCRtpSenderNative.replaceTrack has type MediaStreamTrack .....WebRTC Error #80

Closed Codzaa closed 2 years ago

Codzaa commented 2 years ago

Platform (use [x]) [x] Android [] iOS [] macOS [x] Windows [] Web

Device info OS version: [Windows 11] Flutter 2.10.5 ConnectyCubeSDK ^2.1.0

Describe the bug: I made a new Flutter App, I added ConnectyCube SDK, I tried running the App on my Android Emulator and my actual Android Device but I get the following errors.

image

Steps to Reproduce:

  1. New Flutter App
  2. Add ConnectyCube SDK
  3. Import the library anywhere in you project (import 'package:connectycube_sdk/connectycube_sdk.dart';)
  4. Run or Build for Android

Actual result:

image

Expected behavior: Should Build/Run with no Error

Additional info Thanks

TatankaConCube commented 2 years ago

it looks like the issue is related to the latest updates of the flutter_webrtc lib, we will check it and release the update later, before it you can try to override the dependency of the lib webrtc_interface to the previous version (1.0.3) by adding the next lines to your pubspec.yaml file:

dependency_overrides:
  webrtc_interface: 1.0.3
TatankaConCube commented 2 years ago

@Codzaa today we have published the new version (2.1.1) with the required fix, try it

Codzaa commented 2 years ago

@TatankaConCube ok let me check it out