{
"id": 1,
"app": "live",
"stream": "test",
"url": "rtmp://live.hkstv.hk.lxdns.com/live/hks2",
"description": "string",
"status": 1,
"serverId": "zlm-node-1",
"extend": "string",
"streamProxyExtendReq": {
"vhost": "__defaultVhost__",
"retryCount": -1,
"rtpType": 0,
"timeoutSec": 10,
"schema": "rtsp",
"enableHls": true,
"enableHlsFmp4": false,
"enableMp4": false,
"enableRtsp": true,
"enableRtmp": true,
"enableTs": false,
"enableFmp4": false,
"hlsDemand": false,
"rtspDemand": false,
"rtmpDemand": false,
"tsDemand": false,
"fmp4Demand": false,
"enableAudio": true,
"addMuteAudio": false,
"mp4SavePath": "string",
"mp4MaxSecond": 300,
"mp4AsPlayer": false,
"hlsSavePath": "string",
"modifyStamp": 0,
"autoClose": false
}
}curl --location --request PUT 'http://127.0.0.1:8086/api/v1/proxy/updateStreamProxy?operationDesc=%E6%9B%B4%E6%96%B0%E6%8B%89%E6%B5%81%E4%BB%A3%E7%90%86' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"app": "live",
"stream": "test",
"url": "rtmp://live.hkstv.hk.lxdns.com/live/hks2",
"description": "string",
"status": 1,
"serverId": "zlm-node-1",
"extend": "string",
"streamProxyExtendReq": {
"vhost": "__defaultVhost__",
"retryCount": -1,
"rtpType": 0,
"timeoutSec": 10,
"schema": "rtsp",
"enableHls": true,
"enableHlsFmp4": false,
"enableMp4": false,
"enableRtsp": true,
"enableRtmp": true,
"enableTs": false,
"enableFmp4": false,
"hlsDemand": false,
"rtspDemand": false,
"rtmpDemand": false,
"tsDemand": false,
"fmp4Demand": false,
"enableAudio": true,
"addMuteAudio": false,
"mp4SavePath": "string",
"mp4MaxSecond": 300,
"mp4AsPlayer": false,
"hlsSavePath": "string",
"modifyStamp": 0,
"autoClose": false
}
}'{
"key": {}
}