RecorderConfiguration Class¶
This type is an EasyAR Sense API in C#: RecorderConfiguration . Some descriptions may not apply to Unity environment on this page.
Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.
Description¶
RecorderConfiguration is startup configuration for Recorder .
Methods¶
setOutputFile¶
- C#
public virtual void setOutputFile(string path)
Sets absolute path for output video file.
setProfile¶
- C#
public virtual bool setProfile( RecordProfile profile)
Sets recording profile. Default value is Quality_720P_Middle.
This is an all-in-one configuration, you can control in more advanced mode with other APIs.
setVideoSize¶
- C#
public virtual void setVideoSize( RecordVideoSize framesize)
Sets recording video size. Default value is Vid720p.
setVideoBitrate¶
- C#
public virtual void setVideoBitrate(int bitrate)
Sets recording video bit rate. Default value is 2500000.
setChannelCount¶
- C#
public virtual void setChannelCount(int count)
Sets recording audio channel count. Default value is 1.
setAudioSampleRate¶
- C#
public virtual void setAudioSampleRate(int samplerate)
Sets recording audio sample rate. Default value is 44100.
setAudioBitrate¶
- C#
public virtual void setAudioBitrate(int bitrate)
Sets recording audio bit rate. Default value is 96000.
setVideoOrientation¶
- C#
public virtual void setVideoOrientation( RecordVideoOrientation mode)
Sets recording video orientation. Default value is Landscape.
setZoomMode¶
- C#
public virtual void setZoomMode( RecordZoomMode mode)
Sets recording zoom mode. Default value is NoZoomAndClip.