|  |  |  | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.event.device.RequestTimeoutEvent; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.event.record.RecordEndEvent; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.event.subscribe.catalog.CatalogEvent; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.event.subscribe.mobilePosition.MobilePositionEvent; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.media.zlm.event.ZLMOfflineEvent; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.media.zlm.event.ZLMOnlineEvent; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void mobilePositionEventPublish(MobilePosition mobilePosition) { | 
|---|
|  |  |  | MobilePositionEvent event = new MobilePositionEvent(this); | 
|---|
|  |  |  | event.setMobilePosition(mobilePosition); | 
|---|
|  |  |  | applicationEventPublisher.publishEvent(event); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void catalogEventPublishForStream(String platformId, List<GbStream> gbStreams, String type) { | 
|---|
|  |  |  | CatalogEvent outEvent = new CatalogEvent(this); | 
|---|
|  |  |  | outEvent.setGbStreams(gbStreams); | 
|---|