Skip to main content
Participant
May 2, 2013
Answered

Network Location for HTTP Streaming

  • May 2, 2013
  • 1 reply
  • 992 views

I have a mapped network drive where all my videos are stored. Using a UNC path, I can successfully stream via RTMP. However, when I try to use HTTP streaming, the videos will play for about one second and then I get an error. In my Apache error log, it says this:

[error] mod_jithttp [404]: [err=1] "c:\<my-UNC-path>" does not exist

It appears as though it is adding "c:\" to the beginning of my UNC path. But my httpd.conf file must be correct if it at least works for a split second. What is going on? This is driving me nuts after finally getting all the permissions setup the right way. Thanks!

This topic has been closed for replies.
Correct answer joshfester19

By default on Windows, all Apache services are registered to run as the System user (the LocalSystem account). The LocalSystem account has no privileges to the network. You can check following link for mapping network path on windows:

http://www.adobe.com/devnet/adobe-media-server/articles/mapping-network-paths.html#articlecontentAdobe_numberedheader_0


If anyone is having the same problem, here's how I figured it out. Running apache as the System user is fine, it is unecessary to change that. It was actually the forward slashes that ended up fixing it. However, if you are trying to mount an Amazon S3 account in Windows (via TNTDrive or Windrive), then when a user seeks forward in a video on your site, the server actually has do download the entire video up to that point, and then the user can see the rest. This is incredibly slow and inefficient.

1 reply

Participating Frequently
May 2, 2013

Hi,

Can you paste the portion from httpd.conf where you configure hds-vod? (Under location directive hds-vod).

Are you using backslashes in your path? Try using forward slash

Participant
May 2, 2013

Forward slashes don't seem to fix anything. Here's my hds-vod section from httpd.conf:

<IfModule jithttp_module>

<Location /hds-vod>

    HttpStreamingJITPEnabled true

    HttpStreamingContentPath "\\aws\share\wordpress\videos"

    JitFmsDirPath ".."

    Options -Indexes FollowSymLinks

# Uncomment the following directives to enable encryption

# for this location.

#   EncryptionScope server

#   ProtectionScheme phds

</Location>

</IfModule>

May 3, 2013

By default on Windows, all Apache services are registered to run as the System user (the LocalSystem account). The LocalSystem account has no privileges to the network. You can check following link for mapping network path on windows:

http://www.adobe.com/devnet/adobe-media-server/articles/mapping-network-paths.html#articlecontentAdobe_numberedheader_0