#9632 closed enhancement (fixed)
Implement cookie management for protected HLS streams
| Reported by: | brianV | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 FF |
| Component: | Input: network streams | Version: | master git |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| Platform(s): | all | Work status: | Not started |
Description
Currently, VLC cannot be used for protected HLS streams from several major providers (for example, NeuLion?) who implement in the following way:
- The HLS playlist file (*.m3u8) sets a cookie when fetched.
- Segments in the playlist have a URL referencing a key server in their #EXT_X_KEY URL attribute. The key server is on the same domain, different subdomain.
- The request to fetch the key from the key server requires the cookie provided with the .m3u8 file to be included in the request to the key server.
This is my first VLC ticket, so please refile properly if incorrect.
Attachments (2)
Change History (17)
comment:1 Changed 7 years ago by
comment:3 Changed 6 years ago by
| Milestone: | Features paradize → 3.0.0 |
|---|
comment:5 Changed 5 years ago by
I don't believe this was fixed. BBC HLS streams have the following requirement:
For Ondemand content, the request to GET the first HLS playlist (master.m3u8) may return a Session Cookie. If such a Cookie is returned, clients MUST present it on all subsequent GET requests (both for second playlists and media segments) related to that programme. Failure to do so may return an HTTP 403 error.
Both live streams and on-demand programmes (both UK and outside UK) cannot play in VLC.
comment:6 Changed 5 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:7 Changed 5 years ago by
| Milestone: | 3.0.0 FF → Bugs paradize |
|---|
It was unfixed by adaptive plugin not using the common HTTP access plugin, and thus losing cookies support.
comment:8 Changed 3 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
comment:9 Changed 3 years ago by
Still not working for me :-( Just compilde libvlc from source https://pastebin.com/W4yKGEX8
comment:10 Changed 3 years ago by
If that does not work, trace network. In my tests, cookies are stored and forwarded on every request.
Changed 3 years ago by
| Attachment: | vlc_logcat_20171028_181515.log added |
|---|
VLC VLC-Android-2.5.6-20171026-0240-ARMv7 log
comment:13 Changed 3 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Still not working on Android:
Log: https://pastebin.com/kgMAiuQC
packates capture : https://drive.google.com/open?id=1t1RM71WgL5VwDF99zIOci2FBJ5Ujitu3
Vlc on android does not set cookies for subsequent segment
comment:14 Changed 3 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
comment:15 Changed 3 years ago by
| Milestone: | Bugs paradize → 3.0 FF |
|---|
I believe this is fixed by commit 68699a32 but I don't have any suitable HLS streams available for testing.