Skip to content

Commit

Permalink
feat: Sets audio recording prop when enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Oct 28, 2024
1 parent 5106167 commit caa9faa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jitsi-xmpp-extensions</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0-82-ge8aacab</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit caa9faa

Please sign in to comment.