Giriş
Şu satırı dahil ederiz.
Açıklaması şöyle
Şöyle yaparız.
Şöyle yaparız.
Şu satırı dahil ederiz.
import javax.media.CaptureDeviceManager;
getDeviceList metoduAçıklaması şöyle
CaptureDeviceManager.getDeviceList(Format format) does not detect devices. Instead it reads from the JMF registry which is the jmf.properties file. It searches for the jmf.properties file in the classpath.Örnek
If your JMF install has succeeded, then the classpath would have been configured to include all the relevant JMF jars and directories. The JMF install comes with a jmf.properties file included in the 'lib' folder under the JMF installation directory.
Şöyle yaparız.
Vector audioDevices = CaptureDeviceManager.getDeviceList(new AudioFormat(null));
ÖrnekŞöyle yaparız.
Vector videoDevices = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
Hiç yorum yok:
Yorum Gönder