Streaming with MediaPlayer

Hello

I'm testing an Android for Blackberry 10 port on an application that uses the android.media.MediaPlayer to read audio streaming. When I run the application and start playing the stream, it starts but stops after less than a second.

Therefore, I checked the page does not support API (http://developer.blackberry.com/android/apisupport/unsupportedapi_blackberry10_media.html) and I saw that 'MediaPlayer.setAudioStreamType' was in the list. Does this mean that the audio streaming is not supported at all? Or I'd be able to play streaming audio on an application scope? If so, is there a special trick to apply to get the sound working as long as the streaming?

Thanks for your help

Here is the solution, in case anyone has the same problem:

After some tests, I saw that the URL I get for the flow of music returns a HTTP redirect (302).

When I use the final URL (after the redirect), the music plays very well, but if I use the original URL, the music plays for less than a second before stopping. I don't really understand why a HTTP redirect would make the MediaPlayer to behave this way, but that's the problem when you use the MediaPlayer Blackberry 10.

Moreover, the same URL with the original player Android works very well, so if some RIM developers see it, it must be verified in the Blackberry 10 Android wrapper. Thank you!

Tags: BlackBerry Developers

Similar Questions

  • How do I access Amazon Prime for streaming with my Apple TV?

    How do I access Amazon Prime for streaming with my Apple TV?

    Amazon has not yet released a native application for the ATV.  You will need to AirPlay since another device until the development is completed.

    http://www.MacRumors.com/2015/11/28/Apple-TV-Amazon-Prime-video-TVos-app/

  • How can I play the audio stream with Windows Media Player 11 AAC?

    Hello

    I want to listen to a live stream of a Shoutcast radio station which is in AAC format. I want to play with my Windows Media Player 11 on Windows XP SP3. I still don't play. It seems that it is not supported by WMP 11, but if missing a codec, it should be automatically downloaded from Microsoft, since the option "Download codecs automatically" is checked in the options of WMP, and my security level in Internet Options is set by default.

    Y at - there a way or a codec plugin, so I can play the stream AAC on WMP 11?

    Thank you.

    Assem

    Orban AAC/aacPlus Plugin will allow WMP 11 to play AAC streams. Note that you have to replace the http stream with icyx URL part, so to read your example AAC stream, you must enter icyx://109.234.157.154:2012 in WMP, via file - Open URL... (press Ctrl + M, if you don't see the file menu). Tim Baets
    http://www.BM-productions.TK

  • It should have read GET_FILE stream with personalized service in the java class

    Hi all

    Once I run service GET_FILE with in the java class of a custom service, how can read the stream with bytes (content).
    I cannot stream content of the DataBinder object or any other. I have not found any method of DataBinder to read the stream of content.

    Please help playback of streams of content of a java class personalized service?

    Thank you in advance.

    Hello

    In a service context, here's how retrieve the content as a stream:

    IdcFileDescriptor d = this.m_fileUtils.createDescriptorForRendition (this.m_binder, FileStoreProvider.R_WEB);
    InputStream in = this.m_fileStore.getInputStream (d, null);

    The binder must contain the information (metadata) to identify the document to be retrieved.

    Roman.

  • live streaming with Flash media server

    Hello

    I'll work on a live project streaming with Flash Media Server. The idea is to see the video of a user to several Viewer.

    I have a few questions.

    Which protocol should I use (PLMN, rmtfp, etc.).

    Is there a tutorial for that. Help, please.

    Amit

    You can use rtmfp to do all this.

    Start here: http://labs.adobe.com/technologies/cirrus/

  • Cannot play RTSP streams, or another video with MediaPlayer

    Hi, I started working with the Mediaplayer and have problems. My first test was to load a rtsp stream, but it does not work. I'm trying to open a video of playbook and it does not work. I've added to my blackberry - tablet.xml following actions

    access_shared

    access_internet

    PLAY_AUDIO

    And try out it on my (real device, no Simulator) playbook. It does not work. I always get the errornumber '10' which means that media can not open (RIM thank you for this useful error ). I have attached my code in this post. You can see what the problem with it?

    concerning

    
    http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:qm="qnx.media.*"
            creationComplete="init()">
    
        
            
            
        
    
        
            
        
    
        
            
            
        
    
        
    
    
    

    Response of RIM today.

    RTSP is not supported. The documentation does not in this aspect.

  • Can't listen to the radio online streaming with Windows Media Player

    Online Radio Web sites that use Windows Media Player - opens the player in a new window, but instead of buffering, said he plays but not output / sound. Certainly not security/pop up/firewall issue. Windows Media Player works fine CD playback, etc.

    Hello

    then, you definitely have a machine which both sound and you can establish a Internet. I think that it s a problem of pure mediaplayer (softwareproblem).

    You have the following options:
    1. reinstall your mediaplayer or update.
    2. install another software mediaplayer like winamp or some other jukebox
    3. .. no other options

    Give some feedback, then maybe I can help you with your problem. ;)

    See you soon

  • Live stream with DataPass WIndows 10 update 8

    Stream 8 with add-on Broadband Mobile HUAWEI DataPass

    I installed WIndows 10 to the first question and had several problems, so returned to 8.1 Windows to let settle things.

    I'm willing to try again.

    I would be sure of a particular question is if there is a driver for mobile broadband and other 10 WIndows is installed on this device without any problem with an ongoing relationship.

    Someone has experience and advice on this issue?

    I can say that I didn't have everything as some have problems.

    HP 8 5901 flow not 4g after upgrade Windows 10 - HP Support Forum's - 5187001

    There is not an update specifically for the module. There is a bios update but I would use before moving again.

    Flow 8 Driver Downloads

    Windows updates reported having solved the problem for most.

    I would add (just my opinion, not a statement of HP ), HP has escaped to put an end to the mfg of any layer below to end now. As such, he very probably not will be not updated future looking.

    They will focus rather than on the shelves of high-end market for products of company as the Elitepad.

    I hope that this will change, but we will have to wait and see.

    It will be useful.

  • Streaming with SMU-6544

    I'm at the stage of planning for a system using cards SMU-6544.  I have not yet material.  I want to constantly stream my generation and acquisition and compare real-time software.  I want to be able to run the minutes, hours, or days, and be able to count it fails and the failure rate.  I'm looking example "Acquisition continues - memory stream".  In this example, the SamplesPerRecordIsFinite property is set to FALSE, SetRelativeTo is set to "current position".  In a loop, "FetchBacklog" property is queried until there is enough data and a waveform drillthrough action is performed.  My questions are: can I run this streaming acquisition forever, or it stops when the memory card is full?  I suspect he can go forever since most logic analyzers have 'circular memory', but I don't want to assume.  Also, I will acquire data to clock frequency of 20 MHz, 16-bit, both on the data rate of 40 MB/s.  I guess that this approach will work at this data rate because it is much slower than the ability to stream the 6544.  It will be a problem?

    Hello

    The pointer memory will roll once it reaches the end of the memory.  Once the FetchBackLog hits a specified value, it must pass all the values out of the room and move the pointer to the "oldest" sample and refresh with new information in the order book.  This will allow your feed to continue indefinitely.  The memory embedded amount will determine the maximum size of the buffer, you can get.

    At the pace you want to run and the channels, that won't be a problem either.  Background basket SMU communication will allow the Commission to reach the rate of acquisition of 660 MB/s and 400 MB/s for this Council HSDIO generation.  Even with PXI (theoretical flow 130MO/s) you would have no problems with the 40 MB/s out of the tray.

  • HLS (HTTP Live Streaming) with SSL

    Hi guys

    Could someone give me pointers, advice?

    We tested CTS with and without AES and both work BB10.

    Then we tested with SSL and the camera seems to use/send no certificates.

    If we have our own SSL certificate, how can use us it via the MediaPlayer or WebView?

    Kind regards

    Pepe

    Hello

    The API of MediaPlayer Cascades currently does not allow this feature. However, you should be able to do this if you use the C API mm-made instead (the Cascades MediaPlayer API is a wrapper of the C mm-renderer API). This means you need bit more code together upwards and handling in C (instead of Qt/C++/QML) so just for reference, I'm pasting some links for reference:

    * You can check funtion: mmr_context_parameters() - look for all parameters that you can pass (for example OPT_SSL_VERIFYPEER)

    Link: https://developer.blackberry.com/native/reference/bb10/mmrenderer_libref/topic/mmr_api/mmr_context_p...

    * Preview links of mm-rendering engine:

    https://developer.BlackBerry.com/native/reference/BB10/mmrenderer_libref/topic/about.html

    * A sample application that shows the implementation of mm-engine rendering contexts:

    https://github.com/BlackBerry/NDK-samples/tree/master/VideoPlayback

    (Note that it does not use the queue of the mm-engine event of rendering to hear updates of status here; but you should use that, instead of the BPS queue)

    See you soon,.

    Rashid

  • Can not turn on Media Streaming with Windows 7 Professional

    When I followed the instructions to turn on media streaming in Windows 7, I immediately have a problem.  I have media player, click on the arrow down to data flow and choose 'enable media streaming... '. »

    On the next screen, click on the button "Turn on media streaming" and it does nothing.  I don't know where to look on this logging information.  Nothing appears in the event viewer.

    Help, please.

    -Winston

    I did a little more digging and found the issue.  With Windows 7, this path is:

    C:\Users\%userprofile%\AppData\Local\Microsoft\Media Player

    Remove all sand file *.wmdb it will work.

    Need a solution added to the help for that.

  • 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.

  • Former Acrobat on HP 13 Stream with Windows 8.1

    I just bought a HP Stream 13, which comes with the new Adobe reader software.  I was also able to load Reader Touch.  I find them both be useless to my book, reading experience.  I want to throw the new drives and load the version 11 or 10.  I want to install the drive on removable media, not on the C drive that comes with only 20 GB of storage.  Can someone please?

    You must uninstall the newer versions of reader before installing an older version.

    Download from http://get.adobe.com/reader/enterprise/ - this will give you the offline installation program, allowing you to choose the installation location of the first panel installation: Change Destination folder

  • FMS4.5 live stream with multiple video files as a single source?

    I use Flash Media server 4.5 and I read the tutorial if I want to play the live stream, I may need to use the Live Media Encoder.

    But what I found in media encode is I manually set up everything and it only supported cameras.

    But in my case, I have several video files keep the receipt of another program and place it on the filesystem (server).

    My goal is use the Flash Media server to perform a live boardcasting with these video files one by one.

    This means when customer watch a live streaming, they won't notice the server plays mov1, then mov2, then mov3, then mov4... and so on.

    You can imagine I try boardcast say a sequences live during 60 s,.

    the video file will be not recorded entirely after 60 seconds, but not for every 10 seconds, I will deliver a video file,

    so that when watching the live of HLS customer (for example http://xxxx.com/live123( )

    When time reach 10 seconds, a video file available mov1 and FMS should boardcast this video on live123.

    When the time achieve 20 seconds, a video file available mov2 and FMS must immediately follow the boardcast mov1 on live123.

    and so on...

    FMS can dynamically create a new session of streaming (call by code),

    so that when the customer a download of some video files to the server, the FMS log new stream streaming only cilent video files?

    boardcasting as configuring the size of the screen, bitrate, etc. must be predefined on the server.

    (e.g. customer boardcast on http://xxxx.com/live123, CustomerB boardcast on http://xxxx.com/live124...)

    so the fact that possible to use FMS perform these ideas? or y at - it approaches?

    I am very new to FMS, if I have any misconcept FMS or media encoder (live), please do not hesitate to correct me.

    Thank you!

    Hello

    To have OUT load videos from sources of files, to be released at this stage, you need third party software like ManyCam.

    Otherwise, FMS can use source files and a playlist-like, side Publisher.

    Thus, you must request script on the server, server to play files and publish (publish side Server) to be subscribed by customers. Essentially, we ask the server to replace GFFE/encode streams published by sources to have the publishing server-read the file stream.

    http://help.Adobe.com/en_US/flashmediaserver/ssaslr/index.html should give more information on how to do it.

    Thank you!

  • Need help with implementing a stream with OUT and FMS

    Hi guys!

    I'm new to this sort of thing, so I'd be delighted if you could guide me or tell me if it is even possible to what I'm trying to do.

    That's what I'm doing:

    I am currently working on a project for the University College of Narvik in Norway. We're experimenting with some laboratory equipment remote control. We want the video stream live from the lab for the students to see.

    Then.

    I would like to implement a stream of my webcam that are accessible through a Web page by anyone (with a minimum of delay)

    That's what I understand I have to do:

    Use to connect to the webcam OUT and OUT on FMS and somehow it go on my Web page.

    It's the bit of Flash Media Server, I do not understand. How can I go about to go out on my Web page? What I have to use a Flash Streaming as Onyxservers service to do this, or can I do that part myself? If so, how complicated is it?

    Best regards

    Daniel Bjorkman

    Narvik University College

    all you need to do is replace the localhost URI to point to the IP address or the DNS name of the server on which resides the FMS. the rest of the URL remains the same.

Maybe you are looking for

  • Airport Express

    I have an old airport express (used as an extender) and a Comcast cable modem. In order to get a signal on my iPhone (AT & T), I had a microphone AT & T cell. I can't use the microphone cell as there is only a single port ethernet on the modem. If I

  • How do I disable AutoCorrect

    Since the last major update, all of a sudden I AutoCorrect on.  It drives me nuts, evolution of the addresses at will!  Anyone know how I can disable this option for all iOS apps?  Thanks, Tamara

  • Need drivers for Equium L10

    I could no longer find the Cd for my Toshiba Equium L10 series card. Please, who knows where I can download the drivers for the system as a wholeThey are:Ethernet controllerMultimedia Audio ControllerModem PCIVideo controllerVideo controller (VGA COM

  • wifi card update

    I am wanting to upgrade my acer aspire 7741 g-6426 wifi only card to a dual band card, no one knows what cards are and are not compatible with acer?  I am wanting to intel but reading where they don't play well with some bios, and I can't find new du

  • Driver USB PC/MAC Scanner Canon CanoScan LiDE 20 48-bit

    Can I install Windows 7 Professional 32-bit update and use this device?  It's supposed to be compatible with Windows 7 32-bit but not 64-bit. If so, I have to choose to upgrade to Professional or invest in a new scanner (~ $55) Thank you Ranger