Hello!
How can I redirect Wowza to another server using header “Location: http://anotherserver/route”? I return header “Location: http://anotherserver/route”, but nothing happens
WARN server comment 2019-05-29 17:52:50 - - - - - 0.126 - - - - - - - - MediaCacheItemHTTPImpl.getItemInfo[deriv/files/media-server/e4bb39991e75188a.smil]: HTTP response: 302
WARN server comment 2019-05-29 17:52:50 - - - - - 0.127 - - - - - - - - MediaCacheItemBase.init: Item does not exist: http/e4bb39991e75188a.smil
WARN server comment 2019-05-29 17:52:50 - - - - - 0.127 - - - - - - - http/e4bb39991e75188a.smilopen: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: http/e4bb39991e75188a.smil
I have a certain route and from there I return the redirect to the requested video file.
Regards
You can achieve this with our Load balancer tool. The Dynamic Load Balancing AddOn enables Wowza Streaming Engine media server software redirect client connections across multiple server installations when a single server installation can’t manage them all. It can be found here:
https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon#dynamic-load-balancing-for-wowza-streaming-engine-4-7-3-and-later
There are examples listed in the User Guide pdf that is part of the package. You are welcome to submit a support ticket should you need assistance configuring this.
Thanks for the answer!
I have already seen this article, but unfortunately, this does not suit us as the problem of scaling will be solved by cdn. We just have a few php servers filled with video. And one server that knows on which of the servers the requested video file is located. By design, it returns the redirect to the desired server. And I would like to know if is it possible to teach wowza to follow redirects?
Regards
I’ll ask for you. Sorry for delay- I was out of town for a work event.
It was advised by tech support I show you this article @test test on push-publishing add-on.
https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing
If this still doesn’t help you, tech support would like you to submit a support ticket to help you understand how to achieve this through the push-publish map.
Hi @test test,
Did you ever get around finding a solution for Wowza to follow the Location: header request?