videoUrl 返回 .mp4 视频流
This commit is contained in:
parent
8a907dd68a
commit
9ac5a2adad
@ -286,6 +286,7 @@ public class Gb28181DownloadService {
|
|||||||
}, time, TimeUnit.MILLISECONDS);
|
}, time, TimeUnit.MILLISECONDS);
|
||||||
|
|
||||||
String url = videoWsUrl(videoInfo.getUrl());
|
String url = videoWsUrl(videoInfo.getUrl());
|
||||||
|
url = StringUtils.replaceOnce(url, ".live.flv", ".live.mp4");
|
||||||
result.setResult(JsonResponse.success(url));
|
result.setResult(JsonResponse.success(url));
|
||||||
});
|
});
|
||||||
}, 200, TimeUnit.MILLISECONDS);
|
}, 200, TimeUnit.MILLISECONDS);
|
||||||
|
Loading…
Reference in New Issue
Block a user