Audio not streaming no Filename

I know you can stream a file from a Web server as

InputStream is = getClass () .getResourceAsStream ("http://www.myserver.com/mysong.mp3");

But how do I add if the flow is not actually using a file such as:

InputStream is = getClass () .getResourceAsStream ("http://www.myserver.com: 8000");

When I build using this string at the place I get no error generation but when running, I get a "Eception exception: flow: null".

Any tips?

Method getResourceAsStream is designed to read a resource packed in the application itself (a file wrapped in a COD file).  You must use the Connector.open method to create a connection network (HttpConnection in this case) and create an InputStream from him.

Tags: BlackBerry Developers

Similar Questions

  • Problems with audio/video streaming with USB devices on zero clients

    Hello:
    We are using view 6.1.1 in our environment and problems getting audio/video streaming to work well with the USB headsets, with zero customers.  Helmets are Jabra Link 360 and customers zero Samsung NC241.  Helmets are used as well for the phones to Jabber and also as audio device by default.   We started with the audio driver Teradici and everything seemed to work well, except that users could not answer calls on the headset itself with the button on the headset.  They were able to answer the calls of Windows though and the part worked fine.  In order to get the physical button to work, we had to first fill the USB receiver they use on the zero clients so that Windows will see as the device Jabra 360 and not the audio device Teradici.  Then we had the EHCI USB mode on them as well, and after that he started to work very well.  However, the helmets also serve as the audio device main as well as the communication (phone) device, with audio streaming continuously throughout the day.  With the current configuration, audio streaming will cut in and out during the day, and audio/video is not always to stay in either phase.

    I also applied the registry in this KB hack, VMware KB: improvement in audio quality when you use speakers or USB headsets with a desktop VMware view Horizon 5.2 , which helped clear up Crackle that we originally with the part phone headsets.  But there is still the issue of streaming audio.

    I wonder if the effectiveness of the bridging USB is not as effective and also is there a way to make this work better?  I read that the use of the pilot Teradici is supposed to help with audio/video problems, but do not know how that can be applied to USB devices as we use.  I've been reading upward on Teradici audio/video settings, but do not know where to go from there.  I was hoping that there are some best practices to use USB headsets with a view, but so far I'm not finding anything useful.

    For any help or suggestion would be greatly appreciated.  Thanks in advance.

    We were finally getting help by the people of Cisco after validation in the here and even open a support ticket with VMware, which was open for more than a month without will.  Where others try to implement similar, here are our findings:

    • Zero clients combine traffic USB and PCoIP.  It is not good when there is a lot of audio/video/USB traffic, especially the USB headsets that also carry audio softphone.  In our case, the USB traffic was so dense that it was causing audio and video become troubled and freeze and eventually cause the pcoip_server service to break in the virtual machine itself and cause the client disconnect.  The fix?  Don't use customers zero with USB phones software, they are not just designed for this type of solution.
    • Thin clients are much better designed for USB softphones.  In our case, we used the Cisco VXME client, which is the method of support for the use of Windows thin clients with the client of the Horizon.  There is integration between the two products that isolates the VOIP traffic out of the virtual machine and keeps it local on the client itself.  Regular audio and video traffic still go through the virtual machine using Teradici or VMware RTAV driver.

    Hope this helps others who may run this question.  One thing we did not try was a wired headset using the AV sockets on the zero client and Teradici audio driver.  This can work, but our needs here were the headphones must be bluetooth, so we were forced to stick with USB.

  • How to audio notes 1Dx image?

    I have a Canon 1Dx and I heard there is a way to put audio notes on a picture. I have not been able to see that and was looking for some assistance.

    I figured out how to use: you just hold the blue microphone button down (@3-4 seconds) until it appears a screen audio and thénot just follow the guests. He practices a couple of times before going out. It kicks butt!

  • I want to search a string in a file, but I only know the folder that the file is not what the filename is.

    I want to search a string in a file, but I only know the folder that the file is not what the filename is.

    I want to search a string in a file, but I only know the folder that the file is not what the filename is.

    Use a third party such as the free Agent Ransack research program.

  • Error "Audio not found" every 5 seconds

    Hello

    I use Adobe Premiere Pro (CC 2015) to edit the behind the scenes of a movie, but I can't edit correctly because whenever I hit

    space to see a preview of what is in my calendar, it works for 5 seconds (or the better 8 seconds) and then it shows an error "audio not found."

    and there is a loss of images.

    I have only two audio files in my sequence, one of them suddenly stops and the error of "audio not found" appears, the other audio file

    continues to play for about 2 seconds and then stops as well.

    I can't find a solution and I have to finish this project quickly, so I can burn everything on DVD.

    Does anyone have a solution?

    Thanks (and sorry for the bad English)

    Hi John,.

    I have an I7 mounting and the film's 1080 p 23 976 fps mov of a T3i, jpeg photos and his (wav).

    After a few days, he started working properly again. I don't know what caused it.

  • When I add a video on my calendar, it allows only the audio, not the video. It is in MOV format.

    I'm working on my first project with elements first, and when I add a video to my computer, it will add it only for audio, not the film section. All my files are in MOV format. I am able to open the same file in Microsoft Movie Maker, but not in the first of the elements.

    geigerlau

    Your specifications video camera and your lack of QuickTime presets, it's almost a certainty that the installation of the first Elements needed as QuickTime will solve your problem.

    What could be your problem is the use of a video codec MotionJPEG for your video. Your camera seems to offer MotionJPEG video codec, but only as an .avi file. The video codec that goes with the file from your camera .mov is H.264. Thus, with an extension of the .mov file, you do not have the question common to Premiere Elements MotionJPEG any version.

    Please let us know if the installation of QuickTime works for you. It should based on what I've read online on your camera and knowing the requirement of Premiere Elements for QuickTime.

    Thank you.

    RTA

  • Jump in the middle of an audio track streaming on various sites causes the stuttering and audio glitch

    Hello

    Please refer to this thread for support on the technical support of SoundCloud forums. The thread contains all relevant information, including videos of the screenshots problem and console, made by myself and others. https://www.soundcloudcommunity.com/SoundCloud/topics/skipping-to-the-middle-of-a-track-causes-stuttering-and-glitchy-audio-chrome-Firefox

    In short, when you try to move forward for streaming audio, there is a memory buffer/stuttering problem that prevents a correct reading of the track. This problem is confirmed on SoundCloud and Traxsource and other people in the support thread mentioned Mixcloud and other streaming sites. In other words, it is not the special streaming service fault or another.

    The problem does not occur in Microsoft Edge, Internet Explorer or Chrome. Well, to clarify, when the issue was published on SoundCloud support forums, Chrome was having the same problem. However, they made a version a few days ago thrust, that fixed it.

    Here's my original on the SoundCloud support post (less), which has the relevant details. Note that we have updated both Flash and Firefox recently, so although I have mentioned earlier in my original post, everyone involved has since updated their browsers and Flash.

    From now on, the only solution for the problem is to go back to Firefox 40.0.2. Thanks for any help =)

    Matt

    Original message =.

    Jump in the middle of a track causes the stuttering and audio glitch (Firefox).

    I am running Windows 10 Pro.

    There seems to be a problem of caching that affect reading - I started noticing this problem three or four days ago. Previously, I could jump through my feeds at will, go straight until the middle of the tracks or mixes of listen seconds and determine if I liked the track. Now, I can't do it on Firefox 41.0.1. The problem is simply annoying on songs that are 3 or 4 minutes in length, as I must leave "cache" maybe ten seconds before jumping. Unfortunately, the problem is a game-breaker on mixtures which, for example, are 90 minutes long. If I jump to a point directly in the middle of the combination, nothing happens. The play button alternates between the 'Play' symbol and the symbol of 'Caching' ('... "), and so audio resumes, it is glitchy and consists of different parts of the track being played at the same time.

    I've eliminated my internet connection as the source of the problem by loading on board. On the edge of 20.10240.16384, the problem does not exist. I can scroll down to any mix of 2 hours in my stream, click on the middle of it, and the audio starts right up. No caching, without stuttering or glitching.

    I drove back Flash version 18 to see if it solved the problem in Firefox, but it did not. The problem persisted, so I re-updated to Flash 19.

    Yes, I understand how all versions and updates to work. I meant it as a generation of powder magazine. My bad.

    I consider this problem to be solved. Several different pre-release versions of Firefox have solved the problem; I have personally used both of them that work perfectly. A representative of Bugzilla stated that the patch will be integrated into Firefox 42, which will be released on 3 November.

    https://www.soundcloudcommunity.com/SoundCloud/topics/skipping-to-the-middle-of-a-track-causes-stuttering-and-glitchy-audio-chrome-Firefox?topic-reply-list [Settings] [filter_by] = all & question-answer-list [parameters] [reply_id] = 16269116 #reply_16269116

    I now consider this private matter. Thanks to all of you who have been here =)

  • Pavilion p7 - 1446 s: beats audio multi streaming disable

    Recently, the multi-streaming option on the beats audio software in my pc has decided to activate its auto and when I try to hit the button disable it blocks saying that idtngui.exe has stopped working. It's really irritating because I can't use my headset for games with it on or the audio game goes right through the speakers anyway.

    Hi there @ea023,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, other users, the HP experts and other members of the support staff. I understand that you have some problems with the software audio beats. in Windows, 10. I'm happy to help you.

    As you mention just "enabled itself" it may be a value of tryinf beforethat system restore happened.

    HP computers - using the Microsoft System Restore (Windows, 10, 8)

    Try it and let me know and if it does not solve your problem, please mark this message as a solution. Bravo would be appreciated as well.

  • Record audio RTSP stream

    OK im trying to automate a test audio on an IP video encoder. I can find the location of rtsp stream but im not sure were to start on the recovery of the stream. I have VLC playing the flow... I suppose I could run a vlc command line to record a second stream 5? then open the file for evaluation? What I want is direct stream copy in labview, so that I do not need 3rd party tools installed.

    Maybe a .net call for that would help me?

    Thanks in advance.

    -Corey


  • Difficulty playing the big audio files/streams.

    Hi all

    I have an app that plays media (audio/x-wav).  The application is configured to listen to and read the audio data from a web service.  After that audio plays for the first time, the sound will be saved on the device.  Whenever the audio selected is played later, he can read the stored file.

    Everything works fine, except when it comes to playing audio files.  When the Player tries to read the audio data from a big-InputStream, the application will take a few minutes to retrieve the stream and then the player will hit a State of 'ERROR', due to:

    "Media cannot start while another media is active"
    

    .  At this point, I did not open another medium, however.  Then when I try to play the audio again (this time this time locally from a stored FAT deposited (~ 5 MB), the application appears to hang - but it not to plant, it becomes just does more for about ten minutes.)  After ten minutes, the player will reach the State of "ERROR" an error of:

    "Unload failed: Timed out waiting for UD|LD"
    

    Has anyone else had similar symptoms when you try to play larger audio files?  What could be going on here?  Here is my code:

    Reading an input stream:

    try {
        Player player = Manager.createPlayer(responseData,"audio/x-wav");
        player.addPlayerListener(new PlayerManager());
        player.realize();
        player.prefetch();
        player.start();
    } catch (IOException e) {
        System.out.println("ERROR: " + e.getClass() + ":  "+ e.getMessage());
    } catch (MediaException e) {
        System.out.println("ERROR: " + e.getClass() + ":  "+ e.getMessage());
    }
    

    Reading a file:

    try {
        Player player = Manager.createPlayer("file:///SDCard/Blackberry/music/" + file);
        player.addPlayerListener(playerListener);
        player.realize();
        player.prefetch();
        player.start();
    } catch (IOException e) {
        System.out.println("ERROR: " + e.getClass() + ":  "+ e.getMessage());
    } catch (MediaException e) {
        System.out.println("ERROR: " + e.getClass() + ":  "+ e.getMessage());
    }
    

    PlayerListener:

    public class PlayerManager implements PlayerListener {
    
        public void playerUpdate(Player player, String event, Object eventData) {
            System.out.println("PLAYER EVENT: " + event);
    
            if (event == PlayerListener.ERROR) {
                Notify.alert(Constants.PLAYER_ERROR);
            } else if (event == PlayerListener.END_OF_MEDIA) {
                try {
                    player.stop();
                    player.close();
                    player = null;
                } catch (MediaException e) {
                    System.out.println("ERROR: " + e.getClass() + ":  "
                            + e.getMessage());
                }
            }
    
        }
    }
    

    Yet once again, I'd appreciate any help!

    I solved this problem for my application. Check it out at:

    http://supportforums.BlackBerry.com/T5/Java-development/how-I-fixed-quot-timed-out-waiting-for-UD-ld...

    It will be useful.

    Scott

  • IDS/IPS signatures for monitor audio/video streaming applications

    Hi people,
    Can someone Advisor on the names or signatures that could be used successfully to control the use of streaming on the network applications. The plan must feed to MARS and then create reports on streaming applications use to use it later for the creation of a security policy preventing the theft of bandwidth.

    Perhaps suggestions on how to create a custom signature to monitor the audio and video streams would be appreciated.

    Eugene

    Hello Eugene,

    It is possible to matching strings video specified in your capture by examining the Type of content. Run after the connection with a TCP reset or refuse the inline package will keep the video of the game - which will save bandwidth that the video would have used otherwise. However, it is important that we establish the role of the IPS appliance. The IPS is designed to detect and limit the attacks by matching known traffic patterns. For TCP, this obligation can also include some that drop a bag to disrupt a flow. The IPS is not fundamentally designed to monitor flow and provide a number of bytes for a particular protocol so that the use of protocols analysis can be performed.

    The signature below will drop packets with the flv-application Content-Type, which will keep the video that you have tested on break.com of play. Each video streaming site works differently. A screenshot of each video streaming site will have to be examined and another custom signature written, if you want to block all. Also, keep in mind that many sites offer different options for streaming videos. It may ask you to take multiple shots at each site - one for each method of streaming.

    signature-60001 0
    alert-severity average
    GIS-description
    Flv-application TCP SIG - name string
    output
    engine-tcp chain
    products-event-action alert | Reset tcp-connection
    Regex-string flv-application
    service port 80
    the service management
    output
    alert frequency
    Summary-fire-all mode
    output
    output
    status
    enabled true
    output
    output

    Thank you

    Blayne Dreier

    IDS Cisco TAC team

    * Please check our Podcast *.

    TAC security show: http://www.cisco.com/go/tacsecuritypodcast

  • .FLV is not streaming video after FMS 2 install

    We were already running Flash Communications server 1.5 and have installed FMS 2.0. We copied on our files to stream with the same structure of folders, but when the .flv file is passed, audio playback (and the show of connectios upward in the administration console), but the video (from the same file) does not appear.

    Any help would be apprecieated.
    Thank you

    http://www.Adobe.com/support/documentation/en/flashmediaserver/201/releasenotes.html

    "A race condition in stream sometimes management would result in Netstream.Play.Stop however do not sent to the client, which prevented the FLV Player by playing the stream properly."

    The 2.01 update corrects this problem.

  • Film and audio not synchronized in the swf file.

    Hello

    I have a main movie that call and display movies from the library. In each of the films from the library, I have an animation on a layer and a sound (about 15 seconds) on a different layer that I want to synchronize. When I check each film on my devlopment .fla file, everything works perfectly. But when I publish my main movie, in all the movies called, there is no synchronization between the animation and sound. So I did some research on this site and I found this technical note:

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?event=view & ID = KC.tn_14108 & extid = tn_14 108 & dialogid = 528053 & iterationID = 2 & sessionID = 9630a094121c7e6164d3 & stateID = 0 + 0 + 526969 & mode = s implementation

    So I made the changes as this technote says:
    "If a longer audio file is needed, consider using the method synch 'stream', in the sound Panel of the frame properties dialog box available. This will force Flash to file managers (if necessary) in order to follow the audio. »
    But when I do that, yes the timing is back, but my sound is not the same. It seems that the option 'stream' produce a very bad sound. It is not clear as if it was. the sound is not the same during these 15 seconds. I was using his .wav stereo 44 kHz 16-bit included in the library.

    Do anyone have any idea how I might be able to produce sounds good even when I use this option 'stream '...

    Thank you for help you!

    Alexis.

    Hello

    I solved my problem using sound convert MP3 high quality, instead of .wav and manages using the synch 'stream', in the Panel of sounds of the frame properties dialog box available. This will force the Flash to file managers (if necessary) in order to follow the audio.

    Good bye.

  • BDP-S570 not stream 5.1

    I am unable to stream digital Dolby 5.1 on NetFlix or Amazon.  I re - configure the audio settings and the audio still come as a Pro Logic.  DVD and BluRay discs work very well (DD or DTS) and Pandora plays music as PCM 44.1.

    NetFlix thinks I must throw my BDP-S570 and buy a new one.

    If this can be true?

    Apparently, the Dolby Digital 5.1 is not available when you play movies netflix on this unit. For amazon, you may have to contact them to see if they allow the DD 5.1 surround sound on the Blu - ray player.

    If my post answered your question, please mark it as "accept as a Solution.

  • Subtitles not streaming on Apple TV when you use airplay

    So, when I watch videos/movies with subtitles on my iPad, all right. But as soon as I use the function airplay, the video and audio come up on my screen TV perfectly, but the subtitles do not display on the screen like how they do normally on my iPad. Does anyone know the solution to this? I turned on subtitles by going to settings > general > accessibility, but that did nothing. I also held select down, but the message I got was 'the subtitles are not available for that content. Why am I able to see the subtitles when you look at the iPad, normally, but not when you use airplay?

    You use AirPlay base or put you in the mirror.

Maybe you are looking for

  • Transitions are disabled in the trial FCPX?

    I use Final Cut Pro X trial.  I try to add a transition between two clips of long and it does not allow me to slide between the clips.

  • I can't do a server of the Mac mini 2015?

    It is possible to make a server in the Mac mini 2015? I ' v to buy Mac mini 2015 and I do not have you are so much and then I had an idea to do a server, but I don't know if it will work. Then I can make a server or I need to buy Mac mini Server (201

  • Pencil apple text can be converted into typed text?  What app is necessary

    Text written with pencil for an iPad accessory Pro can be converted into typed text?

  • Recovery disc does not work after the failure of the system.

    Hello world I got an error yesterday while booting which says "not found no startup disk." I disconnected and restarted at a black screen. I panicked. I got out my hard drive and made sure it is properly connected, and it was. I decided to try to see

  • Display settings

    I have a resolution of 1372 normal screen or something by 768.  I turned on my computer today and the resolution of 800 by 600.  I tried to play around with the options and the max I could get my screen is 1024 x 768.  What should I do