On 03-12-2019 04:27 pm, Jun Zhao wrote:
From: Jun Zhao <barryjz...@tencent.com>

add linger parameter to libsrt, it's setting the number of seconds
that the socket waits for unsent data when closing.

Reviewed-by: Andriy Gelman <andriy.gel...@gmail.com>
Signed-off-by: Jun Zhao <barryjz...@tencent.com>
---
  doc/protocols.texi   |    5 +++++
  libavformat/libsrt.c |   13 +++++++++++++
  2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index 0e18a49..eab6242 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1426,6 +1426,11 @@ the overhead transmission (retransmitted and control 
packets).
  file: Set options as for non-live transmission. See @option{messageapi}
  for further explanations
+@item linger=@var{seconds}
+The number of seconds that the socket waits for unsent data when closing.
+Default is -1. -1 means auto (off with 0 seconds in live mode, on with 180
+seconds in file mode).

Add range info.

Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to