Skip to main content
Participant
August 13, 2012
Question

Streaming .FLV files from Media Server 4.5 using PHDS

  • August 13, 2012
  • 1 reply
  • 834 views

I would like to stream .FLV files from adobe media server 4.5.

Requirements state that the files should be considered secret, so I decided that PHDS sounds like the

right thing.

I was able to stream an .FLV by placing it in the webroot/vod folder using an url like http://myserver/vod/test.flv

However the developer manual states that a way to enable PHDS at the server level is to uncomment the two lines like this.

<IfModule jithttp_module>
<Location /hds-vod>
    HttpStreamingJITPEnabled true
    HttpStreamingContentPath "../webroot/vod"
    JitFmsDirPath ".."
    Options -Indexes FollowSymLinks

# Uncomment the following directives to enable encryption
# for this location.
   EncryptionScope server
   ProtectionScheme phds
</Location>
</IfModule>

However I am not able to stream my FLV using url like http://myserver/hds-vod/test.flv

Question : Am I supposed to use the hds-vod in the URL or is /vod doing the same ?

                  Is the approach correct, or should the files go into an applications\myapplication\media folder ?

                  I will need some server side actionscript to validate access to the stream, is that possible without a dedicated application ?

    This topic has been closed for replies.

    1 reply

    August 13, 2012

    Hi,

    When you use the vod location directive you're basically using Progressive download so your URL is as : http://myserver/vod/test.flv

    However, when you use the location directive hds-vod, it is HTTP Streaming, where the fragments are created on the fly. For this your URL needs to be as : http://myserver/hds-vod/test.f4v.f4m

    Please note .flv files are not supported for HTTP streaming (via hds-vod location directive). You cannot use PHDS with .flv files.

    Thanks,

    Apurva

    August 13, 2012

    Is it not possible to use the f4fpackager and transform the .flv files  like here http://www.realeyes.com/blog/2011/07/27/http-dynamic-streaming-part-1-an-introduction/

    If I want to have some server side javascript to run when a resource is requested, do I need to put my f4m, f4f, f4x files in the applications\myapp\media folder

    instead of wwwroot\vod ?