Multi period bug fix
Created by: nicosang
Hi,
this PR has to solve two issues related to multiperiod streams :
-
create EventController only once.
-
update function to test if a track has already been set in tracks array.
For this second point, when a user seeked in two different periods in a multiperiod streams, a new track was always added to tracks array.
Nico