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