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

API 'onMeta' check bandwidth? kbps?


I am trying to capture the used "bandwidth/network data" via JavaScript API 'onMeta', see your demo page has output the 'kbps' info, but trying on my site, only output the bandwidth info.

Can using the bandwidth to calculate the 'used network data'?? & can I know the unit of bandwidth. I am now using player version 6.9.

Coding Below:
var player = jwplayer("video_player").setup({
file: "rtmp://stream_wowza_server/vod/mp4:uc/testing.mp4",
width: 1014,
height: 480,
autostart: false
});

player.onMeta(function(event){
console.log(event.metadata);
})

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you mean something like this?

http://www.jwplayer.com/labs/experiments/adaptive-streaming/

maximiliano.e

User  
0 rated :

Hi Ethan how can be implemented this or it's already implementend to use?

Ethan Feldman

JW Player Support Agent  
0 rated :

The code to the demo is available in the source of the example.

This question has received the maximum number of answers.