why I open PlayAndRecord ,app block


when I turn off mute button,the following code will block the whole app.

[[CDAudioManager sharedManager]setMode:kAMM_PlayAndRecord];

and output like this:

AudioSessionSetProperty posting message to kill mediaserverd(13833)

My device is iphone 4s and system is ios6.
I can’t find any worked solution for a week.

thanks for any help.




no one meet the same problem?