更换直播间视频渲染层以修复部分机型和模拟器滑动视频时白屏问题
This commit is contained in:
@@ -7,9 +7,12 @@
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<SurfaceView
|
||||
<com.google.android.exoplayer2.ui.StyledPlayerView
|
||||
android:id="@+id/video_view"
|
||||
android:layout_width="match_parent"
|
||||
app:surface_type="texture_view"
|
||||
app:resize_mode="zoom"
|
||||
app:use_controller="false"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<ImageView
|
||||
|
||||
Reference in New Issue
Block a user