From c237c5348424d0f5d6c00348c92ce8c593c3b9f9 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Tue, 3 Aug 2021 17:32:56 -0700 Subject: [PATCH] Add priority to candidate stats --- src/ConferenceCallManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ConferenceCallManager.js b/src/ConferenceCallManager.js index f51abaa..979dba8 100644 --- a/src/ConferenceCallManager.js +++ b/src/ConferenceCallManager.js @@ -403,6 +403,8 @@ export class ConferenceCallManager extends EventEmitter { // networkType property excluded for privacy reasons: // https://www.w3.org/TR/webrtc-stats/#sotd return { + priority: + candidateStats.priority && candidateStats.priority.toString(), candidateType: candidateStats.candidateType, protocol: candidateStats.protocol, address: !!candidateStats.address