wuyanan

fix |> 修复缺陷18180:后台选择的是竖屏流,实际流画面是横屏,展示样式和安卓保持一致

@@ -56,6 +56,11 @@ export struct PlayerComponent { @@ -56,6 +56,11 @@ export struct PlayerComponent {
56 this.playerController.onVideoSizePlayerComponentBack = (width: number, height: number) => { 56 this.playerController.onVideoSizePlayerComponentBack = (width: number, height: number) => {
57 if(width>height){ 57 if(width>height){
58 this.isLarge = false 58 this.isLarge = false
  59 + if(this.liveStreamType == 1) { ///后台选择的是竖屏流,实际流画面是横屏,展示样式和安卓保持一致
  60 + this.isLarge = true
  61 + this.playerController?.setScaleMode(AliScaleMode.SCALE_ASPECT_FILL)
  62 + return
  63 + }
59 if(width > 2){ 64 if(width > 2){
60 this.liveStreamType = 0 65 this.liveStreamType = 0
61 } 66 }