/** {@inheritDoc} */ @Override public void process(final URI uri, final RTC[] rtc, final Dictionary<?, ?> optargs) throws MediaResourceException { if (uri == null) { return; } final GenericMediaService service = getMediaService(); service.play(uri.toString(), 0, rtc, optargs); }
/** {@inheritDoc} */ @Override public void handleStopProcessing() { try { final GenericMediaService service = getMediaService(); service.triggerRTC(PlayerConstants.rtca_Stop); } catch (NotBoundException ex) { LOGGER.error("error stopping the media service", ex); } }