Commit Graph

20018 Commits

Author SHA1 Message Date
Florian Renaud
0cc2a477b4 Mockk GetOngoingVoiceBroadcastsUseCase and adapt tests 2022-10-26 14:54:55 +02:00
Florian Renaud
23b4f6d42f Inject ActiveSessionHolder in GetOngoingVoiceBroadcastsUseCase 2022-10-26 12:49:51 +02:00
Florian Renaud
443d573205 Remove getOngoingVoiceBroadcasts from VoiceBroadcastHelper 2022-10-26 12:48:32 +02:00
Florian Renaud
5855fe1242 Add StopOngoingVoiceBroadcastUseCase 2022-10-26 12:44:38 +02:00
Florian Renaud
2f14d19130 Fix failing test 2022-10-26 12:44:37 +02:00
Florian Renaud
ec80adc8aa Rename usecase file 2022-10-26 10:10:56 +02:00
Florian Renaud
47047b2034 move map operator in a new line 2022-10-26 10:00:56 +02:00
Florian Renaud
85bc78bd72 Do not pause already paused voice broadcast 2022-10-26 09:50:58 +02:00
Florian Renaud
53db04c8cf Add changelog 2022-10-26 09:46:24 +02:00
Florian Renaud
6eeb54ae40 Stop ongoing voice broadcast on app restart 2022-10-26 09:46:23 +02:00
Florian Renaud
a4eff0cc78 Add changelog 2022-10-25 17:56:27 +02:00
Florian Renaud
c7c05d1fe6 Add check on deviceId before showing recording tile 2022-10-25 17:54:26 +02:00
Florian Renaud
0f21f404e6 Add changelog 2022-10-25 17:41:36 +02:00
Florian Renaud
513097585a Fix kdoc issue 2022-10-25 17:38:05 +02:00
Florian Renaud
649747bbb8 Move voice broadcast item attributes to dedicated class 2022-10-25 16:32:44 +02:00
Florian Renaud
f31429cf25 Rename renderLiveIcon method 2022-10-25 16:32:44 +02:00
Florian Renaud
2c144614ca Improve recording state rendering if app has been relaunched 2022-10-25 16:32:44 +02:00
Florian Renaud
a7c24b23a0 Improve VoiceBroadcastItemFactory 2022-10-25 16:31:25 +02:00
Florian Renaud
4defc3dded Voice Broadcast - Add style for the "live" indicator 2022-10-25 16:31:25 +02:00
Florian Renaud
1566adb669 Timeline - Add abstraction on voice broadcast items 2022-10-25 16:31:24 +02:00
Florian Renaud
6a88c61d12 Group voice broadcast controller buttons in a Flow 2022-10-25 16:31:24 +02:00
Florian Renaud
2a977f341b
Merge pull request #7421 from vector-im/feature/fre/voice_broadcast_timeline_tiles
Voice Broadcast - Improve recording and listening tiles in the timeline
2022-10-21 00:53:39 +02:00
Florian Renaud
926f4d9201 Fix play/pause button disabled 2022-10-20 23:58:17 +02:00
Florian Renaud
d44d81ed46
Merge pull request #7419 from vector-im/feature/fre/voice_broadcast_live_listening
Voice broadcast - live listening
2022-10-20 23:52:57 +02:00
Florian Renaud
34cafa373f Add missing content description 2022-10-20 23:43:33 +02:00
Florian Renaud
4a76998c98 Use CopyOnWriteArrayList 2022-10-20 23:28:33 +02:00
Florian Renaud
f2cc08263f Call onClick instead of setOnClickListener 2022-10-20 23:28:33 +02:00
Florian Renaud
9a96de4f06 Set id to VoiceBroadcast items 2022-10-20 23:28:33 +02:00
Florian Renaud
8869d82dd0 Add changelog 2022-10-20 23:28:32 +02:00
Florian Renaud
930c856728 Add additional information in listening tile 2022-10-20 23:28:32 +02:00
Florian Renaud
72a1acec89 Fix voice broadcast state update on wrong thread 2022-10-20 23:28:32 +02:00
Florian Renaud
6ff7a7f3ae Update buffering view 2022-10-20 23:28:32 +02:00
Florian Renaud
9c5b6d8207 Fix null voiceBroadcastId when the playlist is empty 2022-10-20 23:28:32 +02:00
Florian Renaud
cebc096ac7 VoiceBroadcast - Update live indicator icon 2022-10-20 23:28:32 +02:00
Florian Renaud
f711a0ea74 VoiceBroadcast - Listening view 2022-10-20 23:28:32 +02:00
Florian Renaud
f1b4ebbc37 VoiceBroadcast - Introduce listening view 2022-10-20 23:28:32 +02:00
Florian Renaud
4c71209573 VoiceBroadcast - Add recording view 2022-10-20 23:28:31 +02:00
yostyle
0a9f2bfa0a Fix some PR comments 2022-10-20 23:03:28 +02:00
Florian Renaud
05eeef9dfe VoiceBroadcastListener - Handle end of live listening 2022-10-20 23:03:28 +02:00
Florian Renaud
bafa2f8bde VoiceBroadcastRecorder - Send last sequence number on pause and stop 2022-10-20 23:03:28 +02:00
Florian Renaud
99a2afa5ee Add changelog 2022-10-20 23:03:28 +02:00
Florian Renaud
94390697ae VoiceBroadcastPlayer - Filter live broadcast state listening on the referenced eventId 2022-10-20 23:03:28 +02:00
Benoit Marty
ed0d255495 Quick improvement on the doc. 2022-10-20 14:03:42 +02:00
Florian Renaud
6d6b4e5208 VoiceBroadcast - Ignore voice broadcast info with empty content (eg. redacted) 2022-10-20 12:51:08 +02:00
Florian Renaud
f05f0a85b0 VoiceBroadcastRecorder - Improve recorder by sending chunk when pausing 2022-10-20 12:51:08 +02:00
Florian Renaud
e9c81ca98f VoiceBroadcastPlayer - Live listening 2022-10-20 12:51:08 +02:00
Florian Renaud
fe44a829af VoiceBroadcastPlayer - Improve currentVoiceBroadcastId 2022-10-20 12:34:59 +02:00
Florian Renaud
0c847cffc1 VoiceBroadcastPlayer - Use more accurate coroutine scope 2022-10-20 12:34:59 +02:00
Florian Renaud
b89ab6c2fd VoiceBroadcastPlayer - release previous MediaPlayer 2022-10-20 12:34:59 +02:00
Florian Renaud
6554f571f2 VoiceBroadcastPlayer - Inject ActiveSessionHolder instead of Session 2022-10-20 12:34:59 +02:00