I am instantiating a jw player, with videos hosted on limelight. my setup call receives these parameters
(note i have hidden the urls with [...] for security)
{
"description": "Video Description",
"title": "Video Title",
"sources": [
{
"file": "rtmp://s2.csl.delvenetworks.com/a4820/l1/mp4:media/[...].mp4",
"bitrate": 322
},
{
"file": "rtmp://s2.csl.delvenetworks.com/a4820/l1/mp4:media/[...].mp4",
"bitrate": 772
},
{
"file": "rtmp://s2.csl.delvenetworks.com/a4820/l1/mp4:media/[...].mp4",
"bitrate": 128
},
{
"file": "rtmp://s2.csl.delvenetworks.com/a4820/l1/mp4:media/[...].mp4",
"bitrate": 1072
},
{
"file": "rtsp://s2.cml.delvenetworks.com/a4820/l1/media/[...].3gp",
"bitrate": 128
},
{
"file": "http://s2.cpl.delvenetworks.com/media/[...].mp4",
"bitrate": 322
},
{
"file": "rtmp://s2.csl.delvenetworks.com/a4820/l1/mp4:media/[...].mp4",
"bitrate": 472
}
],
"image": "http://img.delvenetworks.com/[...].jpeg",
"primary": "flash",
"autostart": true,
"width": 934,
"height": 526,
"ratio": 1.7,
"startparam": "ms",
"displaytitle": false,
"start": 0,
}
When I run getQualityLevels(), I only get one value, truncated after mp4:media. I have read the docs suggesting to use a descriptor file for various sources, but Limelight doesn't provide this in their API at the moment. Hence why I am feeding it various sources.
I need the player to play the highest quality video by default. but unfortunately only plays the lowest quality one and has no other qualities for me to switch to
Any ideas what I am doing wrong?
↧