resize Video
Resizes the video output to the specified dimensions.
Adjusts the video output size to the specified width and height, maintaining the aspect ratio. Useful when the size of the SurfaceView changes after the player has been initialized.
Example usage:
player.resizeVideo(960, 540); // Resize to 960x540
Content copied to clipboard
Parameters
width
The target width in pixels.
height
The target height in pixels.