amazon-chime-sdk-js
amazon-chime-sdk-js copied to clipboard
Remote video does not disappear if a remote attendee calls removeLocalVideoTile
Important: Please attach INFO-level logs with timestamps to the report from before the session started up until the point at which the unexpected behavior occured. For multi-participant calls, attach a log file for each participant if possible.
No info-level log is available. When a remote attendee (UserB in the example below) disables the local video, SDK does not log any message in other attendees' sessions.
Describe the bug Describe the bug and the timestamp at which it happened relative to the timestamp in the log file.
Repro steps
- UserA joins the meeting.
- UserB joins the same meeting.
- UserB enables local video by calling
meetingSession.audioVideo.startLocalVideoTile. - In the UserA's page, the UserB's video appears.
- UserB disables local video by calling
meetingSession.audioVideo.removeLocalVideoTile. - In the UserA's page, the UserB's video freezes.
AudioVideoObserver.videoTileWasRemoveddoes not get called.
Note that it works if UserB calls stopLocalVideoTile to turn the local video off.
Platform
- OS: macOS 10.14.6
- Browser: Chrome
- Browser Version: 80.0.3987.163
- Amazon Chime SDK GitHub Commit: 583125a702ec4b3fc295c9413aee80ea13c92265
It looks like the meeting app should trigger a 'videoTileWasRemoved' event, but it doesn't, and therefore it doesnt call these two lines of code that should hide the video tile: https://github.com/aws/amazon-chime-sdk-js/blob/fc9652b5fdf31d8cd50b66058b0013df652832e5/demos/browser/app/meetingV2/meetingV2.ts#L1420-L1421
Reopen this issue as we reverted a fix. https://github.com/aws/amazon-chime-sdk-js/pull/731