Unity.XR.XREAL.VideoEncoder
Inheritance diagram for Unity.XR.XREAL.VideoEncoder:
Public Member Functions | |
VideoEncoder () | |
void | Config (CameraParameters param) |
void | AdjustVolume (RecorderIndex recordIdx, float factor) |
void | Start () |
void | Commit (RenderTexture rt, UInt64 timestamp) |
void | Stop () |
void | Release () |
Detailed Description
A video encoder.
Member Function Documentation
◆ AdjustVolume()
void Unity.XR.XREAL.VideoEncoder.AdjustVolume | ( | RecorderIndex | recordIdx, |
float | factor ) |
Adjust the volume of encoder.
- Parameters
-
recordIdx Recorder index. factor The factor of volume.
◆ Commit()
void Unity.XR.XREAL.VideoEncoder.Commit | ( | RenderTexture | rt, |
UInt64 | timestamp ) |
Commits.
- Parameters
-
rt The renderTexture. timestamp The timestamp.
Implements Unity.XR.XREAL.IEncoder.
◆ Config()
void Unity.XR.XREAL.VideoEncoder.Config | ( | CameraParameters | param | ) |
Configurations the given parameter.
- Parameters
-
param The parameter.
Implements Unity.XR.XREAL.IEncoder.