I had a problem like this recently
Try without the .flv part... you may not need the extension when using Flash
Media Server

also check this:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=578&threadid=1228512&enterthread=y
and this:
http://livedocs.macromedia.com/flash/8/main/00003495.html

QUOTE:
I recently went through this difficulty with Flash Media Server 2 (not the
earlier FCS), in order to get the FLV Playback component to stream videos
using FMS2 from another folder not under the default applications folder,
you'll need to map a virtual directory by altering "vHost.xml" kept in this
location: "Flash Media Server 2/conf/_defaultRoot_/_defaultVHost_/vHost.xml"

In "vHost.xml" there is a tag <VirtualDirectory> and under that <Streams>.

When you add a virtual directory to FMS2 you should add to the streams tag
something like this:

<VirtualDirectory>
<Streams>bar;C:\streams</Streams>
<VirtualDirectory>

Then you'll need to add a folder under the default applications directory of
FMS (or whatever custom applications directory you're using) with whatever
name you choose (say for example "foo"), then make sure you place the
main.asc for the FLVPlayback component which ships with Flash 8 in this new
folder, you can find this main.asc file in the location given in the doc
above. No streams should go in this "foo" folder, and no extra subfolders
are needed here, but your streams (in this example) should be located at
c:\streams

Then when playing back a .flv (called, for example "yourVid.flv") using the
FLVPlayback component, the contentPath should be something like this:

rtmp://localhost/foo/bar/yourVid.flv

FMS connects first to localhost (or whatever IP the streaming server is
located), then checks the app name "foo",finding it, it then looks for a
virtual mapping, if any, in this case "bar", then finding the path mapped
out in the vHost.xml to C:\streams it gets the flv file "yourVid.flv" from
the folder c:\streams.

END QUOTE


YOU WROTE:
I can't get the FLVPlayback component to display the streamed videos
that are working fine with the MediaPlayback component.  For the latter,
I use

setMedia("rtmp:/LT/myfile.flv")

but there is no setMedia command for FLVPlayback, only contentPath, and
setting it to the above doesn't work, nor did setting contentPath =
"rtmp://<server address>/LT/myfile.flv"  or "rtmp://<server
address>/LT/stream/_definst_/myfile.flv"  -- the video never shows up.
Any suggestions?

Helen
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to