Using player.on("play_endstream",function() {}) play_endstream is send once player receives "sync_downstream" meaning last data was processed by the streamline

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>