Commit 0acf13445a2e3120f3d3599238401c9f2885d711

Authored by lawrencehj
2 parents e1194632 e21abeea

改为fmp4截图

src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
... ... @@ -115,9 +115,9 @@ public class PlayServiceImpl implements IPlayService {
115 115 WVPResult wvpResult = (WVPResult)responseEntity.getBody();
116 116 if (wvpResult.getCode() == 0) {
117 117 StreamInfo streamInfoForSuccess = (StreamInfo)wvpResult.getData();
118   - String flvUrl = streamInfoForSuccess.getFlv();
  118 + String streamUrl = streamInfoForSuccess.getFmp4();
119 119 // 请求截图
120   - zlmresTfulUtils.getSnap(flvUrl, 15, 1, path, fileName);
  120 + zlmresTfulUtils.getSnap(streamUrl, 15, 1, path, fileName);
121 121 }
122 122 }
123 123 System.out.println(path);
... ...