修复心跳异常,支持通道列表,推流列表,拉流代理列表直接查看对应的云端录像,兼容大于INT的ssrc的格式化
This commit is contained in:
4
src/main/java/com/genersoft/iot/vmp/vmanager/rtp/RtpController.java
Normal file → Executable file
4
src/main/java/com/genersoft/iot/vmp/vmanager/rtp/RtpController.java
Normal file → Executable file
@@ -91,10 +91,10 @@ public class RtpController {
|
||||
if (isSend != null && isSend && callId == null) {
|
||||
throw new ControllerException(ErrorCode.ERROR100.getCode(),"isSend为true时,CallID不能为空");
|
||||
}
|
||||
int ssrcInt = 0;
|
||||
long ssrcInt = 0;
|
||||
if (ssrc != null) {
|
||||
try {
|
||||
ssrcInt = Integer.parseInt(ssrc);
|
||||
ssrcInt = Long.parseLong(ssrc);
|
||||
}catch (NumberFormatException e) {
|
||||
throw new ControllerException(ErrorCode.ERROR100.getCode(),"ssrc格式错误");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user