package com.red.circle.other.app.inner.service.live;

import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
import com.red.circle.other.infra.database.mongo.entity.live.ActiveVoiceRoom;
import com.red.circle.other.inner.model.cmd.live.AppActiveVoiceRoomQryCmd;
import com.red.circle.other.inner.model.dto.live.ActiveVoiceRoomDTO;
import java.util.List;

/**
 * 活跃语音房间.
 *
 * @author pengliang on 2020/12/11
 */
public interface ActiveVoiceRoomClientService {

  /**
   * 统计.
   */
  Long count(String sysOrigin);

  /**
   * 获取活跃房间.
   */
  List<ActiveVoiceRoomDTO> listOps(AppActiveVoiceRoomQryCmd qryCmd);

  /**
   * 创建没人的房间缓存
   */
  ActiveVoiceRoom createNobodyRoom(Long roomId);

}
