On Fri, 27 Jan 2017, Peter Große wrote:
From: Anton Schubert <[email protected]>
to avoid rebuffering on the clientside for difficult network conditions.
Signed-off-by: Anton Schubert <[email protected]>
---
libavformat/dashenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 865f50a..44785cd 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -481,7 +481,7 @@ static int write_manifest(AVFormatContext *s, int final)
}
}
avio_printf(out, "\tminBufferTime=\"");
- write_time(out, c->last_duration);
+ write_time(out, c->last_duration * 2);
avio_printf(out, "\">\n");
avio_printf(out, "\t<ProgramInformation>\n");
if (title) {
--
2.10.2
I guess this is ok. I tried to keep the buffer amount low to allow as
reasonably low latency as possible in practice, but I guess this is a
safer compromise.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel