Package org.red5.server.stream.bandwidth
Class ServerClientDetection
java.lang.Object
org.red5.server.stream.bandwidth.ServerClientDetection
- All Implemented Interfaces:
IPendingServiceCallback,IBandwidthDetection
public class ServerClientDetection
extends Object
implements IPendingServiceCallback, IBandwidthDetection
Calculates the bandwidth between the client and server. The checks originate from the server.
- Author:
- The Red5 Project, Dan Rossi, Paul Gregoire
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateClientBw(IConnection conn) voidcheckBandwidth(IConnection conn) voidvoidHandle callback from service call.
-
Constructor Details
-
ServerClientDetection
public ServerClientDetection()
-
-
Method Details
-
checkBandwidth
- Specified by:
checkBandwidthin interfaceIBandwidthDetection
-
calculateClientBw
- Specified by:
calculateClientBwin interfaceIBandwidthDetection
-
resultReceived
Handle callback from service call.- Specified by:
resultReceivedin interfaceIPendingServiceCallback- Parameters:
call- Call object this callback is applied to
-
onServerClientBWCheck
public void onServerClientBWCheck()
-