forked from Thirdparty/wvp
标准化视频预览api
parent
272e8f034f
commit
407ce63630
|
@ -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…
Reference in New Issue