精简代码

pull/10/head
648540858 2020-12-14 15:34:33 +08:00
parent 285f08fc3b
commit 1a827a4dd4
1 changed files with 2 additions and 4 deletions

View File

@ -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){