临时提交

dev/数据库统合
648540858 2024-12-31 11:27:56 +08:00
parent 89651dd894
commit 5bde5ff5f2
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ public class StreamProxyPlayServiceImpl implements IStreamProxyPlayService {
if (!streamProxy.isEnable()) { if (!streamProxy.isEnable()) {
return null; return null;
} }
if (streamProxy.getServerId() == null) {
streamProxy.setServerId(userSetting.getServerId());
}
if (!userSetting.getServerId().equals(streamProxy.getServerId())) { if (!userSetting.getServerId().equals(streamProxy.getServerId())) {
return redisRpcPlayService.playProxy(streamProxy.getServerId(), streamProxy.getId()); return redisRpcPlayService.playProxy(streamProxy.getServerId(), streamProxy.getId());
} }