lawrencehj
2021-06-23 0acf13445a2e3120f3d3599238401c9f2885d711
改为fmp4截图
1个文件已修改
4 ■■■■ 已修改文件
src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
@@ -115,9 +115,9 @@
                    WVPResult wvpResult = (WVPResult)responseEntity.getBody();
                    if (wvpResult.getCode() == 0) {
                        StreamInfo streamInfoForSuccess = (StreamInfo)wvpResult.getData();
                        String flvUrl = streamInfoForSuccess.getFlv();
                        String streamUrl = streamInfoForSuccess.getFmp4();
                        // 请求截图
                        zlmresTfulUtils.getSnap(flvUrl, 15, 1, path, fileName);
                        zlmresTfulUtils.getSnap(streamUrl, 15, 1, path, fileName);
                    }
                }
                System.out.println(path);