Post Microphone Input From Flash To Server

Apr 5, 2010

We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file.

Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server?

After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can be done with pretty much any server-side language.

View 1 Replies


Similar Posts:


Media Server :: Microphone Activity Level At -1 Even Though Microphone.getMicrophone() Is Called, Why?

Oct 7, 2009

I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application.  Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning.  So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff.  For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone().  According to Flash's documentation, this shouldn't be the case:
 
activityLevel    propertyactivityLevel:Number  [read-only]Language Version :     ActionScript 3.0Player Version :     Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
 
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....

View 1 Replies

Media Server :: Flash - Player Security Pop Up When Using Camera And Microphone?

Aug 25, 2010

how to remove flash player security pop up for camera and microphone through coding.

View 4 Replies

ActionScript 3.0 :: Detect Input Audio Tempo Via Microphone?

May 22, 2009

Is it possible for Flash to detect the tempo of audio coming through the microphone (ex. - someone singing into the microphone or playing music on their computer)?I am trying to figure out whether this is possible.

View 2 Replies

ActionScript 3.0 :: Microphone Input>Delay 3 Seconds>Audio Output?

Dec 2, 2009

Basically I want to recreate a sound installation that I made a couple of months ago which used Logic Express and a Tape Delay effect to take ambient sound captured by a mic, delay its output by 3 seconds, and then play it into the headphones. All without recording anything and in realtime.I've basically got this far, which lets me hear the mic input through my headphones loud and clear. Now all I want to do is apply a 3 second delay to the input before it outputs. Do I have to send the audio to a buffer where it can be constantly stored and rewritten?

Code:
//Create a new Microphone
var mic:Microphone = Microphone.getMicrophone();

[code].....

View 3 Replies

Way To Post An Image To Server Side With Flash?

Jul 2, 2010

I saw this post and don't understand why it's so struggling to post an image to server side with flash, or is it just the poster didn't do it in a proper manner ?So far my progress is:

var ba:ByteArray = (new PNGEncoder()).encode(vidBmpHolder);
var request : URLRequest = new URLRequest("http://localhost:3000/doodles");
request.method = URLRequestMethod.POST;

[code]......

View 3 Replies

ActionScript 2.0 :: Flash 8 - Sending Variables Via Post To Another Server

Feb 17, 2009

At the moment, I am posting information from my flash to a PHP page within the same server. This causes no problems, as I am posting to a PHP file within the same directory.
form.loadVariables("email.php", "POST");
However, I am wanting to place my 'WIDGET' on other sites but still post the information back to my server to the PHP file (email.php).

View 2 Replies

IDE :: Redirect To New Page Fails After Flash Post To Server?

Jun 3, 2009

I have a rails app that embeds a swf. The swf takes user input and posts to the server. For testing purposes, the controller is just redirecting the browser back to another pagewithout processing the data. Interestingly, after the post, the server log and the firebug log shows what clearly looks like a successful redirect (200) showing the correct URL GET, but the browser does not actually move to the new page and is stuck on the same page with the flash app. Same behavior occurs in both Firefox and Safari.

View 1 Replies

Media Server :: Mute Microphone Using AS3?

May 28, 2009

how can i mute microphone using AS3?

View 2 Replies

Flash/Actionscript - Post A Tweet From A Swf (without Using A Server-side Proxy Such As Tweetr)?

Apr 29, 2010

How can I post a tweet directly to twitter without needing to use a server-side proxy script (ie, tweetr)? Can a twitter API call be made directly from a swf?

View 1 Replies

ActionScript 3.0 :: Stream Audio From Microphone To Server?

Jan 14, 2010

I am trying to stream audio from flash app directly to server. We strongly prefer not using Flash Media Server.

I have very little AS3 knowledge. I managed to connect to Mic, speak and hear my voice back. However, I am not sure how to stream this to PHP or rails server side.

View 2 Replies

Media Server :: Detecting If Microphone Connected To System Or Not

Mar 5, 2010

I want to write a code in Flash to detect whether user's microphone is connected to system or not. My application records from users microphone, now while recording is accidentally or intentionally user's microphone gets unplugged from system then I want to show a message to user. Is this possible to do in flash. I have tried many thing but didn't succeeded. Few thing what I tried are mic.getMicrophone method, this method only returns the sound card of the system, but didn't tell you anything about microphone is connected or not.

View 1 Replies

Professional :: Record Sound Using A Microphone And Then Upload It To Server?

Jun 29, 2010

What I want to know is if it is possible to record a sound clip using a microphone and then upload it to the server using a swf applet in a webpage. Im an experienced java/javascript programmer but just starting out with flash/action script. What technologies will I need to do this? Can I do this simply using simply an swf file and an apache/php or jsp page?

View 2 Replies

Media Server :: Mixing In Live Streaming Microphone And MP3

Nov 4, 2010

We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex?

View 1 Replies

Media Server :: Record Microphone Modify In Realtime Bytearray?

Sep 16, 2011

I would like to access to microphone bytearray in realtime to modify the sound to record.How can i do this?

View 4 Replies

Media Server :: Microphone Sound Recording,saving / Playing Flv File Is Saved But Not Working

May 4, 2009

While recording the flv is saved inside applications/stream/samples/audio.flv. But it is not working properly.[code]

View 1 Replies

ActionScript 2.0 :: POST CDATA To A Server?

Jan 13, 2009

I have an XML object that I want to send to my player via HTTP POST. This is all good when using XML.sendAndLoad.The problem is that when the XML object I generate contains CDATA, the CDATA is stripped out before the POST occurs.so if I have:

var xml:XML = new XML("<root><tag><![CDATA[hello]]></tag></root>")

when I do a sendAndLoad this is what gets POSTed:

<root><tag>hello</tag></root>

the same occurs when I try to create the XML using XMLDOM methods like createElement, createTextNode, and appendChild.the AS2 docs say that CDATA is not supported. Is there a workaround for this? I'm thinking that it could be fixed by extending and overriding the XML class, but I haven't found a way to do it yet. I can't use LoadVars here either because it will attach a variable name, and we don't want that.

View 0 Replies

ActionScript 2.0 :: Post An Array To Server [MX]

Feb 8, 2003

OK, you can use loadVariables and loadVars and a few other commands to post (or get) a variable to a server. What I'm trying to do is post an Array to a server and have the server output a text file of the array.

I have been toying with perl / cgi a bit: gaining some in site on Data Base programming. Would Perl be a decent program for the job of outputting a text file?

View 7 Replies

Media Server :: FMS - PHP And POST Method Forms

Aug 30, 2010

I've installed free FMS developper version on a vista OS, using the embeded Apache server. I added PHP 5.13 and everything seems to work except that : when I try to manage HTML forms, using the 'post' method, the result is a prompt windows, asking me for downloading the php file (corresponding to that pointed in the 'action' attribute. It acts as if Apache did not recognize the type php. My httpd.conf includes everyting to make php works fine. The clue is, when I change the form 'method' to 'GET', the php script works well! My FMS is configured to tunnel the HTTP request, listening to ports 80 and 1935 ant proxying HTTP to port 8134 (defaults) When I override this tunneling, by requesting the php file from my web browser directly to port 8134, it works fine too ! Now, I know that the problem comes from FMS and HTTP tunneling, but I have no idea how to solve it...

View 9 Replies

Actionscript :: POST Data To External Server?

Jun 14, 2011

I need flash to POST some data to an external server is this possible in AS2? Can't get an answer on google and want to know before I implement it.

View 1 Replies

ActionScript 3.0 :: Send Post Data To A Server?

Sep 23, 2009

Is this the best way to send post data to a server?

[URL]

if not what is a better way? I don't want to open any web page windows (New Tabs).

View 5 Replies

ActionScript 3.0 :: Post Binary Data To Server

Dec 19, 2009

I have a problem with my application. Here's what i have up till now[code]...

Everything works fine, you can scale the image etc.

I would like to download the new image after you scaled it. I have been trying it for a long time now but i cant get it to work.[code]...

View 4 Replies

ActionScript 2.0 :: Sending Variables To Server Using POST?

Nov 16, 2005

I am trying to convert this form into flash.

Code:
<form action="http://www.myserver.com/add.tag" method="post" name="tagform" target="tag">
<input name="name" value="myname" type="hidden">
Name<br>
<input name="tagname" maxlength="20"><br>

[code]....

View 1 Replies

ActionScript 3.0 :: Post An Array To Server And Receive It Back?

Jan 17, 2010

I have some basic experience with using URLRequest to POST variables to my server which works fine.How do I post an array to my server and receive it back?

View 3 Replies

ActionScript 3.0 :: URL Loader - Post XML File To Server Side

Sep 21, 2010

I have written an actionscript snippet to POST a XML file to the server side.

//code begin
var secondsUTC:Number = new Date().time;
var dataXML:XML = new XML();
dataXML=
<?xml version="1.0" encoding="utf-8" ?> ;
<login>
<time>{secondsUTC}</time>
[Code] .....

When testing, the progress went well. When the loading process have completed. The server side didn't get any files.

View 3 Replies

ActionScript 2.0 :: GetURL() And POST - Passing Variables To Server

Feb 15, 2005

I am having trouble passing variables to my server. The following code is on a button:

[Code].....

View 2 Replies

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

ActionScript 2.0 :: Take A The Text From And Input Text Box And When You Press A Submit Button Have It Post To A Php Page

Oct 15, 2009

I want is to take a the text from and input text box and when you press a submit button have it post to a php page. All was going well... but then I changed my code from value1 = "password" to value1 = password.text; and the php instead of coming back with the user's password, comes back undefined. WHY WHY WHy, does it except it when I say value1 = "password" and not with the value1 = password.text; (and 'password' is the instance name of the input text... (not using flash vars)

[Code]...

View 14 Replies

Media Server :: Connecting To Remote Servers (HTTP GET, POST)?

Mar 1, 2010

I'm running FMS 3.5 on RedHat, and have some server side actionscript that is attempting to perform an HTTP GET on a remote URL, e.g:
 
loadVars.send("http://someurl/");
 
This works on a Windows XP development server, but not on the RedHat deployment server. Are there any configuration options that I need to be aware of in order to allow my application to perform requests such as these (i.e. HTTP requests to remote servers)?

View 1 Replies

Media Server :: RSS Feed Widget To Post News And Updates

Mar 9, 2010

I am thinking of an AIR app that I can use as an RSS feed widget like stuff. In which I can post news and updates etc..using FMS.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved