xuyuanzhou

Results 9 comments of xuyuanzhou

0.25版本也还是不能获取到,0.22版本是可以的

maybe you should set 150 --- 300 replace 0

Sorry, I have no idea

fullVideoAspectRatio={"16:9"} videoAspectRatio={"16:9"} 自己设置宽高比

这样子么,我到时看看吧

import {StyleSheet, View, Dimensions} from 'react-native'; import Orientation from 'react-native-orientation'; const height = Dimensions.get('window').height; const width = Dimensions.get('window').width; fullVideoAspectRatio={ width + ":" + height} 安卓你可以先用全屏的宽高比

使用1.1.1-beta7版本, 使用参数autoAspectRatio={true} 只作用于Android

还没想好怎么弄,我不做直播

暂时还没有想到什么好的解决办法,我到时再看看