merging mediaplayer with realtime