[Webkit-unassigned] [Bug 244969] New: Remote candidate address is not present in getStats output when the candidate type is host
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 9 06:22:28 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244969
Bug ID: 244969
Summary: Remote candidate address is not present in getStats
output when the candidate type is host
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vinayak.kulkarni at bluejeans.com
CC: youennf at gmail.com
Created attachment 462226
--> https://bugs.webkit.org/attachment.cgi?id=462226&action=review
Here the remote candidate type is "host" - address field is not seen.
Not seeing the address field in remote-candidate when the candidate type is "host". The same is working fine when the candidate type is "relay"
Below is the code snippet used to fetch the stats
var stats = await pc.getStats();
var selectedPair;
stats.forEach(function(stat) {
if(stat.type === "transport") {
selectedPair = stats.get(stat.selectedCandidatePairId);
}
});
var localCandidate = stats.get(selectedPair.localCandidateId);
var remoteCandidate = stats.get(selectedPair.remoteCandidateId);
Please see the screenshot below
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220909/01b95868/attachment-0001.htm>
More information about the webkit-unassigned
mailing list