package com.genersoft.iot.vmp.media.event.hook;
|
|
import com.alibaba.fastjson2.JSONObject;
|
import com.alibaba.fastjson2.annotation.JSONField;
|
|
import java.time.Instant;
|
|
/**
|
* hook订阅-收流超时
|
* @author lin
|
*/
|
public class HookSubscribeForRtpServerTimeout implements IHookSubscribe{
|
|
private HookType hookType = HookType.on_rtp_server_timeout;
|
|
private JSONObject content;
|
|
@JSONField(format="yyyy-MM-dd HH:mm:ss")
|
private Instant expires;
|
|
@Override
|
public HookType getHookType() {
|
return hookType;
|
}
|
|
@Override
|
public JSONObject getContent() {
|
return content;
|
}
|
|
public void setContent(JSONObject content) {
|
this.content = content;
|
}
|
|
@Override
|
public Instant getExpires() {
|
return expires;
|
}
|
|
@Override
|
public void setExpires(Instant expires) {
|
this.expires = expires;
|
}
|
}
|