twilio-video.js
twilio-video.js copied to clipboard
participant.networkQualityLevel Returns Null When Connect to a Room with Audio and Video Off
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:
- [x] Browser(s): Chrome v118.0.5993.117
- [x] twilio-video.js: v2.27.0
Having the same problem here. What is the expected way to work with the network quality API here?