# Load balancing on Android and iOS

**URL:** <https://community.wowza.com/t/load-balancing-on-android-and-ios/36845>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [July 3, 2014, 12:31pm UTC](https://community.wowza.com/t/load-balancing-on-android-and-ios/36845 "2014-07-03T12:31:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefano\_Cavallini](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/stefano_cavallini/32/896_2.png) [@Stefano\_Cavallini](https://community.wowza.com/u/Stefano_Cavallini)\
**Post date:** [July 3, 2014, 12:31pm UTC](https://community.wowza.com/t/load-balancing-on-android-and-ios/36845/1 "2014-07-03T12:31:33Z")

</div>

Hi,

I use Flowplayer (with redirect 302) for RTMP live streaming and iOS, so want setup a load balancing configuration from two server,

in my player script I use Flowplayer for Web (able to make load balancing with Wowza) and iOS, and RTSP for Android (directly RTSP link)

so, how to make load balancing for mobile devices (rtsp,hls) ?

thanks

steve

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [July 7, 2014, 7:38pm UTC](https://community.wowza.com/t/load-balancing-on-android-and-ios/36845/2 "2014-07-07T19:38:55Z")

</div>

Hi,

If using the Wowza [Load Balancer](https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon) then you could look at using the following method to find the Wowza server with the least load:

```auto
http://[load-balancer-ip-address]:1935/loadbalancer

```

This will return a string in the format:

```auto
redirect=XXX.XXX.XXX.XXX

```

There is example ActionScript code in the “client” folder of the Load Balancer package that demonstrates how to request and parse this response. This can be used as a basis for more elaborate client side load balancing capabilities.

Paul

---

<div class="post-metadata">

**Author:** ![Stefano\_Cavallini](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/stefano_cavallini/32/896_2.png) [@Stefano\_Cavallini](https://community.wowza.com/u/Stefano_Cavallini)\
**Post date:** [July 8, 2014, 9:32pm UTC](https://community.wowza.com/t/load-balancing-on-android-and-ios/36845/3 "2014-07-08T21:32:21Z")

</div>

hi Paul,

ok understand,

thanks

steve
