Emitting play_endstream from player.

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

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

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Using globals for readability

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Using events from player only.

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

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