<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AS2: Record &amp; Save Audio To Server With Flash Media Server</title>
	<atom:link href="http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/</link>
	<description>Learn &#38; Interact with the ActionScript World</description>
	<lastBuildDate>Sat, 17 Jul 2010 03:30:59 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Saleem</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-3958</link>
		<dc:creator>Saleem</dc:creator>
		<pubDate>Wed, 24 Mar 2010 11:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-3958</guid>
		<description>Hi,
I&#039;m using the above code for recording a sound FMS3.5. Is there any way to put the &quot;time limit&quot; or &quot;size limit&quot; for recording. (e.g.:&quot; i want to stop the recording after 3 sec. or on 100kb, is it possible in this code ?) I&#039;m trying very hard but not getting solution. Can anyone give me solution.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m using the above code for recording a sound FMS3.5. Is there any way to put the &#8220;time limit&#8221; or &#8220;size limit&#8221; for recording. (e.g.:&#8221; i want to stop the recording after 3 sec. or on 100kb, is it possible in this code ?) I&#8217;m trying very hard but not getting solution. Can anyone give me solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-3678</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Fri, 28 Aug 2009 23:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-3678</guid>
		<description>so, how do you limit the recording session, let&#039;s say only allow two mins max of recording time?  thx.</description>
		<content:encoded><![CDATA[<p>so, how do you limit the recording session, let&#8217;s say only allow two mins max of recording time?  thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Mallinar</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-3638</link>
		<dc:creator>Neil Mallinar</dc:creator>
		<pubDate>Sun, 09 Aug 2009 18:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-3638</guid>
		<description>When I try to record, it works and i see the .flv file but it&#039;s only 1kb. i dont know why. im guessing its not recording everything.
this is the output statement when i press the buttons:

When i press record I get:

NetStream.Publish.Start

When I press Stop i get:

NetStream.Record.Start
NetStream.Unpublish.Success

When I press play I get:

NetStream.Failed

the .flv&#039;s turn out to be 1kb</description>
		<content:encoded><![CDATA[<p>When I try to record, it works and i see the .flv file but it&#8217;s only 1kb. i dont know why. im guessing its not recording everything.<br />
this is the output statement when i press the buttons:</p>
<p>When i press record I get:</p>
<p>NetStream.Publish.Start</p>
<p>When I press Stop i get:</p>
<p>NetStream.Record.Start<br />
NetStream.Unpublish.Success</p>
<p>When I press play I get:</p>
<p>NetStream.Failed</p>
<p>the .flv&#8217;s turn out to be 1kb</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-3561</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Mon, 29 Jun 2009 16:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-3561</guid>
		<description>@Aditya: you&#039;re trying to use localhost on a live site which will not work.  you have to replace the url in the connect method with the one to the live site.</description>
		<content:encoded><![CDATA[<p>@Aditya: you&#8217;re trying to use localhost on a live site which will not work.  you have to replace the url in the connect method with the one to the live site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya Kiran</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-3550</link>
		<dc:creator>Aditya Kiran</dc:creator>
		<pubDate>Sat, 27 Jun 2009 08:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-3550</guid>
		<description>Hi,

 i had used the following code to record sound from flash .
it is working fine in our LAN. But, when i hosted in an public IP it is not recording any sound .. 

      can any one please help me that any solution is there to solve this problem.

BELOW IS THE CODE THAT I USED....


   
stop();
 
var count:Number          = 0;
var timestamp:Date    = new Date();
var nc:NetConnection       = new NetConnection();
 
nc.connect(&quot;rtmp://localhost/audiotest/samples&quot;);
 
var ns:NetStream          = new NetStream(nc);
ns.setBufferTime(2);
 
var mic:Microphone    = Microphone.get();
mic.setRate(22);
 
ns.attachAudio(mic);
 
ns.onStatus = function($info:Object):Void
{
    trace($info.code);
};
 
// record the audio to the stream
function recordAudio():Void
{
    var fileName:String = String(timestamp.getTime() + (count++));
   
    ns.publish(fileName, &quot;record&quot;);
}
 
// stop the recording of audio to the stream
function stopRecordingAudio():Void
{
    ns.publish(false);
}
 
// plays back the audio that was recorded
function playRecordedAudio():Void
{
    ns.play(currentFileName);
}
 
// record button
recordBtn_mc.onRelease = function():Void
{
    recordAudio();
};
 
// stop button
stopBtn_mc.onRelease = function():Void
{
    stopRecordingAudio();
};
 
// play button
playBtn_mc.onRelease = function():Void
{
    playRecordedAudio();
};



Thanks in advance...


Aditya Kiran</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> i had used the following code to record sound from flash .<br />
it is working fine in our LAN. But, when i hosted in an public IP it is not recording any sound .. </p>
<p>      can any one please help me that any solution is there to solve this problem.</p>
<p>BELOW IS THE CODE THAT I USED&#8230;.</p>
<p>stop();</p>
<p>var count:Number          = 0;<br />
var timestamp:Date    = new Date();<br />
var nc:NetConnection       = new NetConnection();</p>
<p>nc.connect(&#8220;rtmp://localhost/audiotest/samples&#8221;);</p>
<p>var ns:NetStream          = new NetStream(nc);<br />
ns.setBufferTime(2);</p>
<p>var mic:Microphone    = Microphone.get();<br />
mic.setRate(22);</p>
<p>ns.attachAudio(mic);</p>
<p>ns.onStatus = function($info:Object):Void<br />
{<br />
    trace($info.code);<br />
};</p>
<p>// record the audio to the stream<br />
function recordAudio():Void<br />
{<br />
    var fileName:String = String(timestamp.getTime() + (count++));</p>
<p>    ns.publish(fileName, &#8220;record&#8221;);<br />
}</p>
<p>// stop the recording of audio to the stream<br />
function stopRecordingAudio():Void<br />
{<br />
    ns.publish(false);<br />
}</p>
<p>// plays back the audio that was recorded<br />
function playRecordedAudio():Void<br />
{<br />
    ns.play(currentFileName);<br />
}</p>
<p>// record button<br />
recordBtn_mc.onRelease = function():Void<br />
{<br />
    recordAudio();<br />
};</p>
<p>// stop button<br />
stopBtn_mc.onRelease = function():Void<br />
{<br />
    stopRecordingAudio();<br />
};</p>
<p>// play button<br />
playBtn_mc.onRelease = function():Void<br />
{<br />
    playRecordedAudio();<br />
};</p>
<p>Thanks in advance&#8230;</p>
<p>Aditya Kiran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inframan</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-3425</link>
		<dc:creator>Inframan</dc:creator>
		<pubDate>Wed, 20 May 2009 22:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-3425</guid>
		<description>Turns out Moyea is using ffmpeg in violation of GPL : http://roundup.ffmpeg.org/roundup/ffmpeg/issue926</description>
		<content:encoded><![CDATA[<p>Turns out Moyea is using ffmpeg in violation of GPL : <a href="http://roundup.ffmpeg.org/roundup/ffmpeg/issue926" rel="nofollow">http://roundup.ffmpeg.org/roundup/ffmpeg/issue926</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeena</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-2864</link>
		<dc:creator>jeena</dc:creator>
		<pubDate>Sat, 21 Feb 2009 06:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-2864</guid>
		<description>Hi,

  I have to record microphone input and sound card object together as a single file.my requirement is i have to play karaoke from a list and will sing using microphone.So have to record both sounds together.Microphone recording working fine for me.But no idea how to record the playing sound object,ie how to access the sound card also.Please help me if you can.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>  I have to record microphone input and sound card object together as a single file.my requirement is i have to play karaoke from a list and will sing using microphone.So have to record both sounds together.Microphone recording working fine for me.But no idea how to record the playing sound object,ie how to access the sound card also.Please help me if you can.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-2695</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Mon, 19 Jan 2009 02:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-2695</guid>
		<description>Sebastian,
All the server stuff is WAY beyond me :P  And sure, i&#039;d love it if you posted an article and linked here, by all means...</description>
		<content:encoded><![CDATA[<p>Sebastian,<br />
All the server stuff is WAY beyond me <img src='http://evolve.reintroducing.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />   And sure, i&#8217;d love it if you posted an article and linked here, by all means&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastain</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-2694</link>
		<dc:creator>Sebastain</dc:creator>
		<pubDate>Sun, 18 Jan 2009 21:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-2694</guid>
		<description>Hi Matt,

That&#039;s ok, I found out that you can actually install a FLV Audio Converter SDK on a VTN or dedicated server, through the Apache shell command line.

And to communicate between the SDK and the FMS, apparently you can use a server-side scripting program like PHP, to run the FLV Audio Converter on the fly, pass some parameters to run on the SDK, and once the mp3 file has been successfully created, use PHP once again to move it onto another location on the server.

It is quite a trip if you think about it, to end up using Actionscript, a FMS, an FLV Audio Converter, a VTN or dedicated server and PHP just to accomplish a Karaoke-like application.

Once I accomplish this project, I will post an article on my blog called Mobile Blab, and mention your article if you don&#039;t mind.

Cheers!

Sebastian.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>That&#8217;s ok, I found out that you can actually install a FLV Audio Converter SDK on a VTN or dedicated server, through the Apache shell command line.</p>
<p>And to communicate between the SDK and the FMS, apparently you can use a server-side scripting program like PHP, to run the FLV Audio Converter on the fly, pass some parameters to run on the SDK, and once the mp3 file has been successfully created, use PHP once again to move it onto another location on the server.</p>
<p>It is quite a trip if you think about it, to end up using Actionscript, a FMS, an FLV Audio Converter, a VTN or dedicated server and PHP just to accomplish a Karaoke-like application.</p>
<p>Once I accomplish this project, I will post an article on my blog called Mobile Blab, and mention your article if you don&#8217;t mind.</p>
<p>Cheers!</p>
<p>Sebastian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/comment-page-1/#comment-2686</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Sat, 17 Jan 2009 19:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://evolve.reintroducing.com/2007/11/11/as2/record-save-audio-to-server-with-flash-media-server/#comment-2686</guid>
		<description>Sebastian,
Sorry, no can do there either.  All I ever did was download the developer version onto my local machine and just followed the directions for using that, i&#039;ve never actually had to install or really deal with FMS otherwise :\</description>
		<content:encoded><![CDATA[<p>Sebastian,<br />
Sorry, no can do there either.  All I ever did was download the developer version onto my local machine and just followed the directions for using that, i&#8217;ve never actually had to install or really deal with FMS otherwise :\</p>
]]></content:encoded>
	</item>
</channel>
</rss>
