kanongil / hls-segment-reader

Node.js Readable for retrieving HLS segments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cookies

sberryman opened this issue · 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 sberryman@a0a01d6