Hi,

> I'm trying to set cookies for a HLS request.
> 
>> ffmpeg -v 99 -cookies "test=blabla;" -i
> https://del.thumva.com/hls/20200621-0005-05/index_1.m3u8
> 
> But the request doesn't actually include my cookie:

See docs for http in ffmpeg-protocols.

> At the very least, each cookie must specify a value along with a path and 
> domain.  HTTP requests that match both the domain and path will automatically 
> include the cookie value in the HTTP Cookie header field. Multiple cookies 
> can be delimited by a newline.
> 
> The required syntax to play a stream specifying a cookie is:
> 
>   ffplay -cookies "nlqptid=nltid=tsn; path=/; domain=somedomain.com;” 
> http://somedomain.com/somestream.m3u8
> 

Regards,
Ted Park

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to