修复录像回放中的信令错误
This commit is contained in:
@@ -17,10 +17,9 @@ public interface IRedisCatchStorage {
|
||||
/**
|
||||
* 计数器。为cseq进行计数
|
||||
*
|
||||
* @param method sip 方法
|
||||
* @return
|
||||
*/
|
||||
Long getCSEQ(String method);
|
||||
Long getCSEQ();
|
||||
|
||||
/**
|
||||
* 开始播放时将流存入
|
||||
|
||||
@@ -42,8 +42,8 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
|
||||
private UserSetting userSetting;
|
||||
|
||||
@Override
|
||||
public Long getCSEQ(String method) {
|
||||
String key = VideoManagerConstants.SIP_CSEQ_PREFIX + userSetting.getServerId() + "_" + method;
|
||||
public Long getCSEQ() {
|
||||
String key = VideoManagerConstants.SIP_CSEQ_PREFIX + userSetting.getServerId();
|
||||
|
||||
long result = redis.incr(key, 1L);
|
||||
if (result > Integer.MAX_VALUE) {
|
||||
|
||||
Reference in New Issue
Block a user