-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug in how the demo detects audio assets.
In HLS, the resolution property is optional. This means we cannot assume that a variant with a video stream has a defined width. Such a check was causing us to incorrectly identify variants as audio-only, and applying the audio-only poster incorrectly. Instead, this change checks for the presence of a video codec. Closes #794 Change-Id: I80ebd11ebc735468220816c5133a3398436f4530
- Loading branch information
1 parent
9ef400e
commit 82e7306
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters