# Load balancer 2 with jwplayer and adaptive bitrate streaming

**URL:** <https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [June 11, 2015, 3:42pm UTC](https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642 "2015-06-11T15:42:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [June 11, 2015, 3:42pm UTC](https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642/1 "2015-06-11T15:42:55Z")

</div>

Hi,

I’m trying to use jwplayer with Adaptive Bitrate Streaming.

It works when I use the following URL,

```auto
http://server/myApp/smil:myApp.smil/jwplayer.smil

```

But when I want to use the application which redirects to the least loaded server, it does not work.

I use the URL,

```auto
http://server/myApp_bal/smil:myApp.smil/jwplayer.smil

```

where myApp\_bal is the redirect application.

In this case, Wowza returns, i think, a valid .smil file like this:

I think that jwplayer is supposed to connecte in rtmp to myAppp\_bal application which will redirect to the least loader server.

The player does not start in this case. Any idea about this issue?

Thanks.

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [June 11, 2015, 6:13pm UTC](https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642/2 "2015-06-11T18:13:49Z")

</div>

Hi,

You can load balance adaptive bitrate stream using the [Load Balancer 4](https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon#loadbalancing4) package. You can find instructions in the “WowzaDynamicLoadBalancingAddOn\_UsersGuide.pdf” on page 13.

Here is a snippet from that document:

> You can also generate a multi-bitrate version of this output to allow redirection for adaptive bitrate (ABR) streams. To do this, the URL requires additional query parameters that describe the assets and bitrates. These should contain a comma-separated list of assets and their corresponding bitrates. If the number of assets and bitrates doesn’t match, no output is returned.
> 
> The following is an example for generating XML output for use in some Flash-based players:
> 
>  
> 
> **```auto
> http://**
> 
> **```**
> 
>  
> 
> In this example, an RTMP client using HTTP requests gets XML returned similar to:
> 
> \<?xml version="1.0"?\>
> 
> Hope this helps.
> 
> Zoran

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [September 7, 2015, 5:13pm UTC](https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642/3 "2015-09-07T17:13:09Z")

</div>

Hi, did you got the answer? I also would prefer JW PLayer show 720p instead of kbps with Load Balancer

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [October 13, 2015, 10:35pm UTC](https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642/4 "2015-10-13T22:35:55Z")

</div>

Hi,

This is not currently supported, but I will send your suggestion to our product management team to take it into consideration for a future Load Balancer package release.

Zoran

---

<div class="post-metadata">

**Author:** ![Duncan\_Brown](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@Duncan\_Brown](https://community.wowza.com/u/Duncan_Brown)\
**Post date:** [August 25, 2015, 3:41am UTC](https://community.wowza.com/t/load-balancer-2-with-jwplayer-and-adaptive-bitrate-streaming/642/5 "2015-08-25T03:41:36Z")

</div>

Hi

Is it possible to add additional arguments to the parameter

so that title becomes an attribute of the video tag within the smil?

I am using jwplayer and the HD toggle displays the values in kbps but I would prefer to have it display ‘720p’, ‘360p’. Adding &title to the URL just appends the whole value to the src. e.g.

?assets=HD-video.mp4,SD-video.mp4&bitrates=2000000,800000&title=720p,360p

generates:

whereas I would like it to generate:

Any help would be greatly appreciated,

Thanks in advance
