public class RtmpStreamingVideoConf
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
bitrate
Bitrate (Kbps)
|
private int |
framerate
Frame rate (fps)
|
private int |
gopInMs
GOP in milliseconds
|
private int |
height
Height (px)
|
private int |
maxBitrate
Maximum bitrate (Kbps)
|
private int |
minBitrate
Minimum bitrate (Kbps)
|
private int |
orientationMode
Orientation mode
|
private int |
width
Width (px)
|
| Constructor and Description |
|---|
RtmpStreamingVideoConf()
Default constructor for RtmpStreamingVideoConf.
|
RtmpStreamingVideoConf(int width,
int height,
int framerate,
int bitrate,
int maxBitrate,
int minBitrate,
int gopInMs,
int orientationMode)
Constructs RtmpStreamingVideoConf with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBitrate()
Gets the bitrate (Kbps).
|
int |
getFramerate()
Gets the frame rate (fps).
|
int |
getGopInMs()
Gets the GOP in milliseconds.
|
int |
getHeight()
Gets the height (px).
|
int |
getMaxBitrate()
Gets the maximum bitrate (Kbps).
|
int |
getMinBitrate()
Gets the minimum bitrate (Kbps).
|
int |
getOrientationMode()
Gets the orientation mode.
|
int |
getWidth()
Gets the width (px).
|
void |
setBitrate(int bitrate)
Sets the bitrate (Kbps).
|
void |
setFramerate(int framerate)
Sets the frame rate (fps).
|
void |
setGopInMs(int gopInMs)
Sets the GOP in milliseconds.
|
void |
setHeight(int height)
Sets the height (px).
|
void |
setMaxBitrate(int maxBitrate)
Sets the maximum bitrate (Kbps).
|
void |
setMinBitrate(int minBitrate)
Sets the minimum bitrate (Kbps).
|
void |
setOrientationMode(int orientationMode)
Sets the orientation mode.
|
void |
setWidth(int width)
Sets the width (px).
|
private int width
private int height
private int framerate
private int bitrate
private int maxBitrate
private int minBitrate
private int gopInMs
private int orientationMode
public RtmpStreamingVideoConf()
public RtmpStreamingVideoConf(int width,
int height,
int framerate,
int bitrate,
int maxBitrate,
int minBitrate,
int gopInMs,
int orientationMode)
width - Width (px)height - Height (px)framerate - Frame rate (fps)bitrate - Bitrate (Kbps)maxBitrate - Maximum bitrate (Kbps)minBitrate - Minimum bitrate (Kbps)gopInMs - GOP in millisecondsorientationMode - Orientation modepublic int getWidth()
public void setWidth(int width)
width - Width (px)public int getHeight()
public void setHeight(int height)
height - Height (px)public int getFramerate()
public void setFramerate(int framerate)
framerate - Frame rate (fps)public int getBitrate()
public void setBitrate(int bitrate)
bitrate - Bitrate (Kbps)public int getMaxBitrate()
public void setMaxBitrate(int maxBitrate)
maxBitrate - Maximum bitrate (Kbps)public int getMinBitrate()
public void setMinBitrate(int minBitrate)
minBitrate - Minimum bitrate (Kbps)public int getGopInMs()
public void setGopInMs(int gopInMs)
gopInMs - GOP in millisecondspublic int getOrientationMode()
public void setOrientationMode(int orientationMode)
orientationMode - Orientation mode