views:

687

answers:

2

Hello,

I'm stumped on how to get started with Adobe Flash Media Server. On Linux.

All I need to do is:

  1. Accept a request for rtmp://myserver.com:1935/stream/static/abcdef0123456789
  2. Tell FMS that $filename is located at /var/media/ab/cd/ef/abcdef0123456789
  3. Have FMS send /var/media/ab/cd/ef/abcdef0123456789 to the client.
  4. Handle seeking if necessary.

I know that this is probably 99% of what people want to use FMS for. However, I'm having a hard time finding a working example.

Can you tell me something like "Put filename.asc in $foldername and enter the following code" please?

Thanks!

+1  A: 

Here is the manual for FMS and configuring storage. http://livedocs.adobe.com/flashmediaserver/3.0/docs/help.html?content=03_configtasks_32.html#1204236

Daniel A. White
So it looks like I will have to just specify the *exact* folder where the file is in. So instead of "Play abcdef0123456789" it will be "Play ab/cd/ef/abcdef0123456789"
JDrago
A: 

The "vod" directory in "applications" inside of your FMS installation folder is a good place to start. It is set up for easy access to streams to play right out of the box (without having to create a custom application directory to stream from, as we had to do in the past).

So, put the video file in the "media" directory inside of "vod" and then use this as your source for your FLVPlayback component to play it back:

rtmp://localhost/vod/abcd.flv

or, if accessing your server over the web instead of locally:

rtmp://myFMSserverURL.com/vod/abcd.flv

lisamarienyc