<< Click to display table of contents >> TRVCamView |
TRVCamView shows video from the specified video source: either from TRVCamera or from TRVCamReceiver. Optionally, it can control the camera movement.
Unit [VCL and LCL] MRVCamView;
Unit [FMX] fmxMRVCamView;
Syntax
TRVCamView = class(TCustomControl)
VCL and LCL: TObject TPersistent TComponent TControl TWinControl TCustomControl FMX: TObject TPersistent TComponent TFmxObject TControl TStyledControl TTextControl |
Assign TRVCamera or TRVCamReceiver component to VideoSource property of TRVCamView component, start playing a video.
When using TRVCamReceiver that receives videos from multiple sources, you can specify the video to display in GUIDFrom and IndexFrom properties.
You can display this viewer expanded to the full screen size by assigning True to FullScreen.
You can allow users to switch to/from a full-screen mode by assigning True to AllowFullScreen.
You can detect switching modes in OnFullScreen event.
See the note about drawing efficiency in the topic about ViewMode property.