Results 1 to 5 of 5

Thread: HLS Live Streaming origin-edge repeater

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default HLS Live Streaming origin-edge repeater

    setRepeaterOriginUrl works perfect for RTMP connections within an edge server but how do we achieve the same with HLS streaming? How can we intercept an HLS connection and tell it which origin server the stream is on internally? We have multiple origin servers. Using the failover origin method is not sufficient, neither is creating an application for each origin in the edge server.

  2. #2


    Hello there,

    With Flash RTMP there is a NetConnection and a NetStream, represented server-side by IClient and IMediaStream objects. Flash can connect to Wowza and you can do many things server-side in onConnect like validation and the 302 redirect method where the connection is rejected (used in the Load Balancer). You can't do any of that where connecting and streaming are the same thing, and because there isn't a two way communication you with HTTP and RTSP sessions.

    You can see what methods are available in the Server-side API or using code-hinting in the IDE. Or you might look into the StreamNameAlias system:
    How to get the StreamNameAlias AddOn
    This is one of the examples in package readme:
    Examples stream alias file 1:
    # Fork streams off to multiple origins
    Kind regards,


  3. #3


    Listing streams in a file is not practical. At all. And will not work for us. We need to be able to point the HLS session to the correct origin within code. If this is not supported, my mind will be blown. So far I have not found any way to do so on my own.

    Please advise.

  4. #4


    Bump. Still haven't found a solution to this problem. Moving away from RTMP and would like to be able to internally point/redirect an HLS request to the correct origin server. This seems like something really straight forward and I'm scratching my head as to why this still isn't implemented. All I want to do is listen for HLS requests and internally tell the edge server which origin server the stream is located so it can connect and serve up the HLS stream quickly.

    Also onHTTPSessionCreate isn't called when a new HLS request comes in. It simply sees there isn't any origin servers in the XML file and begins timing out endlessly. This is more frustrating than it has to be quite frankly.

  5. #5
    Join Date
    Jun 2012



    You might want to look at the StreamName Resolver module described in the "How to dynamically resolve edge server stream requests to origin servers" forum article. I think you might find it useful for your current workflow.


Similar Threads

  1. Live Repeater Origin-Edge and HTTP Caching Origin
    By vjagannathan in forum General Forum
    Replies: 3
    Last Post: 06-18-2014, 02:56 AM
  2. Disconnecting the current session between a live repeater edge and the origin
    By vjagannathan in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 11-12-2013, 02:39 PM
  3. How do I configure origin/edge live streaming to provide HLS to iOS devices?
    By pobrejuanito in forum Live Streaming and Encoder Discussion
    Replies: 8
    Last Post: 09-27-2012, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts