Playing mp3 stream works well in Emulator but doesn't play on Device

I'm facing this problem. I'm using flex && actionscript to play an mp3 stream on the phone.
Code works great and the sound is played when the app is run in the flash builder emulator.
However, when i deploy my app on a mobile device (tried several Android phones) everything is good except the stream doesn't play!
Can you please help me??
Here's my code:
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
                    creationComplete="view1_creationCompleteHandler(event)"
                    >
          <fx:Script>
                    <![CDATA[
                              import mx.events.FlexEvent;
                              import flash.net.*;
                              import flash.media.*;
                              private  var req:URLRequest;
                              private  var context:SoundLoaderContext = new SoundLoaderContext(8000, true);
                              private   var s:Sound;
                              private  var channel:SoundChannel = new SoundChannel();
                              private  function AudioOn():void
                                        req = new URLRequest("http://stream2.srr.ro:8000/;stream.mp3");
                                        s = new Sound(req,context);
                                        channel=s.play();
                              protected function view1_creationCompleteHandler(event:FlexEvent):void
                                        AudioOn();
                    ]]>
          </fx:Script>
          <fx:Declarations>
                    <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
</s:View>

Okay.. First a big thanks!!
I've resolved the path issues and am now experimenting with formats other than SCORM that will hopefully launch off our LMS (SyberWorks).
I think I know what a cross domain issue is... it seems pretty self evident, (ie) .htm/.swf files live on a different server domain than video or audio files.
I think all my files are on the same domain in the zip file. However, are the following paths also an example of a cross domain issue?:
Z:\orgs\ogslp\courses\2012videotest\videotestinternalsrvr\videotestinternalsrvr.htm
(this is where I upload, or publish Captivate files)
http://gslcampus/ogslp/courses/2012videotest/videotestinternalsrvr/videotestinternalsrvr.h tm
(this is where clients access the training modules via IE & the Syberworks LMS, intranet)
One more..... when publishing with the Captivate > Internal Server option what path do I input to access the server?
Z:\orgs\ogslp\courses\2012videotest\videotestinternalsrvr\videotestinternalsrvr.htm
(backdoor for uploading files)
or
http://gslcampus/ogslp/courses/2012videotest/videotestinternalsrvr/videotestinternalsrvr.h tm
(actual internal, intranet url for accessing courses)
PS when I upload files the following appears before the Z:
Computer > SyberWorks (\\sousa)(Z:)
Any advice would be appreciated - thanks for your time.
wjf

Similar Messages

  • My iPad will no longer play any streaming video.  It loads but will not play. Does anyone else have this problem?

    My iPad will no longer play any streaming video.  The video loads but will not play.  This happens on all apps including you tube, abc, Netflix, etc.  can you help?

    Tried a soft reboot and it worked.  Thanks for the suggestion.

  • Application works fine in Preview but doesn't play on iPhone?

    I finally decided to purchase a Developer license to start testing performance of my game on my actual iPhone. My game works perfectly on my computer, however I published to my iPhone and when it loads, it shows the graphics of the game but it is as if the game never starts. It is just frozen on the first frame of the game.
    I've tried doing a remote debugging session but it won't connect for some reason. I'm on the same wifi network, I've published from Flash using the Quick for Debugging option. When I load the game, it freezes on the first frame and doesn't ask for the IP of my computer (which is supposed to happen on debugging right?)
    What should I try from here?

    I got debugging working: I'm getting an error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
    It corresponds with the first line of these three lines:
    loop = new Sound();
    loop.load(new URLRequest("hitit120.mp3"));
    loop.addEventListener(Event.COMPLETE, startMusic);
    I've included the mp3 file in the iphone included files publishing setting... Although what is weird is the stream error happens on the first line, before I even try to load the mp3..

  • Moc won't play mp3 streams?

    I use MOC (mocp) as my audio player and have for years. I just switched over to Arch and can't get it to play MP3 streams. I have the following installed:
    moc-svn (from the AUR; debug enabled)
    version info:
    moc 2.5.0-alpha4 Build: Mar 13 2011 10:55:01
    Compiled with: OSS ALSA JACK DEBUG internet streams resample
    ffmpeg-git
    lame (normal repo)
    curl (normal repo)
    I can play the same stream using ffplay directly, but it was my thought that moc uses lame to decode MP3 and a combo of curl and lame for MP3 streams? Playing a local MP3 file works fine. However, when I load my playlist and select a stream it just sits at "connecting..." for ever. Debug mode shows no errors on the console. I'm running the same version of moc on my Ubuntu laptop and FreeBSD server, so I know it can play streams.
    Thoughts?

    #I´m using  moc-1:2.5beta1-5 from actual repository with kernel 3.10.12-1-MANJARO and i #can´t play streams like pls or m3u,
    #but it´s cause moc can not unpack m3u or pls, .. to it´s playlist. So i can do:
    [diamond@diamond ~]$ wget http://somafm.com/secretagent.pls
    --2013-09-24 12:06:47--  http://somafm.com/secretagent.pls
    Překládám somafm.com (somafm.com)… 74.217.192.202
    Navazuje se spojení s somafm.com (somafm.com)|74.217.192.202|:80… spojeno.
    HTTP požadavek odeslán, program čeká na odpověď… 200 OK
    Délka: 572 [audio/x-scpls]
    Ukládám do: „secretagent.pls“
    100%[========================================================================================================================================================================================================================================>] 572         --.-K/s   za 0s     
    2013-09-24 12:06:48 (14,0 MB/s) – „secretagent.pls“ uloženo [572/572]
    #then
    [diamond@diamond ~]$ cat secretagent.pls
    [playlist]
    numberofentries=3
    File1=http://mp3.somafm.com:443
    Title1=SomaFM: Secret Agent (#1 128k mp3): The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too!
    Length1=-1
    File2=http://mp2.somafm.com:9016
    Title2=SomaFM: Secret Agent (#2 128k mp3): The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too!
    Length2=-1
    File3=http://ice.somafm.com/secretagent
    Title3=SomaFM: Secret Agent (Firewall-friendly 128k mp3) The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too!
    Length3=-1
    Version=2
    [diamond@diamond ~]$
    #And then i can add stream in to the local playlist for example from line starts File1=.. on the #start of wget processing
    #It´s in my case: http://mp3.somafm.com:443
    #Or do:
    [diamond@diamond ~]$ mocp http://mp3.somafm.com:443
    #And moc sudenly play nicely :)
    Last edited by Synnema (2013-09-24 11:14:11)

  • Why does BackgroundMediaPlayer NOT play mp3 streams?

    I tried to make a universal app, I have a successful Win8 app, now I have tried to make a WinPhone version and find that this class can't play mp3 streams, for example
    http://europaplus.hostingradio.ru:8014/europaplus256.mp3

    Hello,
    There is no standard mp3 streaming protocol. Some sites use pseudo streaming by throttling a standard progressive download of mp3 data. While pseudo streaming may work on some Microsoft platforms is not officially supported by the Media Engine out of
    the box. A major problem with pseudo streams is their interaction with the internet cache. It is possible to overload the cache with extended listening sessions and eventually use up all the storage on the device. This is the big reason
    pseudo streaming is not supported.
    I would recommend that you check with the stream provider and ask them what streaming protocol they are using. If they are simply using HTTP with no underlying streaming protocol such as HLS or DASH then they are using pseudo streaming and you may have
    problems with playback on the current and future Microsoft platforms.  
    If you know that the stream provider's content is consistent (or you are the content provider) one possible solution is to write a custom
    MediaStremSource that will handle the network interactions, local cacheing and packet parsing. You can then pass the parsed samples down stream to the Media Engine for decoding and playback.
    The best solution however is to convince the content provider to switch to a real streaming protocol or offer a separate URL that supports a true streaming protocol. To future proof any new streaming implementation I always recommend MPEG DASH.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Is it possible http connection work well in simulator but not in mobile?

    i am developing database three tier client/server application.
    i want to connect mobile application to databse server via servlet page using tomcat server.
    my code is working well in java wireless toolkit and it can download and upload data using my servlet page in which i had used JDBC connectivity but when i am installing same JAR file into Nokia 6030 it will gives me error like java.io.IOException: error in http operation. i had used this code to establish connectivityhcon = (HttpConnection)Connector.open(url, 3);
    hcon.setRequestMethod(HttpConnection.POST);
    hcon.setRequestProperty( "User-Agent","Profile/MIDP-2.0, Configuration/CLDC-1.0");
    hcon.setRequestProperty("Content-Language","en-US");
    hcon.setRequestProperty( "Content-Type", "application/x-www-form-urlencoded" );
    dos = (DataOutputStream)hcon.openDataOutputStream();               
    byte abyte0[] = data.getBytes();      
    dos.write(abyte0);
    dos.flush();
    dis = (DataInputStream)hcon.openDataInputStream();
    while((ch = dis.read()) != -1)
               response = response+(char)ch;
    if(hcon.getResponseCode()==200 && !response.equals("ERROR"))     
         setData(response);
    else
         errorAlert("Server Error","Server can not handle your request at this time, Error msg : " + response);in this code i am sending data to server at url where i have used servlet post method this method work well in simulator but when i m instaling this program into deveice request generated from mobile didn't came to servlet.
    whe i am browsing same page's get method through WAP in mobile it is working but thruogh application not connecting.
    is there any more setting require to browse url via application like in Accesspoint proxy server of provider or i need to change code?.
    If anybody having the solution then please send me.
    thanx .
    jasmit vala.
    [email protected]

    Hi,
    I am also facing the same problem?
    Have u got any solution?
    pls let me know
    its urgent
    thanx in adv.
    Regards,
    Raj

  • Wha wha pedal work well with GarageBand but don't want to work with logic pro 9.1.8 on my MBPro end 2011

    Install on MacBook Pro end of 2011 with logic Pro 9.1.8 and Apogee GIO interface guitar
    The wha wha pedal work well with GarageBand but not working with Logic Pro
    Only the red light turning on and off at the screnn of the MBPro and on my Apogee GIO (Guitar Interface Midi) switch button but the effect wha wha won't work.
    HOPE YOU UNDERSTAND MY ENGLISH

    Pancenter...
    Yes... but I have come across some setups that came with a native SL (and even one Lion!) installation.. that somehow had a corrupted or older Prokit installed for some unknown reason... and given it's a quick fix to try.. I thought I'd mention it..
    I frankly don't think it is entirely a Prokit issue itself, but it wouldn't do any harm to try and install v7 just in case it is part of the problem...
    +1 on the UAD stuff....
    Also, at the time it crashed... according to the logs...the OP was running Ableton Live at the same time, presumably rewired with Logic... so add all that together with UAD plugins... and that's quite a load on the system...
    Finally in thread 32 there is a weird exception msg relating to the Trash2 plugin.. that I haven't seen before...
    Thread 32:
    0   libSystem.B.dylib      
    0x94c29afa mach_msg_trap + 10
    1   libSystem.B.dylib      
    0x94c2a267 mach_msg + 68
    2   ...tope.audioplugins.AU.Trash2
    0x667bd57a catch_exception_raise + 250
    3   libSystem.B.dylib      
    0x94c57259 _pthread_start + 345
    4   libSystem.B.dylib      
    0x94c570de thread_start + 34
    That might be nothing... but as i said, I haven't seen that one before and given what else is going on.. it might be involved too... or nothing to do with that at all!

  • Applet work well in appletviewer but do not work within browser

    hi, i created an applet that works well in appletviewer,but it does not work within a firefox browser, it issue a message: java.security.AccessControlException: access denied (java.io.FilePermission imgDir/vsam.jpg read). What can i do to solve this issue please ?

    sign the applet, use doprivileged and trust the applet when you open it.
    Use htmlconverter in jdk/bin folder to convert you applet so it uses
    object tag instead of applet so IE won't try to run it with msjvm.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and reply 18 for the java class file using doprivileged
    Still problems?
    A Full trace might help us out:
    http://forum.java.sun.com/thread.jspa?threadID=656028

  • Firefox 3.6.15 not play youtube videos show blank video frame but other browsers play perfectly please help me for this matter i have already updated adobe flash player.

    Firefox 3.6.15 not play youtube videos show blank video frame but other browsers play perfectly please help me for this matter i have already updated adobe flash player.

    Answers in this forum have shown different things have worked for different people.
    For some clearing YouTube cookies and the cache solved the problem. For details of how to do that see https://support.mozilla.com/kb/Deleting+cookies and https://support.mozilla.com/kb/How+to+clear+the+cache
    Others had to go a step further after deleting YouTube cookies and block YouTube from saving cookies. In the Tools menu select Options to open the Options window. Go to the Privacy panel and make sure it is set to "Use custom setting for history". Click the Exceptions button, type in http://www.youtube.com and click on Block
    Another option is to disable hardware acceleration for Flash. To do that right-click on a Flash video, select Settings, go to the first tab of the settings for the option to enable/disable hardware acceleration for Flash. This is something recommended by YouTube for those having problems - http://www.google.com/support/youtube/bin/answer.py?&answer=1209379

  • I've updated iTunes to 11.1.4.64 on my windows 8.1 machine but no music will play.  the track shows but doesn't play at all.

    I've updated iTunes to 11.1.4.64 on my windows 8.1 machine but no music will play.  the track shows but doesn't play at all. Any ideas? Thanks

    Hi TRDV,
    Thanks for visiting Apple Support Communities.
    Start with the troubleshooting steps in these articles if iTunes does not play your music:
    iTunes 11 for Windows: If you have trouble playing music or other audio
    http://support.apple.com/kb/PH12335
    iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
    http://support.apple.com/kb/TS1362
    Best,
    Jeremy

  • ISight works fine in iChat but doesn't show up in Yahoo Messenger nor Skype

    Hello, I was given an iSight webcam that works fine in iChat, but doesn't show up in Yahoo Messenger nor Skype, which are the IM programs I use…
    I search on the Apple Support site a driver to download, but there is only an updater (iSight Updater 1.0.3) which doesn't run on Tiger... Any help please ?? Thx

    You probably don't need it, but the Tiger "iSight Updater" is located in the \System\Library\CoreServices\iSight Updaters\iSight Updater folder.
    (You must look manually because SpotLight does not find it.)
    Double click the "iSight Updater" there to run the Firmware update manually.
    Some options for other readers:
    http://discussions.apple.com/thread.jspa?messageID=10084429&#10084429
    iSight "Product Revision Level" in your Mac's System Profiler shows the installed firmware version for external (Firewire) iSight.
    Firmware 1.0.3 Update offers only "Improved audio performance". It does NOT enable audio or any other function, so that is NOT your problem with Skype or YMM. Search or post in their dedicated help/discussions for best and quickest help with those specific, non-Apple apps.
    Regardless of whether System Profiler utility shows Firewire iSight's Firmware (Product) level of 1.0.2 or 1.0.3, external iSight ought to work. You can test your external iSight using the suggestions on this linked page:
      http://www.ralphjohns.co.uk/EZJim/EZJimpage4.html
    EZ Jim
    “I may receive some form of compensation, financial or otherwise, from my recommendation or link."
    Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.2)  MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.2)
    LED Cinema Display  G4 PowerBook 1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  External iSight

  • Code working in HTML doc but doesn't in Edge ?

    So My Jquery code works out of Edge but doesn't in Edge What I am trying to do is move the Background IMG when the mouse moves
    Code:
    var tempX = 0;
    var tempY = 0;
    var oldTempX = 0;
    var oldTempY = 0;
    var IE =  !!(window.attachEvent&&!window.opera);
    function shiftImageXY(e) {
      if (IE) {
        tempX = event.clientX + document.body.scrollLeft;
        tempY = event.clientY + document.body.scrollTop;
      } else { 
        tempX = e.pageX;
        tempY = e.pageY;
      img = document.getElementById('#Stage_background');
      speedFactorDamping = 0.1;
      xdir = (tempX - oldTempX) ;
      ydir = (tempY - oldTempY) ;
      parallexX = -xdir*speedFactorDamping;
      parallexY = -ydir*speedFactorDamping;
      currX = parseInt(img.offsetLeft);
      currY = parseInt(img.offsetTop);
      img.style.left = (currX + parallexX) + 'px';
      img.style.top = (currY + parallexY) + 'px';
      oldTempX = tempX;
      oldTempY = tempY;
      return true;
    document.onmousemove = shiftImageXY;
    any idea thanks in advance
    here is the fiddle: http://jsfiddle.net/NjVg9/

    you are Coding it in wrong way !!
    Edge Animate use jquery differently !!
    you should do it this way :
    in Stage > compositionReady :
    sym.$("image").css({"position":"absolute"})
    var tempX = 0;
    var tempY = 0;
    var oldTempX = 0;
    var oldTempY = 0;
    var IE =  !!(window.attachEvent&&!window.opera);
    sym.shiftImageXY = function(e){
      if (IE) {
        tempX = event.clientX + $("body").scrollLeft()
        tempY = event.clientY + $("body").scrollTop()
      } else { 
        tempX = e.pageX;
        tempY = e.pageY;
      img = sym.$("image");
      speedFactorDamping = 0.1; // change this for faster movement
      xdir = -(tempX - oldTempX) ;
      ydir = -(tempY - oldTempY) ;
      parallexX = xdir*speedFactorDamping;
      parallexY = ydir*speedFactorDamping;
      currX = parseInt(img.offset().left);
      currY = parseInt(img.offset().top);
      img.css({"left":(currX + parallexX) + 'px'})
      img.css({"top": (currY + parallexY) + 'px'})
      oldTempX = tempX;
      oldTempY = tempY;
      return true;
    in Stage > mousemove :
    sym.getComposition().getStage().shiftImageXY(e)
    Zaxist

  • Music won't play on iPad 4, the music is grayed out and when I touch a song to play it goes quickly though all of them but doesn't play. What to do?

    Music won't play on newest iPad latest operating system. the music is grayed out and when I touch a song to play it goes quickly though all of them quickly but doesn't play. What to do? The first song on some do. The most resent downloads do play.

    the ones that are greyed out did not get downloaded all of the way. You need to delete or unsync them and redownload or resync them.

  • Firefox crashing AND the scroll feature on my PC finger pad works with other browsers, but doesn't work on Firefox, which just happened since I updated. FRUSTRATING!

    Since I updated, Firefox is crashing daily. The finger scroll feature on my PC works with other browsers, but doesn't work on Firefox. It is also very, very slow, but other browsers aren't. I can't use it anymore until it's fixed.

    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)
    *http://kb.mozillazine.org/about:config

  • I cant get my ipad to play movies AVI i have downloaded an App called PlayerX, and it transfers the movies over to the ipad but doesn't play them, what to do??

    I cant get my ipad to play movies AVI i have downloaded an App called PlayerX, and it transfers the movies over to the ipad but doesn't play them, what to do??

    Have you contacted app support or maybe view this video from the website? Are you trying to play them within the app itself? Did you double tap on the video that you want to watch?
    http://playerx.pentaloop.com/help/

Maybe you are looking for

  • How to populate the main table and the lookup's at the same time

    Hi ,    What I have with me is the XML files which contain the data from the material master and the excel sheet which talks about the mapping . it basically tells me which field of the main table maps to which field of which segment in the IDOC and

  • How to I sync my library from an old computer to a new one?

    My old laptop died. So now I have a new one, but I can't figure out how to add cd's to my ipod without syncing. If I sync, I lose all my songs that I downloaded from my old computer. Is there a way to sync libraries? Or just download an individual cd

  • Accidentally removed sync data, can I recover?

    I recently reinstalled Ubuntu. I opened Firefox preferences and tried to add my sync account. I selected the option saying I didn't have my device with me, and proceeded. Next I entered my details and saw that something called a 'recovery key' was ne

  • How to automatically attach document in PO - Extended Classic

    Hi, We are using the SRM 4.0 - extended classic scenario. We are creating the PO via sourcing (Manually converting SC into PO by assigning the Vendor). In our scenario, the Terms and Conditions have to be attached to PO automatically (without User ne

  • Pricing Procedure for Nepal with Excise in it for Export Orders

    Dear Team, I have an export Order For nepal with Pricing procedure (let us say X for all other countries other than India and there is no excise in it) but if i bill a Nepal customer i'm Liable to pay excise as it is applicable for Nepal only . How c