Azure Media services v3 - Generate a JWT token in php for streaming
The asset, transform, job, ..., are generated in an Azure Function in C# and works correctly.
I get the url of the streaming in php, but I need to generate a bearer token in php for building a securized streaming url.
I see that this token is a JWT token, I see that the windowsazur library for php allows to do it, but this library is retired.
I use the Azure Media Services v3 and the rest API libraries. I don't see how generate this token in php.
Thank in advance for your help.
Thanks for sharing more info. Yes, unfortunately PHP is a deprecated language for the Azure SDK. [ -Also, as outlined in the GitHub link you have shared].
At this time, you may checkout Media Services v3 available samples for other languages/for some pointers.
Architects have decided to develop a part in PHP and the azure function in C#.
I can not change this decision.
Sign in to comment