[Bug]: iOS SDK player remains stuck loading a WebM attachment sent by an Android SDK client

Open
#4,281 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mvanhorn is already working on this.

Since Sep 21, 2026.

  • #4284 by @mvanhorn — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
ios, swift
Domain
mobile-dev

Research direction

Start by reproducing the issue with StreamChat and StreamChatUI 5.11.0 on iOS 27 using the Android-sent .webm attachment, then inspect the video attachment playback entry point. Confirm the player exits its loading state and presents a clear playback error when playback fails, while playable attachments still start normally.

Written by the indexing model from the issue text.

Description

🐞 Bug
Actual behaviour

A client using the Stream Chat Android SDK sends a .webm video attachment. When the receiving client, using the Stream Chat iOS SDK (StreamChat / StreamChatUI 5.11.0 on iOS 27), opens the attachment, playback never starts.

The player remains stuck indefinitely with:

  • A continuously spinning loading indicator.
  • Both elapsed time and duration showing 00:00.
  • No visible error message explaining why playback failed.

The console includes the following message:

AVFoundationErrorDomain_AVErrorFileFormatNotRecognized_RecoverySuggestion not found in table AVError-2025
Expected behaviour

If the attachment is playable, playback should start normally.

If its container or codecs cannot be played on the device, the player should stop the loading indicator and display a clear playback error or unsupported-format message. A playback failure should not leave the interface loading indefinitely.

Steps to reproduce
  1. Send the affected .webm video attachment from a client using the Stream Chat Android SDK.
  2. Open the conversation in a receiving client using the Stream Chat iOS SDK.
  3. Open the video attachment.
  4. Observe that playback never starts and the player remains stuck loading with both timestamps at 00:00.
  5. Check the console for the message above.
Which packages are you using?

StreamChat, StreamChatUI

Which SDK version are you using?

5.11.0

Which iOS version is the issue reproducible?

iOS 27

Which iPhone Device is the issue reproducible?

Not specified.

Which Xcode version are you using?

Xcode 27.0 (27A266a)

Dominant language
Swift
Stars
975
Forks
236
Avg merge
1d 11h
Merged PRs (30d)
46

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/stream-chat-swift

All issues in GetStream/stream-chat-swift

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.