Click or drag to resize
RenderAreaListenerOnRefusedEncoder Method

Triggered when a frame encoder cannot be initialized.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public virtual void OnRefusedEncoder(
	RenderArea renderArea,
	Connection sender,
	FrameEncoders encoders
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the RenderArea of the Connection

sender
Type: OIV.RemoteViz.RenderingConnection

: the connection that requests frame encoders

encoders
Type: OIV.RemoteViz.RenderingFrameEncoders

: frame encoders refused by the connection

Remarks

If this case occurs, set another frame encoder. The status of encoders explains the reason for refusal. Default behavior: try to load others encoders automatically (fallback): H264_NVENC/H264_NVENC => H264_OPENH264/H264_OPENH264 => PNG/JPEG => JPEG/JPEG

See Also