|
@@ -2,9 +2,7 @@ package com.genersoft.iot.vmp.service.impl;
|
|
|
|
|
|
|
|
import com.genersoft.iot.vmp.common.InviteInfo;
|
|
import com.genersoft.iot.vmp.common.InviteInfo;
|
|
|
import com.genersoft.iot.vmp.common.InviteSessionType;
|
|
import com.genersoft.iot.vmp.common.InviteSessionType;
|
|
|
-import com.genersoft.iot.vmp.common.StreamInfo;
|
|
|
|
|
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
|
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
|
|
-import com.genersoft.iot.vmp.conf.MediaConfig;
|
|
|
|
|
import com.genersoft.iot.vmp.conf.UserSetting;
|
|
import com.genersoft.iot.vmp.conf.UserSetting;
|
|
|
import com.genersoft.iot.vmp.conf.exception.ControllerException;
|
|
import com.genersoft.iot.vmp.conf.exception.ControllerException;
|
|
|
import com.genersoft.iot.vmp.conf.exception.SsrcTransactionNotFoundException;
|
|
import com.genersoft.iot.vmp.conf.exception.SsrcTransactionNotFoundException;
|
|
@@ -12,9 +10,7 @@ import com.genersoft.iot.vmp.gb28181.bean.*;
|
|
|
import com.genersoft.iot.vmp.gb28181.session.VideoStreamSessionManager;
|
|
import com.genersoft.iot.vmp.gb28181.session.VideoStreamSessionManager;
|
|
|
import com.genersoft.iot.vmp.gb28181.transmit.cmd.ISIPCommander;
|
|
import com.genersoft.iot.vmp.gb28181.transmit.cmd.ISIPCommander;
|
|
|
import com.genersoft.iot.vmp.gb28181.transmit.cmd.ISIPCommanderForPlatform;
|
|
import com.genersoft.iot.vmp.gb28181.transmit.cmd.ISIPCommanderForPlatform;
|
|
|
-import com.genersoft.iot.vmp.media.bean.MediaInfo;
|
|
|
|
|
import com.genersoft.iot.vmp.media.bean.ResultForOnPublish;
|
|
import com.genersoft.iot.vmp.media.bean.ResultForOnPublish;
|
|
|
-import com.genersoft.iot.vmp.media.service.IMediaServerService;
|
|
|
|
|
import com.genersoft.iot.vmp.media.zlm.ZLMMediaListManager;
|
|
import com.genersoft.iot.vmp.media.zlm.ZLMMediaListManager;
|
|
|
import com.genersoft.iot.vmp.media.zlm.dto.MediaServer;
|
|
import com.genersoft.iot.vmp.media.zlm.dto.MediaServer;
|
|
|
import com.genersoft.iot.vmp.media.zlm.dto.StreamAuthorityInfo;
|
|
import com.genersoft.iot.vmp.media.zlm.dto.StreamAuthorityInfo;
|
|
@@ -91,7 +87,7 @@ public class MediaServiceImpl implements IMediaService {
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
StreamAuthorityInfo streamAuthorityInfo = redisCatchStorage.getStreamAuthorityInfo(app, stream);
|
|
StreamAuthorityInfo streamAuthorityInfo = redisCatchStorage.getStreamAuthorityInfo(app, stream);
|
|
|
- return (streamAuthorityInfo != null && streamAuthorityInfo.getCallId() != null && !streamAuthorityInfo.getCallId().equals(callId));
|
|
|
|
|
|
|
+ return (streamAuthorityInfo != null && streamAuthorityInfo.getCallId() != null && streamAuthorityInfo.getCallId().equals(callId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|