标准化视频预览api

This commit is contained in:
songww 2020-05-09 08:10:38 +08:00
parent 9611ae2937
commit cf91111842

View File

@ -26,7 +26,7 @@ public class PlayController {
@Autowired @Autowired
private IVideoManagerStorager storager; private IVideoManagerStorager storager;
@GetMapping("/play/{deviceId}_{channelId}") @GetMapping("/play/{deviceId}/{channelId}")
public ResponseEntity<String> play(@PathVariable String deviceId,@PathVariable String channelId){ public ResponseEntity<String> play(@PathVariable String deviceId,@PathVariable String channelId){
Device device = storager.queryVideoDevice(deviceId); Device device = storager.queryVideoDevice(deviceId);