The article will help those who activated "Streaming" after January 31, 2022. If you have activated the service earlier, you interact with a different interface and may refer to other instructions: CDN integration for live streaming and CDN integration for video on demand.
How our "Streaming Platform" distributes videos
The "Streaming Platform" delivers content over our CDN: CDN servers pull your video from storage and forward it to end-users at high speed. The CDN sends content to your viewers from CDN resource subdomain name.
Distribute videos from *.gvideo.io
As soon as you create a live stream or upload a video, we automatically generate a CDN resource with a domain name *.gvideo.io. All videos will be sent from that domain. You don't need to configure anything.
Distribute a video from your own subdomain
If you want to use your own domain rather than *.gvideo.io, create a CDN resource with the required subdomain name and configure it.
- (Skip the step if you already have a CDN resource). In the "CDN settings" section, click "Create a CDN resource".
- (Skip the step if you have already created a CDN resource). If you only want to change a subdomain name name.gvideo.io, select "gvideo.io zone".
If you want to change the entire domain name, select "Custom Value", enter a subdomain name such as cdn.yourdomain.com and click «Create». Then you have to perform two actions outside Gcore control panel. First, go to your domain registrar's personal account and add a CNAME record pointing to our CDN for this subdomain — so, viewers will receive content from our CDN but on behalf of your subdomain. You can add a CNAME record using the instruction: "Create a domain name for content delivery through a CDN". Then you need to add an SSL certificate to your subdomain; you can get a free Let's Encrypt SSL certificate using the instruction: "Add an SSL certificate to transfer content over HTTPS".
- Click the "Connect CDN resource" button next to desired resource. So, you integrate the resource with the "Streaming Platform", and we will automatically configure it: we will add the caching rules that are suitable for video delivery. Please note, if a resource was previously used to distribute static content, it will first be unlinked from a previous origin and then will be linked to the "Streaming Platform". Resource rules will also be reconfigured.
Do not change CDN resource settings without assistance because this may disrupt the video delivery. If you need to change the settings, contact our technical support firstname.lastname@example.org or via Telegram chat — we will help you.
- Set a default CDN resource — all videos will be distributed over it in the future. You can use the same resource or different resources to distribute videos on demand and live streams. Select the resource and click "Save".