Re: php-triggered interactive script terminates

"S. Massy" <[email protected]>
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <20120926171803.GA2268@solidbox>
On Wed, Sep 26, 2012 at 08:16:48AM +0000, spencer marsden wrote:
> 
> 
> 
> 
> 
> > > #!/bin/bash
> > > # engine_start
> > > set -x on
> > > TERM=linux
> > > export TERM
> > > ecasound -c -i /var/www/upload/*.wav -o jack,system -G:jack,hereiam,recv -E engine-launch -K ;
> 
> > The -c flag specified the interactive mode, and therefore
> > requires a terminal.
> > 
> Thanks for response- so its impossible for a php script to interact with ecasound's interactive mode? the php eci addon does not work with php5.
> any suggestions welcome- Im trying to stop,rewind playback via web interface.
Use the network socket instead, like so:
ecasound -G:jack,hereiam,recv --server -K -i:file.wav -o:jack,system 
Now connect to localhost:2868 using netcat or something within PHP and
you can issue commands and read responses from ecasound.

Cheers,
S.M.

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.