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

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

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

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

private void onMute(Mute message, ActorRef self, ActorRef sender) {
  if (is(active) && (this.mediaMixer != null)) {
    try {
      this.networkConnection.join(Direction.RECV, this.mediaMixer);
    } catch (MsControlException e) {
      logger.error("Could not mute call: " + e.getMessage(), e);
    }
  }
}
origin: org.restcomm/restcomm-connect.mscontrol.jsr309

private void onUnmute(Unmute message, ActorRef self, ActorRef sender) throws Exception {
  if (is(active) && (this.mediaMixer != null)) {
    try {
      this.networkConnection.join(Direction.DUPLEX, this.mediaMixer);
    } catch (MsControlException e) {
      logger.error("Could not unmute call: " + e.getMessage(), e);
    }
  }
}
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);
    }
  }
}
origin: org.restcomm/restcomm-connect.mscontrol.jsr309

networkConnection.join(Direction.DUPLEX, mediaGroup);
  networkConnection.join(Direction.DUPLEX, mediaGroup);
origin: org.restcomm/restcomm-connect.mscontrol.jsr309

private void onJoinBridge(JoinBridge message, ActorRef self, ActorRef sender) throws Exception {
  if (is(active)) {
    try {
      // join call leg to bridge
      this.bridge = sender;
      this.mediaMixer = (MediaMixer) message.getEndpoint();
      this.networkConnection.join(Direction.DUPLEX, mediaMixer);
      // alert call has joined successfully
      this.call.tell(new JoinComplete(), self);
    } catch (MsControlException e) {
      logger.error("Call bridging failed: " + e.getMessage());
      fsm.transition(e, failed);
    }
  }
}
origin: org.mobicents.media.client/jsr-309-driver

c1.join(Direction.DUPLEX, g1);
c1.getSdpPortManager().generateSdpOffer();
c2.join(Direction.DUPLEX, g2);
origin: org.mobicents.jsr309/mobicents-jsr309-impl

c1.join(Direction.DUPLEX, g1);
c1.getSdpPortManager().generateSdpOffer();
c2.join(Direction.DUPLEX, g2);
origin: org.restcomm/restcomm-connect.mscontrol.jsr309

private void onJoinConference(JoinConference message, ActorRef self, ActorRef sender) throws Exception {
  if (is(active)) {
    try {
      // join call leg to bridge
      // overlay configuration
      MediaAttributes ma = message.mediaAttributes();
      if (!StringUtils.isEmpty(ma.getVideoOverlay())) {
        mediaSession.setAttribute("CAPTION", ma.getVideoOverlay());
      }
      this.bridge = sender;
      this.mediaMixer = (MediaMixer) message.getEndpoint();
      this.networkConnection.join(Direction.DUPLEX, mediaMixer);
      // alert call has joined successfully
      this.call.tell(new JoinComplete(), self);
    } catch (MsControlException e) {
      logger.error("Call bridging failed: " + e.getMessage());
      fsm.transition(e, failed);
    }
  }
}
origin: org.mobicents.servlet.sip.examples/shopping-demo-business-jsr309

  sipServletRequest.send();
  mg.getSignalDetector().addListener(new DTMFListener(mg, sipServletRequest.getSession(), MMSUtil.audioFilePath));
  conn.join(Direction.DUPLEX, mg);
} catch (UnsupportedOperationException uoe) {
  log.error("An unexpected exception occurred while trying to create the request for shipping call", uoe);
origin: org.mobicents.servlet.sip.examples/shopping-demo-business-jsr309

  sipServletRequest.send();
  mg.getSignalDetector().addListener(new DTMFListener(mg, sipServletRequest.getSession(), MMSUtil.audioFilePath));
  conn.join(Direction.DUPLEX, mg);
} catch (UnsupportedOperationException uoe) {
  log.error("An unexpected exception occurred while trying to create the request for checkout confirmation", uoe);
origin: org.mobicents.servlet.sip.examples/shopping-demo-business-jsr309

  sipServletRequest.send();
  mg.getSignalDetector().addListener(new DTMFListener(mg, sipServletRequest.getSession(), MMSUtil.audioFilePath));
  conn.join(Direction.DUPLEX, mg);
} catch (UnsupportedOperationException uoe) {
  log.error("An unexpected exception occurred while trying to create the request for delivery date", uoe);
javax.media.mscontrol.networkconnectionNetworkConnectionjoin

Popular methods of NetworkConnection

  • getSdpPortManager
  • release
  • getMediaSession
  • joinInitiate
  • setParameters
  • unjoin

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JFileChooser (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 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