فهرست منبع

修改开始录制fps

DGJ 1 سال پیش
والد
کامیت
3c7937ebdf
2فایلهای تغییر یافته به همراه4 افزوده شده و 8 حذف شده
  1. 2 4
      miniprogram/components/xr-classic-show/index.js
  2. 2 4
      miniprogram/components/xr-classic-showsix/index.js

+ 2 - 4
miniprogram/components/xr-classic-show/index.js

@@ -407,10 +407,8 @@ Component({
         success () { }
       })
       this.scene.share.recordStart({
-        fps: this.data.recordFPS,
-        videoBitsPerSecond: this.data.recordBPS,
-        width: this.data.recordWidth,
-        height: this.data.recordHeight
+        fps: 15,
+        videoBitsPerSecond: 10000,
       });
     },
     recordEnd() {

+ 2 - 4
miniprogram/components/xr-classic-showsix/index.js

@@ -407,10 +407,8 @@ Component({
         success () { }
       })
       this.scene.share.recordStart({
-        fps: this.data.recordFPS,
-        videoBitsPerSecond: this.data.recordBPS,
-        width: this.data.recordWidth,
-        height: this.data.recordHeight
+        fps: 15,
+        videoBitsPerSecond: 10000,
       });
     },
     recordEnd() {