public class PeerDownlinkInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
currentDownscaleLevel
Current downscale level
|
private int |
expectedBitrateBps
Expected bitrate (bps)
|
private int |
streamType
Stream type
|
private java.lang.String |
userId
User ID
|
| Constructor and Description |
|---|
PeerDownlinkInfo()
Default constructor for PeerDownlinkInfo.
|
PeerDownlinkInfo(java.lang.String userId,
int streamType,
int currentDownscaleLevel,
int expectedBitrateBps)
Constructs PeerDownlinkInfo with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentDownscaleLevel()
Gets the current downscale level.
|
int |
getExpectedBitrateBps()
Gets the expected bitrate (bps).
|
int |
getStreamType()
Gets the stream type.
|
java.lang.String |
getUid()
Gets the user ID.
|
void |
setCurrentDownscaleLevel(int currentDownscaleLevel)
Sets the current downscale level.
|
void |
setExpectedBitrateBps(int expectedBitrateBps)
Sets the expected bitrate (bps).
|
void |
setStreamType(int streamType)
Sets the stream type.
|
void |
setUid(java.lang.String userId)
Sets the user ID.
|
private java.lang.String userId
private int streamType
private int currentDownscaleLevel
private int expectedBitrateBps
public PeerDownlinkInfo()
public PeerDownlinkInfo(java.lang.String userId,
int streamType,
int currentDownscaleLevel,
int expectedBitrateBps)
userId - User IDstreamType - Stream typecurrentDownscaleLevel - Current downscale levelexpectedBitrateBps - Expected bitrate (bps)public java.lang.String getUid()
public void setUid(java.lang.String userId)
userId - User IDpublic int getStreamType()
public void setStreamType(int streamType)
streamType - Stream typepublic int getCurrentDownscaleLevel()
public void setCurrentDownscaleLevel(int currentDownscaleLevel)
currentDownscaleLevel - Current downscale levelpublic int getExpectedBitrateBps()
public void setExpectedBitrateBps(int expectedBitrateBps)
expectedBitrateBps - Expected bitrate (bps)