MediaRecorder: start failed

前端 未结 1 1235
别跟我提以往
别跟我提以往 2021-01-21 15:29

I have googled about it but didn\'t find any solution

I am recording incoming and outgoing calls

code works fine with outgoing call but gives

1条回答
  •  别那么骄傲
    2021-01-21 15:46

    recorder.prepare();
    Thread.sleep(1000);
    recorder.start();
    

    For incoming call it was taking time to prepare.

    Hold the prepare for 1 sec and everything is worked fine.

    0 讨论(0)
提交回复
热议问题