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

Tags: BlackBerry Developers

Similar Questions

  • 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

  • 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

  • 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

  • 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

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

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

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

  • Live streaming with DVR on linux 64-bit platform

    Hello, everyone. I have deployed enterprise edition 4.0 FMS on my 64-bit linux platform. in the FMS applications folder, I create a subfolder "dvr" and at the same time to create a dvr.asc. the code is as follows:

    application.onAppStart = function()

    {

    trace ("app fme started!");

    };

    application.onConnect = function (p_c)

    {

    p_c.disconnectClient = function() {}

    trace ("-disconnectClient" + application.clients.length + "-");

    application. Disconnect (p_c);

    }

    this.acceptConnection (p_c);

    };

    application.onPublish = function (p_c, p_stream)

    {

    trace ("onPublish streams:" + p_stream.name);

    p_stream.record ();

    };

    application.onUnpublish = function (p_c, p_stream)

    {

    trace ("stream of onUnpublish:" + p_stream.name);

    p_stream.record (false);

    };

    I'm waiting for the live stream will be recorded on the FMS server, but unfortunately nothing has happened.

    But if I use my pc (xp 32 - bit windows platform), everything works fine. When I connect to my pc win_xp

    the fms server automatically created a file streams\_definst_\myVideo.flv under the folder of dvr.

    then the fms on linux 64-bit server cannot create the mavideo file. FLV?

    everything here can give me some advice?

    Thank you for your response. I am a new learner of linux, so I have a lot to learn linux technologies. your answer was referring to 'permissions', then I connect the linux server and use the command 'chmod' to make the directory writable for the video editor dvr.

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

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

  • Live stream on Media player keep encountering the problem.

    I'm watching a live stream with Windows Media player and he continues to show the media connection, then error comes Windows Media Player encountered a problem while playing the file.  For assistance, click Web help.  When I clicked that show multpile things to try.  One is the windows media player C00D11B1 error message. I have Windows Vista Service pack 2. Any help or information?

    Hello

    I suggest you to refer to this link and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows7/C00D11B1

    It will be useful.

  • Problem with the help of HLS HTTP Streaming on AMS 5

    Hello

    I use 5 AMS and try using HLS http streaming to devices mobile iOS.

    When I try to open URLs of flow hls http://host-NAMEL/HLS-live/livepkgr/_definst_/LiveEvent/Livestream.m3u8 I noticed as " " Livestream.m3u8 was not found on this server"."


    http://host-name/HDS-live/livepkgr/_definst_/LiveEvent/Livestream.F4M Watch

    " < manifest xmlns =" http://ns.Adobe.com/F4M/1.0 ">

    livepkgr/events/_definst_/liveevent < id > < /ID >

    < mimeType > < / mimeType >

    < streamType > live < / streamType >

    < duration > 0 < / time >

    < / manifesto >

    When I start streaming via OUT AMS living newspapers I see

    Name of the stream is: liveevent and the event is live: liveevent

    F4F:LiveEvent - NetStream.Data.Start

    F4F:LiveEvent - NetStream.Publish.Start

    F4F:LiveEvent - NetStream.Play.Reset

    F4F:LiveEvent - NetStream.Record.Start

    F4F:LiveEvent - NetStream.Codec.Error

    But there is no information on *.m3u8

    I use the configuration of default adobe with appache included for installation of AMS.

    What can reason do not work HLS.

    Also cannot find information on CTS in appache logs

    Sorry for my English.

    Well, it's good looks.

    m3u8 is a kind of playlist where the player to get the meta-to play different pieces in order to view a livestream.

    Initially, you will have to wait a few seconds (I think 30 by default) the AMS can display these pieces.

    M3u8 Url´s can only be displayed in specific players (JWPlayer for example) or on browsers as native Safari (osx / ios). I'm not sure playing m3u8 Url´s on Android devices.

    But I you enter this URL in your safari on a mac or iphone / ipad, you will see the livestream.

    Another problem could be the mode "full screen", which is forced on iOs for some reason. On the iPad, you can play the inline flow as well as an additional parameter (webkit-playsinline = "1"-> works only on ipad).

    Hope that helps a little... If you don't have any OSX / IOS device for the test, just start a data stream and send me your url via private message. I can test it for you if you want

    !

  • Can you live stream RTMP and HLS

    Is it possible to live stream RTMP and HLS with FMS 4.5?

    I want flash to users to have the least possible latency using the RTMP protocol, and iOS users to HLS.

    If possible, how can I achieve this?

    Yes, this should be possible...

    You can publish on the netconnection rtmp://server-ip/livepkgr a stream say "livestream".

    On ios, you can mailing to http://server-ip:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8

    In flash, you can subscribe to (Netconnection: rtmp://server-ip/livepkgr streamName: livestream)

    It may be useful

Maybe you are looking for