Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于接收的语音消息不能播放的问题attachmentDownloadState = NIMMessageAttachmentDownloadStateFailed #336

Closed
paulAndKey opened this issue Jun 1, 2022 · 1 comment

Comments

@paulAndKey
Copy link

能收到别人发过来的消息,但是不能播放,attachmentDownloadState = NIMMessageAttachmentDownloadStateFailed

@Dongshanxu
Copy link
Contributor

a

你是在哪里截取的这个错误?
是这两个哪一个?
/**

  • 开始录制音频的回调
  • @param filePath 录制的音频的文件路径
  • @param error 错误信息
  • @discussion 如果录音失败,filePath 有可能为 nil
    */
  • (void)recordAudio:(nullable NSString *)filePath didBeganWithError:(nullable NSError *)error;

/**

  • 录制音频完成后的回调
  • @param filePath 录制完成的音频文件路径
  • @param error 错误信息
    */
  • (void)recordAudio:(nullable NSString *)filePath didCompletedWithError:(nullable NSError *)error;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants