mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2025-09-26 21:15:56 +08:00
支持兼容接口拉起离线的通道
This commit is contained in:
@@ -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)->{
|
||||
|
Reference in New Issue
Block a user