/** * Implements {@link DataSource#start()}. Delegates to the wrapped * <tt>DataSource</tt>. Overrides * {@link CaptureDeviceDelegatePullBufferDataSource#start()} because the * wrapped <tt>DataSource</tt> may not be a <tt>CaptureDevice</tt> yet it * still needs to be started. * * @throws IOException if the wrapped <tt>DataSource</tt> throws such an * exception */ @Override public void start() throws IOException { dataSource.start(); }
/** * Implements {@link DataSource#start()}. Delegates to the wrapped * <tt>DataSource</tt>. Overrides * {@link CaptureDeviceDelegatePushBufferDataSource#start()} because the * wrapped <tt>DataSource</tt> may not be a <tt>CaptureDevice</tt> yet it * still needs to be started. * * @throws IOException if the wrapped <tt>DataSource</tt> throws such an * exception */ @Override public void start() throws IOException { dataSource.start(); }
/** * Starts the effective input <tt>DataSource</tt> described by this instance * if it is connected. * * @throws IOException if starting the effective input <tt>DataSource</tt> * described by this instance fails */ synchronized void start() throws IOException { if (connected) getEffectiveInDataSource().start(); }
/** * Implements {@link DataSource#start()}. Starts the actual transcoding * process already set up with {@link #connect()}. * * @throws IOException if starting the transcoding fails */ @Override public synchronized void start() throws IOException { /* * The Javadoc of DataSource#start() says it's an error to call the * method without being connected and by that time we should have the * outputDataSource. */ outputDataSource.start(); transcodingProcessor.start(); }
/** * {@inheritDoc} */ @Override public void start() throws IOException { writer = new WebmWriter(filename); dataSource.start(); if (logger.isInfoEnabled()) logger.info("Created WebmWriter on " + filename); }
receiveStreamDataSource.start();
sendStreamDataSource.start();