<< Click to display table of contents >> TRVCamReceiver.OnDecodeVideo |
Occurs when a video frame (or a changed area of a video frame) is received.
type // defined in MRVType unit
TRVDecodeVideoEvent = procedure(Sender: TObject;
AStream: TMemoryStream;
var ImageType: Byte) of object;
property OnDecodeVideo: TRVDecodeVideoEvent;
Use this event to decode images that were encoded in TRVCamSender.OnEncodeVideo.
Parameters:
AStream contains image data. ImageType identifies the image type. See TRVCamSender.OnEncodeVideo for possible values.
After encoding, if you changed the image format, modify ImageType accordingly.
See also