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: "https://stream.url.:smilfile.videofile.m3u8",
autostart: false
});
player.onMeta(function(event){
console.log(event.metadata);
})
↧