This commit is contained in:
ThomasSession 2024-07-08 10:00:24 +10:00
parent f0c7621832
commit eec45aea3d
2 changed files with 0 additions and 4 deletions

View File

@ -54,7 +54,6 @@ import org.thoughtcrime.securesms.webrtc.CallViewModel.State.CALL_RINGING
import org.thoughtcrime.securesms.webrtc.Orientation
import org.thoughtcrime.securesms.webrtc.audio.SignalAudioManager.AudioDevice.EARPIECE
import org.thoughtcrime.securesms.webrtc.audio.SignalAudioManager.AudioDevice.SPEAKER_PHONE
import org.webrtc.RendererCommon
import kotlin.math.asin
@AndroidEntryPoint

View File

@ -628,9 +628,6 @@ class CallManager(
_videoState.value = _videoState.value.copy(swapped = videoSwapped)
handleMirroring()
//todo TOM floating inset loses its rounded corners when the second surfaceview is added
//todo TOM ios rotates the controls in landscape ( just the buttons though, not the whole ui??)
if (!videoSwapped) {
peerConnection?.rotationVideoSink?.apply {
setSink(floatingRenderer)