简单测试

This commit is contained in:
shikong 2023-08-22 02:48:34 +08:00
parent 5599fe010a
commit 2bd4a826d8

View File

@ -0,0 +1,22 @@
package cn.skcks.docking.gb28181;
import cn.skcks.docking.gb28181.core.sip.service.SipService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import javax.sip.SipProvider;
@Slf4j
@SpringBootTest(classes = Gb28181DockingPlatformApplicationTest.class)
public class SipTest {
@Autowired
private SipService service;
@Test
void context(){
SipProvider provider = service.getProvider("TCP", "10.10.10.20");
log.info("{}", provider);
}
}