playerendpoint: Send flush events only when they are needed
playerendpoint: Send flush events only when they are needed

Change-Id: I32429ec2e01da6aa42ad00bcc5ef717f2d15ca12

shelsonjava/kms-core,Kurento/kms-core,ESTOS/kms-core,Kurento/kms-core,Kurento/kms-core,KurentoLegacy/gst-kurento-plugins,KurentoLegacy/gst-kurento-plugins,ESTOS/kms-core,ESTOS/kms-core,shelsonjava/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,KurentoLegacy/gst-kurento-plugins,TribeMedia/kms-core,Kurento/kms-core,ESTOS/kms-core,shelsonjava/kms-core,shelsonjava/kms-core,KurentoLegacy/gst-kurento-plugins