Package com.bambuser.broadcaster
Interface Broadcaster.UplinkSpeedObserver
- Enclosing class:
- Broadcaster
public static interface Broadcaster.UplinkSpeedObserver
An interface that can optionally be used with
setUplinkSpeedObserver(observer)
to receive callbacks about uplink speed tests which the
Broadcaster
can do while not broadcasting. While broadcasting, you may instead rely
on onStreamHealthUpdate(health)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onUplinkTestComplete
(long bitrate, boolean recommendation) Called when an uplink speed test completes.
-
Method Details
-
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.
-