Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

Local and remote videos feed on Safari are black screens

Open rgb1380 opened this issue 3 years ago • 10 comments

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?

rgb1380 avatar Sep 02 '21 06:09 rgb1380

I need to check it.

LichKing-2234 avatar Sep 02 '21 07:09 LichKing-2234

Any updates? Have you seen the issue?

rgb1380 avatar Sep 08 '21 06:09 rgb1380

Have the same issue

NSFriend avatar Sep 16 '21 08:09 NSFriend

Sorry, guys, I am so busy these days, I will check it next week.

LichKing-2234 avatar Sep 16 '21 08:09 LichKing-2234

@LichKing-2234 And progress, please?

rgb1380 avatar Sep 28 '21 06:09 rgb1380

I have tested it. But I have no idea about it. I need more time.

LichKing-2234 avatar Sep 28 '21 10:09 LichKing-2234

Any update?

rgb1380 avatar Nov 22 '21 02:11 rgb1380

Screenshot 2022-07-28 at 11 56 28 PM

@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:

  1. 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.
  2. https://stackoverflow.com/a/66400537/3348386. It says should not have a port name. But why only Safari then?
  3. Someone said TLS1.2 is required; but that's enabled on my system. It's an old story anyway.
  4. 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.

reeteshranjan avatar Jul 28 '22 19:07 reeteshranjan

@rgb1380 could you please edit the bug title to remove dev/flutter2? The bug is on main package now.

reeteshranjan avatar Jul 28 '22 19:07 reeteshranjan

@LichKing-2234, any updates on this?

reeteshranjan avatar Aug 20 '22 06:08 reeteshranjan

xx

mminhlequang avatar Apr 22 '23 11:04 mminhlequang

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.

littleGnAl avatar Nov 14 '23 09:11 littleGnAl

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.

github-actions[bot] avatar Nov 28 '23 10:11 github-actions[bot]

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.

github-actions[bot] avatar Dec 05 '23 11:12 github-actions[bot]