Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
786 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have implemented Video call service using azure communication library where i need to watch on network strength so i have implemented network quality using https://video2.skills-academy.com/en-us/azure/communication-services/resources/troubleshooting/voice-video-calling/references/ufd/network-send-quality
I have implemented same code and given on above link but some how i am not getting "networkSendQuality" in diagnosticInfo
Here is code block
if (diagnosticInfo.diagnostic === 'networkSendQuality') {
console.log(diagnosticInfo.value, 'networkSendQuality...........................')
setLocalSignalStrength(networkQualityMap[diagnosticInfo.value]);
}
if (diagnosticInfo.valueType === 'DiagnosticQuality') {
if (diagnosticInfo.value === DiagnosticQuality.Bad) {
console.log(`${diagnosticInfo.diagnostic} is bad quality`);
} else if (diagnosticInfo.value === DiagnosticQuality.Poor) {
console.log(`${diagnosticInfo.diagnostic} is poor quality`);
}
} else if (diagnosticInfo.valueType === 'DiagnosticFlag') {
if (diagnosticInfo.value === true) {
console.log(`${diagnosticInfo.diagnostic}`);
}
}