You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void initAgora() async {
log("Channel name before client.initialize() is: $channelName");
try {
await client.initialize();
} catch (e) {
showErrorDialog(
title: "Error!",
description: "Some unknown error was thrown while joining the call. Trying again.",
);
log("exceotion is: $e"); // this logs that above error.
await client.initialize();
}
}
and my flutter doctor -v:
[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [Version 10.0.19044.1706], locale en-US)
• Flutter version 2.10.5 at C:\Flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (10 weeks ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\Users\waqad\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code (version 1.68.1)
• VS Code at C:\Users\waqad\AppData\Local\Programs\Microsoft VS Code
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (4 available)
• RMX2030 (mobile) • b37273eb • android-arm64 • Android 10 (API 29)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1706]
• Chrome (web) • chrome • web-javascript • Google Chrome 102.0.5005.115
• Edge (web) • edge • web-javascript • Microsoft Edge 102.0.1245.44
[√] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Can you please have a look? I search for it but could understand what is causing this. It is really very annoying. Thanks for your time.
The text was updated successfully, but these errors were encountered:
waqadArshad
changed the title
PlatformException(-17, request to join channel is rejected, null, null)
PlatformException(-17, request to join channel is rejected, null, null) Or when I end the call PlatformException(-7, , null, null)
Jun 26, 2022
Hey @waqadArshad,
sorry, for the delayed response. I tried building using the code that you shared and the initialisation error can be ignored as it shows the internal state. But for the end user the a successful initialisation will be followed by a successful join channel callback.
The error code 17 that you're getting can be due to an incorrect token provided or by logging again with the same UID when the leave channel wasn't successful or not completed.
@maxxfrazer @Meherdeep
First of all, thanks a lot for this fantastic package and its regular maintenance.
I am getting the following error sometimes.
I also get this log every time, even if I successfully join the call
This is the partial console output that I am getting after initiating the call:
Also, every time I end the call, I get:
Agora version:
Here is my configuration:
using this in initState:
and my flutter doctor -v:
Can you please have a look? I search for it but could understand what is causing this. It is really very annoying. Thanks for your time.
The text was updated successfully, but these errors were encountered: