Class IFrameEncodingPolicy
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.remoteviz.rendering.IFrameEncodingPolicy
- Direct Known Subclasses:
KeepFrameQualityPolicy
,KeepFramesPerSecondPolicy
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Returns the frame quality value used to encode interactive frames.int
Returns the FPS value used to send frames to the client periodically.void
update
(Connection connection) Update value of the FPS and frame quality.Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getFramesPerSecond
public int getFramesPerSecond()Returns the FPS value used to send frames to the client periodically. -
update
Update value of the FPS and frame quality. -
getFrameQuality
public float getFrameQuality()Returns the frame quality value used to encode interactive frames.
-