APISonar


org.fourthline.cling.mediarenderer.MediaRenderer.APP.log

> org > fourthline > cling > mediarenderer > MediaRenderer > APP > log
org APIs fourthline APIs cling APIs mediarenderer APIs MediaRenderer APIs APP APIs log APIs

Example 1
synchronized public void stopAllMediaPlayers() {
        for (GstMediaPlayer mediaPlayer : mediaPlayers.values()) {
            TransportState state =
                mediaPlayer.getCurrentTransportInfo().getCurrentTransportState();
            if (!state.equals(TransportState.NO_MEDIA_PRESENT) ||
                    state.equals(TransportState.STOPPED)) {
                MediaRenderer.APP.log(Level.FINE, "Stopping player instance: " + mediaPlayer.getInstanceId());
                mediaPlayer.stop();
            }
        }
    }