liyong
8 小时以前 7a23c450f3ac85de7dca1b908de273ff636ce218
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
package cn.iocoder.yudao.module.im.controller.admin.rtc.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.util.Set;
 
@Schema(description = "管理后台 - 通话会话 Response VO;invite / accept / refreshToken 共用")
@Data
public class ImRtcCallRespVO {
 
    @Schema(description = "业务通话编号")
    private String room;
 
    @Schema(description = "LiveKit Server WebSocket 地址;前端 connect 用")
    private String livekitUrl;
 
    @Schema(description = "LiveKit 接入 Token;需要时调 refreshToken 重新签发")
    private String token;
 
    @Schema(description = "会话类型")
    private Integer conversationType; // 参见 ImConversationTypeEnum 枚举类
 
    @Schema(description = "媒体类型")
    private Integer mediaType; // 参见 ImCallMediaTypeEnum 枚举类
 
    @Schema(description = "状态")
    private Integer status; // 参见 ImCallStatusEnum 枚举类
 
    @Schema(description = "结束原因;仅 status=ENDED 时有值")
    private Integer endReason; // 参见 ImRtcCallEndReasonEnum 枚举类
 
    @Schema(description = "发起人编号")
    private Long inviterId;
 
    @Schema(description = "群编号;群通话才有")
    private Long groupId;
 
    @Schema(description = "被邀请人编号集合")
    private Set<Long> inviteeIds;
 
    @Schema(description = "已加入房间的成员编号集合")
    private Set<Long> joinedUserIds;
 
}