{"id":1148,"date":"2012-12-19T17:26:59","date_gmt":"2012-12-19T16:26:59","guid":{"rendered":"http:\/\/www.alkannoide.com\/?p=1148"},"modified":"2013-06-14T17:09:55","modified_gmt":"2013-06-14T15:09:55","slug":"adobe-media-server-setup-phls-live-stream","status":"publish","type":"post","link":"https:\/\/www.alkannoide.com\/2012\/12\/19\/adobe-media-server-setup-phls-live-stream\/","title":{"rendered":"Adobe Flash Media Server 4.5 – Setup PHLS live stream"},"content":{"rendered":"

\"FMS\"<\/a>
\nHere is a How to, the objective is to demonstrate the setup of a PHLS live stream. PHLS means Protected HLS : the custom format of HLS by Adobe. The protection is realized with a AES-128 encryption on the content. To make this configuration, you need a streaming server which will push content via RTMP. Some live transcoders are available from ElementalLive to ffmpeg. And you need too a
Adobe Media Server<\/a>\u00a04.5 installed to complete this how to. \u00a0All I write in this post is available via the\u00a0FMS documentation<\/a>.<\/p>\n

<\/p>\n

Setup HLS live stream<\/h2>\n

First, we will push not one, but multiple RTMP streams. Remember, HLS is an adaptive bit rate protocol, so you need to use some bitrate as input. FMS will rewrap the content to the good output. In this case, I will push 4 stream at 200, 400, 600 and 800 kbits\/s.<\/p>\n

\"AMS-HLS\"<\/a><\/p>\n

But where do we push the content ? Here is the template url :<\/p>\n

rtmp:\/\/ams_address<\/em>\/livepkgr\/stream_name<\/em>?adbe-live-event=event_name<\/em><\/strong><\/p>\n

Apply this template with the previous data (192.168.0.2 is the address of the FMS), we will have :<\/p>\n