648540858
2024-02-22 f6c48588daba63846a9e70ef10fe7af2fceab035
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package com.genersoft.iot.vmp.common;
 
import com.genersoft.iot.vmp.service.bean.SSRCInfo;
 
/**
 * 记录每次发送invite消息的状态
 */
public class InviteInfo {
 
    private String deviceId;
 
    private String channelId;
 
    private String stream;
 
    private SSRCInfo ssrcInfo;
 
    private String receiveIp;
 
    private Integer receivePort;
 
    private String streamMode;
 
    private InviteSessionType type;
 
    private InviteSessionStatus status;
 
    private StreamInfo streamInfo;
 
 
    public static InviteInfo getInviteInfo(String deviceId, String channelId, String stream, SSRCInfo ssrcInfo,
                                           String receiveIp, Integer receivePort, String streamMode,
                                           InviteSessionType type, InviteSessionStatus status) {
        InviteInfo inviteInfo = new InviteInfo();
        inviteInfo.setDeviceId(deviceId);
        inviteInfo.setChannelId(channelId);
        inviteInfo.setStream(stream);
        inviteInfo.setSsrcInfo(ssrcInfo);
        inviteInfo.setReceiveIp(receiveIp);
        inviteInfo.setReceivePort(receivePort);
        inviteInfo.setStreamMode(streamMode);
        inviteInfo.setType(type);
        inviteInfo.setStatus(status);
        return inviteInfo;
    }
 
    public String getDeviceId() {
        return deviceId;
    }
 
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
 
    public String getChannelId() {
        return channelId;
    }
 
    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }
 
    public InviteSessionType getType() {
        return type;
    }
 
    public void setType(InviteSessionType type) {
        this.type = type;
    }
 
    public InviteSessionStatus getStatus() {
        return status;
    }
 
    public void setStatus(InviteSessionStatus status) {
        this.status = status;
    }
 
    public StreamInfo getStreamInfo() {
        return streamInfo;
    }
 
    public void setStreamInfo(StreamInfo streamInfo) {
        this.streamInfo = streamInfo;
    }
 
    public String getStream() {
        return stream;
    }
 
    public void setStream(String stream) {
        this.stream = stream;
    }
 
    public SSRCInfo getSsrcInfo() {
        return ssrcInfo;
    }
 
    public void setSsrcInfo(SSRCInfo ssrcInfo) {
        this.ssrcInfo = ssrcInfo;
    }
 
    public String getReceiveIp() {
        return receiveIp;
    }
 
    public void setReceiveIp(String receiveIp) {
        this.receiveIp = receiveIp;
    }
 
    public Integer getReceivePort() {
        return receivePort;
    }
 
    public void setReceivePort(Integer receivePort) {
        this.receivePort = receivePort;
    }
 
    public String getStreamMode() {
        return streamMode;
    }
 
    public void setStreamMode(String streamMode) {
        this.streamMode = streamMode;
    }
 
}