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

Token Signing Time not Working


On my stream, I have managed to configure token signing for my video, and everything appears to work except for the expiration time. The expiration time is set to time() + 50, or a 50 second timeout. However, the timeout generated takes about 20 minutes to expire. Also, when the timeout is set to less than 50 seconds, it appears to immediately default to 0. How can I fix the PHP code to expire at the time specified?

2 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

I am able to reproduce your issue with the same results. I’m going to have to escalate this to our Engineering team to see what they say. As soon as I hear back, I will let you know.

Alex

JW Player Support Agent  
0 rated :

Hi there,

I have heard back from one of our Product Managers who have stated that because of the way pages are propagated to our CDNs around the world, any expiration time less than three minutes would not have have the desired impact. So he would suggest setting the expiry time to be at least three minutes, or the length of the content, whatever is longer.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.