Remove conference recording buttons for now

This commit is contained in:
Sylvain Berfini 2022-11-23 14:57:57 +01:00
parent cf09f82523
commit 08547ea663
6 changed files with 14 additions and 7 deletions

View file

@ -213,8 +213,10 @@ class CoreContext(
// Only start call recording when the call is in StreamsRunning for the first time
if (corePreferences.automaticallyStartCallRecording && !call.params.isRecording) {
Log.i("[Context] We were asked to start the call recording automatically")
call.startRecording()
if (call.conference == null) { // TODO: FIXME: We disabled conference recording for now
Log.i("[Context] We were asked to start the call recording automatically")
call.startRecording()
}
}
}
} else if (state == Call.State.End || state == Call.State.Error || state == Call.State.Released) {

View file

@ -99,6 +99,7 @@
android:padding="7dp"
android:selected="@{conferenceViewModel.isRecording}"
android:src="@drawable/icon_call_record"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
app:layout_constraintTop_toTopOf="@id/remote_name" />
@ -118,7 +119,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_conference_recording,toggle_pause_conference" />
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_pause_conference" />
<org.linphone.activities.voip.views.ScrollDotsView
android:id="@+id/scroll_indicator"

View file

@ -56,7 +56,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_conference_recording,toggle_pause_conference" />
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_pause_conference" />
<TextView
android:id="@+id/remote_name"
@ -106,6 +106,7 @@
android:padding="7dp"
android:selected="@{conferenceViewModel.isRecording}"
android:src="@drawable/icon_call_record"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
app:layout_constraintTop_toTopOf="@id/remote_name" />

View file

@ -56,7 +56,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_conference_recording,toggle_pause_conference" />
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_pause_conference" />
<TextView
android:id="@+id/remote_name"
@ -106,6 +106,7 @@
android:padding="7dp"
android:selected="@{conferenceViewModel.isRecording}"
android:src="@drawable/icon_call_record"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
app:layout_constraintTop_toTopOf="@id/remote_name" />

View file

@ -56,7 +56,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_conference_recording,toggle_pause_conference" />
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_pause_conference" />
<TextView
android:id="@+id/remote_name"
@ -106,6 +106,7 @@
android:padding="7dp"
android:selected="@{conferenceViewModel.isRecording}"
android:src="@drawable/icon_call_record"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
app:layout_constraintTop_toTopOf="@id/remote_name" />

View file

@ -56,7 +56,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_conference_recording,toggle_pause_conference" />
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_pause_conference" />
<TextView
android:id="@+id/remote_name"
@ -106,6 +106,7 @@
android:padding="7dp"
android:selected="@{conferenceViewModel.isRecording}"
android:src="@drawable/icon_call_record"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
app:layout_constraintTop_toTopOf="@id/remote_name" />