public static interface Broadcaster.UplinkSpeedObserver
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)
.Modifier and Type | Method and Description |
---|---|
void |
onUplinkTestComplete(long bitrate,
boolean recommendation)
Called when an uplink speed test completes.
|
void onUplinkTestComplete(long bitrate, boolean recommendation)
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.