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: 2024.2.2.0 (10.16.2.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