【web】-【2.7.8】进入房间失败 错误 dart.global.TrtcWrapper is not a constructor
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing web initialization of dart.global.TrtcWrapper and the destroySharedInstance call shown in the report. Reproduce the issue on Flutter web with the reported Chrome environment and verify that entering a room no longer raises the constructor error and that _trtcCloudWrapper is initialized.
Written by the indexing model from the issue text.
Description
【当前现象】:进房失败,提示错误 dart.global.TrtcWrapper is not a constructor
【SDKAppID】:1400288099
【房间号】: 207380
【useID】:5c44202670569252686d78ffee1de035
【问题时间段】:2024-05-20 11:30~12:50
【机型】:mac系统版本14.1.1 ,chrome:版本 124.0.6367.209
【之前版本有无此问题】:第一次接入
【是否必现】:必现,
【日志或者描述、截图】:[ +347 ms] Error: PlatformException(error, TypeError: dart.global.TrtcWrapper is not a constructor, null, null)
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3 throw_
packages/flutter/src/services/message_codecs.dart 651:7 decodeEnvelope
packages/flutter/src/services/platform_channel.dart 334:18 _invokeMethod
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 838:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 867:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 643:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 713:7 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
[+33275 ms] ============>>> method: destroySharedInstance , arguments : null
[ ] _trtcCloudWrapper is null
- Dominant language
- Dart
- Stars
- 82
- Forks
- 39
- Avg merge
- 27m
- Merged PRs (30d)
- 1
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Tencent-RTC/TRTC_Flutter
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Tencent-RTC/TRTC_Flutter#119 ·
-
macOS 上无法屏幕分享Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Tencent-RTC/TRTC_Flutter#117 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Tencent-RTC/TRTC_Flutter#81 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Tencent-RTC/TRTC_Flutter#76 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Tencent-RTC/TRTC_Flutter#75 ·
All issues in Tencent-RTC/TRTC_Flutter
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
area-clientside-dartpad
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
dart-lang/dart-pad#3938 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
general
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ScottKirvan/QuKi-Notes#444 ·
Maintainers usually reply within 22 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleads/googleads-mobile-flutter#1506 ·
Maintainers usually reply within 17 days