use of com.att.aro.ui.view.video.IVideoPlayer in project VideoOptimzer by attdevsupport.
the class MainFrame method initVideoPlayerController.
private void initVideoPlayerController() {
List<IVideoPlayer> players = new ArrayList<IVideoPlayer>();
// Add all the video players intended to be used
players.add(new VlcjPlayer(this));
videoPlayerController = new VideoPlayerController(diagnosticsTab, players);
modelObserver.registerObserver(videoPlayerController);
videoPlayerController.launchPlayer(rtEdge, 0, playbackWidth, playbackHeight);
}
use of com.att.aro.ui.view.video.IVideoPlayer in project VideoOptimzer by attdevsupport.
the class SegmentTablePanel method launchStartUpDelayDialog.
public void launchStartUpDelayDialog() {
GoogleAnalyticsUtil.getGoogleAnalyticsInstance().sendViews("StartupDelayDialog");
IVideoPlayer player = aroView.getVideoPlayer();
double maxDuration = player.getDuration();
List<UserEvent> userEventList = analyzerResult.getAnalyzerResult().getTraceresult().getUserEvents();
if (maxDuration >= 0) {
selectVideoStreamWithRefresh(videoStream);
try {
dialog = new StartupDelayDialog(aroView.getGraphPanel(), maxDuration, videoStream, userEventList, this, viewIndex);
dialog.pack();
dialog.setSize(dialog.getPreferredSize());
dialog.validate();
dialog.setModalityType(ModalityType.APPLICATION_MODAL);
dialog.setVisible(true);
} catch (Exception e) {
LOG.error("Exception in StartupDelayDialog:", e);
new MessageDialogFactory().showErrorDialog(null, ResourceBundleHelper.getMessageString("startupdelay.error.message"));
}
}
}
Aggregations