精简代码
parent
285f08fc3b
commit
1a827a4dd4
|
@ -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…
Reference in New Issue