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 inviteeIds; @Schema(description = "已加入房间的成员编号集合") private Set joinedUserIds; }