Video device list can not be updated

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
ya_vanka
Posts: 22
Joined: Tue Oct 22, 2019 6:24 pm

Video device list can not be updated

Post by ya_vanka »

There is a procedure WebCam.CreateVideoDeviceList; that creates video device list. The problem is that it is called only on the start of a program. So if a new web camera was attached via USB port after the start of your program you can't use it.

I had to make a workaround by creating a new procedure:

Code: Select all

TRVCamera.UpdateVideoDeviceList;
begin
  WebCam.CreateVideoDeviceList;
end;
Is there any other way to udate video device list?
If no - could you please add this procedure to the sources?

Thanks in advance!

ya_vanka
Posts: 22
Joined: Tue Oct 22, 2019 6:24 pm

Re: Video device list can not be updated

Post by ya_vanka »

I am sorry.

Is my question worth answering?

Sergey Tkachenko
Site Admin
Posts: 15017
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Video device list can not be updated

Post by Sergey Tkachenko »

Sorry for the delay. We added UpdateVideoDeviceList in TRVCamera. It re-reads devices in a webcam mode, and monitors in a desktop mode.
It will be included in the next update .
We planned to release this update before TRichView update, but TRichView was prepared sooner. I hope to upload RVMedia update in this weekend.

ya_vanka
Posts: 22
Joined: Tue Oct 22, 2019 6:24 pm

Re: Video device list can not be updated

Post by ya_vanka »

Thanks!

Waiting for the update.

Post Reply