Files
BW/videocall1/getStats/dev/googCertificate.js
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

15 lines
560 B
JavaScript

getStatsParser.googCertificate = function(result) {
if (result.type == 'googCertificate') {
getStatsResult.encryption = result.googFingerprintAlgorithm;
}
// Safari-11 or higher
if (result.type == 'certificate') {
// todo: is it possible to have different encryption methods for senders and receivers?
// if yes, then we need to set:
// getStatsResult.encryption.local = value;
// getStatsResult.encryption.remote = value;
getStatsResult.encryption = result.fingerprintAlgorithm;
}
};