去除人脸识别内容
This commit is contained in:
@@ -91,7 +91,7 @@ public class FlvHandler extends SimpleChannelInboundHandler<Object> {
|
||||
}
|
||||
|
||||
CameraDto cameraDto = buildCamera(req.uri());
|
||||
|
||||
System.out.println(cameraDto);
|
||||
if (StrUtil.isBlank(cameraDto.getUrl())) {
|
||||
log.info("url有误");
|
||||
sendError(ctx, HttpResponseStatus.BAD_REQUEST);
|
||||
@@ -100,6 +100,7 @@ public class FlvHandler extends SimpleChannelInboundHandler<Object> {
|
||||
|
||||
if (!req.decoderResult().isSuccess() || (!"websocket".equals(req.headers().get("Upgrade")))) {
|
||||
// http请求
|
||||
System.out.println("q3gegyaisgd");
|
||||
sendFlvReqHeader(ctx);
|
||||
mediaService.playForHttp(cameraDto, ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user