Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
Local and remote videos feed on Safari are black screens
Describe the bug We have ported our app (Flutter iOS/Android) to web. Our agora implementation works perfectly fine on desktop on the latest versions of Chrome, Edge, and Firefox but has an issue in Safari (version 14.1.1 on Mac).
With Safari the local preview does not work and remains black. However, the remote user does actually receive the video feed. The local user on Safari also does not see the video feed of the remote user, the screen is black but the audio comes through.
We have observed the exact same problem with mobile Chrome on Android.
Is this a known issue?
I need to check it.
Any updates? Have you seen the issue?
Have the same issue
Sorry, guys, I am so busy these days, I will check it next week.
@LichKing-2234 And progress, please?
I have tested it. But I have no idea about it. I need more time.
Any update?
@LichKing-2234 I see this in console on Safari. No other browser shows this and everything works fine. I cannot see any other difference so thought will point this out.
Could not find anything concrete about the error; but hopefully the following will help:
- I tried to see if there is anything specific to Safari developer options. Found the suggestion to enable
NSURLSession WebSocket
but it does not matter if this is enabled or disabled. I get the same error. - https://stackoverflow.com/a/66400537/3348386. It says should not have a port name. But why only Safari then?
- Someone said TLS1.2 is required; but that's enabled on my system. It's an old story anyway.
- The WebSocket subprotocols: is there anything around them here? Saw the list here https://www.iana.org/assignments/websocket/websocket.xml#subprotocol-name.
This is no longer a dev/flutter2 branch issue. I can see this with the latest flutter package.
@rgb1380 could you please edit the bug title to remove dev/flutter2? The bug is on main package now.
@LichKing-2234, any updates on this?
xx
The web support for agora_rtc_engine
6.x has landed in the main
branch, If you still face issues, please try the latest code in main
branch to see if it works or not.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
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.