We were discussing this over at xbmc.org forums.
Looking at at 4od the akami rtmpe streams needs a auth= parameter to play.
How to generate this though currently is unknown. The XML provided by channel4 for a program contains a token:
http://www.channel4.com/programmes/h...107?1274015087
this seems to be 136 bytes mime64 encoded. How to get from that to the auth= though is another thing.
auth strings look something like
da_a1dVaYdXaEcXcWbfdwdibdbncBakajbU-bl76LM-eS-gAT-kttDkpt7swpem8srnunsr3k2tTqvnsq7kYsckFtJsDphmMsfn6 ndrbk3sfp8noqdkVtSkIt9sCoem2sw
There is a log function in the javascript on the channel4 site
/static/programmes/js/controller/brand/catchup.js
that uses
/static/global/js/lib/util/hmacsha1.js (readable version @
http://pajhome.org.uk/crypt/md5/sha1.html)
I'm unsure if this is connected to the XML token though, or it might be doing a similar encryption. It has a function generateV1Signature which is used by a sendLogMessage function. This calls b64_hmac_sha1 to create a mime64 encoded signature.