Package com.bambuser.broadcaster
Interface Broadcaster.UplinkSpeedObserver
-
- Enclosing class:
- Broadcaster
public static interface Broadcaster.UplinkSpeedObserver
An interface that can optionally be used withsetUplinkSpeedObserver(observer)
to receive callbacks about uplink speed tests which theBroadcaster
can do while not broadcasting. While broadcasting, you may instead rely ononStreamHealthUpdate(health)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onUplinkTestComplete(long bitrate, boolean recommendation)
Called when an uplink speed test completes.
-
-
-
Method Detail
-
onUplinkTestComplete
void onUplinkTestComplete(long bitrate, boolean recommendation)
Called when an uplink speed test completes. This will not be called if a speed test is cancelled, for example when starting a broadcast or destroying the Broadcaster.- Parameters:
bitrate
- Measured uplink bandwidth in bits per second (bps).recommendation
- True if bandwidth measurement succeeded and the bandwidth is deemed sufficient for live broadcasting. False otherwise.
-
-