Flex :: Swf Streaming Audio Player

Oct 23, 2010

i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file. Also this file would be embedded in a html file later on..

View 1 Replies


Similar Posts:


IDE :: Progress Bar For An Audio Player Streaming Audio From Wowza Server?

Feb 24, 2011

I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio

View 1 Replies

ActionScript 2.0 :: MP3 Streaming Player - Audio Buffering Visual?

Nov 28, 2009

I have written a little MP3 streaming player. Nothing big. But on some file, it takes longer to fill enough of the buffer before starting to play. My construct is fairly simple...

var player:Sound = new Sound();
player.onLoad = function(success:Boolean):Void {
if (success) {
// do something;
}}
player.loadSound(musicURL,true);

Since I have specified streaming, this will auto play as soon as the buffer is full. What I'd like to do is play a little animation or something while the buffer is filling so the user won't think the player has hung.

View 9 Replies

Actionscript 3.0 :: 3d Carousel + Streaming Audio Player = Headache?

May 25, 2010

I started with a XML driven 3d Carousel and a XML driven streaming MP3 player, mixed them both up, and made a mess.I can't seem to be able to modify the mp3 player to be able to select separate 'banks' of songs.I tried one method of loading mulitple XML files, each one being a single song 'bank'. But that didn't work as the previously loaded 'bank' would stay in the memory. (When I clicked the second tape, both the first track of bank1 and the first track of bank2 would play simultaneously.)

Now what I think I need to do, is load in one XML file that contains all the 'banks' wrapped in an <Album> tag like so:

Code: Select all<Album index="tape1" title="LA Tool and Die" artist="LA Tool and Die" imageURL="images/tape1.jpg">
<Tracks>
<Track

[code]....

then when a tape is selected, point the audio player to the selected <album> node.But working that into the working streaming audio player is a bit over my head, as is building a audio streamer from scratch.Included is the file that compiles to the sample with the exception of having the 'multiple XML files' bit taken out.

View 1 Replies

Actionscript 3 :: Open Audio File Format Supported For Streaming In Flash Player

Aug 2, 2010

I am trying to stream audio to my flash application. I got it working with a test MP3 file. But the problem is that MP3 encoders are protected by patents and require license fees.(I am living in Canada) Isn't there a open audio file format supported by flash?

View 1 Replies

Flex :: Android - Mobile Audio Streaming From A Remote Site

Oct 24, 2011

I'm new in the mobile app development and I'm trying to do a simple online radio app using flash builder 4.5, but every time I try to play audio from a remote site (stream) it just not work. I've done different test, and when I use a local audio files everything works flawlessly.

[Code]...

View 2 Replies

Media Server :: Fms 3.5.2 - Video / Audio Streaming Application - Audio Stops Or Lags Behind

Aug 25, 2009

I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)

Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.

I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.

View 8 Replies

Javascript :: Streaming Radio Station Audio In Flex/flash Builder 4.6 Multi-platform Mobile App

Mar 2, 2012

<?xml version="1.0" encoding="utf-8"?>
import flash.display.Sprite;
import flash.events.Event;

[Code].....

View 1 Replies

Audio Keeps Getting Stuck When Streaming Two Audio Feeds At Once

Sep 13, 2011

I am streaming to live videos with audio to our webpage, each with it's own accompanying audio.   On my laptop, I could stream them without any trouble but it would overheat so I had two new computers built just for encoding.   Now, on the new computers, the 2 videos stream fine but only on audio file works at a time. The other just gets hung up on one note of sound and repeats very annoyingly over and over.

View 2 Replies

Streaming Audio / Loading Audio Into Swf First / Then Playing It?

Jan 28, 2012

I think it is loading the whole audio first into the swf, but I would like to get confirmation from someone more knowledgible.[code]I want it to stream the audio when the button is clicked only so that 100 of these swf will not slow down a whole webpage from loading.[code]I only start getting concerned when I noticed that on FF and Chrome, the page loads really quick but when I open the page in IE, it takes a very long time for the page to appear.

View 3 Replies

Flex :: Play Speex Encoded Audio In Flash Player?

Mar 22, 2011

I am able to record sound from microphone, encode it using SPEEX and write into ByteArray. I want to play it back. If I try using Sound object the audio is messed up. Speex uses 16kHz for encoding and Sound Object needs 44.1kHz for playing audio. How am I supposed to play this encoded sound.

View 1 Replies

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?

A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

Html :: Flash Audio Player For M4a (AAC) Audio File Embedded?

May 15, 2007

I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).

View 7 Replies

ActionScript 3.0 :: Streaming Audio In CS3?

Sep 30, 2008

I've been working on an audio streaming application for the last couple days. My current progress can be viewed at figmentmedia.ca /test.html.I've got a problem with this release. Look at the tan coloured line, near the base of the window, to the right of the control
buttons (of which only play and pause work). That line is supposed to be a loading bar. As you will probably notice it does not work. The code I've attached is located in the first frame of my movie. The second last line there, "mc_loaded.width =297/(soundClip.bytes Loaded/ soundClip.bytesTotal);", is the one giving me the trouble. After troubleshooting many different options.. none of which worked, I believe.. what is loading may be the variable. Regardless of what progress the bar is showing, it's not showing the progress of the sound clip.

View 10 Replies

ActionScript 3.0 :: SoundSpectrum With Streaming Audio

Apr 15, 2010

I'm stucked in middle of my application, where I need to implement sound spectrum on streaming audio. Does any one knows how can we add sound spectrum on streaming audio.

View 4 Replies

Javascript :: Streaming Audio On Website?

Oct 28, 2010

I am interested in streaming audio on my website, but I have no clue where to begin. There are two types of streaming I hope to achieve. The first would be streaming a playlist of songs stored on the server and the second would be live audio streaming. Can anybody recomend any good sites or plugins to use?

View 2 Replies

Record Streaming Audio To Server?

Feb 10, 2011

I'm trying to create an application in flash that will record the sound from the user and will save the data on the server.

View 1 Replies

ActionScript 2.0 :: How To Implement Audio Streaming

Feb 3, 2009

I would like to know how to implement audio streaming.

View 3 Replies

ActionScript 3.0 :: Streaming Flv Audio Sync?

Apr 9, 2011

I am streaming live content via flv but the video is lagging audio by some time. I am using netstream and video but cannot find a way to set the FPS for the video, I think i could fix it if I knew how to adjust the FPS

View 1 Replies

ActionScript 2.0 :: Streaming Audio With Progress Bar?

Feb 22, 2003

I wanna be able to load a .mp3 file outsideside of the library (to conserve file size) which i figured out but i am having trouble with makin a progress bar for the progress of the loading mp3....

View 1 Replies

ActionScript 2.0 :: Streaming Video And Audio?

Aug 18, 2006

I am trying to use some streaming video and audio inside my flash movie, but can't quite figure it out..I have the video saved as an FLV file, and this file was uploaded into my streaming folder on my server. I tried to use a sample player I found, and everything should add up, but nothing is coming through. How exactly am I supposed to do this, and does anyone have a sample video controller/viewer I could borrow to test this out?

View 2 Replies

ActionScript 2.0 :: Streaming Audio Format?

May 27, 2003

I am researching the inclusion of Flash in a PHP/MySQL application I am building to stream audio.I have done a lot of searching, but have yet to find which audio formats that Flash can stream.I know that MP3's can be streamed.

View 1 Replies

ActionScript 2.0 :: Progress Bar For Streaming Audio?

May 8, 2008

The problem is that the progress bar is not working correctly while the music is streaming (not completely downloaded to cache).I can understand why it is so.... (sound.duration is changing untill download is complete)I have a simple progress bar... no masking etc:- .. just using the good old "_xscale"

View 3 Replies

Load The Music For A Particular Section Using Streaming Audio?

May 13, 2009

Im making a website in flash 8 pro and would like to know how i can load the music for a particular section using streaming audio. I mean i dont want the soundtracks to occupy to much space so i want to make the website load in and then if someone clicked and navigated into contacts then i want the contacts soudntrack to load only then or preferably stream from a folder.

View 4 Replies

Video Streaming Issue With Rolling Audio?

May 22, 2009

I have several flash based lessons that I have created that are being distributed online to several companies. Each lesson has a video that is played within the lesson through the flvplayback control. The videos were supplied by a third party and some of the videos are encoded at 384K and some are at 568K.
 
One company that is attempting to view the lessons is seeing the following behavior. The video plays for approximately 20 seconds then suddenly the video drops out and the audio continues to play. With the audio still playing the video scrubber rolls back and attempts to start the video again but all that comes through is the audio track again. Now there are 2 instances of the audio playing with no video. This happens a third time and finally keeps going until all the audio is played out.
 
The IT staff at the company has showed me a fiddler log that shows the flash player making a connection out to Akamai to retrieve the video and then rolling from port 80 to port 1935 and finally to port 443. This would explain the three audio tracks playing
 
I have read that the flash player will attempt to gather the stream from the stated rtmp location and then if it encounters an issue with a proxy or firewall it will attempt the other ports.So I am not sure if there is anything I can do by design or programatically to alleviate this issue. It appears to me that the company attempting to view this video has some kind of bandwidth throttling program in place that is kicking off this behavior in the flash player.
 
Is it possible to prevent the flash player from making the three attempts? Would a sudden cut of bandwidth prompt the player to attempt to roll to another port if a network load balancing program suddenly kicked in? If it is bandwidth is that why the audio stream continues to play because there is enough bandwidth for the audio track to get through, but not the video?
 
I have attached a screen shot of the sniffer output so you can see the rolling ports thing.

Attachments:
networkSniffer.gif
(33.7 K)

View 6 Replies

ActionScript 1/2 :: FLVPlayback Audio But No Video When Streaming?

Aug 7, 2009

I have a flash program that loads an external flv dynamically. I first create an empty movie clip then I attach an instance of the FLVPlayback component using Moviclip.attachMovie();. Then i control the FLVPlayback component with AS2. I have a play and pause button, a scrubber, and a loading progress bar.  None of these are components. When I publish and preview the file in Flash CS4, Adobe Flash Player 10, and all my internet browsers everything works fine, all the buttons, the multiple functions of the scrubber, and even the loading progress bar.

However when I uploaded all the files from my computer to my company's server and tested it from there, I recieved audio but no video. All of the various controls still worked for the audio but I couldn't see anything on the stage. If I waited for the loading progress bar to complete and then reloaded the external flv then I got video, but the purpose of this program is to stream the video and I cannot have the users waiting for a preloader.

If you want to look at my FLVPlayback code here it is:

_root.createEmptyMovieClip("lesson_mc",-16381);
lesson_mc.attachMovie("FLVPlayback","lesson_video",0);
lesson_mc.lesson_video.contentPath = page.attributes.url;
lesson_mc.lesson_video.autoSize = true;

[code]....

View 4 Replies

Media Server :: Audio Not Streaming Correctly?

Jan 28, 2010

Our company has a Flex application (3.0.2) that is having a problem with audio dropping out in Windows 7.  The problem appears worse with a wireless connection, but it can't be consistently reproduced there, either.  The only thing known for sure is that the problem has not been seen on any other version of Windows.
 
The application thinks the audio is playing, because it is calling the appropriate event listeners triggered when the audio completes and when any audio cue points are hit.  The majority of our audio is streaming via Flash Media Server (3,0,2,201), but the problem was also seen using embedded sound effects.  In one instance, several clicks of a button triggered an error saying the sound effect could not be loaded, and then about a minute later, all the sound effects played at once and the user could then continue with the application.

View 7 Replies

ActionScript 3.0 :: Play Streaming Audio From Shoutcast?

Nov 14, 2010

I am trying to create a simple desktop app to play a live radio stream from a shoutcast server.  I cannot get it to play.  I am now wondering if it is even possible using the Flex/Air platform.  Here is my code:
 
package
{
import flash.display.Sprite; 
import flash.display.StageAlign; 

[Code]....

View 5 Replies







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