TRVCamReceiver.OnGetImage

Top  Previous  Next

This event occurs when the component receives a video frame.

type
  // defined in MRVType unit
  TRVGetImageEvent = procedure(Sender: TObject; img: TRVMBitmap;
    hClient: Integer; AGUIDFrom, AGUIDTo: TGUID) of object;

property OnGetImage: TRVCamGetImageEvent;

The image is returned in Img parameter. You must not free Img yourself. You can modify this image.

AGUIDFrom is an identifier of the sender which sent this image (see TRVCamSender.GUIDFrom).

AGUIDFrom is an identifier of the receiver (see TRVCamSender.GUIDTo).

This event is called in a thread context.