Make rtmpdump not close connection on its own
Hello everyone, I've been succesfully using rtmpdump to record streams on Picarto.tv, with no issues. Due to some changes in their servers though, I'm now facing some issues. Because these streams are not scheduled, nor recorded by the artist, I used to start rtmpdump when the stream was offline, and it would start to record it once it began and automatically close when it ended. That way I could have those streams saved no matter when they started. The problem is, they changed something, because now when I attempt to do the same thing, the connection automatically closes after about 30 seconds, and I receive a debug message stating that "play.complete or play.stop was received from server". Now what I'm asking is, how can I make it so that rtmpdump ignores this? I'm pretty sure there's nothing I can do from command line. Does anyone know if this can be solved? I took a look at the source code, and found something in a file named librtmp.c, but I don't know if my guess is right, nor I am able to edit and compile it. Thanks in advance to anyone willing to help, or even give me advice on this matter.
|