Azure Media services v3 - Generate a JWT token in php for streaming

Eschenhorn Frantz (DRI) 1 Reputation point
2021-12-15T09:05:51.437+00:00

Hi,

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.

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
315 questions
{count} votes