Skip to content

Implementing Media Controls for Voice Messages#6396

Open
rapterjet2004 wants to merge 2 commits into
masterfrom
issue-6066-media-controls
Open

Implementing Media Controls for Voice Messages#6396
rapterjet2004 wants to merge 2 commits into
masterfrom
issue-6066-media-controls

Conversation

@rapterjet2004

@rapterjet2004 rapterjet2004 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Harder than I thought, this required refactoring the entire media player io logic to use MediaSessionService as it's source of truth. While this simplifies the architecture a bit, it also means I have to go about and fix some old bugs once again.

Screenshot 2026-07-06 at 11 43 04 AM

🚧 TODO

  • Get it working
  • Fix Pause/Play btn state
  • Allow seeking in UI
    • Seeking another messages seekbar also seeks the message next to it, when you play a another message before pausing the currently playing message.
    • SeekBar speed should match Thumb, might need to do some math here
  • Add Message MetaData to Control Notification
  • Allow waveforms
  • Make played seconds update -_-
    • Seconds played should count down from duration

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Changing source of truth of voice messages to be MediaSessionService

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
@rapterjet2004 rapterjet2004 self-assigned this Jun 29, 2026
@rapterjet2004 rapterjet2004 added the 2. developing Work in progress label Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/28387969161/artifacts/7958660485
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

…e changes, and update the UI

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

control playback of voice messages in androids notification panel

1 participant