Results 1 to 3 of 3

Thread: loadbalance wowza 4 , transrate, ec2 edges

  1. #1

    Default loadbalance wowza 4 , transrate, ec2 edges

    HI

    I have managed to setup and have work mostly a system below.

    Structure:-
    Encoder Live stream output -> wowza4 (transrating) in our datacentre "live- record" -> wowza4 EC2 as "liverepeater-edge-origin" -> 2 or more wowza4 EC2 "Liverepeater-edge"

    I can stream and see pictures on the edges - they all link together on the wowz:// protocol.

    The loadbalance info can see the ec2 edges and not the EC2 edge-origin (only want the clients to connect to the "edges" not the cloud "edge-origin" server or our data center server) - it loads in the loadbalancer on its ec2 startup script.

    If I select a dedicated output from the transrate on a edge ip or on the "edge-origin" address I get pictures that are pulled from the main server.

    but when I use an address type like this:-

    http://[wowza-ip-address]:1935/live/ngrp:myStream_all/playlist.m3u8
    and also with the redirect in it it does not seem to work.

    I want to really confirm that if I have my wowza4 datacentre server setup to transrate a live stream that can be carried forward to the edge-origin and edges on EC2 and the redirects can handle the multi streams so the systems adjusts according to bandwidth. Which I have seen work when connected directly to the datacentre server.

    I need this bit:

    http://[datacentre-wowza-ip-address]:1935/redirect/live/ngrp:myStream_all/playlist.m3u8
    to get to this

    http://[EC2edge-wowza-ip-address]:1935/live/ngrp:myStream_all/playlist.m3u8
    and then bitrate adapt

    I would seem that I have got all the parts working separately but not when stringing them all together.

    Look forward to your input.

    thanks

    Alex.

  2. #2

    Default

    Hi,

    If I'm reading this correctly, you want the name group to be available on the edge? One option is to create stream files in the content folder on the edges that contain the full RTMP URL to your origin stream, e.g.

    File: /content/origin.stream
    Contents: rtmp://[wowza-origin-address]:1935/liveorigin/myStream
    You could then create a smil file on the edge containing references to the individual stream files. This forum post from one of our developers has examples and further details. I'd work on this first as a simple origin/edge configuration and then test within a load balanced environment.


    Paul

  3. #3
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hi Alex,

    You have a support ticket #128506 where I have also answered your question. I will post it here as well so other forum user might benefit:
    I think that the main problem with your approach is the fact that you are using the transcoder stream groups (ngrp) which are only available on the server where the transcoder is running. In this case, this would be the Wowza4 transrating instance running in your data center.
    To access an adaptive bitrate stream, you should either use the SMIL files or the MediaList module (AMLST) on your edges, as described in the following forum articles:
    How to create and play SMIL files with streams created by Wowza Transcoder
    How to use Java API calls to resolve SMIL file requests (AMLST)

    For the multi-bitrate load balancing, please see the "WowzaDynamicLoadBalancingAddOn_UsersGuide.pdf" document, on page 13.
    Zoran

Similar Threads

  1. loadbalance for ios
    By soonsoon in forum Server-side Modules and Code Samples Discussion
    Replies: 10
    Last Post: 03-01-2013, 06:47 AM

Posting Permissions

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