[rtmpdump] [PATCH] revised patch for Akamai authentication
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
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
akPass - the password allocated to a particular provision
You'll also need to set
conn - the initial akamai magic - 'S:encoder:18.104.22.168:<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:22.214.171.124:99999 live=true akUserid=99999 akPass=pppppp
playpath=MyStream at 29XXX'
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5855 bytes
Desc: not available
More information about the rtmpdump