package com.multictrl.modules.business.dao;

import cn.hutool.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * srs直播流管理
 *
 * @author Sdy
 * @since 1.0.0 2026/5/7
 */
@FeignClient(name = "srs-api", url = "${srs.server-url}")
public interface SrsClient {

    @RequestMapping(value = "/api/v1/streams", method = RequestMethod.GET)
    JSONObject serviceSrsStream(@RequestParam("start") int start, @RequestParam("count") int count);
}
