public class SenderOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
ccMode
Congestion control mode
|
private int |
codecType
Codec type
|
private int |
targetBitrate
Target bitrate
|
| Constructor and Description |
|---|
SenderOptions()
Default constructor for SenderOptions.
|
SenderOptions(int ccMode,
int codecType,
int targetBitrate)
Constructs SenderOptions with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCcMode()
Gets the congestion control mode.
|
int |
getCodecType()
Gets the codec type.
|
int |
getTargetBitrate()
Gets the target bitrate (Kbps).
|
void |
setCcMode(int ccMode)
Sets the congestion control mode.
|
void |
setCodecType(int codecType)
Sets the codec type.
|
void |
setTargetBitrate(int targetBitrate)
Sets the target bitrate (Kbps).
|
java.lang.String |
toString() |
private int ccMode
private int codecType
private int targetBitrate
public SenderOptions()
public SenderOptions(int ccMode,
int codecType,
int targetBitrate)
ccMode - Congestion control modecodecType - Codec typetargetBitrate - Target bitrate (Kbps)public int getCcMode()
public void setCcMode(int ccMode)
ccMode - Congestion control modepublic int getCodecType()
public void setCodecType(int codecType)
codecType - Codec typepublic int getTargetBitrate()
public void setTargetBitrate(int targetBitrate)
targetBitrate - Target bitrate (Kbps)public java.lang.String toString()
toString in class java.lang.Object