File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
vector/src/main/java/im/vector/app/features/voicebroadcast Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ object VoiceBroadcastConstants {
22
22
const val STATE_ROOM_VOICE_BROADCAST_INFO = " io.element.voice_broadcast_info"
23
23
24
24
/* * Default voice broadcast chunk duration, in seconds. */
25
- const val DEFAULT_CHUNK_LENGTH = 30
25
+ const val DEFAULT_CHUNK_LENGTH_IN_SECONDS = 30
26
26
}
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class StartVoiceBroadcastUseCase @Inject constructor(
65
65
66
66
private suspend fun startVoiceBroadcast (room : Room ) {
67
67
Timber .d(" ## StartVoiceBroadcastUseCase: Send new voice broadcast info state event" )
68
- val chunkLength = VoiceBroadcastConstants .DEFAULT_CHUNK_LENGTH // Todo Get the length from the room settings
68
+ val chunkLength = VoiceBroadcastConstants .DEFAULT_CHUNK_LENGTH_IN_SECONDS // Todo Get the length from the room settings
69
69
val eventId = room.stateService().sendStateEvent(
70
70
eventType = VoiceBroadcastConstants .STATE_ROOM_VOICE_BROADCAST_INFO ,
71
71
stateKey = session.myUserId,
You can’t perform that action at this time.
0 commit comments