hardwareAcceleration([hwaccel])
Class: MediaPlayer.
Description:
Sets or get hardware acceleration setting for ffmpeg video decoding.
To get a list of supported hardware acceleration options use hardwareAccelerations getter property.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
|
Returns:
Returns this component instance if setting, string if getting.
Type: string | MediaPlayer
