#include <RemoteViz/Rendering/IFrameEncodingPolicy.h>
Public Member Functions | |
virtual | ~IFrameEncodingPolicy () |
Destructor. | |
virtual void | update (std::shared_ptr< Connection > connection)=0 |
Update value of the FPS and frame quality. | |
virtual unsigned int | getFramesPerSecond () const =0 |
Returns the FPS value used to send frames to the client periodically. | |
virtual float | getFrameQuality () const =0 |
Returns the frame quality value used to encode interactive frames. | |
This class is the base class of KeepFramesPerSecondPolicy and KeepFrameQualityPolicy. The methods will be called internally by the RemoteViz service to retrieve encoding frame parameters (FPS and interactive frame quality).
See ConnectionSettings to set the frame encoding policy.
KeepFramesPerSecondPolicy KeepFrameQualityPolicy
Definition at line 50 of file IFrameEncodingPolicy.h.
|
inlinevirtual |
Destructor.
Definition at line 56 of file IFrameEncodingPolicy.h.
|
pure virtual |
Returns the frame quality value used to encode interactive frames.
Implemented in RemoteViz::Rendering::KeepFrameQualityPolicy, and RemoteViz::Rendering::KeepFramesPerSecondPolicy.
|
pure virtual |
Returns the FPS value used to send frames to the client periodically.
Implemented in RemoteViz::Rendering::KeepFrameQualityPolicy, and RemoteViz::Rendering::KeepFramesPerSecondPolicy.
|
pure virtual |
Update value of the FPS and frame quality.
Implemented in RemoteViz::Rendering::KeepFrameQualityPolicy, and RemoteViz::Rendering::KeepFramesPerSecondPolicy.