Fix issue in getSegmentTime: level can refer to an object or the level index in hls.js
Fix issue in getSegmentTime:
level can refer to an object or the level index in hls.js

streamroot/hlsjs-p2p-wrapper,streamroot/hlsjs-p2p-wrapper,streamroot/hlsjs-p2p-wrapper