Skip to content

Commit 7f4d8a5

Browse files
committed
enable hardware video decoder by default
1 parent e77da54 commit 7f4d8a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The plugin accepts several **optional** configuration options, such as:
109109
- `hls_maxlevelcappingmode` (default downscale) : defines the max level capping mode to the one available in HLSMaxLevelCappingMode:
110110
- "downscale" - max capped level should be the one with the dimensions equal or greater than the stage dimensions (so the video will be downscaled)
111111
- "upscale" - max capped level should be the one with the dimensions equal or lower than the stage dimensions (so the video will be upscaled)
112-
- `hls_usehardwarevideodecoder` (default true) : enable/disable hardware video decoding. it could be useful to workaround hardware video decoding issues.
112+
- `hls_usehardwarevideodecoder` (default true) : enable/disable hardware video decoding. disabling it could be useful to workaround hardware video decoding issues.
113113
- `hls_fpsdroppedmonitoringperiod` (default 5000ms) : dropped FPS Monitor Period in ms. period at which number of dropped FPS will be checked.
114114
- `hls_fpsdroppedmonitoringthreshold` (default 0.2) : every fpsDroppedMonitoringPeriod, dropped FPS will be compared to displayed FPS. if during that period, ratio of (dropped FPS/displayed FPS) is greater or equal than hls_fpsdroppedmonitoringthreshold, HLSEvent.FPS_DROP event will be fired.
115115
- `hls_caplevelonfpsdrop` (default true) : Limit levels usable in auto-quality when FPS drop is detected.i.e. if frame drop is detected on level 5, auto level will be capped to level 4. Note: this setting is ignored in manual mode so all the levels could be selected manually.

src/org/mangui/hls/HLSSettings.as

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ package org.mangui.hls {
262262
* it will set NetStream.useHardwareDecoder
263263
* refer to http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#useHardwareDecoder
264264
*
265-
* Default is false
265+
* Default is true
266266
*/
267-
public static var useHardwareVideoDecoder : Boolean = false;
267+
public static var useHardwareVideoDecoder : Boolean = true;
268268

269269
/**
270270
* logInfo

0 commit comments

Comments
 (0)