KeepFrameQualityPolicy Class |
This class provides a calculation policy which allows to manage the FPS (frames per second) and the quality of interactive frames sent from Remoteviz service depending on the network bandwidth allocated to the OIV.RemoteViz.Rendering.Connection.
Namespace: OIV.RemoteViz.Rendering
The KeepFrameQualityPolicy type exposes the following members.
Name | Description | |
---|---|---|
KeepFrameQualityPolicy | Constructor. | |
KeepFrameQualityPolicy(Single, UInt32, UInt32) | Convenience Constructor. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetFrameQuality | Returns the frame quality value used to encode interactive frames. | |
GetFramesPerSecond | Returns the FPS value used to send frames to the client periodically. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update | Update value of the FPS and frame quality. |
If the OIV.RemoteViz.Rendering.Client owns multiple connections, the network bandwidth allocated to each OIV.RemoteViz.Rendering.Connection will be equitably shared. Otherwise, the network bandwidth allocated to the OIV.RemoteViz.Rendering.Connection will be equal to the network bandwidth allocated to the OIV.RemoteViz.Rendering.Client. The network bandwidth allocated to the OIV.RemoteViz.Rendering.Client can be defined from (). This policy works as described below:
When the network bandwidth allocated to the OIV.RemoteViz.Rendering.Connection decreases, the frame quality value will keep the frame quality target value and the FPS will decrease.
If the FPS decreases until the FPS threshold, then the frame quality will start to decrease.
When the network bandwidth allocated to the OIV.RemoteViz.Rendering.Connection increases, the frame quality will increase until it reaches the frame quality target and then the FPS will increase until it reaches the FPS target.
See OIV.RemoteViz.Rendering.ConnectionSettings.SetFrameEncodingPolicy(OIV.RemoteViz.Rendering.IFrameEncodingPolicy) to define the frame encoding policy.