Closed Access is an option used to restrict access to all or a specific content. By enabling this option a consumption token is required. With the new Access Restrictions 2.0 module, you have the option to configure the closed access independently for media and for live.
This option is activated in the Settings > Access Restrictions Module.
Once inside the module, go to the Media Default or Live Default options, on the right, click on the Actions icon.
Within the displayed interface, go to the Closed Access section, there check the Enable option, once done, save the changes.
By selecting this option, permissions will be applied to all Media or Live content available in your account.
If you don't want to apply this option for a certain content, just go to it and activate the Do not use access restrictions checkbox, this way all your content will have "Closed Access" applied, except for the Media or Live that you did not configure with this option.
First, the API must be queried from Platform, using the read and write tokens of your account.
The use of these tokens is personal. You must use them to query our API as indicated in the following image:
In order to generate the Access Token that will allow the content consumption, a POST query is made to the API. The following image explains the parameters required for the query:
With the Access Token already generated, you must implement it as follows:
Usage example: embed (iFrame)
Usage example: Playlist
Note: The generation of access tokens must be requested from the backend of your application or CMS, and must be implemented by your development area. Contact them and your account administrator to do it.
If you have any related questions please feel free to write to us via chat.
Atte. Mediastream team