package com.dji.sample.manage.service;


import com.dji.sample.manage.model.dto.ManageDeviceLivestreamUrlDTO;
import com.dji.sample.manage.model.dto.UpstreamLivestreamUrlDTO;
import com.dji.sample.manage.model.dto.WorkspaceDTO;

import java.util.List;
import java.util.Optional;

public interface IManageDeviceLivestreamUrlService {

    /**
     * 通过接口获取RTMP
     * @return
     */
    ManageDeviceLivestreamUrlDTO getUrl(ManageDeviceLivestreamUrlDTO deviceLivestreamUrlDTO,String protocol);

    /**
     * 上游系统获取webRtc地址
     * @return
     */
    List<UpstreamLivestreamUrlDTO> selWebRtc(String payload, String deviceSn,String workspaceId);
}
