From ca103731c721aae3f5f622e58c679ed5c09fd9e9 Mon Sep 17 00:00:00 2001
From: Kairlec <sunfokairlec@gmail.com>
Date: 星期一, 15 五月 2023 16:26:37 +0800
Subject: [PATCH] fix response `content-type` is not set if access without access token

---
 src/main/java/com/genersoft/iot/vmp/vmanager/bean/StreamContent.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/bean/StreamContent.java b/src/main/java/com/genersoft/iot/vmp/vmanager/bean/StreamContent.java
index e577baa..abf6df4 100644
--- a/src/main/java/com/genersoft/iot/vmp/vmanager/bean/StreamContent.java
+++ b/src/main/java/com/genersoft/iot/vmp/vmanager/bean/StreamContent.java
@@ -116,6 +116,9 @@
         if (streamInfo.getFmp4() != null) {
             this.fmp4 = streamInfo.getFmp4().getUrl();
         }
+        if (streamInfo.getHttps_fmp4() != null) {
+            this.https_fmp4 = streamInfo.getHttps_fmp4().getUrl();
+        }
         if (streamInfo.getWs_fmp4() != null) {
             this.ws_fmp4 = streamInfo.getWs_fmp4().getUrl();
         }

--
Gitblit v1.8.0