Update reset functions
Created by: nicosang
Hi,
in some files, the reset function was calling the setup function :
- AbrController.js
- PlaybackController.js
- AbandonRequestsRule.js
- ThroughputRule.js
The main consequence was an unnecessary call to getInstance function when the user changed the video stream. So, I propose to do the reverse : setup function calls the reset. The setup function only calls the different getInstance reference. The others attributes are initialized in the reset function.
Nicolas