This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 320
Alternative renditions do not seem to work properly #221
Comments
check the Go test below: func TestMasterPlaylistParsing(t *testing.T) {
playlist, _, err := m3u8.DecodeFrom(bytes.NewReader(masterWithSeparateAudioPlaylist), true)
require.NoError(t, err)
for _, variant := range playlist.(*m3u8.MasterPlaylist).Variants {
t.Logf("%+v", variant)
}
} I will show how the variants are decoded depending on the position of the Input/Output 1:
Input/Output 2:
Input/Output 3:
|
see also this PR that shows the issue in a repo test case |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I've seen that the following HLS master playlist manifest does not get parsed correctly:
Notice that the issue is that the alternative rendition in the last line does not get included in the variants after parsing the master playlist.
The parsing seems to require such line to be before every
#EXT-X-STREAM-INF
in order to work.Thank you 😄
The text was updated successfully, but these errors were encountered: