[rtmpdump] rtmpsuck duplicate filename patch

Andy Goth andrew.m.goth at gmail.com
Sun Apr 1 22:44:38 CEST 2012


On 4/1/2012 10:47 AM, Howard Chu wrote:
> Andy Goth wrote:
>> (note: I am not subscribed; please Cc: me in responses)
>>
>> While saving a stream, I had some network hiccup, and the player in
>> my browser reconnected and resumed playback where it had left off.
>> This caused rtmpsuck to overwrite the existing file to contain only
>> the section of the video following the break. It saw that one stream
>> had terminated and a new one began, but it didn't realize that maybe
>> the new stream might advertise the same filename as the old.
>
> The patch probably addresses a real problem, but the patch is not
> portable enough; it won't work on Win32.

What part is nonportable?  Is it the readdir() stuff?  I do have access
to a MinGW environment on Windows; I could try implementing an
alternative, if MinGW is your Win32 target.

-- 
Andy Goth | <andrew.m.goth/at/gmail/dot/com>


More information about the rtmpdump mailing list