大量用户反馈小游戏播放游戏音效延迟

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:00 721 0 全屏看文

AI助手支持GPT4.0

大量用户反馈小游戏播放游戏音效延迟
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小游戏 Bug wx.createInnerAudioContext() 微信安卓客户端 7.0.16 2.0.9

最近一周很多用户反馈声音播放有延迟,反馈问题的用户全部为安卓用户,ios没有出现该问题,而且反馈问题的用户很多,希望官方尽快解决,天天被用户投诉受不了啊。。

我们的游戏是用threejs开发的,代码执行的方法如下:

//执行函数this.setAudio(src)//函数setAudio(src) {    let audio = wx.createInnerAudioContext();    audio.src = src;    audio.autoplay = true;    audio.onEnded(() => {      audio.destroy();    });}

Framework type problem type API / component name terminal type wechat version basic library version games bug wx.createInnerAudioContext () wechat Android client 7.0.16 2.0.9 In recent week, many users reported that there was a delay in playing the voice. All the users who complained about the problem were Android users. There was no such problem in IOS, and there were many users who reported the problem. I hope the government can solve it as soon as possible. I can't stand being complained by users every day.. Our game is developed with threejs. The code execution method is as follows: / / execute function this.setAudio (SRC) / / function setaudio (SRC) {let audio= wx.createInnerAudioContext ();    audio.src = src;    audio.autoplay = true;    audio.onEnded (() => {      audio.destroy ();    });}

回答:

Jue:

也有类似的问题,很烦恼

俞楠:您好,这个问题你们解决了吗?

-EOF-

AI助手支持GPT4.0