WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 244970
244969
Remote candidate address is not present in getStats output when the candidate type is host
https://bugs.webkit.org/show_bug.cgi?id=244969
Summary
Remote candidate address is not present in getStats output when the candidate...
vinayak.kulkarni
Reported
2022-09-09 06:22:28 PDT
Created
attachment 462226
[details]
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
Attachments
Here the remote candidate type is "host" - address field is not seen.
(76.70 KB, image/png)
2022-09-09 06:22 PDT
,
vinayak.kulkarni
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-09-09 19:14:27 PDT
*** This bug has been marked as a duplicate of
bug 244970
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug