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


Similar Posts:


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

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

Jul 26, 2010

I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
 
I'm running Windows XP service pack 3 & FMIS 3.5.
 
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
 
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
 
Here's my AS3 code...
 
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);

[Code].....

View 1 Replies

Media Server :: HLS VOD Audio-only MP3 Stream?

Apr 7, 2012

I'm trying to setup an audio-only, on-demand HLS stream in FMS 3.5. I have no problems streaming the sample f4v files via HLS, nor do I have any issues streaming the mp3 files via RTMP to a Flash client. However, when I try to stream a sample mp3 via HLS (the mp3 file is located in the same directory as the sample f4v's), I get a 404 error. I can't find anything in the documentation about streaming audio via HLS on-demand.

View 1 Replies

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 :: Publish An Audio-only Stream (HLS)?

Apr 5, 2012

"To serve streams over a cellular network, one of the streams must be audio-only. For more information, see HTTP Live Streaming Overview.To publish an audio-only stream, enter the following in the Flash Media Encoder Stream field:livestream%i?adbe-live-event=liveevent&adbe-audio-stream-name=livestream1_audio_only&adbe-audio-stream-src=livestream1If the encoder specifies individual query strings for each stream, use individual stream names instead of the variable %i:livestream1?adbe-live-event=liveevent&adbe-audio-stream-name=livestream1_audio_onlylivestream2?adbe-live-event=liveevent&adbe-audio-stream-name=livestream2_audio_onlyTo generate a set-level variant playlist when using an audio-only stream, specify the audio codec of the audio-nly stream. Specify the audio and the video codec of the streams that contain audio and video.For more information about using the Set-level F4M/M3U8 File Generator, see Publish and play live multi-bitrate streams over HTTP.

View 7 Replies

Media Server :: Strip Audio From Video And Stream

Nov 20, 2009

We have the Flash Media Interactive Serve 3.5. Is there an automated way to strip the audio from video files and stream on FMIS? .

View 2 Replies

Media Server :: How To Stream Live Audio And Metadata

Aug 13, 2010

i'm trying to build some kind of online radio. Therefore i'll be streaming audio (mp3) in real time. i have a play-list on my server and the idea is  for this play-list to play all day long, but on the client side  the user can only do play and stop the music.
 
The problem is  when one music stops and the next one starts i need the server to send  not only the new audio but also all the info about this file: duration,  author and music name, this way my player can show a play /stop and all  the info about the current music playing.Until now i've only come across with video live streaming, but very  little information on how to do a live transmission of audio.
  
ps: the only info on streaming audio that i've found so far is about  audio on demand, but the way i want things to happen the client can't  chose the music.

View 1 Replies

Media Server :: Choppy Audio Stream While Streaming Through FMS 3.5

Feb 1, 2012

While streaming the audio through FMS 3.5, audio starts breaking at the receiver's end after some time. can anyone please provide a suitable solution?

View 4 Replies

Media Server :: Improve Live Audio Stream Uptime?

Jul 19, 2010

I need to improve the uptime of a 24/7 live audio stream. Periodically, the connection between FMLE and FMS (3.0.1) is broken and FMLE cannot reconnect. FMLE shows NetStream.Publish.BadName error. How do I prevent this error and get FMLE to automatically reconnect every time? What other measures can be taken to improve the uptime of a live audio stream publishing from FMLE 3.1 (Windows) to FMS 3.0.1? Also, are there any improvements in FMS 3.5 that will help with uptime?
 
Message was edited by: brian.holderchow

View 7 Replies

Media Server :: Using FMLE Stream Delayed When Adding Audio

Apr 12, 2011

I am using FMLE and fms 4 ent. When using fmle to broadcast webcam without audio. It goes really fast. I am on 1gbps connection with nothing else coming to the server at moment. I tested download speeds to and from the server and they are around 700mbs. I have tried all the different audio sample and bit rate settings. All have the same result. Once audio is turned on there becaomes a 15 second delay. What am I doing wrong.

[Code]....

View 4 Replies

Media Server :: Stream Protected Audio To Html5/js Player ?

Oct 12, 2011

I have read that you can stream protected audio/video to iOS based devices with the new FMS 4.5.Is it also possible to stream protected A/V to a HTML5/JS based Player.

View 2 Replies

Java :: Flex : Get The Audio Stream On Server Side(tomcat)?

Nov 1, 2011

One of my web applications have developed in java and using tomcat server. Now I want add one more feature in my application that is peer to peer audio streaming. Actually I want that anyone speak (using microphone) on the client side and I will hear his voice on my server speakers and vice versa. Also save our communication in any file and also send the audio stream to IP intercom.

For that I am trying to use Flex Builder. Flex NetStream class is good for the streaming and we can also attached microphone. But the problem is on the server side. How can I get the audio stream on server side?

how can I get stream from server to client and vice versa?

View 1 Replies

Media Server :: Why Does Audio Stop After Minute When Watching A Live Stream

Apr 6, 2009

HI installed flash media server 3.0.4 on a Windows 2003 server.I am using the default LIVE application and broadcasting to it using FME version 3.0 Inside FME I choose MP3 as the audio codec, stereo and 128kbps When I watch the stream everything works fine but after a minute (sometimes 2 minutes) the sound disappears and I can only see the video run.If I refresh the page that contains the SWF that plays the stream then the sound works again but then again after a minute the sound stops and only the video continues to play. It is important to say that this only happens when I play a live stream from a server that is located outside of my local LAN. If I play a stream from my development FMS server in my local LAN this problem doesn't happen using the same SWF and same settings in FME.Moreover, if I use the nellymoser audio codec then everything works fine and this problem doesn't happen also. The thing is that I want to broadcast a live event and it is very important that the audio sounds good (stereo and 192kbps) and if I use the nellymoser codec the results aren't that good.

View 5 Replies

Media Server :: AudioSampleAccess / Capture Audio From RTMFP Subscribed Stream

Sep 17, 2010

I'd like to capture the audio data from an RTMFP stream to which the client is subscribed (so I get a bytearray of audio samples).The presence of the audioSampleAccess propery on the NetStream class certainly makes that sounds possibe: For RTMFP connections, specifies whether peer-to-peer subscribers on this NetStream are allowed to capture the audio stream. When FALSE, subscriber attempts to capture the audio stream show permission errors.[code]But in the case of audio, I dont know how to address the audio data to get it into a bytearray.My instinct said this wasnt possible, but the presence of the 'audioSampleAccess' property makes me think it might be..

View 5 Replies

Media Server :: Multiple Audio Streams Mixed With A Video Stream

Apr 20, 2011

I have read in FMIS 4 "new features" that "absolute timecode" allows to switch audio tracks while playing a video (managing synch). Is there any exemple showing how to use this funtionnality (server config, flash player action script exemple)?

View 5 Replies

Media Server :: Audio Several Seconds Out Of Sync With Live Video Stream

Jan 4, 2012

I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?

View 3 Replies

Media Server :: Stream Audio Only For A Live Radio Type Broadcast

Mar 5, 2012

I currently use FMS 4.5 to steam Live Technical Videos.
 
Hooked into Flash Media Live Encoder is a Roland VR-5 which lets me have multiple Camera switching.
 
I want to braodcast also a few live Audio only streams. I could easily use the VR-5 which in turn has a Behringer Audio Mixer attached to allow up to 16 Audio devices to be mixed in, and then just turn off the Video option in Flash Media Live Encoder but:
 
I don't want to have to put a video window on the Webpage. I just want an Audio controller.
 
So how can I use FlashMedia Server to just stream a live Audio feed?

View 1 Replies

Media Server :: Merge Multiple Live Audio Streams Into A Single Stream In FMS?

Nov 17, 2009

I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.For this i tried the following approach:Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.

Below is the code :
application.onAppStart = function()
{

[code].....

View 1 Replies

Media Server :: Stream Priorities - Live Audio And Video / Remote Objects

Jul 14, 2010

I currently have two connections with two separate streams. They both hit the same fms 3.5 server. One connection transfers live audio and video. The other one is used for remote objects. Sometimes when viewing the audio and video stream with a slower internet connection, the stream for the shared objects disconnects. I think it is a bandwidth issue. Is there any way to set the priority of the streams? I think this should allow me to set a higher priority for the shared object connection so it won't disconnect.

View 3 Replies

Media Server :: General Hardware Guidelines For Customers To Hear Permission-based Audio Stream

Oct 19, 2009

We're running a permission-based audio stream to be amplified through in-store sound systems, but are unsure about basic hardware requirements. What basic features must all hardware have to log into our server via username/password and receive audio signal?

View 4 Replies

Flex :: Red5: Send The Microphone Stream?

Dec 22, 2011

i am using red5 and flex. Actually my objective is to send microphone stream from the server to the client and play it on the client side. Similarly send microphone stream from client to server and play it on the server side. No need to store the live stream.

View 1 Replies

Media Server :: Send Sound With Stream (both Sound And Mic Audio)?

Oct 6, 2011

I have a broadcasting project that I've got where the host of the show can have multiple sound effects they can use on their show.I'm wondering if the only way to go about this is for all the clients listening to the show need to download the mp3 of that sound effect or if the sound effect could come from the host ...like combining his mic (for his voice) but also straight audio (the sound effect) into the stream.

View 1 Replies

ActionScript 3.0 :: Getting Audio Stream Meta Data From An Akamai FMS Stream

Jul 21, 2009

I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.

[Code]...

View 6 Replies

ActionScript 3.0 :: How To Capture Audio Via Microphone

Sep 25, 2008

I 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 Replies

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

Mar 11, 2010

Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..

View 1 Replies

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

Sep 6, 2011

Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:

1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.

2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.

View 1 Replies

Flex :: Audio - Draw Waveform For Microphone?

Oct 8, 2010

I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, how can i get the data?

View 1 Replies

Handle Cue Points In An Audio File (from Microphone)?

Mar 30, 2011

I'd like to record audio from a microphone and I'd like the user to be able to add cue points during the recording so when he loads the file afterwards, he can jump easily to a specific position.

I don't really know what file format I should use and how to store the metadata (cue points)

I thought about

encoding a wav/mp3 and stores metadata in a .cue file (easy to do but 2 files to store)storing XMP data in a mp3 file (seems a bit harder but standard metadata embedded in 1 file)flv/f4v with audio only and standard cue points but I'm not sure I can create them directly from the client

View 3 Replies

ActionScript 2.0 :: Recording Audio Output Without The Microphone?

Dec 2, 2006

I am having a problem trying to record internal sounds made from the flash file.I can record sound from the microphone no problem,What i want is to be able to record the sounds from the flash file without isung the microphone etc.

View 2 Replies







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