mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-07 12:18:12 +08:00
addStreamProxy接口去除rtsp/rtmp开关
@@ -488,7 +488,7 @@ typedef enum {
|
||||
|
||||
- 功能:动态添加rtsp/rtmp/hls拉流代理(只支持H264/H265/aac/G711负载)
|
||||
|
||||
- 范例:[http://127.0.0.1/index/api/addStreamProxy?vhost=`__defaultVhost__`&app=proxy&stream=0&enable_rtsp=1&enable_rtmp=1&url=rtmp://live.hkstv.hk.lxdns.com/live/hks2](http://127.0.0.1/index/api/addStreamProxy?vhost=__defaultVhost__&app=proxy&stream=0&enable_rtsp=1&enable_rtmp=1&url=rtmp://live.hkstv.hk.lxdns.com/live/hks2)
|
||||
- 范例:[http://127.0.0.1/index/api/addStreamProxy?vhost=`__defaultVhost__`&app=proxy&stream=0&url=rtmp://live.hkstv.hk.lxdns.com/live/hks2](http://127.0.0.1/index/api/addStreamProxy?vhost=__defaultVhost__&app=proxy&stream=0&url=rtmp://live.hkstv.hk.lxdns.com/live/hks2)
|
||||
|
||||
- 参数:
|
||||
|
||||
@@ -499,8 +499,6 @@ typedef enum {
|
||||
| app | Y | 添加的流的应用名,例如live |
|
||||
| stream | Y | 添加的流的id名,例如test |
|
||||
| url | Y | 拉流地址,例如rtmp://live.hkstv.hk.lxdns.com/live/hks2 |
|
||||
| enable_rtsp | Y | 是否转rtsp |
|
||||
| enable_rtmp | Y | 是否转rtmp |
|
||||
| enable_hls | N | 是否转hls |
|
||||
| enable_mp4 | N | 是否mp4录制 |
|
||||
| rtp_type | N | rtsp拉流时,拉流方式,0:tcp,1:udp,2:组播 |
|
||||
|
||||
Reference in New Issue
Block a user