<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>BBC iPlayer plugin &amp;amp; Limelight CDNs</title>
        <description> The background:

thread 1

tong2shot wrote:

&amp;gt; at this moment, streams from limelight are not downloadable.
&amp;gt; I tried several times with limelight, even tried rtmpdump, but no luck, 
&amp;gt; maybe I missed some parameters, or applied wrong parameters.
&amp;gt; We'll try to investigate this issue.
&amp;gt; If get_iplayer is working with UK proxy applied,
&amp;gt; FRD should also be working with UK proxy applied...

I wrote:

&amp;gt; I have no problem downloading from the Limelight CDN;
&amp;gt; Attachement &quot;Get_iPlayer_info.txt&quot; contains the get_iplayer command used
&amp;gt; and the command prompt window output
&amp;gt; from downloading successfully the program (quality 480p) ...
&amp;gt; notice that:
&amp;gt; flashvhigh1 mode = Akamai CDN -&amp;gt; FAILURE, while
&amp;gt; flashvhigh2 mode = Limelight CDN -&amp;gt; SUCCESS.

thread 2

I wrote:

&amp;gt; Limelight (ll) CDNs used to also be very reliable and the only ones who worked for overseas
&amp;gt; users, since they're not blocked at server level - these are the ones FRD connects to
&amp;gt; when used with a UK proxy. Sadly, especially after the introduction of the
&amp;gt; new version of TV iplayer, there has been a change implemented on those
&amp;gt; (possibly deliberate, to fence off international users, or just a technical glitch, maybe?),
&amp;gt; that makes them exhibit a very erratic behaviour, also discussed by tong2shot here 
(-&amp;gt; Limelight sometimes produces strange behaviour with or without UK proxy, 
sometimes it gets stuck at &quot;connect&quot; command, but after waiting for awhile (5 minutes), 
restart the download process then the stream is downloaded successfully).
&amp;gt; However, with some perseverance, I was always able to download from those...
&amp;gt; FWIW, this Limelight CDN issue is not unique to FRD: Even in the case where I configure Firefox
&amp;gt; to use a UK http proxy and try to play a BBC iplayer TV programme, I have to reload the
&amp;gt; page several times for the show to start playing in the browser (via a ll CDN).

All these past days I have been puzzled by the fact that get_iplayer (a perl script) 
could establish immediate - on first attempt - connection with the limelight servers to download from them 
(when used with a UK HTTP proxy from a non-UK physical location; it prefers 
the Akamai CDNs from within the UK or when using a UK VPN), while FRD (even with the 
latest bbc plugin 1.1.12) and Firefox browser exhibit the &quot;problematic&quot; behaviour 
quoted above... There must be a &quot;correct&quot; parameter in get_iplayer, not found in the rest...

The tests:

I used this very short (4:26) sample video file:

Original Comedy Shorts - Matt Berry: Lone Wolf

which doesn't expire for another 11 months...
I set up a tested and working UK proxy in Firefox, then used rtmpdumphelper
(with a special &quot;KSV&quot; version of rtmpsrv binary)
to generate and save the proper rtmpdump command for the Limelight CDN.
I have attached it as &quot;LimelightCDN_currentSWF.bat&quot;
The &quot;authentication string&quot; (as=adobe-hmac-sha256&amp;...) has a lifespan of 90 - 120 min.
(after it expires, you can get it renewed by visiting from a UK IP this URL:

mediaselector/5/.../p01zfq9t

then scroll down to the media bitrate=&quot;1500&quot; section and copy the value of &quot;authString=&quot; 
for supplier=&quot;limelight&quot;/&amp;gt; )

When you run the batch file within the lifespan of a valid authString, 
you either 
1. end up with a working download (if lucky), or 
2. end up with this error:

ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 10827
and no actual download - I have attached the last lines of an rtmpdump log 
(rtmpdump was run with the --verbose switch) in the case of such a failure, 
see &quot;Ll CDN error.txt&quot; file.

You have to repeat running the batch file at a later instance, 
hoping to result in a successful download - this coincides 
with what is currently observed in FRD/Firefox.

Side note: The -W (= SWF URL) parameter found by rtmpsrv:
http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf
is actually the result of a redirection of this generic SWF URL:

http://emp.bbci.co.uk/emp/smp-flash/smp.swf

as found by using Firefox's &quot;Web Developer&quot; tools; 
but I don't think that rtmpdump can, on its own, handle such redirections...

The solution (?)

get_iplayer constructs an almost identical rtmpdump command to the one 
I generated using rtmpsrv, with one vital exception:
It uses a fixed, hard-coded, value for the &quot;-W&quot; parameter. 
In fact, the value it uses comes from the previous version of 
BBC iPlayerTV and is:
http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf
To test my theory, I edited file &quot;LimelightCDN_currentSWF.bat&quot; 
so as to replace the current value of &quot;-W&quot; with the older one, 
used by get_iplayer, and so ended up with file
&quot;LimelightCDN_oldSWF.bat&quot; (attached).
NO MATTER HOW MANY TIMES (AND WHEN) I RAN THIS BATCH FILE DURING 
THE VALIDITY OF THE authString, I ALWAYS WAS SUCCESSFUL IN STARTING 
A DOWNLOAD, NOT EVEN ONCE DID  I GET HIT BY THE &quot;RTMP_ReadPacket&quot; 
ERROR!
 This matches what I experience with get_iplayer: instant &amp; rock-steady connections 
to the Limelight CDNs.
My gut feeling is that when the new interface of BBC iPlayerTV was introduced some 
three months ago, someone over at the Beeb neglected to reconfigure the Limelight 
CDNs, which remained fine-tuned to the old SWF URL and thus do not play well with 
the new SWF that came with the revamped GUI - this must be the cause of the intermittent 
connections observed ever since.
Of course, this could change in the future, but for the time being I bet the devs that 
if a new bbc.frp is compiled using the &quot;old&quot; SWF URL, this would result in solid, reliable 
downloads from Limelight CDNs again, doing away with the need for multiple retries...

{with the aid of an extractor and a Java decompiler, I have peeked into the current 
bbc.frp 1.1.12 and have found that the value of &quot;-W&quot; 
http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.18/1.9.18_smp.swf?1.9.17
is hard-coded inside file &quot;BbcFileRunner.class&quot;; I thought I could somehow edit it to test 
my theory myself, but since I am Java illiterate, I found no easy way to recompile the edited 
file &quot;BbcFileRunner.java&quot; back to .class - I'll leave this to the real experts ;-) }</description>
        <link>https://wordrider.net/forum/10/14484/14484/_subject_#msg-14484</link>
        <lastBuildDate>Sat, 11 Apr 2026 06:39:30 +0000</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>https://wordrider.net/forum/10/14484/14508/_subject_#msg-14508</guid>
            <title>Re: BBC iPlayer plugin &amp; Limelight CDNs</title>
            <link>https://wordrider.net/forum/10/14484/14508/_subject_#msg-14508</link>
            <description><![CDATA[ @vaffangool<br />
<br />
Test video file: <a href="http://www.bbc.co.uk/iplayer/episode/p01zf67p/dday-70-the-heroes-return-3-highlights" rel="nofollow" >D-Day 70 - The Heroes Return: 3. Highlights</a><br />
<br />
I have used the following GiP command to try the new SWF URL with a Limelight CDN:<br />
<pre class="bbcode">
get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf" -p "http://88.150.168.176:8089" --partial-proxy -i --pid=p01zf67p --modes=flashvhigh --force -w --file-prefix="D-Day70_TheHeroesReturn_3.Highlights_201406062000" --raw</pre>
(NB: the UK proxy used NO LONGER WORKS, hence I've not hidden its details)<br />
Command Prompt Window output attached as "GiP_p01zf67p_newSWF_failure.txt"<br />
GiP fails to download from ll (flashvhigh2 mode), with the characteristic <br />
<pre class="bbcode"><b>ERROR: RTMP_ReadPacket, failed to read RTMP packet header</b></pre>
If the old SWF URL is used, download succeeds...<br />
<br />
@tong2shot:<br />
<br />
I have just updated to bbc.frp 1.1.13 - FANTASTIC NEWS! :)-D<br />
<br />
Not only did <b>the download commence immediately</b> (video file at the beginning of this post), <br />
<b><u>but I didn't have to use a UK proxy either</u></b>, since it appears that <b>THE TOR PLUGIN <br />
HAS STARTED TO BE FUNCTIONAL AGAIN for BBC iPlayer</b> !!!!<br />
(see attachment "bbc1113_Tor_success.jpg" )<br />
 And this came just in time, because it had become quite difficult to find good working UK proxies for the past 2 days...<br />
So, for those overseas users, update to bbc.co.uk plugin 1.1.13 and inside its options <br />
set  "Limelight" as preferred CDN and tick "Enable Tor" (I don't know for how long the tor plugin <br />
will do the job, it was certainly working at the time of posting...)<br />
<br />
tong2shot, I owe you bigtime! (tu)(tu)(tu)]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Fri, 06 Jun 2014 23:36:44 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14484/14507/_subject_#msg-14507</guid>
            <title>Re: BBC iPlayer plugin &amp; Limelight CDNs</title>
            <link>https://wordrider.net/forum/10/14484/14507/_subject_#msg-14507</link>
            <description><![CDATA[ Okay, BBC plugin v1.1.13 has been released. <br />
<br />
SWF URL for limelight : <pre class="bbcode">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/617463_618125_4/617463_618125_4_emp.swf</pre>
otherwise : <pre class="bbcode">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf</pre>]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Fri, 06 Jun 2014 22:15:16 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14484/14506/_subject_#msg-14506</guid>
            <title>Re: BBC iPlayer plugin &amp; Limelight CDNs</title>
            <link>https://wordrider.net/forum/10/14484/14506/_subject_#msg-14506</link>
            <description><![CDATA[ vaffangool Wrote:<br />
-------------------------------------------------------<br />
<br />
&gt; You can quickly test any swfVfy URL in get_iPlayer by preceding a known working download with the command lines:<br />
&gt; get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf?1.9.23"<br />
&gt; get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/617463_618125_4/617463_618125_4_emp.swf"<br />
&gt; get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.18/1.9.18_smp.swf?1.9.17"<br />
&gt; A recent test shows all three work equally well -- for now.<br />
<br />
Thanks for registering and posting :-)<br />
<br />
I am well aware of the --rtmp-tv-opts option; yes, all three swfVfy URLs work for now, but NOT EQUALLY WELL <br />
if you are coming from outside the UK and use the options -p="http://proxyhost:proxyport" --partial-proxy<br />
The latest value <br />
<pre class="bbcode">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf</pre>
(which is actually the one BBC iPlayer uses in a browser) always works for Akamai CDNs (if in the UK) & <br />
Level3 CDNs (accessible both from within & outside the UK), but ONLY IN A RANDOM WAY for Limelight CDNs<br />
(as I have explained in detail in my previous post), which are the ones get_iplayer (and FRD, for that matter)<br />
connects to via UK HTTP Proxy.<br />
<br />
Only the older (middle one) swfVfy URL<br />
<pre class="bbcode">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/617463_618125_4/617463_618125_4_emp.swf</pre>
ALWAYS WORKS RELIABLY for Limelight CDNs (as well as Level3 CDNs), that's why I haven't updated my local copy <br />
of GiP to the newer swfVfy URL found in git. If you are actually within the UK (you don't say where you are), then GiP prefers the <br />
Akamai CDNs both for SD & HD content (usually tv modes ending in 1, e.g. flashhigh1, flashhd1), so it would appear <br />
in your test that all 3 different swfVfy URLs work equally well - yes they do, for Akamai that is...<br />
<br />
@tong2shot:<br />
<br />
Will you please be releasing a new bbc plugin with the old SWF URL, to rectify the Limelight CDN issue?<br />
Many thanks in advance;-)]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Fri, 06 Jun 2014 16:49:13 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14484/14500/_subject_#msg-14500</guid>
            <title>Re: BBC iPlayer plugin &amp; Limelight CDNs</title>
            <link>https://wordrider.net/forum/10/14484/14500/_subject_#msg-14500</link>
            <description><![CDATA[ <b>The hard-coded</b> sfwVfy URL in get_iPlayer <a href="https://github.com/dinkypumpkin/get_iplayer/commit/797d91db090ff9b75cc2f2b00e9d03e5d07a2c2f" rel="nofollow" >was updated</a> four days ago (01 June 2014 21:43 GMT) to <br />
<span style="color:#009900">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf?1.9.23</span><br />
<br />
<b>I edited</b> my local copy <a href="http://www.bbc.co.uk/blogs/internet/posts/new-iPlayer-preview-feedback-and-live-launch" rel="nofollow" >in mid-March</a>, changing<br />
<i>from</i> <span style="color:#009900">http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf</span><br />
<i>to   </i> <span style="color:#009900">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.18/1.9.18_smp.swf?1.9.17</span><br />
<br />
<b>You can quickly</b> test any swfVfy URL <a href="https://github.com/dinkypumpkin/get_iplayer/wiki/swfurl" rel="nofollow" >in get_iPlayer</a> by preceding a known working download with the <a href="http://lists.mplayerhq.hu/pipermail/rtmpdump/2011-May/001427.html" rel="nofollow" >command lines</a>:<br />
• <span style="color:#009900">get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf?1.9.23"</span><br />
• <span style="color:#009900">get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/617463_618125_4/617463_618125_4_emp.swf"</span><br />
• <span style="color:#009900">get_iplayer --rtmp-tv-opts="--swfVfy=http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.18/1.9.18_smp.swf?1.9.17"</span><br />
A recent test shows all three work equally well--for now.]]></description>
            <dc:creator>vaffangool</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Fri, 06 Jun 2014 00:17:34 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14484/14487/_subject_#msg-14487</guid>
            <title>Re: BBC iPlayer plugin &amp; Limelight CDNs</title>
            <link>https://wordrider.net/forum/10/14484/14487/_subject_#msg-14487</link>
            <description><![CDATA[ TVjunkie Wrote:<br />
-------------------------------------------------------<br />
&gt; ... <br />
&gt; The solution (?)<br />
&gt; <br />
&gt; get_iplayer constructs an almost identical<br />
&gt; rtmpdump command to the one <br />
&gt; I generated using rtmpsrv, with one vital<br />
&gt; exception:<br />
&gt; It uses a fixed, hard-coded, value for the "-W"<br />
&gt; parameter. <br />
&gt; In fact, the value it uses comes from the previous<br />
&gt; version of <br />
&gt; BBC iPlayerTV and is:<br />
&gt; [<a href="http://www.bbc.co.uk/emp/releases/iplayer/revision" rel="nofollow" >www.bbc.co.uk</a>]<br />
&gt; s/617463_618125_4/617463_618125_4_emp.swf<br />
&gt; To test my theory, I edited file<br />
&gt; "LimelightCDN_currentSWF.bat" <br />
&gt; so as to replace the current value of "-W" with<br />
&gt; the older one, <br />
&gt; used by get_iplayer, and so ended up with file<br />
&gt; "LimelightCDN_oldSWF.bat" (attached).<br />
&gt; NO MATTER HOW MANY TIMES (AND WHEN) I RAN THIS<br />
&gt; BATCH FILE DURING <br />
&gt; THE VALIDITY OF THE authString, I ALWAYS WAS<br />
&gt; SUCCESSFUL IN STARTING <br />
&gt; A DOWNLOAD, NOT EVEN ONCE DID  I GET HIT BY THE<br />
&gt; "RTMP_ReadPacket" <br />
&gt; ERROR!<br />
&gt; ....<br />
<br />
That's another superb analysis, thanks. (tu)<br />
<br />
I just tested, and you are right.<br />
<br />
<br />
&gt; {with the aid of an extractor and a Java<br />
&gt; decompiler, I have peeked into the current <br />
&gt; bbc.frp 1.1.12 and have found that the value of<br />
&gt; "-W" <br />
&gt; [<a href="http://emp.bbci.co.uk/emp/releases/smp-flash/revis" rel="nofollow" >emp.bbci.co.uk</a>]<br />
&gt; ions/1.9.18/1.9.18_smp.swf?1.9.17<br />
&gt; is hard-coded inside file "BbcFileRunner.class";<br />
<br />
That's the spirit. Although that could have been done easier. FRD is an open source project, you can read the source code <a href="http://svn.wordrider.net/svn/freerapid/trunk/src/" rel="nofollow" >here</a>.<br />
<br />
And for BBC plugin, you can read the main class <a href="http://svn.wordrider.net/svn/freerapid-plugins/trunk/src/bbc/cz/vity/freerapid/plugins/services/bbc/BbcFileRunner.java" rel="nofollow" >here</a>.<br />
<br />
Username & password : wordrider<br />
<br />
 <br />
&gt; I thought I could somehow edit it to test <br />
&gt; my theory myself, but since I am Java illiterate,<br />
&gt; I found no easy way to recompile the edited <br />
&gt; file "BbcFileRunner.java" back to .class - I'll<br />
&gt; leave this to the real experts ;-) }<br />
<br />
That's why we have this <a href="http://wordrider.net/forum/10/1269/plugin_developers_wanted" rel="nofollow" >topic</a>. Do you want to give it a try?<br />
<br />
Come to the dark side, we have cookies ;-)]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Wed, 04 Jun 2014 16:46:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14484/14484/_subject_#msg-14484</guid>
            <title>BBC iPlayer plugin &amp; Limelight CDNs</title>
            <link>https://wordrider.net/forum/10/14484/14484/_subject_#msg-14484</link>
            <description><![CDATA[ <b><u>The background:</u></b><br />
<br />
<a href="http://wordrider.net/forum/10/14269/14290/re__bbc_plugin_not_working_anymore#msg-14290" rel="nofollow" >thread 1</a><br />
<br />
tong2shot wrote:<br />
<br />
&gt; at this moment, streams from limelight are not downloadable.<br />
&gt; I tried several times with limelight, even tried rtmpdump, but no luck, <br />
&gt; maybe I missed some parameters, or <b>applied wrong parameters</b>.<br />
&gt; We'll try to investigate this issue.<br />
&gt; If <b>get_iplayer is working with UK proxy applied</b>,<br />
&gt; FRD should also be working with UK proxy applied...<br />
<br />
I wrote:<br />
<br />
&gt; I have no problem downloading from the Limelight CDN;<br />
&gt; Attachement "Get_iPlayer_info.txt" contains the <b>get_iplayer command used</b><br />
&gt; and the command prompt window output<br />
&gt; from <b>downloading successfully</b> the program (quality 480p) ...<br />
&gt; notice that:<br />
&gt; flashvhigh1 mode = Akamai CDN -&gt; FAILURE, while<br />
&gt; flashvhigh2 mode = Limelight CDN -&gt; SUCCESS.<br />
<br />
<a href="http://wordrider.net/forum/10/14356/tor_plugin_fails_with_bbc_downloads" rel="nofollow" >thread 2</a><br />
<br />
I wrote:<br />
<br />
&gt; Limelight (ll) CDNs used to also be very reliable and the only ones who worked for overseas<br />
&gt; users, since they're not blocked at server level - these are the ones FRD connects to<br />
&gt; when used with a UK proxy. Sadly, especially after the introduction of the<br />
&gt; new version of TV iplayer, there has been a change implemented on those<br />
&gt; (possibly deliberate, to fence off international users, or just <b>a technical glitch, maybe</b>?),<br />
&gt; that makes them exhibit a very erratic behaviour, also discussed by tong2shot <u>here</u> <br />
(-&gt; Limelight sometimes produces strange behaviour with or without UK proxy, <br />
sometimes it gets stuck at "connect" command, but after waiting for awhile (5 minutes), <br />
restart the download process then the stream is downloaded successfully).<br />
&gt; However, with some perseverance, I was always able to download from those...<br />
&gt; FWIW, this Limelight CDN issue is not unique to FRD: Even in the case where <b>I configure Firefox</b><br />
&gt; <b>to use a UK http proxy and try to play a BBC iplayer TV programme, I have to reload the</b><br />
&gt; <b>page several times for the show to start playing in the browser (via a ll CDN).</b><br />
<br />
All these past days I have been puzzled by the fact that get_iplayer (a perl script) <br />
could establish immediate - <b>on first attempt</b> - connection with the limelight servers to download from them <br />
(when used with a UK HTTP proxy from a non-UK physical location; it prefers <br />
the Akamai CDNs from within the UK or when using a UK VPN), while FRD (even with the <br />
latest bbc plugin 1.1.12) and Firefox browser exhibit the "problematic" behaviour <br />
quoted above... There must be a "correct" parameter in get_iplayer, not found in the rest...<br />
<br />
<b><u>The tests:</u></b><br />
<br />
I used this very short (4:26) sample video file:<br />
<br />
<a href="http://www.bbc.co.uk/iplayer/episode/p01zfq9r/" rel="nofollow" >Original Comedy Shorts - Matt Berry: Lone Wolf</a><br />
<br />
which doesn't expire for another 11 months...<br />
I set up a tested and working UK proxy in Firefox, then used <a href="http://www.nirsoft.net/utils/rtmp_dump_helper.html" rel="nofollow" >rtmpdumphelper</a><br />
(with a special "<a href="https://github.com/K-S-V/Scripts/releases/tag/v2.4" rel="nofollow" >KSV</a>" version of rtmpsrv binary)<br />
to generate and save the proper rtmpdump command for the Limelight CDN.<br />
I have attached it as "LimelightCDN_currentSWF.bat"<br />
The "authentication string" (as=adobe-hmac-sha256&...) has a lifespan of 90 - 120 min.<br />
(after it expires, you can get it renewed by visiting from a UK IP this URL:<br />
<br />
<a href="http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p01zfq9t" rel="nofollow" >mediaselector/5/.../p01zfq9t</a><br />
<br />
then scroll down to the media bitrate="1500" section and copy the value of "authString=" <br />
for supplier="limelight"/&gt; )<br />
<br />
When you run the batch file within the lifespan of a valid <b>authString</b>, <br />
you either <br />
1. end up with a working download (if lucky), or <br />
2. end up with this error:<br />
<pre class="bbcode">
<b>ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 10827</b></pre>
and no actual download - I have attached the last lines of an rtmpdump log <br />
(rtmpdump was run with the --verbose switch) in the case of such a failure, <br />
see "Ll CDN error.txt" file.<br />
<br />
You have to repeat running the batch file at a later instance, <br />
hoping to result in a successful download - this coincides <br />
with what is currently observed in FRD/Firefox.<br />
<br />
Side note: The -W (= SWF URL) parameter found by rtmpsrv:<br />
<pre class="bbcode">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf</pre>
is actually the result of a redirection of this generic SWF URL:<br />
<br />
<a href="http://emp.bbci.co.uk/emp/smp-flash/smp.swf" rel="nofollow" >http://emp.bbci.co.uk/emp/smp-flash/smp.swf</a><br />
<br />
as found by using Firefox's "Web Developer" tools; <br />
but I don't think that rtmpdump can, on its own, handle such redirections...<br />
<br />
<u><b>The solution (?)</b></u><br />
<br />
get_iplayer constructs an almost identical rtmpdump command to the one <br />
I generated using rtmpsrv, with one vital exception:<br />
It uses a fixed, hard-coded, value for the "-W" parameter. <br />
In fact, the value it uses comes from the previous version of <br />
BBC iPlayerTV and is:<br />
<pre class="bbcode">http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf</pre>
To test my theory, I edited file "LimelightCDN_currentSWF.bat" <br />
so as to replace the current value of "-W" with the older one, <br />
used by get_iplayer, and so ended up with file<br />
"LimelightCDN_oldSWF.bat" (attached).<br />
NO MATTER HOW MANY TIMES (AND WHEN) I RAN THIS BATCH FILE DURING <br />
THE VALIDITY OF THE authString, I ALWAYS WAS SUCCESSFUL IN STARTING <br />
A DOWNLOAD, NOT EVEN ONCE DID  I GET HIT BY THE "RTMP_ReadPacket" <br />
ERROR!<br />
 This matches what I experience with get_iplayer: instant & rock-steady connections <br />
to the Limelight CDNs.<br />
My gut feeling is that when the new interface of BBC iPlayerTV was introduced some <br />
three months ago, someone over at the Beeb neglected to reconfigure the Limelight <br />
CDNs, which remained fine-tuned to the old SWF URL and thus do not play well with <br />
the new SWF that came with the revamped GUI - this must be the cause of the intermittent <br />
connections observed ever since.<br />
Of course, this could change in the future, but for the time being I bet the devs that <br />
if a new bbc.frp is compiled using the "old" SWF URL, this would result in solid, reliable <br />
downloads from Limelight CDNs again, doing away with the need for multiple retries...<br />
<br />
{with the aid of an extractor and a Java decompiler, I have peeked into the current <br />
bbc.frp 1.1.12 and have found that the value of "-W" <br />
<pre class="bbcode">http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.18/1.9.18_smp.swf?1.9.17</pre>
is hard-coded inside file "BbcFileRunner.class"; I thought I could somehow edit it to test <br />
my theory myself, but since I am Java illiterate, I found no easy way to recompile the edited <br />
file "BbcFileRunner.java" back to .class - I'll leave this to the real experts ;-) }]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Wed, 04 Jun 2014 03:17:11 +0000</pubDate>
        </item>
    </channel>
</rss>
