Commit fc08eabb authored by litengwei's avatar litengwei

广固站告警弹窗详情报错解决

parent 2ef2c20e
...@@ -620,8 +620,10 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements ...@@ -620,8 +620,10 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
String url = ""; String url = "";
if ("hls".equals(vedioFormat)) { if ("hls".equals(vedioFormat)) {
url = getVideoUrl(code); url = getVideoUrl(code);
} else { } else if("rtps".equals(vedioFormat)) {
url = getFlvUrlByVideoId(code); return "";
} else {
url = getFlvUrlByVideoId(code);
} }
return ObjectUtils.isEmpty(url) ? defaultUrl : url; return ObjectUtils.isEmpty(url) ? defaultUrl : url;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment