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

No "Live Broadcast" label in multibitrate RTMP live stream


Hello,

on my multibitrate live stream served by a Wowza Streaming Engine and embedded with JW Player 7 I get a seekbar and elapsed time instead of the text "Live Broadcast" on client side (flash, rtmp). I don't had this problem with a different HLS multibitrate live stream in the past.

Embed code looks like this:

<div id="Player">Player wird geladen...</div>
<script type="text/javascript">
var playerInstance = jwplayer("Player");
playerInstance.setup({
playlist: [{
//image: "/assets/myVideo.jpg",
sources: [{
file: "http://domain-name/livestream/ngrp:live_all/jwplayer.smil?domain=domain-name:80"
},{
file: "http://domain-name/livestream/ngrp:live_all/playlist.m3u8"
}]
}],
width: "100%",
androidhls: true,
rtmp: {
bufferlength: 0.5
}
});
jwplayer().on("error", function(event) {
if (event.message == 'Cannot load M3U8: No levels in manifest' || event.message == 'Cannot load M3U8: No levels to play' || event.message == 'Cannot load M3U8: 404 not found' || event.message == 'Cannot load M3U8: 403 status code' || event.message == 'Error loading stream: ID not found on server' || event.message == 'Error loading stream: Could not connect to server') {
console.log("Cannot load stream.");
setTimeout(function(){
jwplayer().stop();
jwplayer().play();
console.log("Retrying stream.");
}, 5000);
}
});
</script>

Why it doesn't shows the "Live Broadcast" label?
The live stream runs great and switching the resolutions also works fine but a seekbar makes no sense in this situation.

Regards,
Andreas.

10 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, Andreas.

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

RTMP live streams should show “Live Broadcast” in the control bar, so in order to properly troubleshoot this, I will need to see a reproduction page with a live stream.

Thank you!

mail

User  
0 rated :

Hello Alex,

thank you.

Please have a look at the following test live stream:

http://af.abcde.biz/jwtest/jw-test.html

Regards,
Andreas

Alex

JW Player Support Agent  
0 rated :

Hi, Andreas.

That is definitely odd and I’ve never seen that before. I’m going to have to escalate this to our Engineering team to see what they say. As soon as I hear back, I will let you know.

Alex

JW Player Support Agent  
0 rated :

Hi, Andreas.

The issue appears to be related with your actual stream. When we took a look at the contents of your SMIL and put together a URL to one of the streams (rtmp://5.9.73.11/jw-test/definst_/mp4:livesource), the same thing happens in our Stream Tester. However, once I took one of our live RTMP streams and created a SMIL to wrap around it, the player still broadcast the “Live Broadcast” text.

I would recommend contact your streaming provider for more assistance.

Please let me know if you need any more help or have any other questions.

Thank you!

mail

User  
0 rated :

Hi Alex,

I am my own stream hoster. ;)
Like I mentioned I am using Wowza Streaming Engine (latest release) in a standard setup without any special configurations.
The different bitrates are created by Wowza transcoder and the SMIL is generated by an ngrp (transcoder) group with the jwplayer.smil extension from Wowza for JWPlayer. So you can see, absolutely standard configuration.

So, do you think it's a problem with the SMIL? What exactly is the problem with the Wowza generated SMIL?

Have you tried to create a multibitrate RTMP SMIL with different renditions?

Regards,
Andreas

mail

User  
0 rated :

Ok, so this is the output of the RTMP multibitrate SMIL, generated by Wowza Streaming Engine especially for JW Players:

<smil>
<head>
<meta base="rtmp://5.9.73.11:80/jw-test/_definst_" />
</head>
<body>
<switch>
<video src="mp4:live_source" system-bitrate="2128000" width="1280" height="720"/>
<video src="mp4:live_576p" system-bitrate="1428000" width="1024" height="576"/>
<video src="mp4:live_360p" system-bitrate="978000" width="640" height="360"/>
<video src="mp4:live_160p" system-bitrate="328000" width="284" height="160"/>
</switch>
</body>
</smil>

If you tell me what's the problem with this output I will open a ticket at Wowza.

Thank you and regards,
Andreas.

mail

User  
0 rated :

Ah sorry, I read your post again and I see that you think it's a problem with the RTMP-feed.
I am using ffmpeg to generate the RTMP-stream.

How does JW Player detects if it's live or not?

I'll try a few changes and get back to you.

Regards,
Andreas.

mail

User  
0 rated :

Alex, you're right.
It lies on the RTMP-feed. I switched the encoder to FMLE an now the Live Broadcast label is shown.
Any idea why?

Thank you for your help.

Regards,
Andreas.

Alex

JW Player Support Agent  
0 rated :

Hi, Andreas.

By “streaming provider”, I mean whoever your streaming engine is through. As for what our player looks for to be able to know it’s a live broadcast or not, I’ll have to check with our Engineers. As soon as I hear something back, I’ll let you know.

Thanks.

Alex

JW Player Support Agent  
0 rated :

Hi, Andreas.

It looks like we check the stream for a duration value and, if there isn’t one, then we treat the stream as Live.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.