Fix error introduced when replacing observer by EventEnitter directly
Fix error introduced when replacing observer by EventEnitter directly

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