Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Cookie Token Support by JW Player


Hi !

I have below scenario, can you help with code sample?

For master.m3u8(master playlist) request, in response there will be a header "Set-Cookie: <Value>" sent back to player for cookie token authentication, player is required to send the "<Value>" in Cookie header with index.m3u8(child playlist) and also to the segment requests. If "Cookie: <Value>" is not sent for index.m3u8 and segment requests, 403 response will be given back to those requests from our systems.

1 Community Answers

George

JW Player Support Agent  
0 rated :

Do you have a sample stream?

Try withCredentials:true

playlist:[{
sources:[{
file:“YOUR_HLS_STREAM_URL”,
type:“hls”
}],
withCredentials: true
}],

This question has received the maximum number of answers.