public class DownlinkNetworkInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
bandwidthEstimationBps
The estimated bandwidth in bits per second
|
private int |
lastmileBufferDelayTimeMs
The delay time in milliseconds for the last mile buffer
|
private PeerDownlinkInfo |
peerDownlinkInfo
Information about the peer's downlink
|
private int |
totalDownscaleLevelCount
The total count of downscale levels
|
private int |
totalReceivedVideoCount
The total count of received video streams
|
| Constructor and Description |
|---|
DownlinkNetworkInfo()
Default constructor for DownlinkNetworkInfo.
|
DownlinkNetworkInfo(int lastmileBufferDelayTimeMs,
int bandwidthEstimationBps,
int totalDownscaleLevelCount,
PeerDownlinkInfo peerDownlinkInfo,
int totalReceivedVideoCount)
Constructs DownlinkNetworkInfo with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBandwidthEstimationBps()
Gets the estimated bandwidth in bits per second.
|
int |
getLastmileBufferDelayTimeMs()
Gets the delay time in milliseconds for the last mile buffer.
|
PeerDownlinkInfo |
getPeerDownlinkInfo()
Gets information about the peer's downlink.
|
int |
getTotalDownscaleLevelCount()
Gets the total count of downscale levels.
|
int |
getTotalReceivedVideoCount()
Gets the total count of received video streams.
|
void |
setBandwidthEstimationBps(int bandwidthEstimationBps)
Sets the estimated bandwidth in bits per second.
|
void |
setLastmileBufferDelayTimeMs(int lastmileBufferDelayTimeMs)
Sets the delay time in milliseconds for the last mile buffer.
|
void |
setPeerDownlinkInfo(PeerDownlinkInfo peerDownlinkInfo)
Sets information about the peer's downlink.
|
void |
setTotalDownscaleLevelCount(int totalDownscaleLevelCount)
Sets the total count of downscale levels.
|
void |
setTotalReceivedVideoCount(int totalReceivedVideoCount)
Sets the total count of received video streams.
|
java.lang.String |
toString() |
private int lastmileBufferDelayTimeMs
private int bandwidthEstimationBps
private int totalDownscaleLevelCount
private PeerDownlinkInfo peerDownlinkInfo
private int totalReceivedVideoCount
public DownlinkNetworkInfo()
public DownlinkNetworkInfo(int lastmileBufferDelayTimeMs,
int bandwidthEstimationBps,
int totalDownscaleLevelCount,
PeerDownlinkInfo peerDownlinkInfo,
int totalReceivedVideoCount)
lastmileBufferDelayTimeMs - The delay time in milliseconds for the last mile bufferbandwidthEstimationBps - The estimated bandwidth in bits per secondtotalDownscaleLevelCount - The total count of downscale levelspeerDownlinkInfo - Information about the peer's downlinktotalReceivedVideoCount - The total count of received video streamspublic int getLastmileBufferDelayTimeMs()
public void setLastmileBufferDelayTimeMs(int lastmileBufferDelayTimeMs)
lastmileBufferDelayTimeMs - The delay time in millisecondspublic int getBandwidthEstimationBps()
public void setBandwidthEstimationBps(int bandwidthEstimationBps)
bandwidthEstimationBps - The estimated bandwidth in bits per secondpublic int getTotalDownscaleLevelCount()
public void setTotalDownscaleLevelCount(int totalDownscaleLevelCount)
totalDownscaleLevelCount - The total count of downscale levelspublic PeerDownlinkInfo getPeerDownlinkInfo()
public void setPeerDownlinkInfo(PeerDownlinkInfo peerDownlinkInfo)
peerDownlinkInfo - Information about the peer's downlinkpublic int getTotalReceivedVideoCount()
public void setTotalReceivedVideoCount(int totalReceivedVideoCount)
totalReceivedVideoCount - The total count of received video streamspublic java.lang.String toString()
toString in class java.lang.Object