element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Voice message playback behaviour

Open gaelledel opened this issue 4 years ago • 3 comments

  • [ ] Only allow one message to play at a time

  • [ ] Put in place a queuing system. If the user plays a new recording, it pauses the current recording playback at the time that it was left e.g: 1:21 and plays the new one. Once the new one is finished playing, the other one plays again from where it paused at 1:21.

  • [ ] If the user navigates out and back to the room, the recordings should simply stop playing and return to their default state.

gaelledel avatar Jul 12 '21 10:07 gaelledel

Do I understand it correctly that the voice message should stop when you leave the room? I don't think this is a good idea since you wouldn't be able to use your phone while listening to longer voice messages.

kojid0 avatar Jul 12 '21 12:07 kojid0

Do I understand it correctly that the voice message should stop when you leave the room? I don't think this is a good idea since you wouldn't be able to use your phone while listening to longer voice messages.

Yes, the recording will stop. This decision is based on our knowledge of general user expectations and behaviours: 1/Users are likely to focus on the task of listening to a voice message whilst being in the associated room.
2/Voice messages are typically short messages and so the need of multitasking is low 3/ There is general user expectation for this behaviour due to its prevalence in other marketed apps

gaelledel avatar Jul 12 '21 12:07 gaelledel

2/Voice messages are typically short messages and so the need of multitasking is low

You are a lucky woman. My friends send endless looooong voice messages.

IMHO the playback should be handled by a system notification, just like any other audio player in the Android ecosystem. This way, you know what's being played and you can still use your phone for other stuff while you hear the message.

As a side note, element-web supports picture-in-picture for video attachments. You really need to focus while seeing a video, as it requires 2 of your senses, and still this is supported. When you are only hearing an audio, you don't need to focus so much. At least that's how I feel it.

Put in place a queuing system

In Telegram, if I'm not wrong, you play the 1st audio message and it will continue playing messages as long as they have arrived one after the other. That is nice.

yajo avatar Aug 04 '21 07:08 yajo