public interface RemoteBitrateEstimator extends CallStatsObserver
| Modifier and Type | Field and Description |
|---|---|
static int |
kBitrateScale |
static int |
kBitrateWindowMs
webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h
|
static int |
kDefaultMinBitrateBps |
static int |
kProcessIntervalMs |
static int |
kStreamTimeOutMs |
static int |
kTimestampGroupLengthMs |
| Modifier and Type | Method and Description |
|---|---|
long |
getLatestEstimate()
Returns the estimated payload bitrate in bits per second if a valid
estimate exists; otherwise, -1.
|
Collection<Long> |
getSsrcs()
Returns the estimated payload bitrate in bits per second if a valid
estimate exists; otherwise, -1.
|
void |
incomingPacketInfo(long arrivalTimeMs,
long timestamp,
int payloadSize,
long ssrc)
Notifies this instance of an incoming packet.
|
void |
removeStream(long ssrc)
Removes all data for ssrc.
|
void |
setMinBitrate(int minBitrateBps)
Sets the minimum bitrate for this instance.
|
onRttUpdatestatic final int kBitrateWindowMs
static final int kBitrateScale
static final int kDefaultMinBitrateBps
static final int kProcessIntervalMs
static final int kStreamTimeOutMs
static final int kTimestampGroupLengthMs
long getLatestEstimate()
Collection<Long> getSsrcs()
void removeStream(long ssrc)
ssrc - void setMinBitrate(int minBitrateBps)
minBitrateBps - the minimum bitrate in bps.void incomingPacketInfo(long arrivalTimeMs,
long timestamp,
int payloadSize,
long ssrc)
arrivalTimeMs - the arrival time of the packet in millis.timestamp - the 32bit send timestamp of the packet. Note that the
specific format depends on the specific implementation.payloadSize - the payload size of the packet.ssrc - the SSRC of the packet.Copyright © 2021 jitsi.org. All rights reserved.