Wowza Community

Secure Token 2 and SMIL files

Hi,

I’m implementing Secure Token 2 on our wowza server and everything is working fine, except for RTMP SMIL files : the links to the rtmp streams in the smil file don’t contain secure tokens and are rejected by the server.

I have read this thread HDS Streaming with jwplayer.smil loses querystring parameters, but the solution doesn’t work with secure token as the streams name are all different (and thus the tokens).

I think the cleaner solution shoud be to verify the secure token in HTTPProviderMediaList and generate correct token for each stream in smil file.

Is there an API/class to verify/generate secure tokens 2 in Wowza?

Thanks,

Nicolas

Hello!

Thanks for contacting Wowza forums!

For secure tokens and RTMP, here is an article that explains how to do this. Can you review and let us know if this works for you?

RTMP Secure Tokens

Regards,

Jermaine

Hi,

Thank you for your answer, but I was speaking about Secure Token 2 (and not version 1).

Nevermind, I was able to write a “HTTPProviderMediaList” class using “SecureTokenHTTP” class and providing Securetoken2 protection for SMIL files.

Regards,

Nicolas