org.lastbamboo.common.ice.candidate
Class IceCandidatePairPriorityCalculator

java.lang.Object
  extended by org.lastbamboo.common.ice.candidate.IceCandidatePairPriorityCalculator

public class IceCandidatePairPriorityCalculator
extends Object

Creates a new class for calculating pair priorities.


Method Summary
static long calculatePriority(IceCandidate localCandidate, IceCandidate remoteCandidate)
          Calculates the priority for the candidates pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.