|
@@ -99,9 +99,6 @@ public class PlayServiceImpl implements IPlayService {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private ZLMRESTfulUtils zlmresTfulUtils;
|
|
private ZLMRESTfulUtils zlmresTfulUtils;
|
|
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
- private ZLMServerFactory zlmServerFactory;
|
|
|
|
|
-
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private AssistRESTfulUtils assistRESTfulUtils;
|
|
private AssistRESTfulUtils assistRESTfulUtils;
|
|
|
|
|
|
|
@@ -626,7 +623,7 @@ public class PlayServiceImpl implements IPlayService {
|
|
|
zlmresTfulUtils.getSnap(mediaServerItemInuse, streamUrl, 15, 1, path, fileName);
|
|
zlmresTfulUtils.getSnap(mediaServerItemInuse, streamUrl, 15, 1, path, fileName);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private StreamInfo onPublishHandlerForPlay(MediaServerItem mediaServerItem, HookParam hookParam, String deviceId, String channelId) {
|
|
|
|
|
|
|
+ public StreamInfo onPublishHandlerForPlay(MediaServerItem mediaServerItem, HookParam hookParam, String deviceId, String channelId) {
|
|
|
StreamInfo streamInfo = null;
|
|
StreamInfo streamInfo = null;
|
|
|
Device device = redisCatchStorage.getDevice(deviceId);
|
|
Device device = redisCatchStorage.getDevice(deviceId);
|
|
|
OnStreamChangedHookParam streamChangedHookParam = (OnStreamChangedHookParam)hookParam;
|
|
OnStreamChangedHookParam streamChangedHookParam = (OnStreamChangedHookParam)hookParam;
|