|
@@ -793,7 +793,9 @@
|
|
<button class="font-size-small debugger4" onclick="room.debug.toggleNearbyBreathPoint">Toggle周边呼吸点</button>
|
|
<button class="font-size-small debugger4" onclick="room.debug.toggleNearbyBreathPoint">Toggle周边呼吸点</button>
|
|
|
|
|
|
<button class="font-size-small debugger5" onclick="room.debug.toggleTapBreathPoint">Toggle点击呼吸点</button>
|
|
<button class="font-size-small debugger5" onclick="room.debug.toggleTapBreathPoint">Toggle点击呼吸点</button>
|
|
- <button class="font-size-small debugger6" >录制码流(10s)</button>
|
|
|
|
|
|
+ <!-- <button class="font-size-small debugger6" >录制码流(10s)</button> -->
|
|
|
|
+ <button class="font-size-small debugger7" >开始录制</button>
|
|
|
|
+ <button class="font-size-small debugger8" style="display: none; background-color: brown;" >结束录制</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -825,11 +827,21 @@
|
|
document.querySelector('.debugger5').onclick = ()=>{
|
|
document.querySelector('.debugger5').onclick = ()=>{
|
|
window.room.debug.toggleTapBreathPoint();
|
|
window.room.debug.toggleTapBreathPoint();
|
|
}
|
|
}
|
|
- document.querySelector('.debugger6').onclick = ()=>{
|
|
|
|
- window.room.debug.dumpStream(() => {
|
|
|
|
- // toast("\u5F55\u5236\u5B8C\u6210");
|
|
|
|
- });
|
|
|
|
- // toast("\u5F00\u59CB\u5F55\u5236");
|
|
|
|
|
|
+ // document.querySelector('.debugger6').onclick = ()=>{
|
|
|
|
+ // window.room.debug.dumpStream(() => {
|
|
|
|
+ // // toast("\u5F55\u5236\u5B8C\u6210");
|
|
|
|
+ // });
|
|
|
|
+ // // toast("\u5F00\u59CB\u5F55\u5236");
|
|
|
|
+ // }
|
|
|
|
+ document.querySelector('.debugger7').onclick = ()=>{
|
|
|
|
+ window.startRecord();
|
|
|
|
+ document.querySelector('.debugger7').style.display = "none"
|
|
|
|
+ document.querySelector('.debugger8').style.display = "block"
|
|
|
|
+ }
|
|
|
|
+ document.querySelector('.debugger8').onclick = ()=>{
|
|
|
|
+ window.stopRecord();
|
|
|
|
+ document.querySelector('.debugger7').style.display = "block"
|
|
|
|
+ document.querySelector('.debugger8').style.display = "none"
|
|
}
|
|
}
|
|
|
|
|
|
// // 只在调试时显示control面板
|
|
// // 只在调试时显示control面板
|