From 5bde5ff5f2f6d4fbd14a40189ed7ac88f9e7eca5 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Tue, 31 Dec 2024 11:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../streamProxy/service/impl/StreamProxyPlayServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyPlayServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyPlayServiceImpl.java index 8651eea2..b936d4b1 100755 --- a/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyPlayServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/streamProxy/service/impl/StreamProxyPlayServiceImpl.java @@ -50,6 +50,9 @@ public class StreamProxyPlayServiceImpl implements IStreamProxyPlayService { if (!streamProxy.isEnable()) { return null; } + if (streamProxy.getServerId() == null) { + streamProxy.setServerId(userSetting.getServerId()); + } if (!userSetting.getServerId().equals(streamProxy.getServerId())) { return redisRpcPlayService.playProxy(streamProxy.getServerId(), streamProxy.getId()); }