Browse Source

标准化视频预览api

pull/1/head
songww 5 years ago
parent
commit
407ce63630
  1. 2
      src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java

2
src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java

@ -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);

Loading…
Cancel
Save