Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer does not load rtmp after a 302( rtmp redirect)


Hi, all .

I use FMS for doing rtmp stream server. And I use jwplayer as to rtmp player. I write a simple application in fms:

application.onConnect = function(client) {
var tcUrl = "rtmp://test:1936/hls/360";
application.redirectConnection(client, tcUrl);
}

And my jwplayer:


<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />

<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="jhTpqxkrW+6WprkHHs9qdAeaJcklR4gWIv5Q3A==";</script>
</head>
<body>

<div id="myElement">Loading the player...</div>

<script type="text/javascript">
jwplayer("myElement").setup({
file: "rtmp://test/live/livestream",
debug: true,
});
</script>
</body>
</html>

And I use jwplayer play rtmp , I found jwplay does not request my redirect stream(rtmp://test:1936/hls/360).

My question is how i play redirect stream?

Thanks .

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

JW Player supports JW Player 302 redirects if the stream is created correctly following industry standard protocol via Wowza: http://support.jwplayer.com/customer/portal/articles/1430349-about-rtmp-streaming . You need to ensure your setup is correct for the RTMP stream itself.

Kindly,
Randy

This question has received the maximum number of answers.