修改错误注释和错误日志
This commit is contained in:
parent
e625520bc8
commit
285f08fc3b
@ -32,7 +32,7 @@ public class OnlineEventListener implements ApplicationListener<OnlineEvent> {
|
|||||||
public void onApplicationEvent(OnlineEvent event) {
|
public void onApplicationEvent(OnlineEvent event) {
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("设备离线事件触发,deviceId:" + event.getDeviceId() + ",from:" + event.getFrom());
|
logger.debug("设备上线事件触发,deviceId:" + event.getDeviceId() + ",from:" + event.getFrom());
|
||||||
}
|
}
|
||||||
|
|
||||||
String key = VideoManagerConstants.KEEPLIVEKEY_PREFIX + event.getDeviceId();
|
String key = VideoManagerConstants.KEEPLIVEKEY_PREFIX + event.getDeviceId();
|
||||||
|
@ -74,7 +74,7 @@ public class PlayController {
|
|||||||
resultHolder.put(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid, result);
|
resultHolder.put(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid, result);
|
||||||
|
|
||||||
if (streamInfo == null) {
|
if (streamInfo == null) {
|
||||||
// TODO playStreamCmd 超时处理
|
// 发送点播消息
|
||||||
cmder.playStreamCmd(device, channelId, (JSONObject response) -> {
|
cmder.playStreamCmd(device, channelId, (JSONObject response) -> {
|
||||||
logger.info("收到订阅消息: " + response.toJSONString());
|
logger.info("收到订阅消息: " + response.toJSONString());
|
||||||
playService.onPublishHandlerForPlay(response, deviceId, channelId, uuid.toString());
|
playService.onPublishHandlerForPlay(response, deviceId, channelId, uuid.toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user