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

How to use
close
method
in
javax.media.Processor

Best Java code snippets using javax.media.Processor.close (Showing top 6 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#disconnect()}. Stops and undoes the whole
 * setup of the very transcoding process i.e. disconnects from the output
 * <tt>DataSource</tt> of the transcodingProcessor and disposes of the
 * <tt>transcodingProcessor</tt>.
 */
@Override
public synchronized void disconnect()
{
  if (outputDataSource == null)
    return;
  try
  {
    stop();
  }
  catch (IOException ioex)
  {
    throw new UndeclaredThrowableException(ioex);
  }
  outputDataSource.disconnect();
  transcodingProcessor.deallocate();
  transcodingProcessor.close();
  transcodingProcessor = null;
  outputDataSource = null;
}
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

processor.close();
processorIsPrematurelyClosed = false;
origin: jitsi/libjitsi

receiveStream.processor.close();
javax.mediaProcessorclose

Popular methods of Processor

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

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • Permission (java.security)
    Legacy security code; do not use.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text plugins
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