org.lastbamboo.common.ice.candidate
Class IceCandidatePairPriorityCalculator
java.lang.Object
org.lastbamboo.common.ice.candidate.IceCandidatePairPriorityCalculator
public class IceCandidatePairPriorityCalculator
- extends Object
Creates a new class for calculating pair priorities.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
calculatePriority
public static long calculatePriority(IceCandidate localCandidate,
IceCandidate remoteCandidate)
- Calculates the priority for the candidates pair.
- Parameters:
localCandidate - The local candidate in the pair.remoteCandidate - The remote candidate in the pair.
- Returns:
- The priority for the pair.
Copyright © 2013 LittleShoot. All Rights Reserved.