优化字段名称

This commit is contained in:
648540858
2023-07-03 10:36:02 +08:00
parent 27b125cf98
commit e4622d17a6
13 changed files with 46 additions and 42 deletions

View File

@@ -61,7 +61,7 @@ public class ZLMMediaListManager {
private UserSetting userSetting;
@Autowired
private ZLMRTPServerFactory zlmrtpServerFactory;
private ZLMServerFactory ZLMServerFactory;
@Autowired
private IMediaServerService mediaServerService;
@@ -97,7 +97,7 @@ public class ZLMMediaListManager {
public void sendStreamEvent(String app, String stream, String mediaServerId) {
MediaServerItem mediaServerItem = mediaServerService.getOne(mediaServerId);
// 查看推流状态
Boolean streamReady = zlmrtpServerFactory.isStreamReady(mediaServerItem, app, stream);
Boolean streamReady = ZLMServerFactory.isStreamReady(mediaServerItem, app, stream);
if (streamReady != null && streamReady) {
ChannelOnlineEvent channelOnlineEventLister = getChannelOnlineEventLister(app, stream);
if (channelOnlineEventLister != null) {

View File

@@ -15,7 +15,7 @@ import java.util.HashMap;
import java.util.Map;
@Component
public class ZLMRTPServerFactory {
public class ZLMServerFactory {
private Logger logger = LoggerFactory.getLogger("ZLMRTPServerFactory");