mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-16 22:01:26 +00:00
Clean up
This commit is contained in:
parent
f0c7621832
commit
eec45aea3d
@ -54,7 +54,6 @@ import org.thoughtcrime.securesms.webrtc.CallViewModel.State.CALL_RINGING
|
|||||||
import org.thoughtcrime.securesms.webrtc.Orientation
|
import org.thoughtcrime.securesms.webrtc.Orientation
|
||||||
import org.thoughtcrime.securesms.webrtc.audio.SignalAudioManager.AudioDevice.EARPIECE
|
import org.thoughtcrime.securesms.webrtc.audio.SignalAudioManager.AudioDevice.EARPIECE
|
||||||
import org.thoughtcrime.securesms.webrtc.audio.SignalAudioManager.AudioDevice.SPEAKER_PHONE
|
import org.thoughtcrime.securesms.webrtc.audio.SignalAudioManager.AudioDevice.SPEAKER_PHONE
|
||||||
import org.webrtc.RendererCommon
|
|
||||||
import kotlin.math.asin
|
import kotlin.math.asin
|
||||||
|
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
|
@ -628,9 +628,6 @@ class CallManager(
|
|||||||
_videoState.value = _videoState.value.copy(swapped = videoSwapped)
|
_videoState.value = _videoState.value.copy(swapped = videoSwapped)
|
||||||
handleMirroring()
|
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) {
|
if (!videoSwapped) {
|
||||||
peerConnection?.rotationVideoSink?.apply {
|
peerConnection?.rotationVideoSink?.apply {
|
||||||
setSink(floatingRenderer)
|
setSink(floatingRenderer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user