wvp-gb28181-project/src/main/java/com/genersoft/iot/vmp/service/IPlayService.java

23 lines
988 B
Java
Raw Normal View History

package com.genersoft.iot.vmp.service;
2020-12-16 20:29:19 +08:00
import com.alibaba.fastjson.JSONObject;
2021-07-16 16:34:51 +08:00
import com.genersoft.iot.vmp.gb28181.bean.Device;
2021-01-15 18:22:57 +08:00
import com.genersoft.iot.vmp.gb28181.event.SipSubscribe;
import com.genersoft.iot.vmp.media.zlm.ZLMHttpHookSubscribe;
2021-07-16 16:34:51 +08:00
import com.genersoft.iot.vmp.media.zlm.dto.IMediaServerItem;
import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem;
2021-04-11 22:32:28 +08:00
import com.genersoft.iot.vmp.vmanager.gb28181.play.bean.PlayResult;
2020-12-16 20:29:19 +08:00
/**
* 点播处理
*/
public interface IPlayService {
2021-07-16 16:34:51 +08:00
void onPublishHandlerForPlayBack(IMediaServerItem mediaServerItem,JSONObject resonse, String deviceId, String channelId, String uuid);
void onPublishHandlerForPlay(IMediaServerItem mediaServerItem, JSONObject resonse, String deviceId, String channelId, String uuid);
2021-01-15 18:22:57 +08:00
2021-07-16 16:34:51 +08:00
PlayResult play(IMediaServerItem mediaServerItem, String deviceId, String channelId, ZLMHttpHookSubscribe.Event event, SipSubscribe.Event errorEvent);
IMediaServerItem getNewMediaServerItem(Device device);
2020-12-16 20:29:19 +08:00
}