View Single Post
  #12  
Old 04-26-2017, 12:24 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: How to record streamate's new format?


Hi,

so you could try to reconnect the livestream (also if rtmpdump only allow it for none live streams) manually if you work with librtmp and your handle code.If the stream isnt connected anymore and no more bytes was reading then you could call RTMP_ReconnectStream and if it does success then bypass the first FLV Header Meta Data content (if present [byte 12]) and write from the next starting audio / video block into your output file go on.On that way you could continue the livestream download in one file.Of course its just a idea so I didnt tried it yet.

greetz
Reply With Quote