update 清晰度切换
This commit is contained in:
parent
7555510d94
commit
0c053a028e
@ -1066,7 +1066,7 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
public void onVideoSizeChanged(VideoSize videoSize) {
|
public void onVideoSizeChanged(VideoSize videoSize) {
|
||||||
Player.Listener.super.onVideoSizeChanged(videoSize);
|
Player.Listener.super.onVideoSizeChanged(videoSize);
|
||||||
Log.i(TAG, "onVideoSizeChanged: width = " + videoSize.width + " height = " + videoSize.height);
|
Log.i(TAG, "onVideoSizeChanged: width = " + videoSize.width + " height = " + videoSize.height);
|
||||||
ToastUtil.show("分辨率: width = " + videoSize.width + " height = " + videoSize.height);
|
// ToastUtil.show("分辨率: width = " + videoSize.width + " height = " + videoSize.height);
|
||||||
if (videoSize.height > videoSize.width) {
|
if (videoSize.height > videoSize.width) {
|
||||||
videoLandscape = VIDEO_VERTICAL;
|
videoLandscape = VIDEO_VERTICAL;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user