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 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:
  • Method Details

    • 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.