mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 13:48:09 +00:00
fix compilation issue on sdp module
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@15 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
8cab1d2c92
commit
6eef0d0968
2 changed files with 2 additions and 11 deletions
|
|
@ -175,7 +175,7 @@ public class SipProxyRegistrar implements SipProviderListener,PipeMsgListener,Si
|
|||
mProvider=new SipProvider(null,lPort,lProto,SipProvider.ALL_INTERFACES);
|
||||
mProvider.addSipProviderListener(SipProvider.PROMISQUE,this);
|
||||
mPool = Executors.newCachedThreadPool();
|
||||
mSdpProcessor = new SdpProcessorImpl(mRegistrationTab,aP2pProxyRtpRelayManagement);
|
||||
mSdpProcessor = new SdpProcessorImpl(aP2pProxyRtpRelayManagement);
|
||||
|
||||
}
|
||||
public synchronized void onReceivedMessage(SipProvider aProvider, Message aMessage) {
|
||||
|
|
@ -197,9 +197,6 @@ public class SipProxyRegistrar implements SipProviderListener,PipeMsgListener,Si
|
|||
Message lInviteResp = MessageFactory.createResponse(lPendingSipMessageTask.getMessage(),487,"Request Terminated",null);
|
||||
TransactionServer lInviteTransactionServer = new TransactionServer(mProvider,lPendingSipMessageTask.getMessage(),null);
|
||||
lInviteTransactionServer.respondWith(lInviteResp);
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
// normal behavior
|
||||
SipMessageTask lSipMessageTask = new SipMessageTask(aProvider,aMessage);
|
||||
|
|
|
|||
|
|
@ -21,15 +21,11 @@ package org.linphone.p2pproxy.core.media.rtprelay;
|
|||
|
||||
import java.net.InetSocketAddress;
|
||||
import java.util.Map;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import net.jxta.pipe.OutputPipe;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.linphone.p2pproxy.api.P2pProxyException;
|
||||
import org.linphone.p2pproxy.api.P2pProxyRtpRelayManagement;
|
||||
import org.linphone.p2pproxy.core.SdpProcessor;
|
||||
import org.linphone.p2pproxy.core.SipProxyRegistrar.Registration;
|
||||
import org.zoolu.sdp.AttributeField;
|
||||
import org.zoolu.sdp.MediaDescriptor;
|
||||
import org.zoolu.sdp.SessionDescriptor;
|
||||
|
|
@ -45,10 +41,8 @@ public class SdpProcessorImpl implements SdpProcessor {
|
|||
|
||||
|
||||
private final static Logger mLog = Logger.getLogger(SdpProcessorImpl.class);
|
||||
private final Map<String,Registration> mRegistrationTab;
|
||||
private final P2pProxyRtpRelayManagement mP2pProxyRtpRelayManagement;
|
||||
public SdpProcessorImpl(Map<String,Registration> aRegistrationTab,P2pProxyRtpRelayManagement aP2pProxyRtpRelayManagement) {
|
||||
mRegistrationTab = aRegistrationTab;
|
||||
public SdpProcessorImpl(P2pProxyRtpRelayManagement aP2pProxyRtpRelayManagement) {
|
||||
mP2pProxyRtpRelayManagement = aP2pProxyRtpRelayManagement;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue