How to close application included RVCamera?

New product: VCL components for displaying and controlling IP cameras, webcams, video conferencing, video chats
Post Reply
magickh
Posts: 8
Joined: Wed Apr 22, 2015 7:48 am

How to close application included RVCamera?

Post by magickh » Mon May 30, 2016 8:22 am

My Application has multiple RVCameras and RVCamViews. If all streams are founded and the streams are ok i can close the application within 5 seconds. If one of the stream is not reachable the applications stops for a long time in closing this window. The application is like frosen right after the window with the non working stream is closed.
All the other Forms with RVCamera and TVCamView are close very fast as long as the camera is founded.
How do i have to lcose it the right way?

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

Post by Sergey Tkachenko » Mon May 30, 2016 8:39 am

Unfortunately, we cannot close the application until we finish all threads working with the cameras, and in some cases it may take some time, if the camera is not responding.

Make sure that you use the last version of RVMedia, we tried to implement a finalization as was as we could.

WpgnGaming
Posts: 16
Joined: Mon Dec 21, 2015 7:54 pm

Post by WpgnGaming » Mon May 30, 2016 1:05 pm

can always try a dirty application termate; with process message before it that may work but not really good coding.

Application.ProcessMessages;
Application.Terminate;

Post Reply