-
Notifications
You must be signed in to change notification settings - Fork 388
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
Cannot initialize agora video on flutter web #1738
Comments
The function if (!kIsWeb) {
await _engine.enableWebSdkInteroperability(true);
} |
That actually did seem to help! Though now I'm met with a couple of new error messages but only in the web implementation (working on Android and iOS): [client-c2244] join number: 1, Joining channel failed, rollback AgoraRTCException: AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: flag: 4096, message: AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: invalid vendor key, can not find appid [Iris error]:data: {"retry":false,"csIp":"[ip redacted]","desc":["invalid vendor key, can not find appid"]} |
It is most likely there's an issue with your appid, I think you need to raise a ticket to Agora Support to see what's gone wrong. |
I found in another issue post that the error message can also mean that the token was invalid. Consulting our backend developer and setting the appropriate token & appId was sufficient to remedy the error. Though it may be prudent to add to the error message that it could also be an invalid token. Thank you for the guidance! |
I'm happy to close this issue. Thanks for the help. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue. |
Version of the agora_rtc_engine
6.3.0
Platforms affected
Steps to reproduce
Install agora, add script tag, confirm script is loading, start video session
Expected results
Video session starts on web
Actual results
Video canvas displays loading animation indefinitely.
[1:53:21 PM:165][Iris warning]:RtcEngine_enableWebSdkInteroperability_5039d15 not supported in this platform!
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: