StreamSend Method (ImageBufferDescription, IntPtr, Int64, Action)

CVB.Net Documentation
Sends the image at the given basePtr.

Namespace:  Stemmer.Cvb.GevServer
Assembly:  Stemmer.Cvb.GevServer (in Stemmer.Cvb.GevServer.dll) Version: 14.0.0.0
Syntax

public void Send(
	ImageBufferDescription bufferDescription,
	IntPtr basePtr,
	long bufferSize,
	Action bufferReleased
)

Parameters

bufferDescription
Type: Stemmer.Cvb.GevServerImageBufferDescription
Description of the image at basePtr.
basePtr
Type: SystemIntPtr
Address of the image buffer to send.
bufferSize
Type: SystemInt64
Length in bytes of the buffer at basePtr.
bufferReleased
Type: SystemAction
Mandatory delegate to be called when the given image buffer is not needed anymore for packet resend.
Remarks

The given image buffer must fit into the payload size set at creation/Configuration state.

If packet resend is enabled (ResendBuffersCount larger than zero), then the given image buffer must remain unchanged until bufferReleased has been called! In case packet resend is disabled bufferReleased will be called immediately.

See Also

Reference