• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster Pro
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by Josh Sawyer · Jan 10, 2018 at 05:16 PM · wowza streaming engine

Load Balance with Nginx

I have set up Nginx to do ssl offloading. this works great.

If I choose to use this as a load balancer for my wowza servers do I need to set it for session persistence ( Ip_hash) in Nginx? Or should I be using another method.

TIA

Josh

Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Peter Bednar · Jan 11, 2018 at 08:44 PM

Hi, yes you can set ip_hash for session persistance. I am using it also this way.

Comment
Matt Davidson

People who like this

1 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Josh Sawyer · Jan 12, 2018 at 03:08 PM

Peter once again thankyou. I wanted to know if you also use Nginx to proxy RTMP streams in support of android devices. If so how do you set up your server blocks for those?


TIA

Josh

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Peter Bednar · Jan 12, 2018 at 07:17 PM

Hi

I am using only hls stream cause I am using flowplayer with hlsjs plugin and it covers all modern browsers with http/https streams.

But nginx allows tcp/udp load balancing - it's covered in this docu https://www.nginx.com/resources/admin-guide/tcp-load-balancing/ and it's very straightforward. Load balance rtmp protocol is much more easier than http/s. Back then when hls wans't so popular I was using nginx/haproxy as rtmp load balancer.

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Josh Sawyer · Jan 12, 2018 at 08:00 PM

I am using Jwplayer and if I use http I have no problem on android phones playing HLS streams. I am hopping that there is just a certificate issue and I can forget RTMP all together much like you.

What I see and people describe as an issue for android devices is ssl Chain issues. I am going to follow this guide first to see if that resolves my problem before I try tcp-load-balancing.

https://thecustomizewindows.com/2015/05/nginx-ssl-certificate-incomplete-chain-issues-fix/

Josh

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Peter Bednar · Jan 12, 2018 at 08:09 PM

I have no problem with HLS over https on android devices. If you get some specific error, you can paste here, I will try to debug.

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

WSE Stream Target a Scheduled Facebook Live Event 4 Answers

Video not stored in my content foler 1 Answer

​Details about Wowza Player license 1 Answer

DVR: Null manifest entry 1 Answer

Automating YouTube Live 3 Answers

Hot Topics
  • Streaming Protocols
  • Wowza SDKs
  • AWS Hosting
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Partners
  • Partners Overview
  • Find a Reseller
  • Channel Partner Program
  • OEM Program
  • Wowza Reseller Portal
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Contact Us
Stay Connected
Sign Up for Our Blog
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster Pro
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges