- backgroundAudioManager.playbackRate设置后在ios端不生效了
关于BackgroundAudioManager组件播放速度的切换,原先(一两个月前?)在ios手机上,一旦设置新的播放速度后(通过类似backgroundAudioManager.playbackRate = 1.5 这样的方式设置),音频虽然会自动重新开始播放,但至少当时播放速度也是会立马切换成新的速度值。 不过国庆前一周发现情况变了,当切换播放速度后,音频还是会重新开始播放,但播放速度不会发生变化(andriod端没问题),请问这个问题跟最近的微信版本或者基础库升级有关吗? (特意去试了下微信读书小程序上的切换播放速度,也是有同样的问题) [图片]
2021-10-07 - 「基础库2.20」ios BackgroundAudioManager的playbackRate失效
BackgroundAudioManager的倍速失效了. 请查看代码片段, 并且在ios上预览. 开发者工具上是好的. 8.0.14版本前也是好的. 就是发布了8.0.14后出现的问题. BackgroundAudioManager的startTime也失效了, 暂时用seek来替代了.
2021-10-11 - 背景音频偶尔会出现 playerErrCode:7, systemErrCode:2是什么原因?
{"errMsg":"playerErrCode:7, systemErrCode:2, domain:NSCocoaErrorDomain, description:未能完成操作。(“Cocoa”错误 2。)","errCode":10003,"src":"https://df.mayi-tao.com/program/myt/assets/video/no_voice.mp3"} - 机型:iPhone 8 Plus (GSM+CDMA)<iPhone10,2> 正常播放背景音频:onError捕捉到错误-playerErrCoeL:7, systemErrCode:2,domain:NsCocoaErrorDomain....
2020-03-15 - 背景音频播放提示“音乐文件错误,播放失败”
https://cdn-qiye-voice.jingdaka.com/backend_voice/2018/09/06/dZaZnCMwBpkMizhx6QBRNjCfHTfNpBJt.mp3 "system_info": "{\"screenWidth\":360,\"locationEnabled\":true,\"statusBarHeight\":20,\"pixelRatio\":3,\"notificationAuthorized\":true,\"system\":\"Android 6.0.1\",\"cameraAuthorized\":true,\"windowWidth\":360,\"deviceOrientation\":\"portrait\",\"bluetoothEnabled\":false,\"brand\":\"Xiaomi\",\"screenHeight\":640,\"version\":\"7.0.3\",\"fontSizeSetting\":16,\"language\":\"zh_CN\",\"locationAuthorized\":true,\"wifiEnabled\":true,\"windowHeight\":572,\"microphoneAuthorized\":true,\"model\":\"MI 5s\",\"platform\":\"android\",\"SDKVersion\":\"2.6.1\"}",
2019-03-06 - backgroundAudio播放出错unknow format错误如何解决?
{"src":"https://aod.cos.tx.xmcdn.com/group30/M03/3F/47/wKgJXlmBk93j3r37AdAjApB0uOU068.m4a","errMsg":"errCode:55, err:unknow format","errCode":10004} 目前看报上来的错误都是安卓手机
2020-12-21 - 背景音乐播放错误errCode:10001,playerErrCode:3是什么问题?
用的backgroundAudioManager播放背景音乐,这个错误码是什么含义? 10001,playerErrCode:3, systemErrCode:1852797029, domain:ASCII OSStatus:nope, description:未能完成操作。(ASCII OSStatus:nope错误1852797029。) 10001,playerErrCode:3, systemErrCode:560557684, domain:ASCII OSStatus:!int, description:未能完成操作。(ASCII OSStatus:!int错误560557684。)
2020-12-22 - wx.getBackgroundAudio的各种播放错误有具体的解决方案吗?
经常有用户上报播放错误的问题,统计了一下最多的错误是这些,搜索了一下也完全没有解决方案,已经严重影响用户体验了啊 playerErrCode:6, systemErrCode:18446744073709550611, domain:NSURLErrorDomain, description:网络连接已中断。 playerErrCode:6, systemErrCode:18446744073709550615, domain:NSURLErrorDomain, description:请求超时。 playerErrCode:3, systemErrCode:560557684, domain:ASCII OSStatus:!int, description:未能完成操作。(ASCII OSStatus:!int错误560557684。) 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 errCode:55, err:unknow format errCode:67, err:decode audio fail playerErrCode:7, systemErrCode:2, domain:NSCocoaErrorDomain, description:未能完成操作。(Cocoa错误2。) playerErrCode:6, systemErrCode:53, domain:NSPOSIXErrorDomain, description:未能完成该操作。软件导致连接中止 playerErrCode:3, systemErrCode:560557684, domain:ASCII OSStatus:!int, description:未能完成操作。(“ASCII OSStatus:!int”错误 560557684。)
2020-12-11 - 如何解决使用 wx.getBackgroundAudioManager 出现的各种错误code ?
能给出一个解决方案嘛? [ { "res": { "errCode": 10001, "errMsg": "playerErrCode:9, systemErrCode:1852077119, domain:ASCII OSStatus:ndt?, description:未能完成操作。(“ASCII OSStatus:ndt?”错误 1852077119。)" }, "systemInfo": { "benchmarkLevel": 15, "system": "iOS 12.4.1", "model": "iPhone 7 Plus<iPhone9,2>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10001, "errMsg": "errCode:67, err:decode audio fail" }, "systemInfo": { "benchmarkLevel": 34, "system": "Android 10", "model": "ANA-AN00", "version": "7.0.19", "brand": "HUAWEI", "SDKVersion": "2.13.2", "platform": "android" } }, { "res": { "errCode": 10001, "errMsg": "VoIP is working" }, "systemInfo": { "benchmarkLevel": 30, "system": "iOS 12.4", "model": "iPhone XS Max China-exclusive<iPhone11,6>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10001, "errMsg": "playerErrCode:9, systemErrCode:1852077119, domain:ASCII OSStatus:ndt?, description:未能完成操作。(ASCII OSStatus:ndt?错误1852077119。)" }, "systemInfo": { "benchmarkLevel": 15, "system": "iOS 12.4.1", "model": "iPhone 7 Plus<iPhone9,2>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10002, "errMsg": "playerErrCode:6, systemErrCode:18446744073709550615, domain:NSURLErrorDomain, description:请求超时。" }, "systemInfo": { "benchmarkLevel": 34, "system": "iOS 13.3", "model": "iPhone 11<iPhone12,1>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10002, "errMsg": "playerErrCode:6, systemErrCode:53, domain:NSPOSIXErrorDomain, description:未能完成该操作。软件导致连接中止" }, "systemInfo": { "benchmarkLevel": 10, "system": "iOS 12.4", "model": "iPhone 6s<iPhone8,1>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10002, "errMsg": "playerErrCode:6, systemErrCode:18446744073709550607, domain:NSURLErrorDomain, description:似乎已断开与互联网的连接。" }, "systemInfo": { "benchmarkLevel": 10, "system": "iOS 11.0", "model": "iPhone 6s Plus<iPhone8,2>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10002, "errMsg": "playerErrCode:6, systemErrCode:18446744073709550611, domain:NSURLErrorDomain, description:网络连接已中断。" }, "systemInfo": { "benchmarkLevel": 34, "system": "iOS 13.3", "model": "iPhone 11 Pro<iPhone12,3>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } }, { "res": { "errCode": 10003, "errMsg": "playerErrCode:7, systemErrCode:2, domain:NSCocoaErrorDomain, description:未能完成操作。(“Cocoa”错误 2。)" }, "systemInfo": { "benchmarkLevel": 5, "system": "iOS 12.1.2", "model": "iPhone 6<iPhone7,2>", "version": "7.0.17", "brand": "iPhone", "SDKVersion": "2.13.2", "platform": "ios" } } ]
2020-10-29 - 为什么会概率性音频播放错误?错误信息具体含义是?
用户时不时会反馈音频播放失败问题,根据搜集的错误日志来看,每天都有,而且数量不少。比较影响体验 [图片] 主要报错信息(监听wx.createInnerAudioContext()创建对象的onError方法获取)如下: 1 .Android绝大多数报下面的错 {errCode:10001,errMsg:errCode:602, err:error, not found param} {errCode:10001,errMsg:errCode:62, err:load or init native decode so fail} {errCode:10001,errMsg:errCode:67, err:decode audio fail} {errCode:10004,errMsg:errCode:55, err:unknow format} errCode:602, err:error, not found param 2 . ios绝大多数报下面的错 {errMsg:INNERERRCODE:0, ERRMSG:(null),errCode:10001} {errMsg:INNERERRCODE:-1001, ERRMSG:请求超时。,errCode:10002} {errMsg:INNERERRCODE:-1003, ERRMSG:未能找到使用指定主机名的服务器。,errCode:10002} {errMsg:INNERERRCODE:-1005, ERRMSG:网络连接已中断。,errCode:10002} {errMsg:INNERERRCODE:-1009, ERRMSG:似乎已断开与互联网的连接。,errCode:10002} {errMsg:INNERERRCODE:-1100, ERRMSG:在此服务器上找不到所请求的 URL。,errCode:10001} {errMsg:INNERERRCODE:-11800, ERRMSG:这项操作无法完成,errCode:10001} {errMsg:INNERERRCODE:-11819, ERRMSG:无法完成操作,errCode:10001} INNERERRCODE:0, ERRMSG:(null) INNERERRCODE:-11849, ERRMSG:操作停止 虽然大概率跟微信音频播放底层有关,但是想知道有没有办法,降低发生这种错误的概率?或者有什么彻底解决办法? 每次发生这种问题,用户一般不懂技术,又是付费用户,就会对我们的产品产生不好的口碑,对我们影响挺大。但是在代码层面。程序只是调用微信提供的基础api,音频又是通用的格式,并且公司30台左右的测试设备从来没有复现到(产品已上线1年半),应该是个概率问题。 想问下各位同仁有没有遇到类似问题?有没有什么经验分享?另外求助官方大大
2020-07-03 - backgroundAudio设置playbackRate后从头播放,如何显示成更改速度前的时间?
在iphoneX中测试,发现每次更改playbackRate后播放音频都从头开始播放,因为体验不好就在切换速度后调用seek重新回到切换前的进度,但此时好像无法正确获得播放进度? 代码片段: https://developers.weixin.qq.com/s/6tCxq6m57znD 可以看到展示的播放进度每次切换后都是从0开始的
2021-01-04