mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Format in TrackGroup must include roleFlags from HLS manifest parse
With sample prepare (non-chunkless) the `Format` object in the TrackGroup is derived from the data in the stream and data in the manifest. This change includes the roleFlags from the HLS manifest parse in the final derived format.
This commit is contained in:
parent
bb744e5f9b
commit
2ba0b1d997
1 changed files with 1 additions and 0 deletions
|
|
@ -1314,6 +1314,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||
.setLabel(playlistFormat.label)
|
||||
.setLanguage(playlistFormat.language)
|
||||
.setSelectionFlags(playlistFormat.selectionFlags)
|
||||
.setRoleFlags(playlistFormat.roleFlags)
|
||||
.setAverageBitrate(propagateBitrates ? playlistFormat.averageBitrate : Format.NO_VALUE)
|
||||
.setPeakBitrate(propagateBitrates ? playlistFormat.peakBitrate : Format.NO_VALUE)
|
||||
.setCodecs(codecs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue