Unable to play .wav file from URL.

We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav format). Now the problem is that we are not able to play that file in our Application. We also tried to play that URL directly on iPhone browser but it also didn't worked.
Here is one of the URL of audio file formathttps://www.callfire.com/cloud/1/files/recording/dynamic/864c81f4a8e6a898042cb47 251ca1c85/2012/8/6065312/cid_1319779221_1.wav
When we put this audio file in our server and tried to play it our Application, it worked perfectly.
Can you please tell us what is the reason behind this?
We are using iPhone 3 with software version 6.0 for testing.

You need to post this question in the iOS developer's forum.

Similar Messages

  • How to play .wav file from URL in web browser embed

    Hi;
    I want to play a .wav sound file in embed default media player in IE. Sound file is on some HTTP location. I am unable to sound it in that player.
    Following is the code.
    URL url = new URL("http://www.concidel.com/upload/myfile.wav");
            URLConnection urlc = url.openConnection();
            InputStream is = (InputStream)urlc.getInputStream();
             fileBytes = new byte[is.available()];
             while (is.read(fileBytes,0,fileBytes.length)!=-1){}
    BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
             out.write(fileBytes);Here is embed code of HTML.
    <embed src="CallStatesTreeAction.do?ivrCallId=${requestScope.vo.callId}&agentId=${requestScope.vo.agentId}" type="application/x-mplayer2" autostart="0" playcount="1" style="width: 40%; height: 45" />1. If I write in FileOutputStream then it plays well
    2. If I replace my code of getting file from URL to my local hard disk. then it also works fine.
    I don't know why I am unable to play file from HTTP. And why it plays well from local hard disk.
    Please help.

    You'll have to ask the devleopers of sencha and phonegap.

  • How to play .wav file from url in iphone.

    We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav format). Now the problem is that we are not able to play that file in our Application. We also tried to play that URL directly on iPhone browser but it also didn't worked.
    Here is one of the URL of audio file formathttps://www.callfire.com/cloud/1/files/recording/dynamic/864c81f4a8e6a898042cb47 251ca1c85/2012/8/6065312/cid_1319779221_1.wav
    When we put this audio file in our server and tried to play it our Application, it worked perfectly.
    Can you please tell us what is the reason behind this?
    We are using iPhone 3 with software version 6.0 for testing.

    You'll have to ask the devleopers of sencha and phonegap.

  • How to play wave files from a jar archive?

    Dear friends,
    I have a .jar archive with several .wav files, and I would like to play them without extract these files.
    This is possible to do? If yes, please show me how to do this.
    Thank you for your attention,
    Augusto Nunes

    This discussion of getResource is very useful: http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource

  • Can not play wav file on envy touchsmart

    can not play wav files from my emails on my hp envy touchsmart. have tried to download other apps, but nothing is working. help!

    Hi terrylyn11,
    What media player apps have you tried to use to play these files? Are other music file formats playing ok?
    Please click the thumbs up button to say "Thanks!"
    Clicking "Accept as Solution" on a reply that solves your problem makes it easier for other people to find solutions.
    I am an HP employee.

  • Subsequent play of WAV files from HTTP

    Hi,
    I have to subsequently play many WAV files from HTTP in a nokia series 60 emulator.
    Everything is ok for the first two files, but at the third I catch an exception:
    "java.io.IOException: exceeded the configured maximum number of connections"
    I tried two ways to load the files from HTTP:
    Manager.CreatePlayer(InputStream...)
    Manager.CreatePlayer("http:\\...")
    Below there is the code of the two methods I use. Please note that I try in every way to close the connection before open a new one!!!
    public void Method_1(String src, String type){
    int iLen=0;
    is = null;
    httpCon = null;
    byte[] bBuf;
    try {
    if (p != null) {
    if (p.getState() == Player.STARTED) {
    p.stop();
    p.removePlayerListener(this);
    p.deallocate();
    p.close();
    p=null;
    if (is!=null){
    is.close();
    is=null;
    if (httpCon!=null){
    httpCon.close();
    httpCon=null;
    httpCon = (HttpConnection) Connector.open(src);
    if (httpCon.getResponseCode() != HttpConnection.HTTP_OK) {
    System.out.println("Bad response code");
    return;
    System.out.println("Connection OK! (audio)");
    iLen = (int) httpCon.getLength();
    System.out.println("audio file length : " + iLen);
    is = httpCon.openInputStream();
    p = Manager.createPlayer(is, type);
    p.addPlayerListener(this);
    p.setLoopCount(1);
    p.prefetch();
    p.start();
    vc = (VolumeControl)p.getControl("VolumeControl");
    catch (MediaException ex) {
    ex.printStackTrace();
    catch (IOException ex) {
    ex.printStackTrace();
    public void Method_2(String src){
    try {
    if (p!=null){
    if (p.getState() == Player.STARTED)
    p.stop();
    p.deallocate();
    p.close();
    p=null;
    p = Manager.createPlayer(src);
    p.addPlayerListener(this);
    p.setLoopCount(1);
    p.start();
    vc = (VolumeControl)p.getControl("VolumeControl");
    catch (java.io.IOException e) {
    e.printStackTrace();
    catch (MediaException e) {
    e.printStackTrace();

    My question is:
    how can I load (from a HTTP server) and play more than two WAV files without crashing?
    Do I have to close the connection in a better way in order to re-open it without problems (and more than two times)?
    It is simply an emulator bug?
    Thanks.

  • Playing a .wav file from email attachment

    I am trying to play a .wav file that is attached to an email, and i get "The document conversion failed". Am I missing something? What do I need to do to be able to play .wav files that are sent to me via email?

    I have the same request.
    We have a new Panasonic phone system that sends out .wav voicemail files.
    Our company's Curve's play the wav fine.
    Our company's BOLDs ... DO NOT.

  • JMStudio: error when trying to play files from URL

    JMStudio fails when I am trying to play files from youtube.
    Error message "Could not create player for http://www.youtube.com/v/u0AXoIe9F6M".
    Nevertheless it succeeds in playing *.flv files from the disk.
    Whats the problem?

    Have you tried copying the said file over to your
    desktop and opening it from there?
    Yes, the files open when I do that. It has something to do with persmissions I guess on the other system, but I am logging in as the same user/password as when I log in directly. I ran the fix permissions under the disk utility, but still no good. It isn't just related to Excel files either; I am having these problems when I try it with Word too.

  • Error Playing .wav file on RHEL 4 using JMF

    Hi,
    We are using jmf api to play wav files on our application deployed on rhel version 4. But we are receiving the following error
    **"Cannot find a Processor for: myfolder/myAudio.wav" --->
    this exception is comming from javax.media.Manager
    throw new NoProcessorException("Cannot find a Processor for: " + source);"**.
    Any ideas what could be issue with this, am I missing some drivers/processor for wav files? I did a default jmf studio installation.
    Thanks and Regards
    Vikram Pancholi
    Edited by: vpancholi on Sep 8, 2009 8:51 AM

    If we take a look at the supported formats page...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]
    And the WAV file is supported by the cross-platform pack, AKA, jmf.jar.
    If you're unable to open a WAV file, I'd say it's most likely because you don't have JMF.jar on your library path. You can fix that at runtime with the switch -djava.library.path=<whatever>
    That's what I would say the issue is.

  • Play wav file on PDA using JMF

    Hi all,
    I need to play wav files on a PDA so I installed J9 on the PDA and downloaded either JMF crossplatform and JMF for windows (version jmf 2.1.1.e for both of them).
    I included in the classpath the jmf.jar from JMF crossplatform and sound.jar from JMF for windows (the JMF crossplatform doesn't have the sound.jar and jmf.jar requires some classes contained in it).
    When I run my testing application I have such an error:
    Unable to handle format: LINEAR, 8000.0 Hz, 8-bit, Mono, Unsigned, 8000.0 frame rate, Framesize=8 bits
    Failed to prefetch: com.sun.media.PlaybackEngine@287a287a
    Error: Unable to prefetch com.sun.media.PlaybackEngine@287a287a
    I have the same error playing wav files with different features (8 or 16KHz, 8 or 16 bits ).
    Can anyone help me?
    Any suggestion is welcome. Thanks in advance!
    Message was edited by:
    pirascrs

    not really I have seen it. The only buyable version left is IBM j9. All the rest basically are sold to handset manufacturers.
    Its hectic out there. I still cant play audio on J9 to build a simple tourist guide!!!!
    javajoom is for wtk21 - hello its 2007.
    Oh well lets toss pda's out of the window along with Microsoft's OS and use smart phone OS - or should I toss J2me and start on C# to be on the safe side???
    Has anyone an answer?

  • Flash CS5 unable to play .FLV files on Macbook Pro

    I have a colleague who is trying to put together a Flash package for me  on her macbook pro.  It needs to play an flv file. She is unable to play  flv files on her computer either in Flash or using the Adobe Media  Player. I have no problem playing the same files on my macbook pro,  we're both running the latest OS and have version 1.8 of Adobe Media  Player.
    She went to the Adobe site to download the latest version of Adobe  Media Player, hoping that might include whatever component is missing on  her system. Because of Adobe's decision not to distribute AMP that  didn't help.  She has Flash Professional CS5 11.0.2 on her system.  When  she imports an flv video into a Flash project and tries to play it she  gets an error message saying it can't stream the video. Note that the  video is on her hard drive, it is NOT on the internet so no streaming  should be required.
    The actual error message is: "the video player is in the connection  error state. It enters this state when a video stream attempted to load  but was unsuccessful. There are two possible reasons for the error: no  connection to the server or the stream was not found."
    Since it's a file on her hard drive, and she has loaded the file  into the Adobe development environment successfully, the one thing we  know for certain is that neither of these reasons is correct. Something  is obviously missing on her system, what is it and what can we do to fix  it?

    I'm getting error too (Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound). I'm getting this with CS5. This file was previously made in CS4 and never got this error.
    Everything (fla and flv too) is on external hard disk.
    As this work requires to be exported to mov, I've found out that everything needs to be on the mac (don't know for pc), like on desktop.
    So, let me wrap up disadvantages I got with Flash CS5:
    - TextField.embedFont makes the font disappear in CS5, so I can't use it, so I can't "play" with text in a comfortable way (in CS4, with embedFont = true, I was able to rotate and stuff). Now I have to make a bitmap out of it. It means 3 lines of code and a new variable, instead of just an easy one.
    - I have to rebuild my entire source path structure for AS classes, as my old one (that took me years of effort to be reasonable and used to work just fine in CS4).
    - I have to move stuff from my hard drive to the desktop, to make flv be played and to make a mov out of my animation.
    CS5 is making my job harder and making me lose a lot of time to find out errors that have no good reason to exist (it was not error. just "place CS5 doesn't like").

  • How to Play .wav files in Safari?

    Hi:
    I need a little help.
    I would like Safari to play wav files instead of downloading those file to my Downloads folder. Can this be done.
    Thanks,
    -AstraPoint

    Greetings,
    I would like Safari to play wav files instead of downloading those file to my Downloads folder.
    Can this be done?
    Maybe. First, what is the URL for a .wav file you're trying to play in Safari? I want to test this before I say whether or not it will work.

  • 6233 not playing .wav files

    i've purchased new 6233 and the firmware is 4.52 but its not playing .wav files, whereas one of my friend has the same phone with 3.70 firmware and its playing without n e problem.
    n solutions about this.

    Hello.
    Only Series 60,80 and 90 phones running Symbian operating system are capable of playing WAV files. From what I know, Series 40 phones do not display this ability and will not be supported still in future revisions of the said platform.
    Cheers.
    The world might be a better place if you were I.

  • How do you make itunes not play wav files?

    I know how to make it play wav files but how do I remove it from the default player list? I want them to all play in Quicktime. I have done the right click, holt alt and press Always Open With... and also done the right click and specify it to open in Quicktime. I have done this on 3 different Macs with 2 different OSX versions. It will open in Quicktime that one time but then the next time I open a wav file it goes back to Quicktime.
    Anyone have any suggestions?

    It will open in Quicktime that one time but then the next time I open a wav file it goes back to Quicktime.
    Do you mean, "goes back to iTunes"?  "A wav file," or the same wav file you just changed?
    Did you select the additional option in Get Info's Open With window to, "Change all of this kind to open with Quicktime"?

  • Pure Music software player is not working with iTunes 10.4 and Lion 10.7 playing wav. files.

    Pure Music player from Channel D software will not work when playing wav. files after updating to Lion OS. I can open the application as usual but after playing one song it will not advance to the next track either on its own or manually. The scrolling track name goes dim and I cannot get the play button to respond. Has anyone else experienced this problem?
    Ron

    Thanks Limnos, but unfortunately the same error still remains.
    The disk was OK.  Permissions had errors along the lines of groups should be 0, is 80.  I repaired that.  Tried again to open, then reinstalled (new download again), but again the same problem.
    I checked permissions again and some of the 0-80 errors came again, but no clear reason from there I think
    Was also a SUID warning on ARDAgent but I see online that doesn't appear to be something abnormal.
    I tried reloading Lion but the installation came back with software appears to have been tampered with (I think the dmg file is gone as I couldn't find it).  I then went to email to report a problem so I could download again but of course that whole process doesn't work because itunes wont open.
    So Stuck
    if there is anything else I might be missing?

Maybe you are looking for

  • PXI not showing up properly in MAX

    Hey everyone, I'm new to setting up remote systems in MAX and I'm having some difficulty.  I'm using all LabVIEW 2011 versions of software with FPGA and RT modules.  I'll start by listing the hardware I am using: PXI-1042 Chassis PXI-8110 Embeeded Co

  • Adobe AIR for Mobile Devices?

    Hi, I was just recently asked whether there is a project for developing Adobe AIR for mobile devices? This would be really exciting as you could develop your own projects for mobile devices as well as desktop computers... Any ideas?

  • Macbook Pro Shutting off for no reason

    I purchased my MacBook Pro in June 2010 and have never had any problems with it.  The back left foot by the charger fell off a while ago but it didn't seem to be an issue. Tonight my computer has shut off unexpectedly twice when it was plugged in.  T

  • Hp pavilion dv6-6113cl entertainment pc windows 7 hard disk error 303 305

    Hi, my PC stopped working a few months ago. I have trying to find a way to fix it, but with no luck. A few weeks ago, I decided to buy the recovery disks from Hp. I did, and they came in the mail a few days ago. I use them, but all that pops up is a

  • I'm new in MacBook Air

    please help! I can't download the newer version of software mac os c 10.7 in MacBook Air 2011?