#include <RemoteViz/Rendering/FrameEncoders.h>
Public Types | |
enum | Encoder { NONE, JPEG, PNG, H264_NVENC, H264_OPENH264 } |
enum | Status { SUPPORTED, UNSUPPORTED, INCOMPATIBLE, CLIENT_UNSUPPORTED } |
| |
FrameEncoders () | |
virtual | ~FrameEncoders () |
void | setInteractiveEncoder (Encoder value) |
Encoder | getInteractiveEncoder () const |
void | setStillEncoder (Encoder value) |
Encoder | getStillEncoder () const |
Status | getInteractiveEncoderStatus () const |
Status | getStillEncoderStatus () const |
Defines a couple of encoders that are used to encode still and interactive frames.
Frame encoder.
Frame encoder status.
SUPPORTED |
The encoder can be loaded and used by the service. |
UNSUPPORTED |
The encoder cannot be loaded by the service (missing RemoteViz codec library or satisfied dependency), or the encoder is not supported by the system (Example: no Nvidia GPU or missing CUDA Toolkit to use H264_NVENC). |
INCOMPATIBLE |
The pair (still encoder, interactive encoder) is incompatible. |
CLIENT_UNSUPPORTED |
The codec format is not supported by the client (Example: the client does not support H.264 decoding). |
RemoteViz::Rendering::FrameEncoders::FrameEncoders | ( | ) |
Constructor.
virtual RemoteViz::Rendering::FrameEncoders::~FrameEncoders | ( | ) | [virtual] |
Destructor.
Encoder RemoteViz::Rendering::FrameEncoders::getInteractiveEncoder | ( | ) | const |
Gets the interactive encoder.
Default value is NONE.
Status RemoteViz::Rendering::FrameEncoders::getInteractiveEncoderStatus | ( | ) | const |
Gets the interactive encoder status.
Default value is UNSUPPORTED.
Encoder RemoteViz::Rendering::FrameEncoders::getStillEncoder | ( | ) | const |
Gets the still encoder.
Default value is NONE.
Status RemoteViz::Rendering::FrameEncoders::getStillEncoderStatus | ( | ) | const |
Gets the still encoder status.
Default value is UNSUPPORTED.
void RemoteViz::Rendering::FrameEncoders::setInteractiveEncoder | ( | Encoder | value | ) |
Sets the interactive encoder.
This encoder will be used to encode interactive frames.
Default value is NONE.
value | : interactive encoder. |
void RemoteViz::Rendering::FrameEncoders::setStillEncoder | ( | Encoder | value | ) |
Sets the still encoder.
This encoder will be used to encode still frames.
Default value is NONE.
value | : still encoder. |