Question on hmac hash

Hello

First time poster here so go easy on me if I forget something. I am currently trying to secure a livefeed broadcast with wowza. I am using PHP and specifically the hash_hmac function. I set the hash to sha256 but am having trouble figuring out what the query string should be.

I followed this tutorial:

https://www.wowza.com/docs/how-to-protect-streams-with-token-authorization-by-using-the-wowza-streaming-cloud-rest-api

and got all the way to the end where it says generate the hashed token. It lists a bunch of variables but doesn’t say which are required or if all are required. I also did the usual google search and came up with this github repo:

https://github.com/remiheens/WowzaSecureToken

but I followed its query string which seems to differ from the documentation and the hash isn’t being accepted.

Does anyone have some experience doing this last step?

Hello

Thanks for contacting Wowza Forums!

The variables are listed so you can choose what to use in the hash. all the variables do not need to be included.

This section HERE lists what you can set in the has, but all are not required.

Regards,

Jermaine