public final class VideoProperty extends Object
getRecorderFps() method obtains the video frame capture rate.
getRecorderDegrees() method obtains the video rotation angle.
getRecorderRate() method obtains the video frame rate.
getRecorderWidth() method obtains the video width.
getRecorderHeight() method obtains the video height.
getRecorderVideoEncoder() method obtains the video encoding format.
getRecorderBitRate() method obtains the video encoding bit rate.
SystemCapability.Multimedia#MEDIA| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
VideoProperty.Builder |
Static inner class of
VideoProperty used to create a VideoProperty object. |
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
BITRATE_INIT |
Indicates the default video encoding bit rate.
|
static int |
DEGREES_INIT |
Indicates the default video rotation angle.
|
static int |
FPS_INIT |
Indicates the default video frame capture rate.
|
static int |
HEIGHT_INIT |
Indicates the default video height.
|
static int |
RATE_INIT |
Indicates the default video frame rate.
|
static int |
VIDEO_ENCODER_INIT |
Indicates the default video encoding format.
|
static int |
WIDTH_INIT |
Indicates the default video width.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getRecorderBitRate() |
Obtains the video encoding bit rate.
|
int |
getRecorderDegrees() |
Obtains the video rotation angle.
|
int |
getRecorderFps() |
Obtains the video frame capture rate.
|
int |
getRecorderHeight() |
Obtains the video height.
|
int |
getRecorderRate() |
Obtains the video frame rate.
|
int |
getRecorderVideoEncoder() |
Obtains the video encoding format.
|
int |
getRecorderWidth() |
Obtains the video width.
|
public static final int BITRATE_INIT
public static final int DEGREES_INIT
public static final int FPS_INIT
public static final int HEIGHT_INIT
public static final int RATE_INIT
public static final int VIDEO_ENCODER_INIT
public static final int WIDTH_INIT
public int getRecorderFps()
public int getRecorderDegrees()
0, 90, 180,
or 270 degrees.public int getRecorderRate()
public int getRecorderWidth()
public int getRecorderHeight()
public int getRecorderVideoEncoder()
public int getRecorderBitRate()