Skip to main content
September 21, 2011
Question

Is there a way to stream/publish RTMP, HDS, and HLS at the same time?

  • September 21, 2011
  • 1 reply
  • 2045 views

Can I stream/publish all methods at the same time?  I really want most users to play my live streams via RTMP, however, fail over to HLS for Apple iOS.

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    September 21, 2011

    Hi,

    Thanks for your interest on the emerging solutions for streaming delivery.

    HDS and HLS can definitely be combined, in fact they use the same set of recordings (f4f) for delivery on iOS and other devices for HLS and HDS. Things are little different when it comes to RTMP as the means of delivery is no more HTTP and there is no reason to record the stream on to the disk and then fetch, as RTMP can work really real time. The same application can be made use to do all three, but out of the box , FMS 4.5 do not have this.


    Hope the info is useful. Thank you

    September 21, 2011

    My goal is to utilize RTMP for clients to receive the stream and fail over to HLS in the event they have an Apple iphone.. But..  Since they are two different protocols I would need an application built to integrate to FMS to make this happen?  Also, do you have a code snipet to redirect to a different web page in the event Apple ios is detected?  My goal is to have people access my stream page and the flash stream automatically starts, however, if a non-Flash device like Apple ios is detected it would redirect to a specified web page.  Here I would have the HTML code for HLS embedded.. Or even better, simply load HDS where compatible or load HLS where compatible.

    Nikhil_Kalyan
    Participating Frequently
    September 21, 2011

    Yes, that would be a very nice thing to do. As you mentioned you need some tweaks to make an applicatin that can failover for all the protocols nicely. The player also needs few changes. We, unfortunately as of now, do not have any readymade player(s) that is doing this. Hopefully, we can get that ready soon.