2 ranjio z ranjio_z 于 2013.10.28 15:49 提问

android开发,media server died怎么处理?
    mediaPlayer = new MediaPlayer();
    mediaPlayer.setOnPreparedListener(ottController);
    mediaPlayer.setOnVideoSizeChangedListener(ottController);
    mediaPlayer.setOnBufferingUpdateListener(ottController);
    mediaPlayer.setOnErrorListener(ottController);
    mediaPlayer.setOnCompletionListener(ottController);
    mediaPlayer.setOnSeekCompleteListener(ottController);
    mediaPlayer.setOnInfoListener(ottController);
    mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
    mediaPlayer.setDisplay(mSurfaceHolder);
    mediaPlayer.setScreenOnWhilePlaying(true);

切换节目的时候老报错:media server died.

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!