[rtmpdump] [PATCH] revised patch for Akamai authentication

David Keeffe david.keeffe at rivustv.com
Tue Aug 10 02:01:04 CEST 2010


Hi all, again...

The attached patch allows ffmpeg and other users of librtmp to publish 
to Akamai-hosted FMS.

This time I have corrected the lack of polish and have addressed the 
three types of crypto library. The code is switched *off* by defining 
NO_RTV_ADDONS.

I have successfully compiled this patch against all three crypto 
libraries on Linux.

There are two additional fields:
     akUserid - the numeric ID given to you by Akamai for a particular 
stream type
     akPass - the password allocated to a particular provision

You'll also need to set
     conn - the initial akamai magic - 'S:encoder:1.2.3.4:<userid>'
     playpath - the 'name at 1234' code allocated when you create a provision

Just set the akUserid parameter to trigger the authentication behaviour 
- of course the other parameters will need to be set, too.

Here's an example:

ffmpeg -loglevel error -i "$FILE" -re -acodec libfaac -vcodec libx264 
-vpre default -f flv 'rtmp://p.ep29XXX.i.akamaientrypoint.net/EntryPoint 
conn=S:encoder:1.2.3.4:99999 live=true akUserid=99999 akPass=pppppp 
playpath=MyStream at 29XXX'


David K

-------------- next part --------------
A non-text attachment was scrubbed...
Name: akamai.patch
Type: text/x-patch
Size: 5855 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100810/b26f6810/attachment.bin>


More information about the rtmpdump mailing list