mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
startSendRtp相关接口新增enable_origin_recv_limit参数控制是否开启源端限流
多倍速rtp转发时,在tcp模式下,如果转发速度跟不上接收速度将导致转发失败,通过开启该参数,可以确保历史视频多倍速下载成功
This commit is contained in:
@@ -2195,6 +2195,12 @@
|
||||
"value": "",
|
||||
"description": "发送rtp同时接收,一般用于双向语言对讲, 如果不为空,说明开启接收,值为接收流的id",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "enable_origin_recv_limit",
|
||||
"value": "1",
|
||||
"description": "转发rtp(tcp模式)时,如果发送不出去,是否限制源端收流速度,此参数在多倍速rtp转发时作用较大",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2289,6 +2295,12 @@
|
||||
"value": "5000",
|
||||
"description": "等待tcp连接超时时间,单位毫秒,默认5000毫秒",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "enable_origin_recv_limit",
|
||||
"value": "1",
|
||||
"description": "转发rtp(tcp模式)时,如果发送不出去,是否限制源端收流速度,此参数在多倍速rtp转发时作用较大",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2364,6 +2376,12 @@
|
||||
"value": "1",
|
||||
"description": "rtp es方式打包时,是否只打包音频;该参数非必选参数",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "enable_origin_recv_limit",
|
||||
"value": "1",
|
||||
"description": "转发rtp(tcp模式)时,如果发送不出去,是否限制源端收流速度,此参数在多倍速rtp转发时作用较大",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user