mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed video preview not moving if call was started in audio only
This commit is contained in:
parent
21b09839c5
commit
05e090d867
1 changed files with 3 additions and 5 deletions
|
|
@ -68,11 +68,9 @@ abstract class GenericVideoPreviewFragment<T : ViewDataBinding> : GenericFragmen
|
|||
}
|
||||
|
||||
protected fun setupLocalViewPreview(localVideoPreview: TextureView, switchCamera: ImageView?) {
|
||||
if (coreContext.core.currentCall?.currentParams?.isVideoEnabled == true) {
|
||||
videoPreviewTextureView = localVideoPreview
|
||||
switchCameraImageView = switchCamera
|
||||
videoPreviewTextureView.setOnTouchListener(previewTouchListener)
|
||||
}
|
||||
videoPreviewTextureView = localVideoPreview
|
||||
switchCameraImageView = switchCamera
|
||||
videoPreviewTextureView.setOnTouchListener(previewTouchListener)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue