On Apr 4, 2007, at 7:54 AM, Jon Bradley wrote:


On Apr 3, 2007, at 10:34 PM, john robinson wrote:


On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote:

I've got a bit of a question that I'm trying to wrap my head around.

Can Flash Media Server 2 take dynamic paths to FLV content?

As long as the path exists, then yeah it should be fine. I'm not sure if I understand your question correctly though. Are you saying you'll get a path like below from the CMS?

"someserver.com/flash/videos/somefolder/somevideo"

If that path exists on the FMS, then it shouldn't be a problem at all.


A bit different actually. The CMS system and application we are building is written with Java running on Apache Tomcat. File system paths will be stored like follows:

serverURL/fileServlet/filename.flv?GET_ITEM_ID=347&TransformationID=234


So the Flash front-end gets this path from the CMS, correct? If that's the case, then in your Java application, you you then copy the actual flv somewhere like so:

"FMS/applications/myApplication/streams/347/filename.flv"

With the path you provided, you should be able to rip it apart in Flash and build the correct FMS path from there. Does that help at all? You shouldn't need to setup virtual paths at all. If you do need to setup virtual paths, I believe the FMS has an admin service that you could call from your Server-side AS to add those virtual paths dynamically as needed.

John


Where the item id is a link to the metadata of the asset stored in a database and the transformation id is the transformed file from that asset. Our servers (flip factory, etc) will generate low res previews and a high res FLV from the original asset, which is mpeg-2.

I can probably build a direct path on the HD to the file, but from what I gather, you need to edit virtual paths in FMS for it to recognize the location of the files. I can't do this because each 'asset' is a collection of files, including the FLV I want to stream. Each asset is a folder basically and there may be lots of 'em - 10s of thousands.

I don't know. Maybe it's server-side AS that grabs the path from the client side application (also flash) and somehow uses it to retrieve and stream the file. This is definitely unchartered AS territory for me.

I'm testing the dev edition of FMS to get a grips on whether or not it'll be best for the job. Red5 or some other tomcat-type installation of a streaming server may be a better selection as I look into it more.

thanks,

jon

_______________________________________________
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


_______________________________________________
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