wvp-GB28181-pro/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java

64 lines
1.8 KiB
Java
Raw Normal View History

package com.genersoft.iot.vmp.service;
import com.genersoft.iot.vmp.common.InviteInfo;
import com.genersoft.iot.vmp.common.InviteSessionType;
import com.genersoft.iot.vmp.service.bean.InviteErrorCallback;
/**
*
*/
public interface IInviteStreamService {
/**
*
*/
void updateInviteInfo(InviteInfo inviteInfo);
/**
*
*/
InviteInfo getInviteInfo(InviteSessionType type,
String deviceId,
String channelId,
String stream);
/**
*
*/
void removeInviteInfo(InviteSessionType type,
String deviceId,
String channelId,
String stream);
/**
*
*/
void removeInviteInfo(InviteInfo inviteInfo);
/**
*
*/
void removeInviteInfoByDeviceAndChannel(InviteSessionType inviteSessionType, String deviceId, String channelId);
/**
*
*/
InviteInfo getInviteInfoByDeviceAndChannel(InviteSessionType type,
String deviceId,
String channelId);
/**
*
*/
InviteInfo getInviteInfoByStream(InviteSessionType type, String stream);
/**
* invite
*/
void once(InviteSessionType type, String deviceId, String channelId, String stream, InviteErrorCallback<Object> callback);
/**
* invite
*/
void call(InviteSessionType type, String deviceId, String channelId, String stream, int code, String msg, Object data);
}