videoUrl 返回 .mp4 视频流

This commit is contained in:
shikong 2024-03-05 16:34:53 +08:00
parent 8a907dd68a
commit 9ac5a2adad

View File

@ -286,6 +286,7 @@ public class Gb28181DownloadService {
}, time, TimeUnit.MILLISECONDS);
String url = videoWsUrl(videoInfo.getUrl());
url = StringUtils.replaceOnce(url, ".live.flv", ".live.mp4");
result.setResult(JsonResponse.success(url));
});
}, 200, TimeUnit.MILLISECONDS);