[rtmpdump] Patch: librtmp arguments added for socket buffer size.

Cary Tetrick ctetrick2 at gmail.com
Thu Feb 12 00:02:53 CET 2015


This adds addional options to the key-value pairs.
    tcpNoDelay=0/1 - socket flag TCP_NODELAY is on by default.
        Set to 0 leaves Nagel algorithm on.
    sndBuffer=<value in bytes> - sets socket send buffer size.
        By default uses system default. inadiquate on Windows.
 bufferChunks=0/1 - by default, socket is written for each chunk (128
bytes).
        Set to 1 to buffer packet before wriing to socket.
See this thread on Zeranoe forum:
http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=657&p=7823#p7823
I believe this addresses this case on the ffmpeg tracker.
https://trac.ffmpeg.org/ticket/1604
Defualt behavior leaves things unchanged. Users must employ options
intentionally.
A corresponding change will be added in ffmpeg to support options on
commandline.
Changes to be committed:
    modified:   librtmp/rtmp.c
    modified:   librtmp/rtmp.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20150211/88aaa067/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Topic-librtmp-arguments-added-for-socket-buffer-size.patch
Type: application/octet-stream
Size: 4385 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20150211/88aaa067/attachment.obj>


More information about the rtmpdump mailing list