[MediaPlayer] Modify the pre-condition of streaming function (#794)