Hls.js: Get current playing fragment sequence number

Created on 24 Jun 2016  路  2Comments  路  Source: video-dev/hls.js

Hi.

Is it possible to get current playing fragment sequence number?

Question

Most helpful comment

yes, you need to listen to

hls.on(Hls.Events.FRAG_CHANGED,function(event,data) {
   console.log('frag sequence number:' + data.frag.sn);
}

All 2 comments

yes, you need to listen to

hls.on(Hls.Events.FRAG_CHANGED,function(event,data) {
   console.log('frag sequence number:' + data.frag.sn);
}

thanx!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bharathsn0812 picture bharathsn0812  路  4Comments

krsvital picture krsvital  路  3Comments

osamay picture osamay  路  4Comments

ronag picture ronag  路  4Comments

dan-ziv picture dan-ziv  路  4Comments