File was renamed from src/main/java/com/genersoft/iot/vmp/vmanager/service/impl/StreamProxyServiceImpl.java |
| | |
| | | package com.genersoft.iot.vmp.vmanager.service.impl; |
| | | package com.genersoft.iot.vmp.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.genersoft.iot.vmp.conf.MediaServerConfig; |
| | |
| | | import com.genersoft.iot.vmp.storager.IRedisCatchStorage; |
| | | import com.genersoft.iot.vmp.storager.IVideoManagerStorager; |
| | | import com.genersoft.iot.vmp.storager.dao.GbStreamMapper; |
| | | import com.genersoft.iot.vmp.storager.dao.PlarfotmGbStreamMapper; |
| | | import com.genersoft.iot.vmp.storager.dao.PlatformGbStreamMapper; |
| | | import com.genersoft.iot.vmp.storager.dao.StreamProxyMapper; |
| | | import com.genersoft.iot.vmp.vmanager.service.IStreamProxyService; |
| | | import com.genersoft.iot.vmp.service.IStreamProxyService; |
| | | import com.github.pagehelper.PageInfo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | private GbStreamMapper gbStreamMapper; |
| | | |
| | | @Autowired |
| | | private PlarfotmGbStreamMapper plarfotmGbStreamMapper; |
| | | private PlatformGbStreamMapper platformGbStreamMapper; |
| | | |
| | | |
| | | @Override |
| | |
| | | videoManagerStorager.deleteStreamProxy(app, stream); |
| | | // 如果关联了国标那么移除关联 |
| | | gbStreamMapper.del(app, stream); |
| | | plarfotmGbStreamMapper.delByAppAndStream(app, stream); |
| | | platformGbStreamMapper.delByAppAndStream(app, stream); |
| | | // TODO 如果关联的推流, 那么状态设置为离线 |
| | | } |
| | | } |