支持从redis消息更新推流设备状态
This commit is contained in:
@@ -292,7 +292,7 @@ public class ZLMRTPServerFactory {
|
||||
logger.warn("查询流({}/{})是否有其它观看者时得到: {}", app, streamId, mediaInfo.getString("msg"));
|
||||
return -1;
|
||||
}
|
||||
if ( code == 0 && ! mediaInfo.getBoolean("online")) {
|
||||
if ( code == 0 && mediaInfo.getBoolean("online") != null && !mediaInfo.getBoolean("online")) {
|
||||
logger.warn("查询流({}/{})是否有其它观看者时得到: {}", app, streamId, mediaInfo.getString("msg"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user