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.1.0.0 (2024.1.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