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

adaptive Bitrate in RTMP redirect


how to get adaptive bitrate to work with RTMP redirect?

this is the code I'm using -
jwplayer("player_content").setup({
flashplayer:"jwplayer.flash.swf",
height:385,
width:640,
"controlbar.position":"bottom",
file: "rtmp://rtmppath/vod/mp4:ZFFuXNu1BVdmvwhEZSfv.mp4",
type:'rtmp'
primary: "flash",
});
How do I toggle between HD qualities without using smil files?

10 Community Answers

sal.fragale

User  
0 rated :

We are unable to get RTMP redirects to work with ABR. Seems like only one or the other works. We've tried using smil files and just putting the rtmp path in the main embed code. Any suggestions on the right format to use? This worked perfect in JW5, but not in JW6. We are using the latest version of JW6.

Cooper Reid

JW Player Support Agent  
0 rated :

To enable a quality toggle for RTMP using a sources block:

jwplayer(“player”).setup({
image: ‘bunny.jpg’,
sources: [
{file: ‘rtmp://bunny.mp4’, label: ’320p’},
{file: ‘rtmp://bunny2.mp4’, label: ‘540p’, ‘default’: true},
{file: ‘rtmp://bunny3.mp4’, label: ’720p’}
],
width:‘100%’
});

-Cooper

sal.fragale

User  
0 rated :

It doesn't work. I am using the same code and still don't see an option to toggle between qualities?

Cooper Reid

JW Player Support Agent  
0 rated :

Can you please provide a link so we can troubleshoot your issue?

Regards,
Cooper

sal.fragale

User  
0 rated :

Hey Cooper,
Thanks for your reply. Although, I am unable to provide a link as its on our company's intranet. I can share my screen if your available to do that anytime .

we are using Cisco VDS CDN and below is the code

jwplayer("player_content").setup({
flashplayer:"jwplayer6.12.flash.swf",
height:385,
width:640,
backcolor:"ED1C24",
autostart:"true",
sources: [
{file: "rtmp://rtmppath/vod/mp4:ZFFuXNu1BVdmvwhEZSfv.mp4",label:'720p'},
{file: "rtmp://rtmppath/vod/mp4:360kb/ZFFuXNu1BVdmvwhEZSfv.mp4",label:'720p'}
]
})

is anything wrong here?

Cooper Reid

JW Player Support Agent  
0 rated :

Your code looks perfectly fine to me. I can’t see anything that sticks out at the moment – I would need a link to troubleshoot the issue more.
Cooper

sal.fragale

User  
0 rated :

Hi cooper, I understand you would need a link to troubleshoot, but due to company policy I can't provide you that. can you get on a WebEx / screenshare session with us instead?

Cooper Reid

JW Player Support Agent  
0 rated :

Hi Sal -
I’m afraid we don’t currently have the capacity to provide that type of support right now. Can you try troubleshooting your RTMP resource in our tester:
http://demo.jwplayer.com/hls-tester/
-Cooper

sal.fragale

User  
0 rated :

Hi cooper,
Our RTMP resource works fine in your demo url but it has no option for HD toggle.
Following are the RTMP resources, could you please troubleshoot and see if you get toggle option?

rtmp://vztube.vds.verizon.com/vod/mp4:ZFFuXNu1BVdmvwhEZSfv.mp4

rtmp://vztube.vds.verizon.com/vod/mp4:360kb/ZFFuXNu1BVdmvwhEZSfv.mp4

Cooper Reid

JW Player Support Agent  
0 rated :

I believe you have the same label twice. Those should be unique:
jwplayer(“player”).setup({
image: ‘bunny.jpg’,
sources: [
{file: ‘rtmp://vztube.vds.verizon.com/vod/mp4:ZFFuXNu1BVdmvwhEZSfv.mp4’, label: ’320p’},
{file: ‘rtmp://vztube.vds.verizon.com/vod/mp4:360kb/ZFFuXNu1BVdmvwhEZSfv.mp4’, label: ‘540p’, ‘default’: true}
],
width:‘100%’
});
-Cooper

This question has received the maximum number of answers.