Example 3: playing a video stream

Top  Previous  Next

If the IP camera does not have a direct Internet access, but its video steam (or video frames) can be read from the specified address, you can use RVCamera.URL property.

Example

1. Place RVCamera1:TRVCamera and RVCamView1:TRVCamView on the form. Assign RVCamView.VideoSource = RVCamera1.

2. Assign RVCamera1.URL property. For example: 'http://85.199.8.252/record/current.jpg?resolution=CIF').

3. Add in TForm1.FormCreate:

RVCamera1.PlayVideoStream;