ActionScript 3.0 :: Find The Microphone Connection?
Jan 11, 2012I want to find out whether the microphone is connected to the computer or not. If not ..should display a warning message.. How to do that
View 2 RepliesI want to find out whether the microphone is connected to the computer or not. If not ..should display a warning message.. How to do that
View 2 RepliesI want to check whether the microphone is connected to the system or not. If not, it should display a warning message and not allowed to record anything. All this should be done through actionscript3.0.
View 3 RepliesI keep getting this error in my output panel when I switch from one flv to another. I am loading up multiple flvs from an xml file.
VideoError: 1000: Unable to make connection to server or to find FLV on server
at fl.video::VideoPlayer/pause()
at fl.video::FLVPlayback/pause()
[Code].....
My flv componenets name is obviously myFLVPlybk and the list is myList ...
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].....
I'm attempting to make it so that when a person fails to fill in blank textboxes in another app that someone else made and I have nothing to do with but affects the XML node Path, my flash file will look instead at DefaultPath if it can't load whatever is in Path..
Here is the sample XML
Code:
<abatch>
<Title>Title!</Title>
<Path>/content/main/broken/path</Path>
[code]....
Is the code I've been trying to use but it won't do what I want. I keep getting this error:
VideoError: 1000: Unable to make connection to server or to find FLV on server
The XML is being properly loaded. Everything else is working. I just need to know that when something is blank it will look at the DefaultPath. I don't seem to be able to get it to do that.
I've spent a lot of time in the past couple of weeks learning Flash. I developed a Flash (swf) file that plays a Flash video (flv) with cue points. It all works very nicely locally, but when I put it on the server and try to access the html file, the Flash control is white (nothing visible) and a popup error message comes up with this error.I've looked all over the web (including non-English sites), tried playing with all the Publish settings I could think of (version check, local/network access, omit trace, enable debugging) and tried adding error handling code to the swf file itself. I've also tried changing the path for the flv file to be relative, absolute and somewhere in between, but nothing works.Does anybody know what can cause this error?
VideoError: 1000: Unable to make connection to server or to find FLV on server
at fl.video::VideoPlayer/play()
at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback
[code]....
how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.
View 1 Repliesi have coded my first xml gallery, it loads jpgs and swf files.the swf files have each a video component on stage that controls the related FLV file.Testing the gallery locally I had no problem at all, but when uploaded to the server the jpgs works fine while the swf files (containing the videos) keep trhowing this error:
VideoError: 1000: Unable to make connection to server or to find FLV on server
at fl.video::VideoPlayer/stop()
at fl.video::FLVPlayback/stop()[code]....
Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.
Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";
[code]....
Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.
we have a two way webcam + mic connection set up using FMIS. we use to add a function that kills the connection?
View 2 RepliesI have a site that plays either .mp3 or .flv files depending on what is selected from the menu. Menu loads in from xml. I get "unable to make connection with server or unable to find flv on server" when I try to play the video. But the video and audio files are all in the same directory and the mp3 files play fine. I think I'm having a problem with the setMedia command. Here's the code that loads the video and audio files.
[Code]...
I got a IP Communications new account having following paramters:
[Code]...
Its showing me connecting ... Status is not getting update like: "Connection Failed" or "Connection Success". how to use the above information in this app,
I must rejected all users outside Denmark from our live streaming (c-ip) and this is done in an access plug-insBut now I need to open up one of the streams, but I can't get the streaming name in the access-plug-ins only in the Auth-plug-ins.I cant use x-page-url or s-uri I need pStreamName. in access-plug-in like thissetStringField(m_pAev, IFmsAuthEvent::F_STREAM_NAME, pStreamName);but I cant get it inside the access-plug-in
View 1 RepliesIt appears that if one has a mic available, then one can add an event listener for the StatusEvent. However, this only tells you if the mic has been allowed or disallowed.
What I'd really like to do is detect if the static Microphone.names property changes. I would have expected this property to be bindable.
If I right click and select "settings" immediately after plugging in a mic, I can see that flash has updated their list of available microphones. However, there seems to be no way in code for me to receive the same update.
The docs say "Calling Microphone.names requires an extensive examination of the hardware, and it may take several seconds to build the array." So I think polling this every few seconds is not a feasible option.
Works, but if i set LoopBack to false it doesnt work!!!i dont want to listen to me, i only want to know when the mic hear something.
import flash,events.ActivityEvent;
import flash,events.StatusEvent;
import flash.media.Microphone;
[code]......
I was wondering if there is any way to get the sound bytes froma microphone and apply it to lee brimelow's tutorial on sond spectrum?[url]...
View 4 Replieshow can i mute microphone using AS3?
View 2 Repliescan i mute MICROPHONE sound using AS3?
View 1 RepliesWe are working on a project to record a sound a we need to play back in flash 8 (as 2.0). we have 3 buttons like play /pause, record, stop, When we clik on record button we can record the sound through microphone and when we clik on paly /pause button the recorded sound should be played. so can we record and can we play back in flash 8.
View 2 Repliesi am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.
View 12 Repliesit's possible to check at runtime the default microphone used by application without use the manager panel? I have tried to make a timer but doesn't work without open the manager panel.
View 3 RepliesI have an application with microphone record and i mix another sound from song. For this step is ok i can save to my desktop and the mix is good.But i would like to play my mix from bytearray.The sound is very slow....... and not same that my file save,My code:
var epos:Number=0
//ByteArray in which the microphone sound data is stored
var soundBytes:ByteArray = new ByteArray();[code].......
It is possible to convert microphone data into AMR based data?
View 1 RepliesHow do you call the microphone built into a computer to turn on when a user visits a site? I've heard that there a number of different ways to do so, but I'd like some advice on the best way.
To provide a meta-level view, I'm planning on having the mic pick up noise and display it as a graphic equalizer (of sorts) but not record it.
Is there a possible way to access the computer microphone from a web document (open in a browser) without have to go through Adobe Flash ?
View 1 RepliesI am looking for advice how to set web pages where user can interact with it using microphone. The aim would be that user can say word and the word would be recorder and the file compared on server with another sound (word) and then the result (the searched word) would be displayed. It would be a spoken dictionary.
View 2 RepliesI saw a lot of issues about using Microphone in Flash on Android on the Internet. But my own flash applet does not work, saying "mic not detected". Also there is a note in AS3 reference, that Microphone class is not supported on any mobile device.
View 1 RepliesI am a newbie to this Flash Segment. Though for my recent project i am diving into it. I want to make "A Flash app which will Capture user voice from microphone. It can be appended if paused. After recording done i want to upload the file to the server. so that i can play it back when required." I tried this with java applet but the UI is too bad so i am thinking in respect to flash. What i found till now is for this i have to go for Flash Media Server which is not possible in my project. I want a simple player. You guys rocks that i can easily understand after some wondering in this forum but did not get my solution so thought of posting it.
View 1 RepliesI have a simple question: how do you stop a microphone that is already active?
View 1 Repliesi dont know that how mix a mp3 files with microphone in as3 and where should I start.
View 1 Replies