Hi,
for all the sites which send special commands there is no need recompile every time with the new parameters. In general, the sites supported with only this instructions
Code:
SendCommand(r, "something", TRUE);
SendGetStreamLength(r);
RTMP_SendCreateStream(r);
can go together. More, you don't need to specify the site but only the presence of the command line option related, for example
Code:
else if (r->Link.tcomm.av_len)
{
param_count = strsplit(r->Link.tcomm.av_val, FALSE, ';', ¶ms);
SendCommand(r, params[0], params[1]);
SendGetStreamLength(r);
RTMP_SendCreateStream(r);
}
where tcomm is the command-line option passed to rtmpdump with -K option in the form "command,bool". For ucaster,
-K "vujkoMiLazarBarakovOdMonospitovo;TRUE"
so the rtmpdump command would be
Code:
rtmpdump -r "rtmp://212.7.209.16/live/tvccomp?id=72042" -a "live" -f "WIN 14,0,0,179" -p "http://www.ucaster.eu/embedded/tvccomp/1/620/382" -W
"http://www.ucaster.eu/static/scripts/fplayer.swf" -K "vujkoMiLazarBarakovOdMonospitovo;TRUE" -y "tvccomp?id=72042" -m "5000" -o "tvcpuebla1.flv" -C S:OK
this applies to
TRUE
// pc3oot.us.to "StreamPiraten"
// ezcast.tv "iUsteJaSakamCarevataKerka"
// liveflash.tv "kaskatija"
// mips.tv "gaolVanus"
// ucaster.eu "vujkoMiLazarBarakovOdMonospitovo"
// yukons.net "trxuwaaLahRKnaechb"
// yycast.com "trajkoProkopiev"
// "streamify.tv") || strstr(pageUrl, "zenex.tv" "trajkoProkopiev" keGoVidishStambolSoseBardovci
// janjua.tv "soLagaDaSeStoriAga"
FALSE
// strstr(host, "streamscene.cc") || strstr(pageUrl, "streamscene.cc")
|| strstr(host, "tsboard.tv") || strstr(pageUrl, "teamstream.in")
|| strstr(host, "hdstreams.tv") || strstr(pageUrl, "teamstream.to")
|| strstr(pageUrl, "istreams.to") || strstr(pageUrl, "axcast.com")
|| strstr(pageUrl, "dhmediahosting.com") "r"
// axcast.com "requestData"
// dhmediahosting.com "netStreamEnable"
The advantages seem obvious cause you can change the command parameter and support new sites automatically.
I've just compiled this version
http://www.mediafire.com/download/xu...d/rtmpdump.exe