DGJ 1 жил өмнө
parent
commit
be7d39b831

+ 4 - 8
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() {
@@ -419,10 +417,8 @@ Component({
       
       //
       const tempFilePath =  this.scene.share.recordFinishToAlbum({
-        fps: this.data.recordFPS,
-        videoBitsPerSecond: this.data.recordBPS,
-        width: this.data.sceneWidth,
-        height: this.data.sceneHight
+        fps: 15,
+        videoBitsPerSecond: 10000,
       });
       wx.shareVideoMessage({
         videoPath: tempFilePath,

+ 5 - 8
miniprogram/components/xr-classic-showsix/index.js

@@ -407,10 +407,9 @@ 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() {
@@ -419,10 +418,8 @@ Component({
       
       //
       const tempFilePath =  this.scene.share.recordFinishToAlbum({
-        fps: this.data.recordFPS,
-        videoBitsPerSecond: this.data.recordBPS,
-        width: this.data.sceneWidth,
-        height: this.data.sceneHight
+        fps: 15,
+        videoBitsPerSecond: 10000,
       });
       wx.shareVideoMessage({
         videoPath: tempFilePath,

+ 1 - 1
miniprogram/pages/ar-classic/scene-classic-show/index.js

@@ -65,7 +65,7 @@ Page({
   onShow(){
     this.setData({log:'OnShow'});
     var that = this;
-
+    this.bgm.play();
     wx.login({
       success: (res) => {
         if (res.code) {

+ 1 - 1
miniprogram/pages/ar-classic/scene-classic-showsix/index.js

@@ -65,7 +65,7 @@ Page({
   onShow(){
     this.setData({log:'OnShow'});
     var that = this;
-
+    this.bgm.play();
     wx.login({
       success: (res) => {
         if (res.code) {