package com.ruoyi.utils.forest;
|
|
import com.dtflys.forest.annotation.Get;
|
import com.dtflys.forest.annotation.JSONBody;
|
import com.dtflys.forest.annotation.Post;
|
import com.dtflys.forest.annotation.Var;
|
import com.ruoyi.media.domain.Conf;
|
|
/**
|
* @Description: mediamtx流媒体客户端
|
* @ClassName: client
|
* @Author: 刘苏义
|
* @Date: 2023年07月06日9:51
|
* @Version: 1.0
|
**/
|
public interface MediaClient {
|
|
@Post("{apiUrl}/config/paths/add/{name}")
|
String add(@Var("apiUrl") String apiUrl,@Var("name") String name, @JSONBody Conf body);
|
|
@Post("{apiUrl}/config/paths/remove/{name}")
|
String remove(@Var("apiUrl") String apiUrl,@Var("name") String name);
|
|
@Get("{apiUrl}/paths/list")
|
String list(@Var("apiUrl") String apiUrl);
|
}
|