public/twilio-client.1.6.1.custom.js
/**
 * @param {RTCLegacyStatsReport} report
 * @param {boolean} isRemote - Whether to create for a remote candidate, or local candidate.
 * @returns {RTCIceCandidateStats}
 */
@param {RTCLegacyStatsReport} report
@param {boolean} isRemote - Whether to create for a remote candidate, or local candidate.
@param { RTCLegacyStatsReport } report @param { boolean } isRemote - Whether to create for a remote candidate or local candidate .
function createRTCIceCandidateStats(report, isRemote) {
    return {
        type: isRemote
            ? 'remote-candidate'
            : 'local-candidate',
        id: report.id,
        timestamp: Date.parse(report.timestamp),
        transportId: undefined,
        isRemote: isRemote,
        ip: report.stat('ipAddress'),
        port: getInt(report, 'portNumber'),
        protocol: report.stat('transport'),
        candidateType: translateCandidateType(report.stat('candidateType')),
        priority: getFloat(report, 'priority'),
        url: undefined,
        relayProtocol: undefined,
        deleted: undefined
    };
}
function createRTCIceCandidateStats ( report , isRemote ) { return { type : isRemote ? 'remote-candidate' : 'local-candidate' , id : report . id , timestamp : Date . parse ( report . timestamp ) , transportId : undefined , isRemote : isRemote , ip : report . stat ( 'ipAddress' ) , port : getInt ( report , 'portNumber' ) , protocol : report . stat ( 'transport' ) , candidateType : translateCandidateType ( report . stat ( 'candidateType' ) ) , priority : getFloat ( report , 'priority' ) , url : undefined , relayProtocol : undefined , deleted : undefined } ; }
@param {RTCLegacyStatsReport} report
 @param {boolean} isRemote - Whether to create for a remote candidate, or local candidate.
@param { RTCLegacyStatsReport } report @param { boolean } isRemote - Whether to create for a remote candidate or local candidate .