TRVCamera.VideoResolution

<< Click to display table of contents >>

TRVCamera.VideoResolution

Changes the video resolution, if the camera supports it.

property VideoResolution: TRVVideoResolution;

If the camera supports this property, its value is received from the camera when the component is connected to it, see SearchCamera.

If the current DeviceType = rvdtWebCamera, the component sets video mode having width the most close to the specified in the resolution.

If the current DeviceType = rvdtIPCamera, the component sets the camera video resolution, if the camera supports it (currently, it is implemented for Foscam cameras).

If the current DeviceType = rvdtRTSP or rvdtHTTP, this property is not used. If GStreamer is used to play video, video can be scaled using GStreamerProperty.UseVideoScale and related properties. If FFmpeg is used to play video, video can be scaled using FFMpegProperty.UseVideoScale and related properties.

Default value

rvDefault

See also

CamVideoMode methods for USB web cameras

TRVCamSender.VideoResolution