let remote view resize with aspect ratio

This commit is contained in:
Valere 2020-06-12 10:01:20 +02:00
parent 91f28bfb8a
commit 56ed56a986
1 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@
<org.webrtc.SurfaceViewRenderer
android:id="@+id/fullscreen_video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center" />
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<org.webrtc.SurfaceViewRenderer
android:id="@+id/pip_video_view"