getHLSRatio static method
This function is used to get HLS Player's Aspect Ratio for the screen
Implementation
static double getHLSRatio(Size size, BuildContext context) {
return (size.height - 1) / (size.width);
}
This function is used to get HLS Player's Aspect Ratio for the screen
static double getHLSRatio(Size size, BuildContext context) {
return (size.height - 1) / (size.width);
}