Hi,
I think that the RTMP redirect is not supported in the newer version of JWPlayer.
If you download the latest version of the Dynamic Load Balancer for Wowza Streaming Engine, you will see in the WowzaDynamicLoadBalancingAddOn_UsersGuide.pdf document on page 12, there is an example that describes RTMP redirection using the HTTP redirect request.
Basically you will be using a playback URL similar to this one with your JWPlayer:
http://[load-balancer-ip-address]:1935/redirect/[application-name]/[streamname]/loadbalancer.smil
which will return a SMIL formatted response, which will be picked up by JWPlayer. Here is how this SMIL response looks like:
<?xml version="1.0"?>
<smil>
<head>
<meta base="rtmp://[load-balanced-server-ip-address]:1935/[application-name]/_definst_" />
</head>
<body>
<switch>
<video src="[stream-name]" />
</switch>
</body>
</smil>
I hope this helps.
Zoran
Thanks for your reply
I enbaled loadbalancer module and it works but the user guide is weak or very professional .
Is this xml code server side?
Where i should put the loadbalancer.smil file ? In wowza content directory or somewhere else ?
As the user guide said the xml code is for rtmp redirect ,Does it work on HLS too?
I`m using latest version of jwplayer enterprise and i should use HLS to provide timeshift feature on my live contents. Is there any way to enable redirect 302 on jwplayer ? Or i should use DNS loadbalancing solutions ?
can you please introduce me a HLS player which support redirect 302 on a webpage .