Skip to content

RefreshDevicesAndCompressorsLists

function

Delphi
procedure RefreshDevicesAndCompressorsLists;
C++Builder
void __fastcall RefreshDevicesAndCompressorsLists();
C#
public void RefreshDevicesAndCompressorsLists();
VB.NET
Public Sub RefreshDevicesAndCompressorsLists()
C++/Qt
void RefreshDevicesAndCompressorsLists ();

Refreshes mainly the VideoCompressors and AudioCompressors lists, e.g. after installing/uninstalling video compressors or audio compressors.

Calling this procedure also refreshes the AudioDevices and VideoDevices lists. However it is usually not useful to invoke this procedure for video capture devices or audio capture devices, because when connecting/disconnecting them, the corresponding lists are refreshed automatically and the OnDeviceArrivalOrRemoval event occurs to notify that the lists have been updated.