Authorization: Bearer ********************{
"ip": "string",
"sdp_ip": "string",
"secret": "string",
"ports": {
"http": 0,
"rtmp": 0,
"flv": 0,
"rtsp": 0
},
"hook_ip": "string"
}curl --location --request PUT 'http://test-cn.your-api-server.com/media_servers/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ip": "string",
"sdp_ip": "string",
"secret": "string",
"ports": {
"http": 0,
"rtmp": 0,
"flv": 0,
"rtsp": 0
},
"hook_ip": "string"
}'{}