2021-04-02 19:04:01 +08:00
|
|
|
package com.genersoft.iot.vmp.service;
|
2020-12-16 20:29:19 +08:00
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
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-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 {
|
|
|
|
|
|
|
|
void onPublishHandlerForPlayBack(JSONObject resonse, String deviceId, String channelId, String uuid);
|
|
|
|
void onPublishHandlerForPlay(JSONObject resonse, String deviceId, String channelId, String uuid);
|
2021-01-15 18:22:57 +08:00
|
|
|
|
|
|
|
PlayResult play(String deviceId, String channelId, ZLMHttpHookSubscribe.Event event, SipSubscribe.Event errorEvent);
|
2020-12-16 20:29:19 +08:00
|
|
|
}
|