Click or drag to resize
RenderAreaListenerOnSendingFrame Method

Triggered before sending a frame to the client.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax
public virtual void OnSendingFrame(
	RenderArea renderArea,
	Connection sender,
	out string message
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the OIV.RemoteViz.Rendering.RenderArea of the OIV.RemoteViz.Rendering.Connection

sender
Type: OIV.RemoteViz.RenderingConnection

: the connection that will send the frame to the client

message
Type: SystemString

: This value can be specified to attach a text message to the frame. Default value is an empty string. This message can be retrieved from the client listeners: onReceivedFrame and onDecodedFrame.

Remarks

The sending frame can be retrieved using (). IMPORTANT: This callback is executed in a separate thread for each connection sending a frame.

See Also