Hi <br><br>Sorry to ask again.<br><br>I know the command to copy file from hadoop file system to somewhere else.  But how do I make a shell command to output raw audio?  <br>What command is it like?  Is it like play()?   I am confused.<br>
<br>Thx,<br>mark<br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 11:56 PM, Andrew Thompson <span dir="ltr">&lt;<a href="mailto:andrew@hijacked.us">andrew@hijacked.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Nov 10, 2009 at 11:29:37PM +0800, mark morreny wrote:<br>
&gt; Hi<br>
&gt;<br>
</div><div class="im">&gt; Thanks for the tips.  May I ask how to split the file from hadoop to the<br>
&gt; shell?  Is it like copying the file to certain dir?<br>
&gt;<br>
&gt; I can&#39;t find any mod_shell_stream related info from the wiki.  Does anyone<br>
&gt; know how to use it?<br>
&gt;<br>
<br>
</div>mod_shell_stream is undocumented, but from reading the code I gather it<br>
works like this:<br>
<br>
Module calls fork() and in the child process it runs an arbitrary shell<br>
command (specified in its config file?). The parent process then reads<br>
raw audio data from the child process and uses it as an audio source.<br>
<br>
So basicially you could write the shell command in anything, so long as<br>
it outputs raw audio to FS.<br>
<br>
Or maybe I read the code wrong when I skimmed over it. If you do get it<br>
working, please contribute some documentation to the wiki.<br>
<div><div></div><div class="h5"><br>
Andrew<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>