-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error: TypeError: Instance of 'LinkedMap<String, dynamic>': type 'LinkedMap<String, dynamic>' is not a subtype of type 'JSObject' #1564
Comments
It has been fixed in dart-webrtc 1.4.1. Please delete https://github.com/flutter-webrtc/dart-webrtc/releases/tag/1.4.1 |
This issue same as mine. But the code using flutter_webrtc instead of dart_webrtc. I have done what you've said but it still don't working. Also when im using dart_webrtc, i cant use some methods like RTCVideoRenderer. I dont know what should i do. Can you help. |
Hey, you don't need to change to https://github.com/flutter-webrtc/flutter-webrtc/blob/main/pubspec.yaml#L11 |
I am getting this same error when running dart-webrtc 1.4.1 Looks like you reverted the mapper in 1.4.0 to this:
but back in dart-webrtc 1.3.0 it was this:
|
This didn't work |
我也遇到了,需要帮忙解决,谢谢。 |
fixed!已经搞定! pubspec.yaml: publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: dependencies: cupertino_icons: ^1.0.2 dev_dependencies: flutter: uses-material-design: true |
pub get后自动升级了dart_webrtc dart_webrtc: |
[Describe the bug
Error trace back to this line
To Reproduce
This happens when
createPeerConnection
is calledExpected behavior
It works with the exact same code in version
0.9.27
Platform information
Flutter version:
3.19.3
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.0 23A344 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] Connected device (3 available)
[✓] Network resources
Plugin version:
flutter_webrtc: ^0.10.3
Web
Macos
The text was updated successfully, but these errors were encountered: