summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-12-01 14:03:37 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-12-11 14:23:26 +0800
commit8d823e6005febef23ca10ccd9d8725e708167aeb (patch)
tree66eaf9703346064377a8ce6875dd32f58688a3d8 /doc/protocols.texi
parent1ea44178f5fff7eb600026a09a0ce7d477ed0240 (diff)
downloadffmpeg-8d823e6005febef23ca10ccd9d8725e708167aeb.tar.gz
lavf/libsrt: add linger parameter to libsrt
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.gelman@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 0e18a49dda..886c3b8bb9 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1426,6 +1426,12 @@ 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). The range for this option is integers in the
+0 - @code{INT_MAX}.
+
@end table
For more information see: @url{https://github.com/Haivision/srt}.