hls-segment-reader icon indicating copy to clipboard operation
hls-segment-reader copied to clipboard

Cookies

Open sberryman opened this issue 5 years ago • 0 comments

It looks like you took care of cookies when key fetching in your decrypter but not for actually pulling down a stream.

I need to pass a cookie to HlsSegmentReader which will be passed in these places: https://github.com/kanongil/node-hls-segment-reader/blob/master/lib/segment-reader.js#L327 and https://github.com/kanongil/node-hls-segment-reader/blob/master/lib/segment-fetcher.js#L50

It was easy to hard code it in for my purposes but would be nice to see this implemented.

Update: Here is a very quick and simple hack I did https://github.com/sberryman/node-hls-segment-reader/commit/a0a01d6fda5d0559232f8c97f74b7049517b0a65

sberryman avatar May 23 '19 17:05 sberryman