@Override public void execute(Object message) throws Exception { try { networkConnection.getSdpPortManager().addListener(sdpListener); networkConnection.getSdpPortManager().processSdpAnswer(remoteSdp.getBytes()); } catch (MsControlException e) { fsm.transition(e, failed); } }
MediaGroup g2 = session.createMediaGroup(MediaGroup.PLAYER_RECORDER_SIGNALDETECTOR); c1.getSdpPortManager().addListener(new MediaEventListener<SdpPortManagerEvent>() { public void onEvent(SdpPortManagerEvent event) { if (event.getEventType() == SdpPortManagerEvent.OFFER_GENERATED) { c2.getSdpPortManager().addListener(new MediaEventListener<SdpPortManagerEvent>() { public void onEvent(SdpPortManagerEvent event) { if (event.getEventType() == SdpPortManagerEvent.ANSWER_PROCESSED) {
MediaGroup g2 = session.createMediaGroup(MediaGroup.PLAYER_RECORDER_SIGNALDETECTOR); c1.getSdpPortManager().addListener(new MediaEventListener<SdpPortManagerEvent>() { public void onEvent(SdpPortManagerEvent event) { if (event.getEventType() == SdpPortManagerEvent.OFFER_GENERATED) { c2.getSdpPortManager().addListener(new MediaEventListener<SdpPortManagerEvent>() { public void onEvent(SdpPortManagerEvent event) { if (event.getEventType() == SdpPortManagerEvent.ANSWER_PROCESSED) {
networkConnection.getSdpPortManager().addListener(sdpListener); if (callOutbound) { networkConnection.getSdpPortManager().generateSdpOffer();