Jump to content
  • 0

AMS EE 2.2.1 One-Time Play Tokens Not Being Authorized


Nathan Dalton
 Share

Question

I have been coming across an issue with Ant Media not authorizing my one-time play tokens. I am on the latest version, am on enterprise edition and have turned on one-time tokens for play in settings of my live app.

I am following the docs at https://github.com/ant-media/Ant-Media-Server/wiki/Stream-Security-Documentation.

  1. Send a get request (using postman) using the recommended scenario format: https://[iP_Address]:5443/<Application_Name>/rest/v2/broadcasts/<Stream_Id>/token?expireDate=<Expire_Date>&type=play

  2. Copy tokenId from the response and insert it into format I wish to play (I've tried HLS and WebRTC): https://[iP_Address]/<Application_Name>/play.html?name=streamID&playOrder=hls&token=tokenId

  3. Then I get 403 Invalid token or cannot play media message with HLS.

Am I missing something in the current steps I'm taking? I am following the docs step by step, if I am missing something can someone inform me?

Thanks, Nathan.

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

 Share


×
×
  • Create New...