Merge pull request #1137 from xiaoQQya/develop

bugfix: 修复推流鉴权、报警推送等问题
This commit is contained in:
648540858
2023-12-11 10:22:26 +08:00
committed by GitHub
13 changed files with 569 additions and 570 deletions

View File

@@ -569,7 +569,7 @@ public class MediaServerServiceImpl implements IMediaServerService {
Map<String, Object> param = new HashMap<>();
param.put("api.secret",mediaServerItem.getSecret()); // -profile:v Baseline
if (mediaServerItem.getRtspPort() != 0) {
param.put("ffmpeg.snap", "%s -rtsp_transport tcp -i %s -y -f mjpeg -t 0.001 %s");
param.put("ffmpeg.snap", "%s -rtsp_transport tcp -i %s -y -f mjpeg -frames:v 1 %s");
}
param.put("hook.enable","1");
param.put("hook.on_flow_report","");