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

'participantDisconnected' event is not triggered in Next.js #2015

Open
8 tasks done
Fahad-Anwar3 opened this issue Aug 23, 2023 · 0 comments
Open
8 tasks done

'participantDisconnected' event is not triggered in Next.js #2015

Fahad-Anwar3 opened this issue Aug 23, 2023 · 0 comments

Comments

@Fahad-Anwar3
Copy link

Fahad-Anwar3 commented Aug 23, 2023

  • I have verified that the issue occurs with the latest twilio-video.js release and is not marked as a known issue in the CHANGELOG.md.
  • I reviewed the Common Issues and open GitHub issues and verified that this report represents a potentially new issue.
  • I verified that the Quickstart application works in my environment.
  • I am not sharing any Personally Identifiable Information (PII)
    or sensitive account information (API keys, credentials, etc.) when reporting this issue.

Code to reproduce the issue:
I have done my research and have not found this issue reported anywhere. To share the bug and reproduce it I have a created a new Next.js project from scratch and setup Twilio into that.

Steps to reproduce the issue

  1. Join a room with video call (there should be at least 2 participants)
  2. log out from call from one of the participant
  3. The participantDisconnected listener will not trigger the event for remote participant disconnection

This is the repo for the project and the issue can be reporduced

Expected behavior:

The participantDisconnected listener event should be triggered for all other participants in the room when any remote participant disconnects

Actual behavior:

The participantDisconnected listener event does not get triggered and video frame from remote participants seems to be frozen even though the remote participant has left the room

Software versions:

  • Browser(s): Firefox 116.0.3, Safari 16.6
  • Operating System: Mac OS Monterey 12.6.8
  • twilio-video.js: 2.17.1 - 2.27.0
  • Third-party libraries: Next.js 13.4.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant