aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2018-09-01 19:02:47 +0200
committerMarton Balint <cus@passwd.hu>2018-09-01 21:57:59 +0200
commit1124df0397372c4d1dd798dc2cfb7d4e0f2bb890 (patch)
tree51b9cee083baca3c347160b24efe169b155b1f94 /doc/protocols.texi
parent9fee22dbddb66fc6818c9a21879731c42de9d3e3 (diff)
downloadffmpeg-1124df0397372c4d1dd798dc2cfb7d4e0f2bb890.tar.gz
avformat/libsrt: add pkt_size parameter to libsrt
Also make sure we set the URL context max packet size accordingly. Based on a patch by Tudor Suciu <tudor.suciu@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
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 e9091e068c..4c5e972a04 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1263,6 +1263,12 @@ Not required on receiver (set to 0),
key size obtained from sender in HaiCrypt handshake.
Default value is 0.
+@item pkt_size=@var{bytes}
+Set maximum SRT payload size, expressed in bytes. Default is -1 (automatic),
+which typically means 1316 as that is the libsrt default for live mode. Libsrt
+can also support payload sizes up to 1456 bytes. (MTU(1500) - UDP.hdr(28) -
+SRT.hdr(16))
+
@item recv_buffer_size=@var{bytes}
Set receive buffer size, expressed in bytes.