Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single char segment name fails to parse. #175

Merged
merged 1 commit into from
Jan 7, 2015

Conversation

stevemayhew
Copy link
Contributor

If the m3u8 manifest has only a single character:

EXTM3U

EXT-X-ALLOW-CACHE:NO

EXT-X-TARGETDURATION:2

EXT-X-MEDIA-SEQUENCE:0

EXT-X-KEY:METHOD=AES-128,URI="keyfile.kbin"

EXTINF:2,

0

EXTINF:2,

1

Then it is not parsed and recognized as a segment.

If the m3u8 manifest has only a single character:

#EXTM3U
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="keyfile.kbin"
#EXTINF:2,
0
#EXTINF:2,
1

Then it is not parsed and recognized as a segment.
@stevemayhew
Copy link
Contributor Author

Here is a manifest URL that demonstrates the problem:

http://flashls-test.s3.amazonaws.com/7_copy.m3u8

The actual HLS stream above does not play (even after the fix), however it does load. I'll submit a separate bug for the issue with playback

@stevemayhew stevemayhew mentioned this pull request Jan 7, 2015
mangui added a commit that referenced this pull request Jan 7, 2015
Single char segment name fails to parse.
@mangui mangui merged commit 0f88b2c into mangui:master Jan 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants