mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-19 11:57:54 +08:00
修复收到 Bye 时触发的一个 NPE
This commit is contained in:
parent
cf3204de71
commit
3553c2911c
@ -84,6 +84,8 @@ public class MediaInfo {
|
||||
Long bytesSpeed = jsonObject.getLong("bytesSpeed");
|
||||
if (totalReaderCount != null) {
|
||||
mediaInfo.setReaderCount(totalReaderCount);
|
||||
} else {
|
||||
mediaInfo.setReaderCount(0);
|
||||
}
|
||||
if (online != null) {
|
||||
mediaInfo.setOnline(online);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user