Browse Source

精简代码

pull/10/head
648540858 4 years ago
parent
commit
1a827a4dd4
  1. 6
      src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java

6
src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java

@ -17,13 +17,11 @@ public class VideoStreamSessionManager {
private ConcurrentHashMap<String, ClientTransaction> sessionMap = new ConcurrentHashMap<>();
public String createPlaySsrc(){
String ssrc = SsrcUtil.getPlaySsrc();
return ssrc;
return SsrcUtil.getPlaySsrc();
}
public String createPlayBackSsrc(){
String ssrc = SsrcUtil.getPlayBackSsrc();
return ssrc;
return SsrcUtil.getPlayBackSsrc();
}
public void put(String ssrc,ClientTransaction transaction){

Loading…
Cancel
Save