Android :: APK File - No Sound When Streaming Audio In AIR

Jan 28, 2012

I'm working on an app to stream audio from shoutcast. The streaming goes well on my computer and when debugging it with an Android-configuration. But when I deploy it to an APK-file and run it on a Samsung Galaxy S, the streaming doesn't work.

My code for streaming the audio:
var urlRequest:URLRequest = new URLRequest("http://.../;");
var soundContext:SoundLoaderContext = new SoundLoaderContext(2000, true);
soundChannel = new SoundChannel();
sound = new Sound(urlRequest, soundContext);
soundChannel = sound.play();

I've also tried an addEventListener(Event.COMPLETE), it seems my app doesn't get there when running on a Samsung Galaxy.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Make External Streaming Audio Sound File?

Mar 8, 2007

Is there a way to make external streaming audio sound file "mp3" loop. my understanding is that streaming audio won't loop, only works for attached sounds...

var my_sound:Sound = new Sound();
my_sound.loadSound("jazz.mp3", true);
my_sound.start.(0, 99)

This actionscript works but it won't loop..

View 3 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

ActionScript 3.0 :: Sound.extract() On Streaming Audio?

Sep 8, 2010

I'm picking up Flash and AS3 after working with AS1 a few years back. My first project is a mp3 player that is able to take an mp3 file, a start loop point, and an end loop point to loop the mp3 without any gaps or breaks in the sound.

blog.andre-michelle.com/2010/playback-mp3-loop-gapless

I found this page that got me started, and went off of that code. The resulting player works perfectly except for one fatal flaw. As far as I know, the mp3 file must be fully loaded to be able to use the Sound.extract method on it, this can take a while when the files are 3-4 MB, especially on slow connections. I want to be able to have the audio start playing as soon as the mp3 file begins loading.Is there any way to use the Sound.extract method on a streaming audio file that has not fully loaded yet?

View 6 Replies

ActionScript 1/2 :: AS2 Independent Volume Control Of Sound Object And Streaming Audio

Mar 8, 2010

I've got a presentation that features an audio loop for background music and streaming audio on the timeline for the voice over.When I try to lower the volume of the background music (sound object), it also effects the voice over (streaming).I'm a total novice, so try to use laymen's terms.[code]And this is on the Frame that contains the movieclip with the voice over.I'm trying to fade the background music ONLY:[code]

View 10 Replies

Flash - Locally Cache Audio When Streaming With Sound.load() In Adobe AIR?

Sep 30, 2010

I'm building a mobile MP3 player with AIR, which streams audio using the Sound class's .load() function. I'd like to cache this audio as it's downloaded, to the the user's SD card. Is this possible without having to download the file twice??

View 2 Replies

ActionScript 1/2 :: Non Streaming Audio Recording On Local File

Jun 18, 2006

I'm a pretty new in a flash programming. All I need is to capture the microphone and to record a voice on the local file. I know how can I do that using a stream to the Flash Media Server, but the storing local file seems to me a hard job.

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

Android :: Recording Audio With Adobe Flex On Android And IOS

Dec 1, 2011

is it possible to record Audio on iOS and Android with Adobe Flex Mobile? I can't find anything about that feature on Adobe's website.

View 1 Replies

Actionscript 3 :: Use An Audio-file - Preload A Sound-file

Jan 21, 2011

I have AS3 project, made with FlashBuilder. I'm using MovieClips from an external .SWC-file. In a MovieClip from the .SWF-file, I want to use an audio-file. Is it possible to preload a sound-file (e.g. .MP3) in my FlashBuilder project, and access it in a MovieClip inside the .SWC?

View 1 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

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

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

Actionscript 3 :: Controlling An Embeded SWF Movie(audio/sound) File In Flex?

Jul 29, 2010

So I'm trying to get sound on my flex application. Then tried to load an swf movie with only audio in it.But when it loads on init(), it loops non-stop.Here's a sample code:

[Code]...

View 1 Replies

Actionscript 3 :: Audio - Combine Multiple Raw Sound Data And Save Them Into One File?

Jun 7, 2011

i built and application that load multiple sound files play it in a sequence as the user order them but i wonder is there a way to save this sequence into one mp3 or wav file

View 1 Replies

ActionScript 2.0 :: Get The Levels Of Volume Of Multiple Sound Frequencys From An Audio File?

Jan 9, 2005

How can I, in Flash, get the levels of volume (peak levels) of multiple sound frequencys from an audio file, so that flash would recognize them?

View 1 Replies

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

Media Server :: Get Sound Level Of Each Clients Who Are Streaming Video And Sound?

Oct 20, 2011

I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?

View 3 Replies

ActionScript 2.0 :: Streaming Sound Distorted - Sound Object?

Jun 14, 2004

I have a streaming sound that is loaded into my flash movie (will end up on CD) that is very distorted, it sounds like someone is slowing down the audio, the voice sounds deep and slow

View 1 Replies

Media Server :: Video Streaming For Android?

Mar 16, 2011

I am currently building a movie player which will play movie stored in the FMS with my PC as localhost(later on i will port it to my Android device).However,through the following code, I tried to just simply connect to the localhost to retrieve one of the video,but it keep popping out errors which I don't get it.

nc = new NetConnection();
nc.connect("rtmp://localhost/vod");
ns = new NetStream(nc);

[code].....

View 4 Replies

Flash :: Android Streaming Video Using MediaPlayer?

Sep 29, 2011

I'm trying to create an app that would list a selected Livestreams, from Own3d.TV, Justin.Tv etc...

If my research isn't totally failed, I can use the MediaPlayer object to Stream video, the only question is how do I use it?

So far my code looks like this, but it's giving me an Exception when trying to prepare the MediaPlayer.

public class Media extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {

[Code].....

Is it even possible to Stream the video from these sites using the MediaPlayer?

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

Professional :: Android Video Streaming To RTMP Server?

Oct 7, 2010

I am trying to publish a video to an RTMP Server but it doesn't publish. It might be a pre-release bug. I am able to play a NetStream but not able to publish one. Is there a sandbox issue? I'm not sure. Because, the FMS RTMP Server will not let a client connect unless it has been downloaded from the same host as the server (something like a sandbox condition)

View 2 Replies

Android :: Flash - Streaming For Devices Using Amazon AWS And Adobe FMS 4.5?

Apr 11, 2012

I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in and tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.What code/solutions are there to get this to play on Android devices?

<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>

[code].....

View 1 Replies

Android :: H.264 Real-time Streaming Timestamp In NAL Units?

May 10, 2011

I'm trying to build a system that live-streams video and audio captured by android phones. Video and auido are captured on the android side using MediaRecorder, and then pushed directly to a server written in python. Clients should access this live feed using their browser, so the I implemented the streaming part of the system using flash. Right now both video and audio content appear on the client side, but the problem is that they are out of sync. I'm sure this is caused by wrong timestamp values in flash (currently I increment ts by 60ms for a frame of video, but clearly this value should be variable).

The audio is encoded into amr on the android phone, so I know exactly each frame of amr is 20ms. However, this is not the case with video, which is encoded into H.264. To synchronized them together, I would have to know exactly how many millisecs each frame of H.264 lasts, so that I can timestamp them later when delivering content using flash. My question is is this kind of information available in NAL units of H.264?

View 1 Replies

Android :: Streaming Using Front Camera Using Adobe Flex?

Jul 19, 2011

I wanted to open front camera of the Motorola XOOM and try to live streaming using the front camera.

View 1 Replies

Media Server :: Streaming For Android Devices Using Amazon AWS And Adobe 4.5

Apr 11, 2012

I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in  <object><embed> and  <video> tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file. What code/solutions are there to get this to play on Android devices?[code]

View 4 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







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