spydroid测试在android4.0系统上报错

 I/MediaRecorderJNI(3721): prepare: surface=0xbae568 (identity=91)
E/MediaRecorder(3721): start failed: -19
E/RtspServer(3721): start failed.
W/System.err(3721): java.lang.RuntimeException: start failed.
W/System.err(3721): 	at android.media.MediaRecorder.start(Native Method)
W/System.err(3721): 	at net.majorkernelpanic.streaming.MediaStream.start(MediaStream.java:206)
W/System.err(3721): 	at net.majorkernelpanic.streaming.Session.start(Session.java:211)
W/System.err(3721): 	at net.majorkernelpanic.streaming.rtsp.RtspServer$WorkerThread.processRequest(RtspServer.java:477)
W/System.err(3721): 	at net.majorkernelpanic.streaming.rtsp.RtspServer$WorkerThread.run(RtspServer.java:362)

在4.0系统上可以启动音频但是启动不了视频,在2.3系统上工作正常,解决方法:

http://stackoverflow.com/questions/11249642/mediarecorder-start-failed-19


注释掉:

//mMediaRecorder.setVideoFrameRate(mQuality.framerate);


你可能感兴趣的:(spydroid测试在android4.0系统上报错)