[rtmpdump] Does rtmpdump fallback to other ports?
Stef
my.my.cro at gmail.com
Fri Aug 12 03:43:47 CEST 2011
On 12/08/2011 10:30 AM, Howard Chu wrote:
> Steven Penny wrote:
>> On Thu, Aug 11, 2011 at 4:02 PM, Stef wrote:
>>> It would be a nice, and perhaps convenient, option if RTMPdump
>>> handled a
>>> fall-back itself (like the Flash Player Client).
>>
>> In my opinion what you are suggesting is outside the scope of the
>> RTMPdump project. Something of this nature would be better handled by
>> and external perl script, or something.
>
> I guess we could add a new exit code from rtmpdump for RTMP_Connect()
> failing. But overall, yes, I agree that retry/fallback should be
> handled by the callers.
Thank you.
Yes, I have no argument there that the caller should handle the
fallback. In fact I encourage it - because it does give the caller the
ability to say "Hey, something's not right... Look into it!".
At the least, it would be nice for RTMPdump to say what did go awry
rather than go/no go. That way the caller can react more
appropriately. The idea of a new code seems to fit the bill nicely and,
I think, appropriately. Good idea Howard :)
With much appreciation,
Stefan Zakarias.
More information about the rtmpdump
mailing list