Tabnine Logo
Processor.start
Code IndexAdd Tabnine to your IDE (free)

How to use
start
method
in
javax.media.Processor

Best Java code snippets using javax.media.Processor.start (Showing top 7 results out of 315)

origin: igniterealtime/Smack

/**
 * Starts the transmission. Returns null if transmission started ok.
 * Otherwise it returns a string with the reason why the setup failed.
 * Starts receive also.
 *
 * @return result description
 */
public synchronized String start() {
  if (started) return null;
  // Create a processor for the specified jmf locator
  String result = createProcessor();
  if (result != null) {
    started = false;
  }
  // Create an RTP session to transmit the output of the
  // processor to the specified IP address and port no.
  result = createTransmitter();
  if (result != null) {
    processor.close();
    processor = null;
    started = false;
  }
  else {
    started = true;
  }
  // Start the transmission
  processor.start();
  return null;
}
origin: jitsi/libjitsi

/**
 * 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();
}
origin: jitsi/libjitsi

/**
 * Starts a specific <tt>Processor</tt> if this <tt>MediaDeviceSession</tt>
 * has been started and the specified <tt>Processor</tt> is not started.
 *
 * @param processor the <tt>Processor</tt> to start
 */
protected void startProcessorInAccordWithDirection(Processor processor)
{
  if (startedDirection.allowsSending()
      && (processor.getState() != Processor.Started))
  {
    processor.start();
    if (logger.isTraceEnabled())
    {
      logger.trace(
          "Started Processor with hashCode "
            + processor.hashCode());
    }
  }
}
origin: org.igniterealtime.smack/smack-jingle

/**
 * Starts the transmission. Returns null if transmission started ok.
 * Otherwise it returns a string with the reason why the setup failed.
 * Starts receive also.
 *
 * @return result description
 */
public synchronized String start() {
  if (started) return null;
  // Create a processor for the specified jmf locator
  String result = createProcessor();
  if (result != null) {
    started = false;
  }
  // Create an RTP session to transmit the output of the
  // processor to the specified IP address and port no.
  result = createTransmitter();
  if (result != null) {
    processor.close();
    processor = null;
    started = false;
  }
  else {
    started = true;
  }
  // Start the transmission
  processor.start();
  return null;
}
origin: org.igniterealtime.smack/smackx-jingle

/**
 * Starts the transmission. Returns null if transmission started ok.
 * Otherwise it returns a string with the reason why the setup failed.
 * Starts receive also.
 *
 * @return result description
 */
public synchronized String start() {
  if (started) return null;
  // Create a processor for the specified jmf locator
  String result = createProcessor();
  if (result != null) {
    started = false;
  }
  // Create an RTP session to transmit the output of the
  // processor to the specified IP address and port no.
  result = createTransmitter();
  if (result != null) {
    processor.close();
    processor = null;
    started = false;
  }
  else {
    started = true;
  }
  // Start the transmission
  processor.start();
  return null;
}
origin: jitsi/libjitsi

player.start();
origin: jitsi/libjitsi

processor.start();
javax.mediaProcessorstart

Popular methods of Processor

  • getDataOutput
  • addControllerListener
  • close
  • configure
  • getState
  • getTrackControls
  • realize
  • setContentDescriptor
  • stop
  • getControl
  • deallocate
  • removeControllerListener
  • deallocate,
  • removeControllerListener

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • JTextField (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now