mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
Add srt caller mode and stream encryption support. (#4088)
Add srt caller mode and stream encryption support. 1. Support srt caller mode, realize srt proxy pull stream proxy push stream; url parameter format such as: srt://127.0.0.1:9000?streamid=#! ::r=live/test11 2. Support srt stream encrypted transmission in caller and listener mode. --------- Co-authored-by: xiongguangjie <xiong_panda@163.com>
This commit is contained in:
@@ -522,7 +522,7 @@
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "添加rtsp/rtmp/hls拉流代理(addStreamProxy)",
|
||||
"name": "添加rtsp/rtmp/hls/srt拉流代理(addStreamProxy)",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
@@ -663,7 +663,19 @@
|
||||
"value": null,
|
||||
"description": "无人观看时,是否直接关闭(而不是通过on_none_reader hook返回close)",
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "latency",
|
||||
"value": null,
|
||||
"description": "srt延时, 单位毫秒",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "passphrase",
|
||||
"value": null,
|
||||
"description": "srt拉流的密码",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -753,7 +765,7 @@
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "添加rtsp/rtmp推流(addStreamPusherProxy)",
|
||||
"name": "添加rtsp/rtmp/srt推流(addStreamPusherProxy)",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
@@ -815,7 +827,20 @@
|
||||
"value": null,
|
||||
"description": "推流重试次数,不传此参数或传值<=0时,则无限重试",
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "latency",
|
||||
"value": null,
|
||||
"description": "srt延时, 单位毫秒",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "passphrase",
|
||||
"value": null,
|
||||
"description": "srt推流的密码",
|
||||
"disabled": true
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -2610,4 +2635,4 @@
|
||||
"value": "__defaultVhost__"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user