TRVCamera.DeviceType

Top  Previous  Next

Specifies the source video device type.

type

  TRVDeviceType = (rvdtIPCamera, rvdtWebCamera, rvdtDesktop,

    rvdtFile, rvdtRTSP, rvdtHTTP); // defined in MRVType unit

property DeviceType: TRVDeviceType;

Value

Meaning

GStreamer

FFmpeg

rvdtIPCamera

IP Camera producing MJPEG or H.264 video stream via HTTP or TCP. CameraHost:CameraPort or URL properties are used.

Video format is specified in VideoFormat.

not used

not required for MJPEG;

required otherwise

rvdtWebCamera

USB webcam. VideoDeviceIndex property is used.

not used

rvdtDesktop

Screen. DesktopMode property is used.

not used

rvdtFile

Video from a file. SourceFileName property is used.

not used

used optionally

rvdtRTSP

Video via RTSP (Real Time Streaming Protocol)*. URL property is used.

Video format is specified in VideoFormat*.

either GStreamer or FFmpeg is required

rvdtHTTP

Video via HTTP*. URL property is used.

Video format is specified in VideoFormat*.

not required for MJPEG;

either GStreamer or FFmpeg is required otherwise

* the specified video format and network protocol are used in GStreamer; for FFmpeg, they are detected automatically.

Default value

rvdtIPCamera