Commit Graph

4767 Commits

Author SHA1 Message Date
Aleksandrs Proskurins 14dd9f2414 Multi session logut 2022-10-27 10:04:42 +03:00
Velin92 84c47ce41a Merge pull request #6952 from vector-im/mauroromito/6941_wysiwyg_voice_message_support
Rich Text Composer - Voice Message Support
2022-10-21 14:38:13 +02:00
Mauro Romito 20dbe2310b voice message support added to the rich text composer 2022-10-21 10:33:23 +02:00
manuroe cc130061df Merge pull request #6933 from vector-im/yostyle/voice_broadcast_playing
Voice broadcast playing
The CI has passed on [recording](https://github.com/vector-im/element-ios/pull/6948) commits. We can merge this PR
2022-10-20 21:04:05 +02:00
Mauro Romito 6da5a95e7e fix 2022-10-20 19:51:10 +02:00
Mauro Romito 973923b071 voice messages implemented 2022-10-20 19:41:02 +02:00
Giom Foret e5571371fb Enhance RoomBubbleCellData handling
- detect correctly an actual live recording
- update the tile display at the end of a live recording
2022-10-20 19:39:51 +02:00
Philippe Loriaux a4beccfeb2 Set voice broadcast recording to pause when the app goes in background and when the RVC will disappear 2022-10-20 19:39:51 +02:00
Philippe Loriaux 2359f9b568 Remove temporary code for stopping recording 2022-10-20 19:39:51 +02:00
Giom Foret e2c7dda534 BF Ignore redacted voice broadcast state event (their content is empty) 2022-10-20 19:39:50 +02:00
Philippe Loriaux 0c86dbd7da Add sequence value when sending chunk files 2022-10-20 19:39:50 +02:00
Philippe Loriaux 1280ff9569 Update recorder view and content 2022-10-20 19:39:50 +02:00
Philippe Loriaux 852586ef7b First part of the voice broadcast recording feature 2022-10-20 19:39:50 +02:00
Mauro Romito 0f20383559 the voice message toolbar now appears 2022-10-20 19:18:50 +02:00
yostyle dcc3b6375b Update UI 2022-10-20 18:48:20 +02:00
yostyle af9019cdba Merge branch 'develop' into yostyle/voice_broadcast_playing 2022-10-20 17:45:41 +02:00
Alfonso Grillo 0f8d21d534 Fix crash 2022-10-20 17:00:58 +02:00
yostyle 0b77d674ce Display live voice broadcast 2022-10-20 16:48:20 +02:00
Alfonso Grillo ffb7d429dc Merge pull request #6927 from vector-im/alfogrillo/6847_avatar_image
Update avatar image loading logics (PSB-198)
2022-10-20 15:05:52 +02:00
ismailgulek d62640c56d Fix infinite layout loops on timeline (#6942)
* Remove `forceZeroSageAreaInsets` from `VectorHostingController`

* Fix layout issues when adding hosting views into the content view

* Use the new api when adding views into the content

* Add changelog
2022-10-20 15:55:07 +03:00
manuroe 34a49f966a VB: Own code review 2022-10-20 13:39:27 +02:00
manuroe 64d4a91463 VB: Support live playback
from the beginning or with go live
2022-10-20 12:25:40 +02:00
Alfonso Grillo 39444b0291 Merge pull request #6936 from vector-im/alfogrillo/improve_link_tappability
Improve external links interaction UX (PSG-819)
2022-10-20 11:11:45 +02:00
Alfonso Grillo 864894091d Merge pull request #6870 from vector-im/alfogrillo/audio_player_info
Background audio messages info (PSB-180)
2022-10-20 10:23:57 +02:00
Velin92 4c5dfb97f9 Merge pull request #6938 from vector-im/mauroromito/6935_wysiwyg_placeholder
Rich Text Composer Placeholder Text
2022-10-20 10:04:33 +02:00
manuroe cf75f9bded Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 09:48:50 +02:00
manuroe f21b3d8ba9 VB: Manage playback completion properly
Make VoiceManager audioPlayerDidFinishPlaying called when the last item of the playlist has been played
2022-10-20 09:38:14 +02:00
yostyle ba11761d79 Fixes after rebase on develop
Update voice broadcast playback UI
2022-10-20 02:01:01 +02:00
Giom Foret 1694a202da - Fix the RoomBubbleCellData tag management (Record/Playback/NoDisplay)
- Force the VB display even if the Labs flag is disabled. The Labs flag is only used now to block VB recording and sending
- Fix: Release VBService when the user stops the broadcast
2022-10-20 01:46:39 +02:00
manuroe 58f9feaae1 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe 0cd5cd201f VoiceMessageAudioPlayer: Add support of URLs queue playback
To be used for voice broadcast
2022-10-20 01:45:57 +02:00
manuroe 56bec55080 VB: Make the view model aware of every chunk new coming
this reactive approach will help to cache and reorder them by sequence
2022-10-20 01:45:57 +02:00
yostyle acfee0f747 Support mp4 audio file format 2022-10-20 01:45:57 +02:00
manuroe 79ca7b8dc0 Expose better broadcast details to the view
Starting from the sender name but we can add more things. This is up to the design expectation
2022-10-20 01:45:57 +02:00
manuroe c51287a490 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
yostyle bd55885f8d Add device_id and record tag 2022-10-20 01:45:57 +02:00
yostyle 8adf320cab Aggregate chunks in voice broacast 2022-10-20 01:45:57 +02:00
manuroe eb71a8f34a Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe 2bce98f1c7 Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
yostyle 1c171b61f4 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle c0afefb4c8 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle edca596f49 Add some comments 2022-10-20 01:45:57 +02:00
Giom Foret 68f2b1cdef Display info dialogs when we prevent the user from starting a new voice broadcast
- Update the existing implementation used to start/stop a voice broadcast in order to handle the different cases where voice broadcast is denied
- Add the optional Voice broadcast action to the new wysiwyg composer
2022-10-20 00:38:42 +02:00
manuroe 5ec211e069 Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-19 23:51:16 +02:00
manuroe 0104cda91a VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe 118a2bd8af VoiceMessageAudioPlayer: Add support of URLs queue playback
To be used for voice broadcast
2022-10-19 23:01:04 +02:00
Mauro Romito c4987157fd Merge branch 'develop' into mauroromito/6935_wysiwyg_placeholder 2022-10-19 21:26:38 +02:00
Giom Foret 7a493fd99b - Fix the RoomBubbleCellData tag management (Record/Playback/NoDisplay)
- Force the VB display even if the Labs flag is disabled. The Labs flag is only used now to block VB recording and sending
- Fix: Release VBService when the user stops the broadcast
2022-10-19 19:25:54 +02:00
Mauro Romito 9843c98c7b improved old code further 2022-10-19 18:20:22 +02:00
Mauro Romito 783c4c6c8d improved old code 2022-10-19 18:11:55 +02:00