Class IFrameEncodingPolicy
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.remoteviz.rendering.IFrameEncodingPolicy
-
- Direct Known Subclasses:
KeepFrameQualityPolicy
,KeepFramesPerSecondPolicy
public class IFrameEncodingPolicy extends Inventor
This class is the base class ofKeepFramesPerSecondPolicy
andKeepFrameQualityPolicy
. 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:
KeepFramesPerSecondPolicy
,KeepFrameQualityPolicy
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getFrameQuality()
Returns the frame quality value used to encode interactive frames.int
getFramesPerSecond()
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 Detail
-
getFramesPerSecond
public int getFramesPerSecond()
Returns the FPS value used to send frames to the client periodically.
-
update
public void update(Connection connection)
Update value of the FPS and frame quality.
-
getFrameQuality
public float getFrameQuality()
Returns the frame quality value used to encode interactive frames.
-
-