package com.platform.modules.live.service;

import com.baomidou.mybatisplus.service.IService;
import com.platform.common.utils.PageUtils;
import com.platform.modules.live.entity.LiveSceneLiveInfoExtEntity;
import com.platform.plugs.common.rpc.RpcResponse;
import com.platform.plugs.live.responseEntity.CasterVideoResource;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author zj
 * @date 2019-02-16 18:39:58
 */
public interface LiveSceneLiveInfoExtService extends IService<LiveSceneLiveInfoExtEntity> {

    PageUtils queryPage(Map<String, Object> params);

    LiveSceneLiveInfoExtEntity selectByInfoId(Integer infoId);

    void saveOrUpdate(LiveSceneLiveInfoExtEntity infoExtEntity);
    
    /**
     * todo weiyan 20200228 兼容导播台播放器
     * 查询视频源
     * @param casterId 导播台ID
     * @return
     */
    RpcResponse<List<CasterVideoResource>> describeCasterVideoResources(String casterId);
}

