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

How to use
stop
method
in
javax.media.Processor

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

origin: igniterealtime/Smack

/**
 * Stops the transmission if already started.
 * Stops the receiver also.
 */
public void stop() {
  if (!started) return;
  synchronized (this) {
    try {
      started = false;
      if (processor != null) {
        processor.stop();
        processor = null;
        for (RTPManager rtpMgr : rtpMgrs) {
          rtpMgr.removeReceiveStreamListener(audioReceiver);
          rtpMgr.removeSessionListener(audioReceiver);
          rtpMgr.removeTargets("Session ended.");
          rtpMgr.dispose();
        }
        sendStreams.clear();
      }
    }
    catch (Exception e) {
      LOGGER.log(Level.WARNING, "exception", e);
    }
  }
}
origin: jitsi/libjitsi

/**
 * Implements {@link DataSource#stop()}. Stops the actual transcoding
 * process if it has already been set up with {@link #connect()}.
 *
 * @throws IOException if stopping the transcoding fails
 */
@Override
public synchronized void stop()
  throws IOException
{
  if (outputDataSource != null)
  {
    transcodingProcessor.stop();
    outputDataSource.stop();
  }
}
origin: org.igniterealtime.smack/smack-jingle

/**
 * Stops the transmission if already started.
 * Stops the receiver also.
 */
public void stop() {
  if (!started) return;
  synchronized (this) {
    try {
      started = false;
      if (processor != null) {
        processor.stop();
        processor = null;
        for (RTPManager rtpMgr : rtpMgrs) {
          rtpMgr.removeReceiveStreamListener(audioReceiver);
          rtpMgr.removeSessionListener(audioReceiver);
          rtpMgr.removeTargets("Session ended.");
          rtpMgr.dispose();
        }
        sendStreams.clear();
      }
    }
    catch (Exception e) {
      e.printStackTrace();
    }
  }
}
origin: org.igniterealtime.smack/smackx-jingle

/**
 * Stops the transmission if already started.
 * Stops the receiver also.
 */
public void stop() {
  if (!started) return;
  synchronized (this) {
    try {
      started = false;
      if (processor != null) {
        processor.stop();
        processor = null;
        for (RTPManager rtpMgr : rtpMgrs) {
          rtpMgr.removeReceiveStreamListener(audioReceiver);
          rtpMgr.removeSessionListener(audioReceiver);
          rtpMgr.removeTargets("Session ended.");
          rtpMgr.dispose();
        }
        sendStreams.clear();
      }
    }
    catch (Exception e) {
      e.printStackTrace();
    }
  }
}
origin: jitsi/libjitsi

    && (processor.getState() > Processor.Configured))
processor.stop();
if (logger.isTraceEnabled())
origin: jitsi/libjitsi

  processor.removeControllerListener(processorControllerListener);
processor.stop();
if (logger.isTraceEnabled())
  logger
origin: jitsi/libjitsi

receiveStream.processor.stop();
receiveStream.processor.close();
javax.mediaProcessorstop

Popular methods of Processor

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

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getApplicationContext (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Option (scala)
  • Top Vim 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