congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
NetworkConnection.unjoin
Code IndexAdd Tabnine to your IDE (free)

How to use
unjoin
method
in
javax.media.mscontrol.networkconnection.NetworkConnection

Best Java code snippets using javax.media.mscontrol.networkconnection.NetworkConnection.unjoin (Showing top 1 results out of 315)

origin: org.restcomm/restcomm-connect.mscontrol.jsr309

private void onLeave(Leave message, ActorRef self, ActorRef sender) throws Exception {
  if (is(active) && (this.mediaMixer != null)) {
    try {
      // Leave conference or bridge
      this.networkConnection.unjoin(this.mediaMixer);
      this.mediaMixer = null;
      this.bridge = null;
      // Restore link with Media Group
      this.networkConnection.join(Direction.DUPLEX, this.mediaGroup);
      // Warn call the operation is complete
      call.tell(new Left(), self);
    } catch (MsControlException e) {
      logger.error(e, "Call could not leave Bridge. Failing...");
      fsm.transition(e, failed);
    }
  }
}
javax.media.mscontrol.networkconnectionNetworkConnectionunjoin

Popular methods of NetworkConnection

  • getSdpPortManager
  • join
  • release
  • getMediaSession
  • joinInitiate
  • setParameters

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • 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