Class VideoEncodeAcceleratorCapability
- java.lang.Object
-
- org.openqa.selenium.devtools.systeminfo.model.VideoEncodeAcceleratorCapability
-
public class VideoEncodeAcceleratorCapability extends java.lang.Object
Describes a supported video encoding profile with its associated maximum resolution and maximum framerate.
-
-
Constructor Summary
Constructors Constructor Description VideoEncodeAcceleratorCapability(java.lang.String profile, Size maxResolution, java.lang.Integer maxFramerateNumerator, java.lang.Integer maxFramerateDenominator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getMaxFramerateDenominator()
java.lang.Integer
getMaxFramerateNumerator()
Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g.Size
getMaxResolution()
Maximum video dimensions in pixels supported for this |profile|.java.lang.String
getProfile()
Video codec profile that is supported, e.g H264 Main.
-
-
-
Constructor Detail
-
VideoEncodeAcceleratorCapability
public VideoEncodeAcceleratorCapability(java.lang.String profile, Size maxResolution, java.lang.Integer maxFramerateNumerator, java.lang.Integer maxFramerateDenominator)
-
-
Method Detail
-
getProfile
public java.lang.String getProfile()
Video codec profile that is supported, e.g H264 Main.
-
getMaxResolution
public Size getMaxResolution()
Maximum video dimensions in pixels supported for this |profile|.
-
getMaxFramerateNumerator
public java.lang.Integer getMaxFramerateNumerator()
Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.
-
getMaxFramerateDenominator
public java.lang.Integer getMaxFramerateDenominator()
-
-