联系我们  13266631104
说明文档
切换说明
根据边节点IP和端口查找边节点

add_or_set_edge

根据边节点IP和端口查找边节点,如已存在则更新边节点配置信息,否则添加边节点 边节点需先部署


Body 请求参数

{

"ip":"string",

"rtmp_port":0,

"https_port":0,

"http_port":0,

"port":0,

"max_connection":0,

"https_enable":"string",

"httpflv_enable":"string",

"onplay":"string",

"unplay":"string",

"onpublish":"string",

"unpublish":"string",

"name":"string",

"https_crt_name":"string",

"https_crt_id":"string",

"desc":"string",

"token":"string"

}


请求参数

名称

位置

类型

必选

说明

ip

body

string

边节点IP

rtmp_port

body

integer

大于1024

https_port

body

integer

大于1024,https需要配置了http端口才会生效

http_port

body

integer

大于1024

port

body

integer

边节点端口

max_connection

body

integer

最小100,最大10000

https_enable

body

string

on开,off关

httpflv_enable

body

string

on开,off关

onplay

body

string

拉流鉴权接口

unplay

body

string

暂时无需设置

onpublish

body

string

推流鉴权接口

unpublish

body

string

暂时无需设置

name

body

string

边节点名称

https_crt_name

body

string

https证书名称,已弃用

https_crt_id

body

string

https证书id

desc

body

string

边节点描述信息

token

body

string

none



返回示例

{

"code":0,

"reason":"",

"data":{}

}


返回数据结构

名称

类型

必选

约束

说明

code

integer

true

none

none

reason

string

true

none

none

data

object

true

none

none

了解更多,免费体验,立即预约演示

联系电话:13266631104
预约演示

飞思未来(深圳)科技有限公司

飞思公众号 飞思公众号
Copyright ◎ 2019 飞思未来(深圳)科技有限公司 All right reserved.备案号:粤ICP备17047092号 技术支持:易百讯 - 深圳网站建设
联系电话
13266631104
关注我们
备案号:粤ICP备17047092号
技术支持:易百讯 - 深圳网站建设
Copyright ◎ 2019 飞思未来(深圳)科技有限公司 All right reserved.
微信咨询
 
 
 

留下您的联系方式

我们将安排专业人员为您服务
×