From caa9faac27ec3d7d858acdbf20644ece3dae336d Mon Sep 17 00:00:00 2001 From: damencho Date: Mon, 28 Oct 2024 15:29:35 -0500 Subject: [PATCH] feat: Sets audio recording prop when enabled. --- .../jitsi/jicofo/conference/JitsiMeetConferenceImpl.java | 7 ++++++- pom.xml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/jicofo/src/main/java/org/jitsi/jicofo/conference/JitsiMeetConferenceImpl.java b/jicofo/src/main/java/org/jitsi/jicofo/conference/JitsiMeetConferenceImpl.java index 39df8d5e09..1e015f2ea5 100644 --- a/jicofo/src/main/java/org/jitsi/jicofo/conference/JitsiMeetConferenceImpl.java +++ b/jicofo/src/main/java/org/jitsi/jicofo/conference/JitsiMeetConferenceImpl.java @@ -330,7 +330,7 @@ private ColibriSessionManager getColibriSessionManager() // We initialize colibriSessionManager only after having joined the room, so meetingId must be set. String meetingId = Objects.requireNonNull(this.meetingId); URI multiTrackRecorderUrl = RecordingConfig.config.multiTrackRecorderUrl(meetingId); - // TODO update presence to reflect + colibriSessionManager = new ColibriV2SessionManager( jicofoServices.getXmppServices().getServiceConnection().getXmppConnection(), jicofoServices.getBridgeSelector(), @@ -341,6 +341,11 @@ private ColibriSessionManager getColibriSessionManager() jvbVersion, logger); colibriSessionManager.addListener(colibriSessionManagerListener); + + if (multiTrackRecorderUrl != null) + { + setConferenceProperty(ConferenceProperties.KEY_AUDIO_RECORDING_ENABLED, Boolean.TRUE.toString()); + } } return colibriSessionManager; } diff --git a/pom.xml b/pom.xml index 6594891512..8369826c26 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@ ${project.groupId} jitsi-xmpp-extensions - 1.0-SNAPSHOT + 1.0-82-ge8aacab org.slf4j