static double getHLSPlayerDefaultRatio(Size size) { if (Platform.isAndroid) { return size.width / (size.height - 100); } else { return 9 / 16; } }