Groups | Blog | Home
all groups > macromedia flash flashcom > november 2006 >

macromedia flash flashcom : Stream FLVs - new setup


ke4pym
11/7/2006 8:58:49 PM
Hi folks. Very new to the Flash Media Server. Have 2.0.3 installed on a W2k3
box. Pretty much spent all day looking for documentation to help me stream
..flvs. I though the docs for CF were bad. :(

I have no problem with the concept of getting a action script to call the
server. However, everytime I try calling the server it tells me that the
application isn't setup. So I go searching through the PDF that came with the
install of the server, and it doesn't really talk about creating applications
other than to click the button in the administrator to add a new instance.
When I do that, nothing happens.

Can anyone point me to the next step to do after the server is installed and
is up and running?

Also, I don't want this server to be an edge server. However, it seems to
think it is one (maybe this is normal?). All the activity is going on in my
edge.00.log files.

Some of this is vague, I know, but I'm at a loss as to where to go next (short
of calling support) to get this server up and running.
mm_patrick
11/7/2006 11:12:55 PM
I am sorry to hear you don't like our documentation. I may be a bit biased
:smile; but I actually think the documentation is pretty good. Please do me a
favor give it a second chance.
I suggest to start with flashmediaserver_developing.pdf (in your documentation
subdirectory of the FMS root) - it gets interesting on page 14 et sqq.

In short, this is what you have to do:
- create a subdirectory in [FMS_ROOT]\applications
the name of the directory is the name of your application. Let's call it "foo":
[FMS_ROOT]\applications\foo

- this is where your server side scripts go to

- if you want to stream FLVs and MP3s, you need a directory called "streams":
[FMS_ROOT]\applications\foo\streams

- Now the media content needs to sit in an application instance. You may put
this into the default instance:
[FMS_ROOT]\applications\foo\streams\_definst_ (please create it - it won't be
created automatically)
or create another instance:
[FMS_ROOT]\applications\foo\streams\bar

- When you code your client, you need to make a netconnection to:
rtmp://yourfmshost/yourapplication/yourinstance
please note that the streams directory does not show up here
In our case it's:
rtmp://yourfmshost/foo/bar
or for the default instance
rtmp://yourfmshost/foo/_definst_
but because it's the default instance you may omit it as well:
rtmp://yourfmshost/foo

- When the NetConnection is established you need to create a stream on this
connection and play your video.


Please also have a look at the Devcenter for FMS - there are many samples and
easy to use step-by-step tutorials there that will be of help for you.

http://www.adobe.com/devnet/flashmediaserver

Regarding your concerns about the edge process:
Every FMS Server always runs 3 processes: master, core and edge. In short, the
edge is the process which talks to the client, the core runs the actual
application and the master looks after them - more details are in the docs
:smile;
so it's nothing to worry about.

The edge [b]server[/b] is something else, i.e. a FMS install that can act as a
proxy to an origin server. This is part of the enterprise version of FMS (also
referred to as "Origin / Edge").


Have fun using Flash Media Server!




ke4pym
11/8/2006 2:15:39 PM
Hi Patrick.

I was using the documentation that was installed with the server. Maybe I
just didn't get that far. Thank you for the quick setup.

One last question - I was tinkering with setting my <streams> to be in a
different folder on the same machine. Will those settings take effect with
this application?
AddThis Social Bookmark Button