HTTP Live Streaming Audio MP3 in the Simulator 10.1

Hello

I'm working on an online radio application and I am very disappointed to see that the BB 10.1
Simulator (10.1.0.1483) does not support the HTTP live streaming of multimedia files (MP3) M3U.

I get the following message in the log of the device:

MediaPlayer: prepare::Error attach the input source. URL: ""http://abc.xyzxyz.com:9156 / stream ', "
error = UnsupportedMediaType

and also when you try to navigate to the URL in the browser of the Simulator:

The media file is from and not supported type or could not be loaded. It can not be played.

I would like to know if the BB 10.2 Simulator supports HTTP live streaming of MP3 files, or do I have to buy a real device?

Best regards

burakk

Hi @burakk,

My apologies for the late reply. Unfortunately, for the OS versions on the market to date, support for media playback on the Simulator is very limited. This is mainly due to problems of codecs required license. There is a support very limited no playback video and audio (uncompressed audio files in the WAV only). In later versions of OS Simulator, we might have the software decoding - if that happens, your use case would be satisfied then.

For a complete list of the formats supported on devices: https://developer.blackberry.com/devzone/develop/supported_media/bb10_media_support.html

See you soon,.
Rashid

Applications development consultant | Relationships with developers

BlackBerry @surashid

Tags: BlackBerry Developers

Similar Questions

  • HTTP Live streaming test in Flash Player, HTML5 player, iphone, android and other phones smart.

    Hello

    Is someone can you please tell me how can I play http live streaming from OUT 3.2 for Flash player, iphone, ipdad, HTML5 player, Android and other devices?

    I tried my best to play live streaming factory OUT 3.2 with the help of " " http://help.Adobe.com/en_US/flashmediaserver/DevGuide/WSd391de4d9c7bd609-52e437a812a3725df a0 - 8000.html "but not able to play the video using HTTP. "

    When I tried to play url - "http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m" " " even Strobe Media Player it showed 'Buffering' that's all. " But I can play same URL RTMP in Flash AS3 using the very fine netstream.

    Now, I want to test the content of livepkgr via HTTP to Flash Player, HTML5 player (on the Web browser and smartphones), iphone and other devices.

    Thank you

    Best regards

    Sunil Kumar

    I can't download from thw link you provided. But I tried a simple video playback on my end and it worked for me:

    http://VJs.zencdn.NET/c/video-js.CSS"rel ="stylesheet">

    preload = "auto" width = "640" height = "264" poster = "my_video_poster.png"

    data-setup = "{}" >

    http://qthttp.Apple.com.edgesuite.NET/1010qwoeiuryfg/SL.m3u8' type = "video/mp4" >

    Please try this and let me know if it works for you.

    Thank you

    Apurva

  • HTTP Live Streaming for Apple IOS devices

    Hello

    We have installed FMS 4.5, including Apache 2.2 on a server of Windows 2008 R2 64-bit according to the instructions provided in the video which can be seen here:

    http://www.Adobe.com/devnet/flashmediaserver/articles/install-verify.html

    Accessing the test page for the server works fine for HTTP Dynamic Streaming and RTMP Dynamic Streaming samples.  However, when we try to use HTTP Live streaming of the samples on the test on an iPad via AnyConnect web page, we see only a blank page with a small icon of Abobe Flash in the upper left corner which is basically saying that the Flash has been detected on the page and is not supported by the iPad.

    The video above shows HLS working on an iPad with no additional installation steps.  Can you hep?

    Found the answer

    The homepage on the Adobe server has an error in the javascript.

    If (uagent.search ('iphone')! = - 1 | uagent.search ('ipad')! = - 1) {}

    should be

    If (uagent.search ('iPhone')! = - 1 | uagent.search ('iPad')! = - 1) {}

    .. .capital P

  • config fms 4.5 request protected Apple HTTP Live streaming

    Hi ~

    I'm trying to encryption key custom config for different parts of the level streaming content using jit.conf On-demand Apple HTTP Live streaming.

    I tried to put "Happy HLSEncryptionScope" in the httpd.conf file and placed jit.conf in... vod/webroot/but not successful, the m3u8 generate no contains EXT-X-KEY.

    My jit.conf is placed wrongly?

    and I tried and nothing in the plugin access log file while I http stream a m3u8 file, is possible to connect to HTTP Live Streaming, using plug-in?
    can the plugin you have any event raised by http streaming?

    Someone can help

    Thank you very much.

    Hello

    Thank you for using the FMS 4.5.

    In the event that you have configured, HLSEncryptionScope content (and without comment it) under , you can configure the settings under jit.conf. jit.conf encryption must be placed as well as the content file. So, in the case where if your content file is placed under... / webroot/vod... JIT.conf must be in... / webroot/vod... In case your content file is for example inside... / Webroot/VOD/myhlsFile... JIT.conf must also be there...

    Make sure now that,.

    1. in jit.conf, you mentioned correctly the uri path and the keys to the key file. Don't forget the two needs to be mentioned in the jit.conf

    2. make sure that jit.conf is a valid xml code (to avoid the mistakes of edition). Opened in any web browser to validate.

    3. make sure that the key file is generated using tool scramble under \tools\scramble

    4. at the origin for the criterion of the test object with a uri with the http protocol key. If things run successfully, then try with https

    You can view the error logs (inside the /logs) any error in the configurations of reading or by applying configurations... You can also change the debug logging level in the httpd.conf file

    Thank you

  • How can I play http live streaming in osmf?

    Hello

    I was trying to play http live streaming in osmf player but he said "Error #1009: cannot access a property or method of a null object reference." I think I have to make some changes in the code of OSMF player playing live as VOD plays very well. Can anyone point me in that direction?

    Thank you and best regards,

    Amit

    Amit, if your asset has worked in the Flash Media Playback configuration tool (after configuration "Are you using HTTP Streaming or Flash Access 2.0?" to 'Yes')-then the asset even should simply work in OSMFPlayer if you compile correctly the player and the OSMF 10.1 lib.

    See the instructions for it in the provided link that Silviu.

    I don't see how we can help otherwise.

    -Andrian

  • How to publish the http live stream

    When I use Adobe Flash Media Server 4.5 publish live http streams. I found a message from Server Log to manage Adobe Flash Media Console administrator servers. It is said that 'Impossible to record the live stream (disk quota exceeded)."  How can I do to resolve the issue?

    Hello

    Thank you for using the FMS 4.5.

    I assume you are using a developer edition (trail), FMS. It has restriction of 10 minutes for HDS streaming, after which, the journal exceeded disk Quota would come to the top. You must upgrade to the other flavors use HDS full-time.

  • How to play mp3 in the simulator of Tablet

    I want to integrate its App, the snippet of code as follows:

    Sound/speakers in the Simulator do not currently work.  We hope that in the next version of the SDK.  If it works as an AIR application, you are safe to assume that it will work on the device end probbly.

  • Dynamic Live Stream Don t take the best flow of my bandwidth

    Hi @all,

    I hope someone can help me with my problem - btw. Sorry for my English!

    I create a customer application side where is only a component of the FLVPlayback2.5 and a little AS3 script.

    AS3:

    Fl.video import. *;
    VideoPlayer.iNCManagerClass = NCManagerDynamicStream;

    myPlayer.fullScreenTakeOver = false;

    var dsi:DynamicStreamItem = new DynamicStreamItem();
    myVideo.source = "dynamicStream.smil".
    dsi.startRate = 1548;
    DSI. URI = "rtmp://x.x.x.x.x/dani_/";
    dsi.addStream ("test548", 548);
    dsi.addStream ("test848", 848);
    dsi.addStream ("test1548", 1548);


    myPlayer.play2 (dsi);

    My encoder is configured with three components:

    1. Video: 500 Kbps - Audio: 48 kbps
    2. Video: 800 Kbps - Audio: 48 kbps
    3. Vid: 1500 kbps - Audio: 48 kbps

    I start the encoder and everything seems fine in the newspaper.

    In my browser (Safari or Firefox), I go to my site in html and start the stream after 6-8 sec. But in any time with a lower speed 548 kb/s and nothing look like the flow is move at a different rate.

    I tried with the smil playlist and the result is the same. Only the lowest flow is published.

    My network connection is on a line of Zadeh 100MBit, so I Don t think that my connection is the problem

    What I did wrong? Or I missunderstood something in examples for dynamic streaming?

    Greetings from Munich/Germany

    Daniel

    EDIT: Should I change something in the ini file or in a nother from the server configuration file.

    Message geändert durch 77nautius

    Is this problem was there, but it has been fixed now, and the new version will soon be on the public Web site until there please wait.

  • 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

  • M3u8 sample Live Streaming HTTP plays don't not - stand-alone JavaFX 2.2.7 for java 1.6.0.32

    Hi all
    I searched high and low on the here and the wild wild web, but cannot find any support for my problem.

    I was testing my code of JavaFX2.2.7 Media Player based in a common Java 6 application when I discovered that HTTP Live Streaming does not seem to work.  I can play a local file of the format supported (Sintel trailor mp4 h264), but when I try and use a stream of Live HTTP instead, nothing plays. (for example http://download.oracle.com/otndocs/products/javafx/JavaRap/prog_index.m3u8 ).  I find myself with an empty drive and no exceptions or errors.

    private final static String MEDIA_URL = " " http://download.Oracle.com/otndocs/products/JavaFX/JavaRap/prog_index.m3u8 "; "

    Media = new Media (MEDIA_URL);

    MediaException ex = media.getError ();

    If (ex! = null) {}

    System.out.println ("Media error" + ex.getMessage ());

    } else {}

    System.out.println ("no media error");

    }

    Program the output to the console: "No. Media Error.

    I thought it was something wrong with my Player code, as a last resort, I went to JavaFX 2 - together and copied from the source and put it directly in my application and it ran... Unfortunately occurs the same result. The player runs, but simply shows a video window empty.  Controls are available, but the video plays.

    Based on the release notes for Java 2.2.7 that I was under the impression that HLS has been supported.  Am I incorrect?

    I can't upgrade to Java 7 because I'm firmly stuck with Java 1.6.0.32 for lack of project.

    Can anyone provide any assistance would be greatly appreciated.

    Post edited by: 2b18d6de-8200-4adc-a82a-88fc0451f448 I've updated for JavaFX 2.2.21 and this has not fixed the problem.  The result is exactly the same.  No exceptions, no error and no video...

    My Conclusion: Http Live Streaming does not seem to work with JavaFX 2.2.7 or 2.2.21.

    I've proved since the problem lies with 2.2.7 JavaFX and JavaFX 2.2.21, and that by using the new JavaFX comes with Jre7 solves the problem.

    I created a completely new and added that the JavaFX jars comes with 7 project JRE on my road to build.  I copied the code from http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html#SAMPLES/Media/Streaming%20Media%20Player and it works.

    So, I made a few changes on my original Java Eclipse project.

    Removed the build path:

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\jfxrt.jar

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\javaws.jar

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\plugin.jar

    -C:\Program Files (x 86) \Oracle\JavaFX 2.2 Runtime\lib\deploy.jar

    Added to build the path:

    -C:\Program Files (x86)\Java\jre7\lib\jfxrt.jar

    -C:\Program Files (x86)\Java\jre7\lib\javaws.jar

    -C:\Program Files (x86)\Java\jre7\lib\plugin.jar

    -C:\Program Files (x86)\Java\jre7\lib\deploy.jar

    Always using the 1.6.0_32 Java runtime, I ran my application and everything worked.

    Of course, this will be like a giant hack. I am disappointed by the release notes for JavaFX 2.2.7.

    NOTE: To export my request as an executable Jar, I also had to pull the related JavaFX ".dll" JRE 7 libraries and add them to the java.library.path (using script commands) before running the jar.

  • mediaPlayer.state - play status not reported for live streams

    I'm listening for the MEDIA_PLAYER_STATE_CHANGE event on mediaPlayer to control the display of a chart of buffering. When you listen to a video recording I get an equal mediaPlayer.state to "buffer" followed by a State equal to 'play '. However, when reading a live feed I get the status of "buffer" but never to see the State of 'game '. Live video plays but the change event seems not be sent.

    The two videos are streaming from FMS.

    Has anyone else seen elsewhere? Please let me know if there are additional details, you want to know to help find it.

    Kind regards

    -michael

    Thank you Michael for reporting this issue, a bug is already ranked for that matter. You can listen to PLAY_STATE_CHANGE on PlayEvent with Live Stream to work around the problem until the bug is fixed.

  • Error when, with audio streaming via HTTP to the Simulator

    I use JDE 4.7 and 8900 Simulator.  I'm trying to listen to an MP3 via http to a blackberry app.  When you use the BufferedPlayBack example screen, I get the following error when the data source is trying to open the connection - "net.rim.device.cldc.io.dns.DNSException: error trying to solve.

    When I enter the same URL in the BlackBerry browser on the Simulator, I get the following error: "the selected server returned an error when you try to respond to your request.

    When I enter the same URL in my web browser in my PC, I am able to stream audio and play with QuickTime.

    Why I get this DNSException on the BB and not on my local PC?  The web engine runs also locally.  I know that the BB Simulator does not support rstp.  The Simulator also not does support streaming over http?

    This is the URL I used:

    http://myLocalMachine:8080/myMusic/anAudio.MP3;deviceside=true

    Thanks in advance!

    T

    I found a solution to the question in the thread below.  I increased the connection. MaxNumberOfKBytesToSend = 10240 in the... File MDS\config\rimpublic. Property and so was able to sucessfully stream mp3 to my request.

    http://supportforums.BlackBerry.com/T5/Java-development/increase-MDS-CS-limit-on-http-download-size/...

  • I tried to record some live audio. I downloaded Wondershare Streaming Audio Recorder I opened the program - but could not hear the audio I tried to play.

    original title: sound problems

    Hello!

    I tried to record some live audio. I downloaded

    Wondershare Streaming Audio Recorder

    I opened the program - but could not hear the audio that I tried to play. I don't know if downloading this program is related to the problem.
    I opened Skype - and everything worked fine. I could hear, etc. But if I run an MP3 in Windows Media Player - I hear nothing!
    My sound is at the top.
    In my Volume mixer, I see:
    1 output device digital (SPDIF) bounce up and down. (but I don't)
    2 but applications: sounds of Windows, Windows Media Player and Google Chrome will not move. (but they are at the top).
    Any suggestions?
    Jews

    I managed to get the results of work. I don't know where come the SPDIF.

    I downloaded a new driver Realtek for audio from the computer. This corrects the problem.
    But I still want to know what happened.
  • Audio IOS RTMP live stream

    Hi guys I hope that some of you will be able to help me.

    I'm trying to stream audio from a live RTMP stream using the NetConnection and NetStream classes. I managed to get my app works without problem on Android, but I have some major difficulty make him play the audio back on iPad. Interestingly, it works in the device emulators when you are debugging, but I guess this isn't really an accurate representation. I tried streaming RTMP in AAC and MP3, but without success to be. I check through debugging that there haven't connected to the stream, however I just get no audio playback.

    Everything I read on door to believe that this is possible on IOS that I'm only interested by audio and video not. Can anyone help?

    Code example below (it's quick and dirty! ).

    Thanks in advance!

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark" title = "Audio" creationComplete = "init ()" >

    < s:layout >

    < s:VerticalLayout paddingLeft = "10" paddingRight = "10".

    paddingTop = "10" paddingBottom = "10" / >

    < / s:layout >

    < fx:Script >

    <! [CDATA]

    import flash.media.Video;

    import flash.net.NetConnection;

    to import flash.net.NetStream;

    Import mx.core.UIComponent;

    private var vid:Video;

    private var videoHolder:UIComponent;

    private var nc:NetConnection;

    private var defaultURL:String = '[STREAM]. "

    private var streamName:String = '[STREAMNAME]. "

    private var ns:NetStream;

    private var msg:Boolean;

    private var intervalMonitorBufferLengthEverySecond:uint;

    private function init (): void

    {

    vid = new Video();

    VID. Width = 864;

    VID. Height = 576;

    VID. Smoothing = true;

    Join the video of the scene

    videoHolder = new UIComponent();

    videoHolder.addChild (vid);

    addEventListener (SecurityErrorEvent.SECURITY_ERROR, onSecurityError);

    grpVideo.addElement (videoHolder);

    Connect();

    }

    public void onSecurityError(e:SecurityError):void

    {

    trace ("error in security :");

    }

    public void connect (): void

    {

    NC = new NetConnection();

    NC.client = this;

    nc.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);

    nc.objectEncoding = flash.net.ObjectEncoding.AMF0;

    NC. Connect (defaultURL);

    }

    public void netStatusHandler(e:NetStatusEvent):void

    {

    Switch (e.info.code) {}

    case "NetConnection.Connect.Success":

    trace ("audio - connected successfully");

    createNS();

    break;

    case "NetConnection.Connect.Closed":

    trace ("audio - Connection closed");

    Connect();

    break;

    case "NetConnection.Connect.Failed":

    trace ("audio - connection failed");

    break;

    case "NetConnection.Connect.Rejected":

    trace ("audio - connection rejected");

    break;

    case 'NetConnection.Connect.AppShutdown ':

    trace ("audio - application shutdown");

    break;

    case 'NetConnection.Connect.InvalidApp ':

    trace ("audio - app connection not valid");

    break;

    by default:

    trace ("audio-" + e.info.code + "-" + e.info.description);

    break;

    }

    }

    public function createNS (): void

    {

    trace ("NetStream creation");

    NS = new NetStream (nc);

    NC. Call ("FCSubscribe", null, "live_production"); Do not use this option if your CA requires it

    ns.addEventListener (NetStatusEvent.NET_STATUS, netStreamStatusHandler);

    vid.attachNetStream (ns);

    OnMetaData and onCuePoint //Handle event reminders: solution to http://tinyurl.com/mkadas

    //See another solution to http://www.Adobe.com/devnet/flash/QuickStart/metadata_cue_points/

    var infoClient:Object = new Object();

    infoClient.onMetaData = function MDGs (): void {};

    infoClient.onCuePoint = function oCP (): void {};

    NS.client = clientside;

    ns.bufferTime = 0;

    NS. Play (StreamName);

    ns.addEventListener (AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);

    function asyncErrorHandler(event:AsyncErrorEvent):void {}

    trace (Event.Text);

    }

    intervalMonitorBufferLengthEverySecond = setInterval (monPlayback, 1000);

    }

    public void netStreamStatusHandler(e:NetStatusEvent):void

    {

    Switch (e.info.code) {}

    case "NetStream.Buffer.Empty":

    trace ("audio - buffer empty :");

    break;

    case "NetStream.Buffer.Full":

    trace ("audio - buffer full :");

    break;

    case "NetStream.Play.Start":

    trace ("audio - beginning of the game :"); ")

    break;

    by default:

    trace ("audio-" + e.info.code + "-" + e.info.description);

    break;

    }

    }

    public function monPlayback (): void {}

    Print the current length of the buffer

    trace ("audio - buffer length:" + ns.bufferLength);

    trace ("audio - FPS:" + ns.currentFPS);

    trace ("audio - delay Live:" + ns.liveDelay);

    }

    public function onBWDone (): void {}

    Do nothing

    }

    public void onFCSubscribe(info:Object):void {}

    Do nothing. Prevents the error if connection to CDN.

    }

    public void onFCUnsubscribe(info:Object):void {}

    Do nothing. Prevents the error if connection to CDN.

    }

    []] >

    < / fx:Script >

    < s:Group id = "grpVideo" >

    < / s:Group >

    < / s:View >

    Just an update on this for all of you who come along after me.

    I managed to get this working on the MP3 but not AAC (I guess just AAC is not taken in charge?).

    My problem was the buffertime. Docs seemed to indicate that it should be set to 0 for live streaming, however he switch to "1" has solved my problem on the particular flow I pointed at.

    So, essentially above the justchanged line:

    ns.bufferTime = 0;

    TO

    ns.bufferTime = 1;

    Would be nice to know if someone got AAFC works though...

  • streaming audio over the internet using wme 9 or expression encoder 4 on server 2012

    I hope someone can help. I use successfully wme 9-audio live stream of a phone line at the line in on the server. It is accessible on the internet from a link on my Web site in the ip address and port on the server. It works fine, but I am unable to set it up on a new Server 2008 or 2012 using the essentials and server media pack. the current server works slightly and needs retirement. I'm completely puzzled as to why I can't make it work on any other machine. I use the same router and routing to the same ports on each server that I have tested. Reports from media player there is a network connection problem on each of the servers, with the exception of the only collaboration server 2008.

    Hi Patricia,

    I suggest you to send your request in the TechNet Forums to improve assistance in this regard. They are experts in your field of investigation and would be in a better position to answer your concerns.

    http://social.technet.Microsoft.com/forums/en-us/home?category=w8itpro&filter=AllTypes&sort=lastpostdesc

    It will be useful.

Maybe you are looking for