diff --git a/index.html b/index.html index dc12cb5..47a81c7 100644 --- a/index.html +++ b/index.html @@ -235,7 +235,6 @@ var realTimeSendSet=$(".realTimeSendSet")[0].checked; var realTimeSendTime=+$(".realTimeSend").val(); - window.realTimeSendTryReset&&realTimeSendTryReset(); rec=Recorder({ type:type @@ -313,6 +312,8 @@ msg&&reclog(msg,1); }); if(rec){ + window.realTimeSendTryReset&&realTimeSendTryReset(); + rec.start(); var set=rec.set; reclog("录制中:"+set.type+" "+set.sampleRate+"hz "+set.bitRate+"kbps");