Skip navigation
Currently Being Moderated

PHLS for live doesn't work.

Oct 31, 2013 6:44 AM

Tags: #settings #live #hls #httpd.conf #streaming #5 #phls #ams #documenation

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/WS52621785137562 06-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=0X2bc 8af61179197ee5b8d58c53a0c247f",IV=0X5c3cafdc0e87846ec724c4dcf9bc65d1

#EXT-X-TARGETDURATION:5

#EXTINF:5,

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

#EXTINF:5,

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

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

#EXTINF:5,

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

#EXTINF:5,

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

#EXTINF:5,

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

#EXTINF:5,

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

#EXTINF:5,

../../../../hls-live-enc/streams/livepkgr/events/_definst_/1tv/1tv1Num 4114.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


 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points