Skip to main content
Participating Frequently
February 14, 2013
Question

How to set config for PHLS(not vanilla) in VOD.

  • February 14, 2013
  • 1 reply
  • 3413 views

Hi,

I am trying to config PHLS(not vanilla) for VOD in AMS 5.0.1,

but I could not play safari browser in iOS. output "unsupported URL".

http://help.adobe.com/en_US/adobemediaserver/devguide/WS5262178513756206-4b6aabd1378392bb59-7fe8.html#WS5262178513756206-3ca4338c1380496d4c2-8000

Is the correct contents of the documentation for this link?

    HLSDrmCommonKeyFile  "../creds/liveeventkey.bin"

    HLSDrmKeyServerURL  "faxs://example.com"

    HLSDrmOutputProtection  None

    HLSDrmPlaybackExpiration  Unlimited

This setting is not VOD? Live?

CommonKey ? common-key.bin ? vodkey.bin?

PHLS(not vanilla) require KeyserverURL?

HLSDrmOutputProtection and HLSDrmPlaybackExpiration could not use PHLS(not vanilla) of VOD.

master.log:

Invalid command 'HLSDrmOutputProtection', perhaps misspelled or defined by a module not included in the server configuration   -

Invalid command 'HLSDrmPlaybackExpiration', perhaps misspelled or defined by a module not included in the server configuration -

# strings Apache2.2/modules/mod_hlshttp.so |grep HLSDrmOutputProtection

Not found ...

Document is full of mistakes?

Anyone please tell me how to set true config for PHLS(not vanilla) in VOD.

Thanks.

Best regards,

michioka

This topic has been closed for replies.

1 reply

February 14, 2013

Hi,

I'm sorry there seem to be some discrepency in the doc and we're looking at it. The tags for PHLS are suffixed with 'PHLS'. Ex:

<Location /hls-vod-phls>

    HLSHttpStreamingEnabled true

    HLSMediaFileDuration 8000

    HttpStreamingContentPath "../webroot/vod"

    HLSFmsDirPath ".."

    HLSEncryptionScope  server

    HLSProtectionScheme  PHLS 

    PHLSContentID httpd_conf

    PHLSCommonKeyFile  "../creds/vodkey.bin"

    PHLSOutputProtection  None 

    PHLSPlaybackExpiration  Unlimited

    PHLSEnableKeyRotation true

    PHLSKeyRotationInterval 3

    PHLSPlayerBindingEnabled true 

    PHLSWhitelistFolder "../whitelist"

    HLSEmbedMetadata false  

    HLSMetaPackagingEnabled true 

    HLSMetaMaxAge 3600

</Location>

Hope this helps. Let me know if you have any other questions.

Thanks,

Apurva

michiokaAuthor
Participating Frequently
February 14, 2013

Thank you for answer.

I tried your config, but I could not play safari browser in iOS,

and output popup message "unsupported URL" on Safari.

access.log:

xxx.xxx.xxx.xxx - - [14/Feb/2013:16:20:49 +0900] "GET /hls-vod-phls/sample.f4v.m3u8 HTTP/1.1" 200 445 "-" "AppleCoreMedia/1.0.0.10B145 (iPhone; U; CPU OS 6_1_1 like Mac OS X; ja_jp)"

xxx.xxx.xxx.xxx - - [14/Feb/2013:16:20:49 +0900] "GET /hls-vod-phls/sample.f4vFrag1Num0.ts HTTP/1.1" 200 1143424 "-" "AppleCoreMedia/1.0.0.10B145 (iPhone; U; CPU OS 6_1_1 like Mac OS X; ja_jp)"

(EOF)

iOS Player like to stop after read first Frag0 in m3u8 list.

(sample.f4v is renamed from webroot/vod/sample1_1500kbps.f4v)

February 14, 2013

Hi Michioka,

Safari browser is not capable of playing PHLS or Adobe Access protected streams. For this you'll require to build a native player based on the Adobe Acess library for iOS available here: http://www.adobe.com/in/products/adobe-media-server-family/tool-downloads.html

Hope this helps. Let me know if you have any other questions.

Thanks,

Apurva