Copy link to clipboard
Copied
I have successfully been able to write some client-side ActionScript that allows me to record my webcam and mic data to my FMS server. The .flv files get saved to a directory under the applications directory. However, I need to process those flv files for a web application and would like those .flv files to be saved to the web app's directory (outside of the FMS application directory). I have tried changing the <Streams> tag in the Application.xml file that I placed in the FMS application directory, but that simply did not work.
My goal is simple: to save the recorded stream data outside of the FMS application's directory. I have been going crazy trying to do this, but would like to know any pointers that any of you experts have. Can this be done? If not, how can I execute a server side PHP script after the stream is done recording. I know about using the exec() function in PHP, but am unsure as to how to execute that script via client-side actionscript.
Here is the path to my FMS server (Linux OS) installation and the application directory. The application name is "ngale".
/opt/adobe/fms/applications/ngale
Here is the path that my client-side ActionScript is placing the .flv files of the recorded streams
/opt/adobe/fms/applications/ngale/streams/recordings/
Here is the path to my web application
/home/user/public_html/dev.ngale.net/public/
Here is the path that I would like for the .flv recording files to be saved to
/home/user/public_html/dev.ngale.net/public/audio/.flv
Please help before I lose any more hair!!
Thanks!
Copy link to clipboard
Copied
you can chance in fms.ini file (/opt/adobe/fms/conf) the const VHOST .
APPSDIR
regards
--
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf
Copy link to clipboard
Copied
Okay, but what happens if I have another application that I want elsewhere on my web sesrver? Can I place multiple lines of VHOST.APPSDIR? For example:
VHOST.APPSDIR = /path/to/application/one
VHOST.APPSDIR = /path/to/application/two
VHOST.APPSDIR=/path/to/application/three
Is it valid to have more than one VHOST.APPSDIR directive in the fms.ini file?
Thanks!
Copy link to clipboard
Copied
I never used this way, but I use this way
VHOST.APPSDIR = /path/to/application
and i used many intances of NetConnections for each app
rtmp://localhost/one
rtmp://localhost/two
rtmp://localhost/three
regards
--
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf
Copy link to clipboard
Copied
Lazlo,
Did you end up solving this? I have .flv recordings saved in my applications directory and I need to transfer them to an HTTP accessible location. I'm hosting my FMS on Influxis (http://influxis.com/). Do I need to find another hosting solution which gives me more control?
Thanks,
Wes
Copy link to clipboard
Copied
On Influxis they can enable FTP for your account. Work like a charm:
http://www.weka.com.br/t/php/ftp-download/influxis-ftp-download-flv.zip
Remeber to ask your host to enable ftp_get().
Hope that helps.