Skip to main content
Participant
Aug 13, 2012 10:23 AM UTC
Question

Streaming .FLV files from Media Server 4.5 using PHDS

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 is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Aug 13, 2012 12:12 PM UTC

    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

    Translate
    Aug 13, 2012 3:47 PM UTC

    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 ?

    Translate