Wowza Community

Multi-Wan Live streaming options

Hello, is there a way to split up a single stream using a Dual-Wan router (round-robin) with two internet connections (e.g cable and dsl) or even using a linux machine with 2 NICs and do Load Balancing and Failover sending a stream over to a Wowza server ?

Example. If one connection is up, it should work using that connection, if both connections are up, then it should balance out the upstream.

What is the method called and what are my options to do something like that ?

Usually when using a dual-homed or “rocketmodem” type Internet connection, each router can only handle one TCP connection. So if you have a 5mbit DSL and 10mbit Cable modem, you can download a file at either 5mbit/s or 10mbit/sec, but not at 15mbit/sec. You could use a download manager to open two tcp connections and download part of the file over each Internet connection, and thus utilize your full bandwidth.

But, I don’t think there is way to split one TCP connection (a stream) over two routers. Unless you wrote some custom software to do that and then reconstructed the stream on the other end.

mlapeyre,

Can I ask, why? Or, what the requirements are? Are you trying to re-stream it? You can use the Wowza transcoder to publish a lower bitrate you can play on your 1Mbps connection.

There is not a way in Wowza to split a stream.

A user made something similar. They wanted to upload using two Internet connections, rather than download.

I’m actually interested in this “splitting a stream and recombining” idea, for some reason.

Some ideas:

  1. Some custom solution in Java using sockets and maybe named pipes.

  2. You could record the video into pieces using LiveStreamRecord, then download them and play them as a playlist. The delay would only be as long as your file chunk sizes.

Well I am sure there is a way to make Synchronized multiple threads and that someone has already done it. I am just looking to find more information about it.

Hi Rondinos,

I have just read your post… I´m looking for something similar:

I need to stream video from a Wowza server that has a 2Mbps uplink to a remote computer connected through a router to 2 ADSL modems, each one with 1Mbps downlink…so I need to find a way to split in two the tcp stream at the server and then merge again both IP streams at the remote computer.

You talked about someone has done it before… have you found more information about that?

Thanks