mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 21:47:49 +08:00
标准化视频预览api
This commit is contained in:
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
Block a user