diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2012-06-18 14:55:55 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-18 22:00:31 +0300 |
commit | 46743a859ceb6b6bf4f0b1cbe26e5b311ed9eef4 (patch) | |
tree | 0a8b67f97831784fd2a8347287f49d058928b554 /doc | |
parent | bbc8038614df85b608a11baaa2770f0d342d26fc (diff) | |
download | ffmpeg-46743a859ceb6b6bf4f0b1cbe26e5b311ed9eef4.tar.gz |
rtmp: Don't send every flv packet in a separate HTTP request in RTMPT
Add a new option 'rtmp_flush_interval' that allows specifying the
number of packets to write before sending it off as a HTTP request.
This is mostly relevant for RTMPT - for plain RTMP, it only controls
how often we check the socket for incoming packets, which shouldn't
affect the performance in any noticeable way.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocols.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index 0b4f1b1772..e90d1b4a63 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -217,6 +217,10 @@ times to construct arbitrary AMF sequences. Version of the Flash plugin used to run the SWF player. The default is LNX 9,0,124,2. +@item rtmp_flush_interval +Number of packets flushed in the same request (RTMPT only). The default +is 10. + @item rtmp_live Specify that the media is a live stream. No resuming or seeking in live streams is possible. The default value is @code{any}, which means the |