Skip to main content
Participant
November 29, 2011
Question

Flash Media Server 4.5 and PHLS streaming of Live Channels (Working Example)

  • November 29, 2011
  • 1 reply
  • 884 views

Hello,

for the past couple of weeks I have been going back and forth  through the documentation, forums , examples in the adobe web sites but I can not get PHLS to work on IOS.

I am looking for a live example like a test page to log on from my IOS devices and test that it really works .

I suspect that one of the reasons why this is not working is that i dont have a valid ssl certificate.

On the other hand PHLS supposly  works without one ( I am confused )

Thank you

George

This topic has been closed for replies.

1 reply

Adobe Employee
November 30, 2011

First make sure the the FMS 4.5 version supports PHLS.. FMSS doesn't support PHLS.

Next,

I recommed you first try with the http only ( and not use the https) for key serving. In that case, you can skip gernerating server certificates and all https enabling stuff..

If you succeed in that, we can then move to serving key file on https.

I have personal blog link on troubleshooting the same http://knowfms.wordpress.com/2011/11/11/basic-steps-to-troubleshoot-hls-encryption-in-fms/

For non https delivery of key

Go with following step:

  1. Add following section in  httpd.conf after the <Location /hls-vod> section.

<Location /phls-vod>

    HLSHttpStreamingEnabled true

    HLSMediaFileDuration 8000

    HttpStreamingContentPath "../webroot/vod"

    HLSFmsDirPath ".."

    HLSJITConfAllowed true

# Uncomment the following directives to enable encryption

# for this location.

    HLSEncryptionScope server

    HLSEncryptCipherKeyFile "../webroot/phls/vodkey.bin"

HLSEncryptKeyURI        "http://<server-name>/phls-key/vodkey.bin"

    Options -Indexes FollowSymLinks

</Location>   

<Location /phls-key>

  HLSEncryptHostCipherKey true

  HLSFmsDirPath ".."

  HLSEncryptKeyRepository "../phls"

</Location>

   1. In the above configuration, edit the values as per your server needs..

    2. Use the following m3u8 url:  http://<server-name>/phls-vod/sample1_1000kbps.f4v.m3u8 (Note we’re using /phds-vod, not /hls-vod).

    3. Then check the Apache access logs for the vodkey.bin request.