Managing content
Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/flashmediaserver/amazonec2/WS6fc2df2b6d2ce2431afba23c12c3967d3ca-7ff1.2....
Copy link to clipboard
Copied
What is the rtmp path for a file in a S3 bucket?
Are we to make a symlink to /mnt/applications/vod/media?
Copy link to clipboard
Copied
@ jedierikb
The following was taken from the flashmediaserver_4.5_dev_guide.pdf.
When a media player requests content from the server, it passes the server a request URL. The section of the request URL following the server name (and optional port number) is defined in the
Location directive path in the Apache httpd.conf file. For example, the following is the Location directive for HDS on-demand streaming:
<IfModule jithttp_module>
<Location /vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "../mnt/s3fs"
JitFmsDirPath ".."
Options -Indexes FollowSymLinks
</Location>
</IfModule>
When Apache receives a request with the path /hds-vod, it uses the jithttp_module (just-in-time) to process the request. The jithttp_module uses the values of the directives nested within the
Location directive.
In other words, the syntax of the url does not change just because you are using S3 as your content folder. The Apache httpd.conf file determines where the application ( Location /vod ) keeps the content ( HttpStreamingContentPath "../mnt/s3fs" ). In essence the symbolic link is created by the Apache httpd.conf file. So keep the same syntax ( rtmp://localhost/vod/mp4:filename.mp4 )
Copy link to clipboard
Copied
When you say "Important: Technically, it is possible to stream files from an S3 bucket. However, Adobe does not recommend it" does that mean, don't use the described method or don't pull a file directly from S3 (over http)?
