支持兼容接口拉起离线的通道

2.6.4
648540858 2023-04-14 09:09:38 +08:00
parent 1f02cb9178
commit 8803c2ac43
1 changed files with 0 additions and 5 deletions

View File

@ -104,11 +104,6 @@ public class ApiStreamController {
result.put("error","channel[ " + code + " ]未找到");
resultDeferredResult.setResult(result);
return resultDeferredResult;
}else if (deviceChannel.getStatus() == 0) {
JSONObject result = new JSONObject();
result.put("error","channel[ " + code + " ]offline");
resultDeferredResult.setResult(result);
return resultDeferredResult;
}
MediaServerItem newMediaServerItem = playService.getNewMediaServerItem(device);
playService.play(newMediaServerItem, serial, code, (mediaServerItem, response)->{