mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-20 09:58:28 +00:00
Remove conference recording buttons for now
This commit is contained in:
parent
cf09f82523
commit
08547ea663
6 changed files with 14 additions and 7 deletions
|
|
@ -213,10 +213,12 @@ class CoreContext(
|
||||||
|
|
||||||
// Only start call recording when the call is in StreamsRunning for the first time
|
// Only start call recording when the call is in StreamsRunning for the first time
|
||||||
if (corePreferences.automaticallyStartCallRecording && !call.params.isRecording) {
|
if (corePreferences.automaticallyStartCallRecording && !call.params.isRecording) {
|
||||||
|
if (call.conference == null) { // TODO: FIXME: We disabled conference recording for now
|
||||||
Log.i("[Context] We were asked to start the call recording automatically")
|
Log.i("[Context] We were asked to start the call recording automatically")
|
||||||
call.startRecording()
|
call.startRecording()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else if (state == Call.State.End || state == Call.State.Error || state == Call.State.Released) {
|
} else if (state == Call.State.End || state == Call.State.Error || state == Call.State.Released) {
|
||||||
if (state == Call.State.Error) {
|
if (state == Call.State.Error) {
|
||||||
Log.w("[Context] Call error reason is ${call.errorInfo.protocolCode} / ${call.errorInfo.reason} / ${call.errorInfo.phrase}")
|
Log.w("[Context] Call error reason is ${call.errorInfo.protocolCode} / ${call.errorInfo.reason} / ${call.errorInfo.phrase}")
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,7 @@
|
||||||
android:padding="7dp"
|
android:padding="7dp"
|
||||||
android:selected="@{conferenceViewModel.isRecording}"
|
android:selected="@{conferenceViewModel.isRecording}"
|
||||||
android:src="@drawable/icon_call_record"
|
android:src="@drawable/icon_call_record"
|
||||||
|
android:visibility="gone"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
||||||
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
||||||
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
||||||
|
|
@ -118,7 +119,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
|
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
|
<org.linphone.activities.voip.views.ScrollDotsView
|
||||||
android:id="@+id/scroll_indicator"
|
android:id="@+id/scroll_indicator"
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
|
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
|
<TextView
|
||||||
android:id="@+id/remote_name"
|
android:id="@+id/remote_name"
|
||||||
|
|
@ -106,6 +106,7 @@
|
||||||
android:padding="7dp"
|
android:padding="7dp"
|
||||||
android:selected="@{conferenceViewModel.isRecording}"
|
android:selected="@{conferenceViewModel.isRecording}"
|
||||||
android:src="@drawable/icon_call_record"
|
android:src="@drawable/icon_call_record"
|
||||||
|
android:visibility="gone"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
||||||
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
||||||
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
|
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
|
<TextView
|
||||||
android:id="@+id/remote_name"
|
android:id="@+id/remote_name"
|
||||||
|
|
@ -106,6 +106,7 @@
|
||||||
android:padding="7dp"
|
android:padding="7dp"
|
||||||
android:selected="@{conferenceViewModel.isRecording}"
|
android:selected="@{conferenceViewModel.isRecording}"
|
||||||
android:src="@drawable/icon_call_record"
|
android:src="@drawable/icon_call_record"
|
||||||
|
android:visibility="gone"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
||||||
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
||||||
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
|
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
|
<TextView
|
||||||
android:id="@+id/remote_name"
|
android:id="@+id/remote_name"
|
||||||
|
|
@ -106,6 +106,7 @@
|
||||||
android:padding="7dp"
|
android:padding="7dp"
|
||||||
android:selected="@{conferenceViewModel.isRecording}"
|
android:selected="@{conferenceViewModel.isRecording}"
|
||||||
android:src="@drawable/icon_call_record"
|
android:src="@drawable/icon_call_record"
|
||||||
|
android:visibility="gone"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
||||||
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
||||||
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
|
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
|
<TextView
|
||||||
android:id="@+id/remote_name"
|
android:id="@+id/remote_name"
|
||||||
|
|
@ -106,6 +106,7 @@
|
||||||
android:padding="7dp"
|
android:padding="7dp"
|
||||||
android:selected="@{conferenceViewModel.isRecording}"
|
android:selected="@{conferenceViewModel.isRecording}"
|
||||||
android:src="@drawable/icon_call_record"
|
android:src="@drawable/icon_call_record"
|
||||||
|
android:visibility="gone"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
app:layout_constraintBottom_toBottomOf="@id/active_conference_timer"
|
||||||
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
app:layout_constraintEnd_toStartOf="@id/toggle_pause_conference"
|
||||||
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
app:layout_constraintTop_toTopOf="@id/remote_name" />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue