Skip to main content
Participating Frequently
October 31, 2013
Question

PHLS for live doesn't work.

  • October 31, 2013
  • 1 reply
  • 887 views

Hi.

We've tried to use PHLS feature for live streams with AMS 5.0.3. It doesn't work. The documenation (http://help.adobe.com/en_US/adobemediaserver/devguide/WS5262178513756206-4b6aabd1378392bb59-7fe8.html#WS5262178513756206-366d75001380370b61c-7fff) is terrible.

httpd.conf section:

<Location /hls-live-enc>

    HLSHttpStreamingEnabled true

    HttpStreamingLiveEventPath "../applications"

    HttpStreamingContentPath "../applications"

    HLSMediaFileDuration 5000

    HLSSlidingWindowLength 20

    HLSFmsDirPath ".."

    HttpStreamingUnavailableResponseCode 503

    HLSM3U8MaxAge 2

    HLSTSSegmentMaxAge -1

    HLSMetaMaxAge 3600

    HLSMaxEventAge 300

    HLSProtectionScheme PHLS

    HLSEncryptionScope server

    PHLSCommonKeyFile  "../creds/liveeventkey.bin"

    PHLSOutputProtection  None

    PHLSPlaybackExpiration  Unlimited

    PHLSEnableKeyRotation true

    PHLSKeyRotationInterval 5

    Options -Indexes FollowSymLinks

</Location>

Bugs:

PHLSContentID - param doesn't work

PHLSKeyRotationInterval - It isn't "The key is changed after the specified number of seconds.". This is interval of ts chunks.

As result we had the m3u8 manifest:

#EXTM3U

#EXT-X-MEDIA-SEQUENCE:4108

#EXT-X-ALLOW-CACHE:NO

#EXT-X-VERSION:2

#EXT-X-FAXS-CM:URI="1tv1.drmmeta"

#EXT-X-KEY:METHOD=AES-128,URI="faxs://faxs.adobe.com?EncryptedRK=0X2bc8af61179197ee5b8d58c53a0c247f",IV=0X5c3cafdc0e87846ec724c4dcf9bc65d1

#EXT-X-TARGETDURATION:5

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4108.ts

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4109.ts

#EXT-X-KEY:METHOD=AES-128,URI="faxs://faxs.adobe.com?EncryptedRK=0X4214ec79c7ad8ea5885e253df3c22f42",IV=0X5c3cafdc0e87846ec724c4dcf9bc65d1

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4110.ts

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4111.ts

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4112.ts

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4113.ts

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num4114.ts

The manifest cant been playing on devices (ios, android). Cause can't get "faxs://faxs.adobe.com?EncryptedRK=0X4214ec79c7ad8ea5885e253df3c22f42".

P.S. I've tried to add HLSEncryptKeyURI to location section of httpd.conf. It didn't change anything.

When AMS will work correctly?


__

Vasily


This topic has been closed for replies.

1 reply

VasilyTTAuthor
Participating Frequently
November 7, 2013

Has anybody known this issue?