On Sun, 5 Jul 2020, Hongcheng Zhong wrote:
From: spartazhc
Add abr module for hls/dash.
Signed-off-by: spartazhc
---
doc/protocols.texi | 7 +
libavformat/Makefile| 1 +
libavformat/abr.c | 282
libavformat/protocols.c | 1 +
4 files
On Sun, Jul 05, 2020 at 19:34:54 +0800, Hongcheng Zhong wrote:
> +static int abr_rule(ABRContext *c, float bw_estimate)
> +{
> +int ret = -1;
> +
> +if (c->n_throughputs > 6) {
> +if (bw_estimate < c->variants_bitrate[c->cur_pls].value / 1000 * 1.2
> &&
> +bw_estimate >
Hongcheng Zhong 于2020年7月5日周日 下午7:35写道:
>
> From: spartazhc
>
> Add abr module for hls/dash.
>
> Signed-off-by: spartazhc
> ---
> doc/protocols.texi | 7 +
> libavformat/Makefile| 1 +
> libavformat/abr.c | 282
> libavformat/protocols.
From: spartazhc
Add abr module for hls/dash.
Signed-off-by: spartazhc
---
doc/protocols.texi | 7 +
libavformat/Makefile| 1 +
libavformat/abr.c | 282
libavformat/protocols.c | 1 +
4 files changed, 291 insertions(+)
create mode 1