0
realize()
和prefetch()
是什麼意思?what()和prefetch()是什麼意思?
音頻文件:
InputStream is = getClass().getResourceAsStream("/SMS.mp3");
player = Manager.createPlayer(is,"audio/mpeg")
player.realize();
player.prefetch();
player.start();
相機...
player = Manager.createPlayer("capture://video");
player.realize();
videoControl = (VideoControl)player.getControl("VideoControl");
Canvas canvas = new VLCCanvas(videoControl);
d.setCurrent(canvas);
player.start();
所以這裏在上面的代碼中的某些時候,它採用只能實現()和一些次預取()了。但是,這是什麼意思?