648540858
2024-03-28 7a3b9c6f6908ce27e7114c1732bbf8071b064aad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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;
    }
}