64850858
2021-07-14 e48ef997c03b49c8090970f5fbb29ce80b0ac6df
src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
@@ -115,12 +115,11 @@
                    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);
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }