Comments (4)
Can you elaborate the multi-key use case?
Maybe you refer to the following sentence in the spec:
Two or more EXT-X-KEY tags with different KEYFORMAT attributes MAY apply to the same Media Segment if they ultimately produce the same decryption key.
But I still don't understand what's the point of having different keys for the same segment.
from hls-parser.
Can you elaborate the multi-key use case? Maybe you refer to the following sentence in the spec:
Two or more EXT-X-KEY tags with different KEYFORMAT attributes MAY apply to the same Media Segment if they ultimately produce the same decryption key.
But I still don't understand what's the point of having different keys for the same segment.
I'm doing Widevine + Fairplay in HLS using shaka-packager with cbcs protection scheme
from hls-parser.
Can you attach the actual manifest?
I just wanted to see all attributes.
You can obscure the URLs.
from hls-parser.
#EXTM3U
#EXT-X-VERSION:6
## Generated with https://github.com/google/shaka-packager version v2.6.1-634af65-release
#EXT-X-TARGETDURATION:3
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MAP:URI="init.mp4"
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,mgIAAAEAAQCQAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AUgB1AGYAVwBJAHEAQgA2ADIAMwB6AHUAdQA1AHEAWAAzAGsARgB6AGwAZwA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgAwAGsAUQAxAGIAbwB0AEkAVwBkAGcAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBkAHIAbQAyADUANQA0ADIALgBtAC4AZAByAG0AbgBvAHcALgByAHUALwBwAGwAYQB5AHIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A",KEYFORMAT="com.microsoft.playready",KEYFORMATVERSIONS="1"
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://22d6e7467aa07cdbeebb9a97de417396",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery"
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,AAAAa3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEsIARIgMjJkNmU3NDY3YWEwN2NkYmVlYmI5YTk3ZGU0MTczOTYaA2NkbiIgMjJkNmU3NDY3YWEwN2NkYmVlYmI5YTk3ZGU0MTczOTY=",KEYID=0x22D6E7467AA07CDBEEBB9A97DE417396,IV=0x0217FDB7ADADAB21D0D3539648AFA866,KEYFORMATVERSIONS="1",KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
#EXTINF:3.000,
1.m4s
#EXTINF:3.000,
2.m4s
#EXTINF:3.000,
3.m4s
#EXTINF:1.000,
4.m4s
#EXT-X-ENDLIST
from hls-parser.
Related Issues (20)
- Encryption with no IV (missing default behaviour)
- Issue with hls.stringify for cloned hls object
- support buffered input for hls.parse & buffered output for hls.stringify
- Release the last version HOT 2
- Stringify : Manifest malformation with multiple rendition (group-id) HOT 6
- Error when using `noImplicitAny` in a typescript project HOT 6
- Not working in the browser? HOT 1
- Invalid Playlist: The EXT-X-MEDIA-SEQUENCE tag MUST appear before the first Media Segment in the Playlist HOT 2
- If you try to output a playlist in HLS-V4 format, an error will occur. HOT 7
- Handling ad markers SCTE-35 HOT 2
- Correctly stringify bytrange of EXT-X-MAP
- Multiple markers is unsupported HOT 1
- The library doesn't parse EXT-X-PART tag HOT 1
- EXT-X-DATERANGE tags with no START-DATE attribute are not ignored with strictMode disabled HOT 1
- Issue in maintaining segment key when splicing the segment HOT 7
- License HOT 4
- support for EXT-X-PREFETCH HOT 5
- Support HLS versions 8 and above HOT 4
- EXT-X-BYTERANGE should come after other segment information HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hls-parser.