Skip to content

Commit

Permalink
Clarify capLevelToPlayerSize docs in API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andreashermann committed Apr 26, 2024
1 parent 21c00cf commit 0b8a64e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ This configuration will be applied by default to all instances.

- if set to true, the adaptive algorithm with limit levels usable in auto-quality by the HTML video element dimensions (width and height).
If dimensions between multiple levels are equal, the cap is chosen as the level with the greatest bandwidth.
In some devices, the video element dimensions will be multiplied by the device pixel ratio.
Use `ignoreDevicePixelRatio` for a strict level limitation based on the size of the video element.
- if set to false, levels will not be limited. All available levels could be used in auto-quality mode taking only bandwidth into consideration.

### `capLevelOnFPSDrop`
Expand Down

0 comments on commit 0b8a64e

Please sign in to comment.