boolean GameRecorder.isSoundSupported()
此接口返回true,证明支持录制游戏音效,录制结束分享后,视频无音效
wx.getGameRecorder().start({ duration: 300, hookBgm: true, bitrate: 1000, fps: 30 });
框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小游戏 | Bug | GameRecorder.start(Object object) | 微信iOS客户端 | 7.0.11以上 | 2.10.0以上 |
此接口返回true,证明支持录制游戏音效,录制结束分享后,视频无音效
wx.getGameRecorder().start({ duration: 300, hookBgm: true, bitrate: 1000, fps: 30 });
Framework type problem type API / component name terminal type wechat version basic library version games bug GameRecorder.start (object object) wechat IOS client 7.0.11 above 2.10.0 Boolean GameRecorder.isSoundSupported () this interface returns true to prove that it supports recording game sound effect. After recording and sharing, the video has no sound effect wx.getGameRecorder ().start({ duration: 300, hookBgm: true, bitrate: 1000, fps: 30 });
回答:
原文出处:GameRecorder录屏无声音
这个api只支持录屏不支持录音