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<>(); private ConcurrentHashMap<String, ClientTransaction> sessionMap = new ConcurrentHashMap<>();
public String createPlaySsrc(){ public String createPlaySsrc(){
String ssrc = SsrcUtil.getPlaySsrc(); return SsrcUtil.getPlaySsrc();
return ssrc;
} }
public String createPlayBackSsrc(){ public String createPlayBackSsrc(){
String ssrc = SsrcUtil.getPlayBackSsrc(); return SsrcUtil.getPlayBackSsrc();
return ssrc;
} }
public void put(String ssrc,ClientTransaction transaction){ public void put(String ssrc,ClientTransaction transaction){

Loading…
Cancel
Save