Click or drag to resize
ConnectionSettingsSetFrameEncodingPolicy Method

Sets the frame encoding policy used by the OIV.RemoteViz.Rendering.Connection.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void SetFrameEncodingPolicy(
	IFrameEncodingPolicy policy
)

Parameters

policy
Type: OIV.RemoteViz.RenderingIFrameEncodingPolicy

: a frame encoding policy object.

Remarks

A policy is used to calculate two values: FPS (frames per second) and interactive frame encoding quality. There are two predefined policies: OIV.RemoteViz.Rendering.KeepFramesPerSecondPolicy and OIV.RemoteViz.Rendering.KeepFrameQualityPolicy. The default value is OIV.RemoteViz.Rendering.KeepFrameQualityPolicy with default parameters. (Replaces the old setMaxFPS method.)

See Also