Skip to content

Commit

Permalink
feat(android): update Java example to have recordingService enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinteodor committed Feb 20, 2025
1 parent c3c16da commit 57b4632
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ protected void onCreate(Bundle savedInstanceState) {
.setServerURL(serverURL)
.setFeatureFlag("pip.enabled", false)
.setConfigOverride("customToolbarButtons", customToolbarButtons)
.setConfigOverride("recordingService", getRecordingService())
.build();
JitsiMeet.setDefaultConferenceOptions(defaultOptions);

Expand Down Expand Up @@ -114,6 +115,14 @@ public void onButtonClick(View v) {
return customToolbarButtons;
}

private static Bundle getRecordingService() {
Bundle recordingService = new Bundle();
recordingService.putBoolean("enabled", true);
recordingService.putBoolean("sharingEnabled", true);

return recordingService;
}

private void registerForBroadcastMessages() {
IntentFilter intentFilter = new IntentFilter();

Expand Down

0 comments on commit 57b4632

Please sign in to comment.