Playerendpoint: Send custom event when EOS is detected

Change-Id: I20ecf44845aae9aceecde3b61ae53d6db46ae2da