liusuyi
2024-07-12 d89e0182ad825d0926f4bc98e87d3b966056aac7
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package com.ruoyi.media.domain;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @Description:流信息
 * @ClassName: PushStreamInfo
 * @Author: 刘苏义
 * @Date: 2023年07月15日8:40:37
 * @Version: 1.0
 **/
@Data
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class StreamInfo {
    /**
     * 会话ID
     */
    String id;
    /**
     * 路径名称
     */
    String name;
    /**
     * 源rtsp地址
     */
    String rtspSource;
    /**
     * rtsp播放地址
     */
    String rtspUrl;
    /**
     * rtmp播放地址
     */
    String rtmpUrl;
    /**
     * webrtc播放地址
     */
    String webrtcUrl;
    /**
     * 传输方式
     */
    String protocol;
    /**
     * 上行流量
     */
    String upTraffic;
    /**
     * 下行流量
     */
    String downTraffic;
    /**
     * 拉流数量
     */
    Integer num;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date beginTime;
    /**
     * 远程主机
     */
    String remoteAddr;
 
    /**
     * 解码模式
     */
    String mode;
 
    /**
     * 是否转码
     */
    String isCode;
    /**
     * 媒体类型(webRTCSession/rtspSession)
     */
    String sessionType;
 
}