1const hls = new SigmaManager(); 2 3hls.config = { 4 keepAudioTrackWhenSwitchLevel: true, 5 enableWorker: true, 6 stretchShortVideoTrack: true, 7}; 8hls.nativeClient = { 9 module: 'sigma_drm_1.1.0.js', 10 wasmBaseUrl: `${window.location.protocol}//${window.location.hostname}${ 11 window.location.port ? ':' + window.location.port : '' 12 }/sigma/`, 13}; 14var total = 0, 15 p2p = 0; 16 17/*hls.on(SigmaManager.Events.MEDIA_ATTACHED, (e) => { 18 console.log('MEDIA_ATTACHED loaded'); 19}); 20 21hls.on(SigmaManager.Events.MANIFEST_LOADED, (e) => { 22 console.log('MANIFEST_LOADED loaded'); 23}); 24 25hls.on(SigmaManager.Events.FRAG_LOADED, (e) => { 26 console.log('FRAG_LOADED loaded'); 27});*/ 28 29hls.on(SigmaManager.Events.ERROR, (datas) => { 30 console.log(datas); 31 /*if (onError && typeof onError === 'function') { 32 onError(datas); 33 }*/ 34}); 35 36window.SigmaManager = SigmaManager; 37window.hls = hls;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.