Closed
Conversation
Contributor
Author
|
fixed not to use initializationSegmentIndex for simplification |
Contributor
|
Hi @TakuSemba, thanks for the pull request. There are a points that are not ideal about the approach used in the PR:
I think it will be faster to push a fix (along with tests) directly for this than to address changes an sync both internal and external repos. Again, many thanks for the pull request. I will look into the DRM PR asap. |
Contributor
Author
|
makes sense, thanks. Thank you for opening the issue |
Contributor
|
Yes, it will be available in the dev-branch in the next push. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm trying to play HLS + fmp4 contents, and it didn't work when the HLS playlist has multiple contents separated by
#EXT-X-DISCONTINUITY.It looks like
HlsPlaylistParser.javacaptures the only one initialSegment the parser found at last eventually, but I think there is a situation where multiple init files exist separated by#EXT-X-DISCONTINUITY.According to the spec, it says
what shown below is what i tested for this pr.
content description
this HLS url is available and it can be reproduced, this is what I prepared.
playlist.m3u8
how I made each content.
the first content (widevine) using shaka-packager
i used test widevine test credential (https://google.github.io/shaka-packager/html/tutorials/widevine.html#widevine-test-credential)
packager \ 'in=input1.mp4,stream=video,init_segment=video1/init.mp4,segment_template=video1/$Number$.m4s,playlist_name=video.m3u8' \ --hls_master_playlist_output playlist2.m3u8 \ --enable_widevine_encryption \ --key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \ --content_id 7465737420636f6e74656e74206964 \ --signer widevine_test \ --aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \ --aes_signing_iv d58ce954203b7c9a9a9d467f59839249 \ --protection_scheme cencthe second content (aes-128) using ffmpeg