| Summary: | Playing audio files does not work | ||
|---|---|---|---|
| Product: | [Applications] NeoChat | Reporter: | Jan Bidler <janbidler00> |
| Component: | General | Assignee: | Tobias Fella <fella> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | carl |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/network/neochat/commit/7dfac8a9f7ac8cca06577d829f52b22a63813a3d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Jan Bidler
2022-08-09 17:11:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/495 Git commit 7dfac8a9f7ac8cca06577d829f52b22a63813a3d by Tobias Fella. Committed on 26/08/2022 at 18:37. Pushed by tfella into branch 'master'. Fix audio playback Since the preparation for encrypted events landed, audio playback was broken since QtMultimedia (gstreamer) doesn't use our custom QNAM. Instead of letting QtMultimedia download the media, we thus need to manually download it and point QML Audio to the local file. On the positive side, this also allows encrypted Audio files to be played and enables us to seek in the audio delegate :) It does however mean that we do need to do an annoying bit of manual state management. M +71 -18 imports/NeoChat/Component/Timeline/AudioDelegate.qml M +1 -0 src/messageeventmodel.cpp https://invent.kde.org/network/neochat/commit/7dfac8a9f7ac8cca06577d829f52b22a63813a3d |