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

participant.networkQualityLevel Returns Null When Connect to a Room with Audio and Video Off #2031

Open
2 tasks done
funayamateppei opened this issue Nov 1, 2023 · 1 comment

Comments

@funayamateppei
Copy link

connect(token, {
          networkQuality: {
            local: 1,
            remote: 1,
          },

We are currently monitoring the participantConnected event and using
participant.on("networkQualityLevelChanged", () => {function}) to retrieve participant.networkQualityLevel.

When entering a room with both Video and Audio turned off, participant.networkQualityLevel returns NULL. However, once either Video or Audio is turned on within the room, networkQualityLevel can be obtained.

Is there a way to retrieve the networkQualityLevel of the participant when both Video and Audio are turned off upon entering the room? Additionally, even if both Video and Audio are turned off again after they have been enabled, can we still capture networkQualityLevelChanged events and retrieve the networkQualityLevel?

Software versions:

  • Browser(s): Chrome v118.0.5993.117
  • twilio-video.js: v2.27.0
@swapnonil-b
Copy link

Having the same problem here. What is the expected way to work with the network quality API here?

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

2 participants