[rtmpdump] [PATCH] url comparison bug

Howard Chu hyc at highlandsun.com
Thu Dec 15 04:09:32 CET 2011


KSV wrote:
> i had one entry in my swfinfo file with url as
> http://media.kelbymediagroup.com/players/player5.7/player.swf. but when i
> tried to use the rtmp link with
> http://media.kelbymediagroup.com/players/player5.6/player.swf it used the info
> stored for 5.7 instead of retrieving new info for 5.6. it happened because it
> was using hlen to compare both urls instead of full comparison. why hlen?
> attached patch fixes the problem by comparing full urls.

This was done to accomodate ABC Australia's iView, which uses the same SWF 
file but with a randomly generated hash in the middle of the URL on each 
session. Looks like a different solution is needed.


More information about the rtmpdump mailing list