支持公网部署

This commit is contained in:
648540858
2020-11-09 13:33:00 +08:00
parent ce1aa6137b
commit 81f9119da6
6 changed files with 30 additions and 13 deletions

View File

@@ -42,6 +42,7 @@ public class PlayController {
public ResponseEntity<String> play(@PathVariable String deviceId, @PathVariable String channelId,
Integer getEncoding) {
if (getEncoding == null) getEncoding = 0;
Device device = storager.queryVideoDevice(deviceId);
StreamInfo streamInfo = storager.queryPlayByDevice(deviceId, channelId);
@@ -146,3 +147,4 @@ public class PlayController {
}
}
}