setBackgroundAudioState:fail?这些错误如何解决?
发布于 7 年前 作者 mhuang 14504 次浏览 来自 问答

setBackgroundAudioState:fail: jsapi has no permission, event=setBackgroundAudioState, runningState=suspend, permissionMsg=permission ok, detail=jsapi permission required playing audio but current not playing audio in background state;at api setBackgroundAudioState fail callback function

Error: setBackgroundAudioState:fail: jsapi has no permission, event=setBackgroundAudioState, runningState=suspend, permissionMsg=permission ok, detail=jsapi permission required playing audio but current not playing audio in background state

at Function.fail (https://lib/WASubContext.js:2:795509)

at v (https://lib/WASubContext.js:2:409916)

at https://lib/WASubContext.js:2:411075

setBackgroundAudioState:fail: jsapi has no permission, event=setBackgroundAudioState, runningState=background, permissionMsg=permission ok, detail=jsapi permission required playing audio but current not playing audio in background state;at api setBackgroundAudioState fail callback function

Error: setBackgroundAudioState:fail: jsapi has no permission, event=setBackgroundAudioState, runningState=background, permissionMsg=permission ok, detail=jsapi permission required playing audio but current not playing audio in background state

at Function.fail (https://lib/WAService.js:1:866323)

at Object.fail (https://lib/WAService.js:1:119014)

at g (https://lib/WAService.js:1:521080)

at https://lib/WAService.js:1:522110

at Object.v (https://lib/WAService.js:1:1469)

回到顶部