去除多余引入
This commit is contained in:
parent
dd986dcbdd
commit
d439ab7202
@ -20,6 +20,10 @@ import javax.sip.message.Request;
|
|||||||
import javax.sip.message.Response;
|
import javax.sip.message.Response;
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发送SIP消息
|
||||||
|
* @author lin
|
||||||
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class SIPSender {
|
public class SIPSender {
|
||||||
|
|
||||||
|
@ -52,14 +52,6 @@ public class SIPRequestHeaderProvider {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private VideoStreamSessionManager streamSession;
|
private VideoStreamSessionManager streamSession;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
@Qualifier(value="tcpSipProvider")
|
|
||||||
private SipProviderImpl tcpSipProvider;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
@Qualifier(value="udpSipProvider")
|
|
||||||
private SipProviderImpl udpSipProvider;
|
|
||||||
|
|
||||||
public Request createMessageRequest(Device device, String content, String viaTag, String fromTag, String toTag, CallIdHeader callIdHeader) throws ParseException, InvalidArgumentException, PeerUnavailableException {
|
public Request createMessageRequest(Device device, String content, String viaTag, String fromTag, String toTag, CallIdHeader callIdHeader) throws ParseException, InvalidArgumentException, PeerUnavailableException {
|
||||||
Request request = null;
|
Request request = null;
|
||||||
// sipuri
|
// sipuri
|
||||||
|
@ -41,14 +41,6 @@ public abstract class SIPRequestProcessorParent {
|
|||||||
|
|
||||||
private final static Logger logger = LoggerFactory.getLogger(SIPRequestProcessorParent.class);
|
private final static Logger logger = LoggerFactory.getLogger(SIPRequestProcessorParent.class);
|
||||||
|
|
||||||
@Autowired
|
|
||||||
@Qualifier(value="tcpSipProvider")
|
|
||||||
private SipProviderImpl tcpSipProvider;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
@Qualifier(value="udpSipProvider")
|
|
||||||
private SipProviderImpl udpSipProvider;
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private SIPSender sipSender;
|
private SIPSender sipSender;
|
||||||
|
|
||||||
|
@ -62,10 +62,6 @@ public class InviteResponseProcessor extends SIPResponseProcessorAbstract {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private SIPRequestHeaderProvider headerProvider;
|
private SIPRequestHeaderProvider headerProvider;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
@Qualifier(value="udpSipProvider")
|
|
||||||
private SipProviderImpl udpSipProvider;
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user