public class RecorderVideoFrameCaptureConfig
extends java.lang.Object
Defaults:
| Modifier and Type | Field and Description |
|---|---|
private int |
jpgCaptureIntervalInSec
The interval of the video frame capture for jpg in seconds.The default value
is 5 seconds, min 1 seconds
|
private java.lang.String |
jpgFileStorePath
Specifies the absolute path to the directory where JPG files will be saved.
|
private IRecorderVideoFrameObserver |
observer
The observer to get the video frame.
|
private Constants.VideoFrameCaptureType |
videoFrameType
The video frame capture type.
|
| Constructor and Description |
|---|
RecorderVideoFrameCaptureConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getJpgCaptureIntervalInSec() |
java.lang.String |
getJpgFileStorePath() |
IRecorderVideoFrameObserver |
getObserver() |
Constants.VideoFrameCaptureType |
getVideoFrameType() |
void |
setJpgCaptureIntervalInSec(int jpgCaptureIntervalInSec) |
void |
setJpgFileStorePath(java.lang.String jpgFileStorePath) |
void |
setObserver(IRecorderVideoFrameObserver observer) |
void |
setVideoFrameType(Constants.VideoFrameCaptureType videoFrameType) |
java.lang.String |
toString() |
private Constants.VideoFrameCaptureType videoFrameType
private java.lang.String jpgFileStorePath
videoFrameType is set to VIDEO_FORMAT_JPG_FILE_TYPE and
jpgFileStorePath is not null,
the JPG file will be saved to this directory.
The filename will follow the format:
"channelId_userId_YYYYMMDDHHMMSS_MS.jpg".
Make sure that the specified directory already exists and is writable.
Note: Make sure that you set this parameter when capturing
VIDEO_FORMAT_JPG_FILE_TYPE; otherwise the captured JPG files will not
be saved.private int jpgCaptureIntervalInSec
private IRecorderVideoFrameObserver observer
public Constants.VideoFrameCaptureType getVideoFrameType()
public void setVideoFrameType(Constants.VideoFrameCaptureType videoFrameType)
public java.lang.String getJpgFileStorePath()
public void setJpgFileStorePath(java.lang.String jpgFileStorePath)
public int getJpgCaptureIntervalInSec()
public void setJpgCaptureIntervalInSec(int jpgCaptureIntervalInSec)
public IRecorderVideoFrameObserver getObserver()
public void setObserver(IRecorderVideoFrameObserver observer)
public java.lang.String toString()
toString in class java.lang.Object