Observe Tools for HLS player
const hlsJsObserver = new HlsJsObserver(hls, video);
hlsJsObserver.enable();
hlsJsObserver.getStats()
- user_agent
- referrer
- visibility
- state
- player state (playing, pausing)
- current_time
- total_join_time
- total_play_time
- total time of playing state
- total_pausing_time
- total time of pausing state
- current_bitrate
- total_dropped_frame
- video_height
- video_width
- video_display_area_height
- video_display_area_width
- latency
- differnce between program date time and client time
- src_media
- volume
- duration
- is_live
- error
- total_duration