Skip to content
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

Local Video is taking about a minute to be displayed on iOS 15.1 #717

Closed
6 tasks done
ameriles opened this issue Jan 20, 2022 · 3 comments
Closed
6 tasks done

Local Video is taking about a minute to be displayed on iOS 15.1 #717

ameriles opened this issue Jan 20, 2022 · 3 comments
Labels
video Issues related to quality of the video stream - blurry, jerky, freezes, black screens

Comments

@ameriles
Copy link

ameriles commented Jan 20, 2022

What happened and what did you expect to happen?

After I join a meeting, my local video tile (LocalVideo component) appears for a fraction of a second, and then it dissapears.
Remote attendee is not getting any video from my end neither.
After a minute (aproximately), the local video tile begins displaying correctly and the remote attende start receiving it.

If I toggle my local video off, and then I turn it on again, I experience the same exact behavior: I should wait for about a minute for my local video tile starts displaying the video.

The iPhone camera status indicator (at the left of the battery icon), blinks between orange and green during the minute the video tile is not showing any video and becomes steady green when the video starts showing (as expected).

amazon-chime-sdk-js version is 2.24.0

Have you reviewed our existing documentation?

Reproduction steps

  • Setup audio and video devices
  • Join the meeting

Amazon Chime SDK React Components Library version

2.12.0

What browsers are you seeing the problem on?

Safari

Browser version

15.1

Device Information

iOS 15.1

Meeting and Attendee ID Information.

No response

Browser console logs

chime-ios-logs.txt

Add any other context about the problem here.

At the logs, Join meeting starts at 2022-01-20T22:36:49.066Z (2nd line of the log).

You can check at the logs for this line [INFO] SDK - peer connection being consistently displaying for about 45 seconds, while the local video is not being displayed.
When this line disappears, the local video starts showing ok (aproximately at 2022-01-20T22:37:51.000Z)

@neeltrivedi
Copy link

I am facing the exact same issue. It takes time for video to start on ios mobile device.
I can see the red video icon flickering at address bar as if it is trying to get hold of video stream.

amazon-chime-sdk-js version is 2.24.0
iOS 15.1

@simmkyu
Copy link
Contributor

simmkyu commented Feb 1, 2022

Server logs

The Chime server logs indicates the following events for the attendee 8323db90-6e62-a6cb-6b92-f7985c634769:

  • At 22:37:32, the attendee was dropped from the meeting.
  • At 22:37:49, the first local video call failed.
  • At 22:37:51, the second local video call succeeded after the attendee successfully re-joined the meeting.
Time Action
01/20/22 22:35:31 Created with CreateAttendee, BatchCreateAttendees, or CreateMeetingWithAttendees API in your server application
01/20/22 22:36:50 Called the meetingSession.audioVideo.start API
01/20/22 22:36:52 Successfully joined the meeting
01/20/22 22:37:32 Dropped from the meeting
01/20/22 22:37:48 Attempted to start a local video
01/20/22 22:37:49 Failed to start a local video
01/20/22 22:37:51 Started a local video
01/20/22 22:37:52 Successfully joined a meeting
01/20/22 22:51:30 Stopped a local video
01/20/22 22:51:34 VoIPLeave

Browser logs

The Chime SDK for JavaScript outputs the following message when the attendee was dropped from the meeting at 22:37:32.

[Error] WebSocket connection to 'wss://signal.m3.ue2.app.chime.aws/control/f2c61fa5-b95d-48e9-93a1-5969ea320706?X-Chime-Control-Protocol-Version=3&X-Amzn-Chime-Send-Close-On-Error=1&X-Amzn-Version=2.24.0&X-Amzn-User-Agent=ios-15' failed: The operation couldn’t be completed. Socket is not connected
...
2022-01-20T22:37:32.546Z [WARN] SDK - SubscribeAndReceiveSubscribeAckTask connection was terminated with code 1006 and reason:  (bundle.js, line 39114)

The WebSocket status code 1006 often means that the browser kills a WebSocket connection for unknown reasons.

Next steps

According to Known browser and compatibility issues, starting a local video in iOS 15.1 has been failing due to the following Safari issues:

The Chime SDK for JavaScript 2.24.0 includes a workaround for these issues, but I wonder if there's a regression.

Can you check if you can reproduce the same issue in the Chime SDK for JavaScript serverless demo or the Chime SDK component meeting demo?

@simmkyu simmkyu added the video Issues related to quality of the video stream - blurry, jerky, freezes, black screens label Feb 1, 2022
@devalevenkatesh
Copy link
Contributor

@ameriles Is this still an issue on your side, I tested on iOS Safari 15.3 with our react meeting demo with 2.12.0 component library version and my video loads up fine so looks like fixed with newer updates. Closing this issue due no activity further. Please feel free to re-open if you still face the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
video Issues related to quality of the video stream - blurry, jerky, freezes, black screens
Projects
None yet
Development

No branches or pull requests

4 participants