From 0faa5936584c7e816034db997017d90648a4ada6 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期二, 06 七月 2021 16:38:31 +0800 Subject: [PATCH] 规范配置文件,添加接口鉴权的例外接口配置 --- src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java index 540a66e..535c790 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java +++ b/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); -- Gitblit v1.8.0