收藏
回答

如何解决使用 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"
        }
    }
]
回答关注问题邀请回答
收藏

7 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    2020-10-29

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    2020-10-29
    有用
    回复 1
    • 晓松
      晓松
      2023-12-05
      请问这个问题如何解决呢,我也遇到了同样的问题
      2023-12-05
      回复
  • Roy Liu
    Roy Liu
    2021-06-30

    有解决方案了吗

    2021-06-30
    有用
    回复 1
    • 晓松
      晓松
      2023-12-05
      你们解决了吗
      2023-12-05
      回复
  • Luoei
    Luoei
    2021-02-23

    问题解决了吗?

    2021-02-23
    有用
    回复 1
    • 晓松
      晓松
      2023-12-05
      有解决吗?我也遇到了同样的问题
      2023-12-05
      回复
  • Cooper
    Cooper
    2020-11-13

    把后缀从.mp3改成.wav 试试,或者.wav改成.mp3 我之前遇到就是这么改好了。

    2020-11-13
    有用
    回复 1
    • 晓松
      晓松
      2023-12-05
      你好,这种方式的原因是啥,我也遇到了同样的问题
      2023-12-05
      回复
  • POCKY
    POCKY
    2020-10-29

    日志记录中,每天都有个别用户出现以上,但ios机型出现错误的概率更高一些

    2020-10-29
    有用
    回复 1
    • 晓松
      晓松
      2023-12-05
      我跟你遇到了一摸一样的问题,请问怎么解决的呢
      2023-12-05
      回复
  • 彦斌
    彦斌
    2020-10-29

    把语音的SRC路径贴出来看下,我也有用到该API,但没遇到你这个问题。

    2020-10-29
    有用
    回复
  • 你好耀眼。
    你好耀眼。
    2020-10-29

    你好,请问你能把代码片段发一下看看吗?你的问题是无法播放吗?

    2020-10-29
    有用
    回复
登录 后发表内容
问题标签