Commit 7430c98309084379c62f91d1098ce702846d2600
1 parent
d8011e9e
增加日志提示
Showing
1 changed file
with
2 additions
and
3 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/MediaServerServiceImpl.java
| @@ -163,10 +163,9 @@ public class MediaServerServiceImpl implements IMediaServerService { | @@ -163,10 +163,9 @@ public class MediaServerServiceImpl implements IMediaServerService { | ||
| 163 | if (streamId == null) { | 163 | if (streamId == null) { |
| 164 | streamId = String.format("%08x", Long.parseLong(ssrc)).toUpperCase(); | 164 | streamId = String.format("%08x", Long.parseLong(ssrc)).toUpperCase(); |
| 165 | } | 165 | } |
| 166 | - int ssrcCheckParam = 0; | ||
| 167 | - if (ssrcCheck && tcpMode > 1) { | 166 | + if (ssrcCheck && tcpMode > 0) { |
| 168 | // 目前zlm不支持 tcp模式更新ssrc,暂时关闭ssrc校验 | 167 | // 目前zlm不支持 tcp模式更新ssrc,暂时关闭ssrc校验 |
| 169 | - logger.warn("[openRTPServer] TCP被动/TCP主动收流时,默认关闭ssrc检验"); | 168 | + logger.warn("[openRTPServer] 平台对接时下级可能自定义ssrc,但是tcp模式zlm收流目前无法更新ssrc,可能收流超时,此时请使用udp收流或者关闭ssrc校验"); |
| 170 | } | 169 | } |
| 171 | int rtpServerPort; | 170 | int rtpServerPort; |
| 172 | if (mediaServerItem.isRtpEnable()) { | 171 | if (mediaServerItem.isRtpEnable()) { |