The video-on-demand (VOD) acceleration service is mainly intended to provide acceleration services for online VOD.With the rise of online video and media services, more and more people are choosing to use Internet platforms to watch videos and listen to audio content.Given the limitations on the Internet environment in China, this use places huge demands on the final delivery of audio and video content.Azure Content Delivery Network delivers and caches streaming media content, such as audio and video, to Content Delivery Network edge nodes. It directs user requests to the optimal node. This process reduces the load on source station servers and saves on bandwidth resources. As a result, the service provides users with a high-speed, smooth, high-quality online video experience.
Content Delivery Network VOD acceleration supportsAzure Media Services.
VOD acceleration is suitable for use with all types of online audio and VOD websites, such as media video websites, online education websites, and mobile app clients.
This article discusses the creation of VOD acceleration domain names. For more information about how to create Content Delivery Network acceleration nodes, see Use the Azure Content Delivery Network.
Content Delivery Network sets default cache rules (see the following) for VOD acceleration.You also can customize cache rules based on your needs. For more information, see the Content Delivery Network portal advanced management help file “Domain Name Management.”If the source station content is changed or updated, but the cache time-to-live (TTL) you set hasn’t expired, you can manually refresh the cache files and synchronize the updated source station content in real time. For more information, see the Content Delivery Network portal advanced management help file “Cache Refresh.”
The system’s default cache rules for VOD acceleration:
- Dynamic files, such as those with the extensions PHP, ASPX, ASP, JSP, and DO, aren’t cached.
- MP3 and WMA files are cached for one day.
- Audio files such as .mp3 and .wma files—are cached for one day.
- Files with the following extensions are cached for one month: .7z, .apk, .wdf, .cab, .dhp, .exe, .flv, .gz, .ipa, .iso, .mpk, .mpq, .pbcv, .pxl, .qnp, .r00, .rar, .xy, .xy2, and .zip.
Create VOD acceleration domain names
- In the navigation pane of the Azure portal, select “CDN.”
- In the function area, select Create New.In the Create New dialog box, select App Services, CDN, and Quick Create.
In the Acceleration Type drop-down list, select VOD Acceleration.
In the Origin Domain Type drop-down list, select cloud service, storage account, web app, media services, or a customized origin domain.
In the Origin Domain drop-down list, select one option from the list of available storage accounts and media services for use in creating the Content Delivery Network endpoint.
If the selected origin domain type is Customized Origin Domain, enter your own origin domain address under Origin Domain.You can enter an original domain name, such as origin.chazuretest.com. You also can enter one or multiple origin domain IP addresses. Separate multiple addresses with semicolons, for example, 126.96.36.199;188.8.131.52.
In Custom Domain, enter the custom domain name you want to use, for example, cdn.chazuretest.com.Custom domains support extensive domain name acceleration.
In Origin Host Header, enter the return-to-source access host header accepted by your source station.After you enter the custom domain, the system automatically fills in a default value based on the origin domain type that you selected.To be more specific: If your source station is on Azure, the default value is the corresponding source station address.If your source station isn’t on Azure, the default value is the custom domain that you entered. You also can also modify this based on the actual configuration of your source station.
If the origin domain type is media services, the corresponding return-to-source host header is:
If the origin domain type is a custom origin domain, the corresponding return to source host header is:
In ICP Number, enter the corresponding ICP record number for the custom domain that you entered (e.g., Jing ICP Bei XXXXXXXX Hao-X).
Click Create to create the new endpoint.
After you have created the endpoint, it appears in the list of subscribed endpoints.The list view shows the custom domains that are used to access cached content, as well as the origin domains. The origin domain is the original location of the content that is cached on the CDN.Custom domains are URLs that are used to access Content Delivery Network cache content.
Note: Configurations created for endpoints aren’t immediately available. They must be reviewed to check that the ICP custom domain name matches the ICP number. For more information, see the second half of “Step 2: Create a new Content Delivery Network endpoint” in Use the Azure Content Delivery Network.