Information on how to generate a Token for your Account from the Old Control Panel.
The Token will expire right after the time you set in this Token Generator page.
Prerequisites
For this document, you need :
Access to the Control Panel ;
Instructions
Step 1. Login to the Control Panel
Click here to login.
Step 2. Click Account
Step 3. Go to Developer Options
Step 4. Select Streaming Session Token Generator
Step 5. Paste the Json Object in the appropriate field
Note : A Json Object is a structure holding an unordered set of name/value pairs. In a Json file, it is represented by everything between curly braces {}.
Refer to this Unreal Engine C++ API Reference Tutorial on JSON Object Functions https://docs.unrealengine.com/4.27/en-US/API/Runtime/Json/Dom/FJsonObject/
Example of a JSON Object pasted in the image below :
{
"username": "EpicGamer123",
"email": "epicgamer123@example.com",
"level": 35,
"is_premium": true,
"inventory": {
"weapons": ["sword", "bow", "staff"],
"armor": ["helmet", "chestplate", "leggings"],
"consumables": ["health potion", "mana potion"]
},
"achievements": {
"completed_levels": [1, 3, 5, 7, 10],
"defeated_bosses": ["Dragon", "Dark Lord", "Giant Spider"]
},
"last_login": "2024-05-15T18:30:00Z",
"settings": {
"sound_volume": 80,
"graphics_quality": "high",
"language": "English"
}
}
Step 6. Set the Expiry Minutes of your Token in the appropriate field
Step 7. Click Generate Token
Step 8. Click Copy Token
Issue ❌ 🚫
Embedding Streaming into a Webpage with no iFrame solution but always getting “a Token has been used” error.
Can you reuse it?
Refer to this document to embed the streaming into a webpage without iframe.
Answer 🔧
The moment the page sends the token to the server, it becomes invalid to use the 2nd time so you cannot use it.
Also there is a time limit on each token. the System will automatically expire unused token after the specific time period.
Find here how to automatically generate tokens under method 2 in this document. (Repo : https://github.com/e3ds/full-html-control/tree/html/ejs )
Was this article helpful? Comment Below. Let us know your feedback.
Need help? Contact Support
Submit a new request at E3DS support portal.
Requests sent on weekends will not be addressed until the following business day.
Add Comment