| | |
| | | // 获取可用的zlm |
| | | Device device = storager.queryVideoDevice(deviceId); |
| | | MediaServerItem newMediaServerItem = playService.getNewMediaServerItem(device); |
| | | PlayResult playResult = playService.play(newMediaServerItem, deviceId, channelId, null, null); |
| | | PlayResult playResult = playService.play(newMediaServerItem, deviceId, channelId, null, null, null); |
| | | |
| | | return playResult.getResult(); |
| | | } |
| | |
| | | //Response response = event.getResponse(); |
| | | msg.setData(String.format("success")); |
| | | resultHolder.invokeAllResult(msg); |
| | | mediaServerService.closeRTPServer(device, channelId, streamInfo.getStream()); |
| | | }); |
| | | |
| | | if (deviceId != null || channelId != null) { |