To add a live streaming CDN resource:
- Go to your Control Panel’s CDN Resources menu.
- Click the "+" button in the top right corner or the CDN Resource Wizard button.
- Follow the steps of the CDN resource creation wizard:
Select the required resource type - HTTP, by clicking the corresponding button and click Next to proceed.
- CDN hostname – specify the name which will serve as a label only
- Publishing point – specify the resource's publishing point settings - Internal or External. The internal publishing point is one of your storage servers. It is configured at the next step - Edge locations. The external publishing point is simply an URL. Specify its settings here:
- External publishing location - specify your publishing point's URL as an RTMP protocol. For example, rtmp://domain.com/xxx.
- Failover external publishing location - specify the failover URL
Tick the box next to the group(s) which will share the resource added. Available groups depend on the assigned billing plan limits.
The map displays own, subscribed and available CDN resources:
In case of choosing Internal Publishing Point in previous step, specify its settings here:
- Internal publishing location - select any of your edge servers from the drop-down menu
- Failover internal publishing location - specify the failover edge server
Configure a rule to enable/disable access to the CDN resource’s content for specified countries.
- Access Policy – select the Disabled option to switch off a rule or Block by default. If the access policy is set to block by default, fill in the Except for Countries field to specify countries to which the access policy won’t be applied. To select more than one country, hold Ctrl during selection.
Hotlink policy - select the Disabled option to switch off hotlink policy security: otherwise choose Block by default. If the hotlink policy is set to block by default, fill in the Except for domains field to specify the domains to which the hotlink policy won’t be applied.
- Enable secure Wowza – tick the box to protect your stream with Wowza secure token.
- Token for Edge/Flash player – specify the token authentication code. The authentication code will be then saved on the edge server. The token at the player side and the token at the edge server must match in order to make the video available.
- Tick the Enable Token Authentication box
- TokenAuth Primary Key - specify the secret key to be used with the scripts which generate token.
- TokenAuth Backup Key - input the backup key which can be used if you want to change the primary key. To make sure the link generated with existing token won't be broken, the suggested procedure is the following:
- Copy the existing primary key and paste to backup key.
- Fill in a new primary key.
- Protected Path - specify the protected path. By default it is "/". Only the Path inserted is allowed to be streamed.
Now proceed with running the .NET or .JAVA scripts to complete the procedure.
4. Click the Create CDN Resource button.